gdb/testsuite/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2013-07-31 Yao Qi <yao@codesourcery.com>
2
3 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
4 'gdb_start'.
5 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
6 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
7
8 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
9
10 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
11 when printing an optimized out value. Expect an error when using
12 an optimized out value in an expression.
13
14 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
15
16 * gdb.dwarf2/pieces-optimized-out.exp: New file.
17 * gdb.dwarf2/pieces-optimized-out.c: New file.
18 * gdb.dwarf2/pieces-optimized-out.S: New file.
19
20 2013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
21
22 PR gdb/15715
23 * gdb.base/setshow.exp: Test that relative paths passed to
24 'set history filename' are converted to absolute paths.
25
26 2013-07-26 Keith Seitz <keiths@redhat.com>
27
28 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
29 of f77.
30 Allow for compiler variations of integer types.
31 Use mi_create_varobj.
32 Use mi_list_varobj_children for the immediate children of `array'.
33 Add "has_more" attribute for grandchildren test.
34
35 2013-07-26 Pedro Alves <palves@redhat.com>
36
37 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
38 files.
39
40 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
41
42 * gdb.mi/mi-reg-undefined.exp: New file.
43 * gdb.mi/mi-reg-undefined.c: Likewise.
44 * gdb.mi/mi-reg-undefined.S: Likewise.
45
46 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
47
48 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
49 z, o, and t output formats.
50 * gdb.base/display.exp: Use 'k' as an undefined format now that
51 'z' is defined.
52
53 2013-07-24 Doug Evans <dje@google.com>
54
55 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
56 "--" to switch.
57
58 2013-07-24 Yao Qi <yao@codesourcery.com>
59
60 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
61 host.
62 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
63 Likewise. If host is remote, copy ${binfile} to host.
64
65 2013-07-23 Yao Qi <yao@codesourcery.com>
66
67 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
68 message.
69
70 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
71
72 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
73 instructions and enable disp-step-syscall for arm targets.
74
75 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
76
77 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
78 assembler errors on arm.
79 * gdb.dwarf2/mac-fileno.S: Likewise.
80 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
81 * gdb.dwarf2/pr13961.S: Likewise.
82
83 2013-07-19 Hui Zhu <hui@codesourcery.com>
84
85 PR gdb/15692
86 * gdb.mi/mi-dprintf.exp: Add double quotes test.
87
88 2013-07-19 Yao Qi <yao@codesourcery.com>
89
90 * gdb.trace/read-memory.exp (test_from_remote): Update test.
91 (teset_from_exec): Likewise.
92
93 2013-07-19 Yao Qi <yao@codesourcery.com>
94
95 * gdb.trace/read-memory.c: New.
96 * gdb.trace/read-memory.exp: New.
97
98 2013-07-19 Yao Qi <yao@codesourcery.com>
99
100 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
101 $dest to link options if host is remote. Move the
102 generated file to $dest.a on host if host is remote.
103
104 2013-07-18 Will Newton <will.newton@linaro.org>
105
106 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
107 to ensure the test is linked against pthreads.
108 * gdb.threads/tls-var-main.c: Likewise.
109 * gdb.threads/tls-shared.c: Likewise.
110
111 2013-07-18 Yao Qi <yao@codesourcery.com>
112
113 * lib/future.exp (gdb_default_target_compile): Use tail name
114 of $destfile as the output name of compile. Move the
115 generated file to $destfile on build.
116
117 2013-07-18 Yao Qi <yao@codesourcery.com>
118
119 * lib/gdb.exp (gdb_compile): Set
120 gdb_saved_set_unbuffered_mode_obj to
121 set_unbuffered_mode_saved.o if host is remote. Invoke
122 remote_download to copy $unbuf_obj to host.
123
124 2013-07-17 Doug Evans <dje@google.com>
125
126 * gdb.python/py-frame-args.c: New file.
127 * gdb.python/py-frame-args.py: New file.
128 * gdb.python/py-frame-args.exp New file.
129
130 2013-07-16 Andrew Burgess <aburgess@broadcom.com>
131
132 * gdb.base/printcmds.exp (test_printf): Add tests for format
133 strings with missing format specifier.
134
135 2013-07-16 Tom Tromey <tromey@redhat.com>
136
137 * gdb.ada/info_types.exp: Use standard_testfile.
138
139 2013-07-16 Tom Tromey <tromey@redhat.com>
140
141 * gdb.mi/mi-basics.exp: Use standard_output_file.
142 (test_dir_specification, test_cwd_specification)
143 (test_path_specification): Use testsubdir, not subdir and objdir.
144
145 2013-07-16 Tom Tromey <tromey@redhat.com>
146
147 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
148
149 2013-07-09 Joel Brobecker <brobecker@adacore.com>
150
151 * gdb.ada/small_reg_param.exp: Accept optional entry value
152 for parameter "w".
153
154 2013-07-09 Joel Brobecker <brobecker@adacore.com>
155
156 * gdb.ada/small_reg_param.exp: Remove trailing space.
157
158 2013-07-09 Doug Evans <dje@google.com>
159
160 * gdb.base/default.exp: Update expected output of "show print array"
161 and "show print pretty".
162
163 2013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
164
165 * gdb.threads/wp-replication.exp: Stop counting available hardware
166 watchpoints after NR_THREADS iterations.
167
168 2013-07-08 Andrew Burgess <aburgess@broadcom.com>
169
170 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
171
172 2013-07-07 Yao Qi <yao@codesourcery.com>
173
174 * boards/native-gdbserver.exp: Move invoke of
175 process_multilib_options to gdbserver-base.exp.
176 Move set_board_info 'compiler', 'gdb,noinferiorio',
177 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
178 gdbserver-base.exp.
179 Move proc ${board}_download, ${board}_upload and
180 ${board}_file to gdbserver-base.exp.
181 * boards/native-extended-gdbserver.exp: Likewise.
182 * boards/native-stdio-gdbserver.exp: Likewise.
183 * boards/gdbserver-base.exp: New file.
184
185 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
186
187 * gdb.base/dump.exp: Remove arch-specific tests and do a
188 generic data address check to set is64bitonly correctly.
189
190 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
191
192 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
193 the register number instead of expecting only 0.
194
195 2013-07-05 Will Newton <will.newton@linaro.org>
196
197 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
198 in asm syntax to allow building on ARM.
199
200 2013-07-05 Yao Qi <yao@codesourcery.com>
201
202 * boards/local-remote-host.exp: Remove obsolete comments.
203 * boards/native-extended-gdbserver.exp: Likewise.
204 * boards/native-gdbserver.exp: Likewise.
205 * boards/native-stdio-gdbserver.exp: Likewise.
206
207 2013-07-04 Andrew Burgess <aburgess@broadcom.com>
208
209 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
210 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
211 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
212
213 2013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
214
215 * gdb.base/break-on-linker-gcd-function.exp: Replace
216 prepare_for_testing by build_executable_from_specs and clean_restart.
217
218 2013-06-27 Tom Tromey <tromey@redhat.com>
219
220 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
221 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
222 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
223 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
224 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
225 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
226 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
227 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
228 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
229 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
230 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
231 Use standard_testfile, standard_output_file, prepare_for_testing,
232 clean_restart.
233
234 2013-06-27 Tom Tromey <tromey@redhat.com>
235
236 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
237 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
238 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
239 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
240 gdb.base/shreloc.exp, gdb.base/sigall.exp,
241 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
242 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
243 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
244 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
245 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
246 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
247 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
248 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
249 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
250 gdb.base/solib-weak.exp, gdb.base/source.exp,
251 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
252 gdb.base/stap-probe.exp, gdb.base/start.exp,
253 gdb.base/step-break.exp, gdb.base/step-bt.exp,
254 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
255 gdb.base/step-test.exp, gdb.base/structs.exp,
256 gdb.base/structs2.exp, gdb.base/structs3.exp,
257 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
258 standard_output_file, prepare_for_testing, clean_restart.
259
260 2013-06-27 Tom Tromey <tromey@redhat.com>
261
262 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
263 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
264 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
265 gdb.base/pending.exp, gdb.base/permissions.exp,
266 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
267 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
268 gdb.base/printcmds.exp, gdb.base/prologue.exp,
269 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
270 gdb.base/ptype.exp, gdb.base/randomize.exp,
271 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
272 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
273 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
274 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
275 standard_testfile, standard_output_file, prepare_for_testing,
276 clean_restart.
277
278 2013-06-27 Tom Tromey <tromey@redhat.com>
279
280 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
281 gdb.base/huge.exp, gdb.base/included.exp,
282 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
283 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
284 gdb.base/info-os.exp, gdb.base/info-proc.exp,
285 gdb.base/info-target.exp, gdb.base/infoline.exp,
286 gdb.base/interp.exp, gdb.base/interrupt.exp,
287 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
288 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
289 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
290 gdb.base/logical.exp, gdb.base/long_long.exp,
291 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
292 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
293 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
294 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
295 standard_testfile, standard_output_file, prepare_for_testing,
296 clean_restart.
297
298 2013-06-27 Tom Tromey <tromey@redhat.com>
299
300 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
301 gdb.base/enumval.exp, gdb.base/environ.exp,
302 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
303 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
304 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
305 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
306 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
307 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
308 gdb.base/fullname.exp, gdb.base/funcargs.exp,
309 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
310 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
311 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
312 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
313 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
314 gdb.base/gnu_vector.exp: Use standard_testfile,
315 standard_output_file, prepare_for_testing, clean_restart.
316
317 2013-06-27 Tom Tromey <tromey@redhat.com>
318
319 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
320 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
321 gdb.base/call-strs.exp, gdb.base/callexit.exp,
322 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
323 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
324 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
325 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
326 gdb.base/commands.exp, gdb.base/completion.exp,
327 gdb.base/complex.exp, gdb.base/cond-expr.exp,
328 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
329 gdb.base/constvars.exp, gdb.base/corefile.exp,
330 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
331 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
332 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
333 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
334 gdb.base/dup-sect.exp: Use standard_testfile,
335 standard_output_file, prepare_for_testing, clean_restart.
336
337 2013-06-27 Tom Tromey <tromey@redhat.com>
338
339 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
340 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
341 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
342 gdb.base/async-shell.exp, gdb.base/async.exp,
343 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
344 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
345 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
346 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
347 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
348 gdb.base/break-on-linker-gcd-function.exp,
349 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
350 standard_output_file, prepare_for_testing, clean_restart.
351
352 2013-06-26 Yao Qi <yao@codesourcery.com>
353
354 * gdb.trace/mi-trace-frame-collected.exp: New.
355
356 2013-06-25 Yao Qi <yao@codesourcery.com>
357
358 * boards/native-extended-gdbserver.exp: Set board_info
359 'gdb,predefined_tsv'.
360 * boards/native-gdbserver.exp: Likewise.
361 * boards/native-stdio-gdbserver.exp: Likewise.
362 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
363 uploaded TSVs if target supports tracing.
364 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
365 tracing and target has predefined tsv.
366
367 2013-06-25 Yao Qi <yao@codesourcery.com>
368 Hui Zhu <hui@codesourcery.com>
369 Pedro Alves <palves@redhat.com>
370
371 PR breakpoints/15075
372 PR breakpoints/15434
373 * gdb.base/dprintf-next.c: New file.
374 * gdb.base/dprintf-next.exp: New file.
375 * gdb.base/dprintf-non-stop.c: New file.
376 * gdb.base/dprintf-non-stop.exp: New file.
377 * gdb.base/dprintf.exp: Don't check "continue" in the output
378 of "info breakpoints".
379 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
380 Don't check "continue" in script field.
381
382 2013-06-21 Tom Tromey <tromey@redhat.com>
383
384 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
385 name in a test name.
386
387 2013-06-20 Yao Qi <yao@codesourcery.com>
388
389 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
390 and set an action.
391 (test_trace_unavailable): Test command -data-list-register-values
392 in the context of traceframe and with option --skip-unavailable.
393 * gdb.trace/trace-unavailable.c (foo): New.
394 (main): Call it.
395 * gdb.mi/gdb2549.exp: Update matching pattern.
396
397 2013-06-19 Mike Frysinger <vapier@gentoo.org>
398
399 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
400 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
401 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
402 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
403 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
404
405 2013-06-19 Luis Machado <lgustavo@codesourcery.com>
406
407 * gdb.base/subst.exp: Delete default rules before further
408 tests.
409
410 2013-06-19 Yao Qi <yao@codesourcery.com>
411
412 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
413 unsupported if it is not registered.
414
415 2013-06-18 Tom Tromey <tromey@redhat.com>
416
417 * gdb.base/random-signal.c: New file.
418 * gdb.base/random-signal.exp: New file.
419
420 2013-06-18 Will Newton <will.newton@linaro.org>
421
422 * gdb.base/skip.c: Use comma to evaluate results of foo()
423 and bar() before passing to baz().
424 * gdb.base/skip.c: baz() now takes one argument instead of
425 two.
426
427 2013-06-18 Tom Tromey <tromey@redhat.com>
428
429 * gdb.dwarf2/implptrpiece.exp: New file.
430 * gdb.dwarf2/implptrconst.exp (d): New variable.
431 Print d.
432 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
433
434 2013-06-18 Tom Tromey <tromey@redhat.com>
435
436 * lib/selftest-support.exp (do_self_tests): Reject remote or
437 non-native targets.
438 * gdb.gdb/complaints.exp: Remove check.
439 * gdb.gdb/observer.exp: Remove check.
440 * gdb.gdb/xfullpath.exp: Remove check.
441 * gdb.gdb/complaints.exp: Remove check.
442
443 2013-06-07 Pedro Alves <palves@redhat.com>
444
445 * boards/native-extended-gdbserver.exp: Remove semicolon.
446 * config/arm-ice.exp: Likewise.
447 * config/bfin.exp: Likewise.
448 * config/cygmon.exp: Likewise.
449 * config/h8300.exp: Likewise.
450 * config/monitor.exp: Likewise.
451 * config/sid.exp: Likewise.
452 * config/sim.exp: Likewise.
453 * config/slite.exp: Likewise.
454 * config/vx.exp: Likewise.
455 * gdb.arch/i386-bp_permanent.exp: Likewise.
456 * gdb.asm/asm-source.exp: Likewise.
457 * gdb.base/args.exp: Likewise.
458 * gdb.base/attach-pie-misread.exp: Likewise.
459 * gdb.base/auxv.exp: Likewise.
460 * gdb.base/bigcore.exp: Likewise.
461 * gdb.base/bitfields2.exp: Likewise.
462 * gdb.base/bitfields.exp: Likewise.
463 * gdb.base/break.exp: Likewise.
464 * gdb.base/break-interp.exp: Likewise.
465 * gdb.base/callfuncs.exp: Likewise.
466 * gdb.base/call-sc.exp: Likewise.
467 * gdb.base/commands.exp: Likewise.
468 * gdb.base/corefile.exp: Likewise.
469 * gdb.base/dbx.exp: Likewise.
470 * gdb.base/ending-run.exp: Likewise.
471 * gdb.base/exprs.exp: Likewise.
472 * gdb.base/funcargs.exp: Likewise.
473 * gdb.base/hbreak2.exp: Likewise.
474 * gdb.base/huge.exp: Likewise.
475 * gdb.base/list.exp: Likewise.
476 * gdb.base/memattr.exp: Likewise.
477 * gdb.base/overlays.exp: Likewise.
478 * gdb.base/printcmds.exp: Likewise.
479 * gdb.base/recurse.exp: Likewise.
480 * gdb.base/remotetimeout.exp: Likewise.
481 * gdb.base/reread.exp: Likewise.
482 * gdb.base/savedregs.exp: Likewise.
483 * gdb.base/scope.exp: Likewise.
484 * gdb.base/sepdebug.exp: Likewise.
485 * gdb.base/setshow.exp: Likewise.
486 * gdb.base/setvar.exp: Likewise.
487 * gdb.base/sigaltstack.exp: Likewise.
488 * gdb.base/siginfo-addr.exp: Likewise.
489 * gdb.base/siginfo.exp: Likewise.
490 * gdb.base/siginfo-obj.exp: Likewise.
491 * gdb.base/sigrepeat.exp: Likewise.
492 * gdb.base/sigstep.exp: Likewise.
493 * gdb.base/structs.exp: Likewise.
494 * gdb.base/testenv.exp: Likewise.
495 * gdb.base/twice.exp: Likewise.
496 * gdb.base/valgrind-db-attach.exp: Likewise.
497 * gdb.base/valgrind-infcall.exp: Likewise.
498 * gdb.base/varargs.exp: Likewise.
499 * gdb.base/watchpoint.exp: Likewise.
500 * gdb.cp/gdb1355.exp: Likewise.
501 * gdb.cp/misc.exp: Likewise.
502 * gdb.disasm/hppa.exp: Likewise.
503 * gdb.disasm/t01_mov.exp: Likewise.
504 * gdb.disasm/t02_mova.exp: Likewise.
505 * gdb.disasm/t03_add.exp: Likewise.
506 * gdb.disasm/t04_sub.exp: Likewise.
507 * gdb.disasm/t05_cmp.exp: Likewise.
508 * gdb.disasm/t06_ari2.exp: Likewise.
509 * gdb.disasm/t07_ari3.exp: Likewise.
510 * gdb.disasm/t08_or.exp: Likewise.
511 * gdb.disasm/t09_xor.exp: Likewise.
512 * gdb.disasm/t10_and.exp: Likewise.
513 * gdb.disasm/t11_logs.exp: Likewise.
514 * gdb.disasm/t12_bit.exp: Likewise.
515 * gdb.disasm/t13_otr.exp: Likewise.
516 * gdb.gdb/selftest.exp: Likewise.
517 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
518 * gdb.mi/mi-reverse.exp: Likewise.
519 * gdb.pascal/floats.exp: Likewise.
520 * gdb.python/py-inferior.exp: Likewise.
521 * gdb.threads/attach-into-signal.exp: Likewise.
522 * gdb.threads/pthreads.exp: Likewise.
523 * gdb.threads/thread_events.exp: Likewise.
524 * gdb.threads/watchthreads.exp: Likewise.
525 * gdb.trace/actions-changed.exp: Likewise.
526 * gdb.trace/actions.exp: Likewise.
527 * gdb.trace/ax.exp: Likewise.
528 * gdb.trace/backtrace.exp: Likewise.
529 * gdb.trace/change-loc.exp: Likewise.
530 * gdb.trace/deltrace.exp: Likewise.
531 * gdb.trace/disconnected-tracing.exp: Likewise.
532 * gdb.trace/ftrace.exp: Likewise.
533 * gdb.trace/infotrace.exp: Likewise.
534 * gdb.trace/passc-dyn.exp: Likewise.
535 * gdb.trace/passcount.exp: Likewise.
536 * gdb.trace/pending.exp: Likewise.
537 * gdb.trace/qtro.exp: Likewise.
538 * gdb.trace/range-stepping.exp: Likewise.
539 * gdb.trace/report.exp: Likewise.
540 * gdb.trace/save-trace.exp: Likewise.
541 * gdb.trace/status-stop.exp: Likewise.
542 * gdb.trace/strace.exp: Likewise.
543 * gdb.trace/tfile.exp: Likewise.
544 * gdb.trace/tfind.exp: Likewise.
545 * gdb.trace/trace-break.exp: Likewise.
546 * gdb.trace/tracecmd.exp: Likewise.
547 * gdb.trace/trace-mt.exp: Likewise.
548 * gdb.trace/tspeed.exp: Likewise.
549 * gdb.trace/tsv.exp: Likewise.
550 * gdb.trace/while-stepping.exp: Likewise.
551 * lib/gdb.exp: Likewise.
552 * lib/gdbserver-support.exp: Likewise.
553 * lib/java.exp: Likewise.
554 * lib/mi-support.exp: Likewise.
555 * lib/pascal.exp: Likewise.
556 * lib/prompt.exp: Likewise.
557 * lib/trace-support.exp: Likewise.
558
559 2013-06-07 Pedro Alves <palves@redhat.com>
560
561 * gdb.ada/info_types.c: Fix formating in copyright header.
562 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
563 * gdb.base/float.c: Likewise.
564 * gdb.base/inferior-died.c: Likewise.
565 * gdb.base/interp.c: Likewise.
566 * gdb.base/jit-main.c: Likewise.
567 * gdb.base/jit-solib.c: Likewise.
568 * gdb.base/long_long.c: Likewise.
569 * gdb.base/longjmp.c: Likewise.
570 * gdb.base/nextoverexit.c: Likewise.
571 * gdb.base/pr11022.c: Likewise.
572 * gdb.base/prelink-lib.c: Likewise.
573 * gdb.base/prelink.c: Likewise.
574 * gdb.base/prologue.c: Likewise.
575 * gdb.base/restore.c: Likewise.
576 * gdb.base/sigchld.c: Likewise.
577 * gdb.base/solib-search-lib1.c: Likewise.
578 * gdb.base/solib-search-lib2.c: Likewise.
579 * gdb.base/solib-search.c: Likewise.
580 * gdb.base/solib-search.h: Likewise.
581 * gdb.base/whatis.c: Likewise.
582 * gdb.cp/abstract-origin.cc: Likewise.
583 * gdb.cp/anon-struct.cc: Likewise.
584 * gdb.cp/baseenum.cc: Likewise.
585 * gdb.cp/bs15503.cc: Likewise.
586 * gdb.cp/call-c-1.c: Likewise.
587 * gdb.cp/call-c.cc: Likewise.
588 * gdb.cp/class2.cc: Likewise.
589 * gdb.cp/classes.cc: Likewise.
590 * gdb.cp/cttiadd.cc: Likewise.
591 * gdb.cp/cttiadd1.cc: Likewise.
592 * gdb.cp/cttiadd2.cc: Likewise.
593 * gdb.cp/cttiadd3.cc: Likewise.
594 * gdb.cp/derivation.cc: Likewise.
595 * gdb.cp/derivation2.cc: Likewise.
596 * gdb.cp/dispcxx.cc: Likewise.
597 * gdb.cp/exception.cc: Likewise.
598 * gdb.cp/gdb2384-base.cc: Likewise.
599 * gdb.cp/gdb2384-base.h: Likewise.
600 * gdb.cp/gdb2384.cc: Likewise.
601 * gdb.cp/gdb2495.cc: Likewise.
602 * gdb.cp/mb-inline.h: Likewise.
603 * gdb.cp/mb-inline1.cc: Likewise.
604 * gdb.cp/mb-inline2.cc: Likewise.
605 * gdb.cp/member-name.cc: Likewise.
606 * gdb.cp/member-ptr.cc: Likewise.
607 * gdb.cp/misc.cc: Likewise.
608 * gdb.cp/namespace1.cc: Likewise.
609 * gdb.cp/nextoverthrow.cc: Likewise.
610 * gdb.cp/pr-574.cc: Likewise.
611 * gdb.cp/pr9631.cc: Likewise.
612 * gdb.cp/printmethod.cc: Likewise.
613 * gdb.cp/psmang1.cc: Likewise.
614 * gdb.cp/psmang2.cc: Likewise.
615 * gdb.cp/psymtab-parameter.cc: Likewise.
616 * gdb.cp/ptype-flags.cc: Likewise.
617 * gdb.cp/ref-params.cc: Likewise.
618 * gdb.cp/ref-types.cc: Likewise.
619 * gdb.cp/smartp.cc: Likewise.
620 * gdb.cp/try_catch.cc: Likewise.
621 * gdb.cp/userdef.cc: Likewise.
622 * gdb.cp/using-crash.cc: Likewise.
623 * gdb.cp/virtfunc.cc: Likewise.
624 * gdb.cp/virtfunc2.cc: Likewise.
625 * gdb.dwarf2/callframecfa.S: Likewise.
626 * gdb.dwarf2/dw2-ranges.c: Likewise.
627 * gdb.dwarf2/dw2-ranges2.c: Likewise.
628 * gdb.dwarf2/dw2-ranges3.c: Likewise.
629 * gdb.dwarf2/dw2-restore.S: Likewise.
630 * gdb.dwarf2/pieces.S: Likewise.
631 * gdb.dwarf2/valop.S: Likewise.
632 * gdb.java/jnpe.java: Likewise.
633 * gdb.mi/mi-stepn.c: Likewise.
634 * gdb.mi/mi-var-cp.cc: Likewise.
635 * gdb.mi/mi-var-rtti.cc: Likewise.
636 * gdb.mi/ns-stale-regcache.c: Likewise.
637 * gdb.mi/pr11022.c: Likewise.
638 * gdb.mi/solib-lib.c: Likewise.
639 * gdb.mi/solib-main.c: Likewise.
640 * gdb.python/py-arch.c: Likewise.
641 * gdb.python/py-block.c: Likewise.
642 * gdb.python/py-breakpoint.c: Likewise.
643 * gdb.python/py-events.c: Likewise.
644 * gdb.python/py-evthreads.c: Likewise.
645 * gdb.python/py-explore.c: Likewise.
646 * gdb.python/py-explore.cc: Likewise.
647 * gdb.python/py-finish-breakpoint.c: Likewise.
648 * gdb.python/py-finish-breakpoint2.cc: Likewise.
649 * gdb.python/py-symbol.c: Likewise.
650 * gdb.threads/execl.c: Likewise.
651 * gdb.threads/execl1.c: Likewise.
652
653 2013-06-07 Will Newton <will.newton@linaro.org>
654
655 * gdb.base/long_long.exp: Fix ARM EABI target glob.
656
657 2013-06-07 Will Newton <will.newton@linaro.org>
658
659 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
660 and "starting".
661
662 2013-06-07 Will Newton <will.newton@linaro.org>
663
664 * gdb.cp/anon-struct.exp: Conditionalize constructor and
665 destructor prototypes for ARM ABI.
666 * gdb.cp/m-static.exp: Likewise.
667
668 2013-06-07 Yao Qi <yao@codesourcery.com>
669
670 * gdb.trace/mi-trace-unavailable.exp: New.
671 * gdb.trace/trace-unavailable.c: New.
672
673 2013-06-06 Doug Evans <dje@google.com>
674
675 * gdb.cp/derivation.exp: Make tests have unique names.
676
677 2013-06-06 Tom Tromey <tromey@redhat.com>
678
679 * gdb.base/dump.exp (capture_value): Don't put expression into
680 test name if arguments passed in.
681 Rename a couple more tests to make them unique.
682
683 2013-06-06 Tom Tromey <tromey@redhat.com>
684
685 * gdb.base/break-always.exp: Explicitly specify test name.
686
687 2013-06-05 Doug Evans <dje@google.com>
688 Keith Seitz <keiths@redhat.com>
689
690 * gdb.cp/derivation2.cc: New file.
691 * gdb.cp/derivation.cc (main): Call foo2.
692 * gdb.cp/derivation.exp: Add tests for typedefs in another
693 file, and when there's an active block.
694
695 2013-06-05 Luis Machado <lgustavo@codesourcery.com>
696
697 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
698 from targets that use function descriptors in the virtual tables.
699 Handle presence of dot symbols.
700
701 2013-06-04 Gary Benson <gbenson@redhat.com>
702
703 * gdb.base/break-probes.exp: New file.
704 * gdb.base/break-probes.c: Likewise.
705 * gdb.base/break-probes-solib.c: Likewise.
706 * gdb.base/info-shared.exp: New file.
707 * gdb.base/info-shared.c: Likewise.
708 * gdb.base/info-shared-solib1.c: Likewise.
709 * gdb.base/info-shared-solib2.c: Likewise.
710
711 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
712 Gary Benson <gbenson@redhat.com>
713
714 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
715 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
716 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
717 to be set to "no" to indicate that no ld.so copy should be made.
718 * gdb.base/break-interp.exp (solib_bp): New constant.
719 (reach_1): Use the above instead of "_dl_debug_state".
720 (test_attach): Likewise.
721 (test_ld): Likewise.
722 * gdb.threads/dlopen-libpthread.exp: New file.
723 * gdb.threads/dlopen-libpthread.c: Likewise.
724 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
725 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
726
727 2013-05-30 Yao Qi <yao@codesourcery.com>
728
729 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
730 Add a test that no MI notification is emitted when executing
731 -exec-arguments.
732
733 2013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
734
735 PR testsuite/12649
736 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
737 $mi_gdb_prompt expectation by mi_expect_stop.
738 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
739 (mi info dprintf second time): Replace them by mi_send_resuming_command
740 and mi_expect_stop.
741
742 2013-05-24 Gary Benson <gbenson@redhat.com>
743
744 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
745 backslash.
746 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
747 backslashes.
748 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
749 backslash.
750
751 2013-05-24 Yao Qi <yao@codesourcery.com>
752
753 * gdb.trace/tfile.exp: Test inferior and thread.
754
755 2013-05-24 Yao Qi <yao@codesourcery.com>
756 Pedro Alves <palves@redhat.com>
757
758 * gdb.base/range-stepping.exp: Skip the rest of tests if the
759 test fails.
760 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
761 Return 0 if the test passes, otherwise return 1.
762
763 2013-05-23 Doug Evans <dje@google.com>
764
765 * boards/fission-dwp.exp: New file.
766
767 2013-05-23 Yao Qi <yao@codesourcery.com>
768 Pedro Alves <palves@redhat.com>
769
770 * gdb.base/range-stepping.c: New file.
771 * gdb.base/range-stepping.exp: New file.
772 * gdb.trace/range-stepping.c: New file.
773 * gdb.trace/range-stepping.exp: New file.
774 * lib/range-stepping-support.exp: New file.
775
776 2013-05-22 Tom Tromey <tromey@redhat.com>
777
778 * gdb.cp/class2.cc (main): New local 'aref'.
779 * gdb.cp/class2.exp: Check printing of 'aref'.
780
781 2013-05-22 Doug Evans <dje@google.com>
782
783 * gdb.threads/wp-replication.c (main): Insert some code at the start
784 to ensure the breakpoint on main is only hit once. Fix comment.
785
786 2013-05-21 Keith Seitz <keiths@redhat.com>
787 Pedro Alves <palves@redhat.com>
788
789 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
790 gdb_expect.
791 Add test to flush the remaining input buffer so that this
792 file passes testsuite/12649.
793
794 2013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
795
796 * gdb.base/catch-signal-fork.exp: New file.
797 * gdb.base/catch-signal-fork.c: New file.
798
799 2013-05-21 Sterling Augustine <saugustine@google.com>
800
801 * boards/remote-stdio-gdbserver.exp: New file.
802
803 2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
804
805 PR testsuite/12649
806 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
807 racy matches.
808
809 2013-05-21 Christian Groessler <chris@groessler.org>
810
811 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
812 since it's not supported in all shells.
813
814 2013-05-21 Hui Zhu <hui@codesourcery.com>
815
816 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
817 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
818
819 2013-05-20 Doug Evans <dje@google.com>
820
821 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
822 (_handle_DW_TAG): Use it.
823 (cu, tu): Replace parameters is_64, version, addr_size with options.
824 All callers updated. Add Fission support.
825 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
826 * gdb.dwarf2/method-ptr.exp: Ditto.
827 * gdb.dwarf2/nostaticblock.exp: Ditto.
828 * gdb.dwarf2/subrange.exp: Ditto.
829 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
830
831 2013-05-20 Tom Tromey <tromey@redhat.com>
832
833 * gdb.gdb/python-selftest.exp: New file.
834
835 2013-05-20 Doug Evans <dje@google.com>
836
837 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
838 -fdebug-types-section.
839
840 2013-05-20 Joel Brobecker <brobecker@adacore.com>
841
842 * gdb.ada/float_param: New testcase.
843
844 2013-05-17 Doug Evans <dje@google.com>
845
846 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
847 Add tests for "maint check-symtabs", "maint expand-symtabs".
848
849 * gdb.base/maint.exp: Remove testing of individual maint command
850 help output.
851
852 2013-05-16 Pedro Alves <palves@redhat.com>
853
854 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
855 comment. Use gdb_test_no_output.
856
857 2013-05-16 Joel Brobecker <brobecker@adacore.com>
858
859 * gdb.ada/complete.exp: Add test verifying completion using
860 the "tab" key.
861
862 2013-05-15 Keith Seitz <keiths@redhat.com>
863
864 * gdb.base/filesym.exp: New completer test.
865 * gdb.base/filesym.c: New file.
866
867 2013-05-15 Pedro Alves <palves@redhat.com>
868
869 * gdb.base/fixsection.c: Remove attribution.
870 * gdb.base/watch-read.exp: Ditto.
871
872 2013-05-13 Tom Tromey <tromey@redhat.com>
873
874 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
875 size and change type sizes to 4 bytes.
876
877 2013-05-13 Tom Tromey <tromey@redhat.com>
878
879 * gdb.base/exprs.exp (test_expr): Add regression test.
880 * gdb.base/exprs.c (null_t_struct): New global.
881
882 2013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
883
884 * gdb.base/default.exp: Disable history saving.
885 * gdb.base/setshow.exp: Likewise.
886
887 2013-05-10 Pedro Alves <palves@redhat.com>
888
889 PR remote/15455
890
891 * gdb.trace/qtro.c: New file.
892 * gdb.trace/qtro.exp: New file.
893
894 2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
895
896 * gdb.python/py-framefilter.py: New File.
897 * gdb.python/py-framefilter-mi.exp: Ditto.
898 * gdb.python/py-framefilter.c: Ditto.
899 * gdb.python/py-framefilter-mi.exp: Ditto.
900 * gdb.python/py-framefilter-mi.c: Ditto,
901 * gdb.python/py-framefilter-gdb.py.in: Ditto.
902
903 2013-05-08 Tom Tromey <tromey@redhat.com>
904
905 * gdb.base/solib-search.exp: Set test name for "set
906 solib-search-path" test.
907
908 2013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
909
910 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
911 (set_a_tracepoint): Set tracepoint before prologue.
912 (run_trace_experiment): Test setup_tracepoints and 'break end'
913 in it.
914 (trace_buffer_normal): Remove.
915 (gdb_trace_circular_tests): Remove. Move tests to...
916 (top level): ...here. Call 'runto_main' before checking for
917 trace support. Use commands to check the support for circular
918 trace buffer and changing of trace buffer size. Add test
919 to calculate size of single frame. Use this size to
920 calculate the size of trace buffer. Use 'tfind pc func9'
921 instead of 'tfind 9'. Use 'with_test_prefix'.
922
923 2013-05-07 Tom Tromey <tromey@redhat.com>
924
925 * lib/selftest-support.exp: New file.
926 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
927 do_self_tests.
928 (setup_test, find_gdb): Remove.
929 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
930 do_self_tests.
931 (setup_test, find_gdb): Remove.
932 (test_observer): Don't call setup_test. Remove argument.
933 * gdb.gdb/selftest.exp: Load selftest-support.exp.
934 (find_gdb): Remove.
935 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
936 do_self_tests.
937 (setup_test, find_gdb): Remove.
938 (test_with_self): Don't call setup_test. Remove argument.
939
940 2013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
941
942 * gdb.arch/system-gcore.exp: Remove.
943 * gdb.arch/gcore.c: Remove.
944 * gdb.base/gcore.exp: Add "info reg system".
945
946 2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
947
948 PR breakpoints/15413:
949 * gdb.base/pending.exp: Add test for completion of the "condition"
950 command for pending breakpoints.
951 * gdb.linespec/linespec.ex: Add test for completion of the
952 "condition" command when dealing with multiple locations.
953
954 2013-05-07 Luis Machado <lgustavo@codesourcery.com>
955
956 * gdb.threads/wp-replication.c: New file.
957 * gdb.threads/wp-replication.exp: New file.
958
959 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
960
961 * gdb.xml/tdesc-regs.exp: Add case for nios2.
962
963 2013-05-06 Doug Evans <dje@google.com>
964
965 * gdb.base/solib-search-lib1.c: New file.
966 * gdb.base/solib-search-lib2.c: New file.
967 * gdb.base/solib-search.c: New file.
968 * gdb.base/solib-search.h: New file.
969 * gdb.base/solib-search.exp: New file.
970
971 * lib/gdb.exp (gdb_core_cmd): New function.
972 * gdb.arch/system-gcore.exp: Use it.
973 * gdb.arch/vsx-regs.exp: Ditto.
974 * gdb.base/gcore.exp: Ditto.
975 * gdb.threads/gcore-thread.exp: Ditto.
976
977 * gdb.reverse/shr.h: New file.
978 * gdb.reverse/shr1.c: New file.
979 * gdb.reverse/shr2.c: #include "shr.h".
980 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
981 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
982 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
983 Update tests using sleep/printf to use shr2.sl instead.
984 * gdb.reverse/solib-reverse.exp: Ditto.
985
986 2013-05-06 Tom Tromey <tromey@redhat.com>
987
988 * gdb.dwarf2/implptrconst.c: New file.
989 * gdb.dwarf2/implptrconst.exp: New file.
990 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
991 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
992 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
993
994 2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
995
996 * gdb.base/catch-sig.c (main): Raise SIGINT.
997 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
998
999 2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1000
1001 * status-stop.exp (test_tstart_tstart): Check for error
1002 returned by the second 'tstart' command.
1003
1004 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1005
1006 * gdb.xml/maint_print_struct.exp: New file.
1007 * gdb.xml/maint_print_struct.xml: New file.
1008
1009 2013-04-25 Tom Tromey <tromey@redhat.com>
1010
1011 * gdb.dwarf2/nostaticblock.exp: New file.
1012
1013 2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1014
1015 PR gdb/10462
1016 * gdb.base/setshow.exp: Add test case.
1017
1018 2013-04-23 Hui Zhu <hui@codesourcery.com>
1019
1020 PR gdb/15293
1021 * gdb.base/dprintf.exp: Add ignore command.
1022
1023 2013-04-23 Hui Zhu <hui@codesourcery.com>
1024
1025 PR gdb/15165
1026 * gdb.base/save-bp.exp: Add test for dprintf.
1027
1028 2013-04-22 Tom Tromey <tromey@redhat.com>
1029
1030 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1031 notice_open_fds.
1032
1033 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1034
1035 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1036 ldflags.
1037
1038 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1039
1040 * gdb.arch/arm-bl-branch-dest.c: New file.
1041 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1042
1043 2013-04-19 Vladimir Kargov <kargov@gmail.com>
1044 Pedro Alves <palves@redhat.com>
1045
1046 * gdb.arch/i386-float.S: New file.
1047 * gdb.arch/i386-float.exp: New file.
1048
1049 2013-04-18 Luis Machado <lgustavo@codesourcery.com>
1050
1051 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1052 type void *.
1053
1054 2013-04-17 Doug Evans <dje@google.com>
1055
1056 * lib/dwarf.exp (Dwarf): New proc "tu".
1057 * gdb.dwarf2/missing-sig-type.exp: New file.
1058
1059 2013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1060
1061 Add option to link testcases with Pthreads library when
1062 using 'prepare_for_testing' in tests.
1063
1064 * lib/gdb.exp (build_executable_from_specs): Use
1065 gdb_compile_pthreads to compile if option "pthreads" is
1066 specified.
1067
1068 2013-04-15 Tom Tromey <tromey@redhat.com>
1069
1070 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1071
1072 2013-04-15 Tom Tromey <tromey@redhat.com>
1073
1074 * gdb.base/default.exp: Update for $_exception.
1075 * gdb.cp/exceptprint.cc: New file.
1076 * gdb.cp/exceptprint.exp: New file.
1077 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1078
1079 2013-04-15 Tom Tromey <tromey@redhat.com>
1080
1081 * gdb.cp/typeid.cc: New file.
1082 * gdb.cp/typeid.exp: New file.
1083
1084 2013-04-15 Tom Tromey <tromey@redhat.com>
1085
1086 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1087
1088 2013-04-13 Yao Qi <yao@codesourcery.com>
1089
1090 * gdb.base/completion.exp: Test completion of command
1091 'target ctf' if target ctf is supported.
1092
1093 2013-04-10 Pedro Alves <palves@redhat.com>
1094
1095 * gdb.base/completion.exp: Test "set height", "set listsize" and
1096 "set trace-buffer-size" completion.
1097 * gdb.base/setshow.exp: Test "set height unlimited".
1098 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1099 unlimited".
1100
1101 2013-04-10 Yao Qi <yao@codesourcery.com>
1102
1103 * gdb.trace/actions.exp: Save trace data to CTF.
1104 Change to ctf target if GDB supports, read CTF data in ctf
1105 target, and check the actions of tracepoints.
1106 * gdb.trace/while-stepping.exp: Likewise.
1107 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1108 format and read CTF trace file if GDB supports.
1109 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1110 target is supported, change to ctf target, read trace data and
1111 check output of command "tstatus".
1112 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1113 read CTF data by target ctf and call check_tsv.
1114
1115 2013-04-10 Yao Qi <yao@codesourcery.com>
1116
1117 * gdb.trace/actions.exp (check_tracepoint): New.
1118 (top level): Start the tracing and check the actions of
1119 tracepoints. Save trace data to tfile format. Restart GDB
1120 and read trace file in tfile target. Check the actions of
1121 tracepoints again.
1122 * gdb.trace/while-stepping.exp: Likewise.
1123
1124 2013-04-10 Yao Qi <yao@codesourcery.com>
1125
1126 * gdb.trace/report.exp: Use standard_output_file for saved
1127 trace file.
1128
1129 2013-04-10 Hui Zhu <hui@codesourcery.com>
1130
1131 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1132 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1133 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1134
1135 2013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1136
1137 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1138 response.
1139
1140 2013-04-08 Pedro Alves <palves@redhat.com>
1141
1142 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1143 the location.
1144
1145 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1146
1147 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1148 for breakpoint location.
1149
1150 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1151
1152 * gdb.linespec/linespec.exp: Make dir/file:line tests
1153 conditional for non-remote hosts only.
1154
1155 2013-04-04 Stan Shebs <stan@codesourcery.com>
1156 Pedro Alves <palves@redhat.com>
1157
1158 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1159 * gdb.trace/actions-changed.c: New file.
1160 * gdb.trace/actions-changed.exp: New file.
1161 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1162 (gdb_trace_setactions_command): ... this. Add "actions_command"
1163 parameter, and handle it.
1164 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1165
1166 2013-04-04 Yao Qi <yao@codesourcery.com>
1167
1168 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1169 'step'.
1170
1171 2013-04-03 Yao Qi <yao@codesourcery.com>
1172
1173 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1174 "tfile-basic.tf".
1175 (test_tfind_tfile): Likewise.
1176
1177 2013-04-03 Yao Qi <yao@codesourcery.com>
1178
1179 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1180 "tfile-basic.tf" instead of "basic.tf".
1181 (write_error_trace_file): Pass argument "tfile-error.tf"
1182 instead of "error.tf".
1183 * gdb.trace/tfile.exp: Update tfile names to
1184 "tfile-basic.tf" and "tfile-error.tf".
1185
1186 2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1187
1188 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1189 empty directory in file for breakpoint hit.
1190
1191 2013-03-29 Yao Qi <yao@codesourcery.com>
1192
1193 * gdb.base/completion.exp: Test completion of commands
1194 "target core", "target tfile" and "target exec".
1195 * gdb.trace/tfile.exp: Test completion of command
1196 "target tfile".
1197
1198 2013-03-28 Joel Brobecker <brobecker@adacore.com>
1199
1200 * gdb.ada/win_fu_syms: New testcase.
1201
1202 2013-03-28 Doug Evans <dje@google.com>
1203
1204 * gdb.base/maint.exp (maint print statistics): Update expected output.
1205
1206 2013-03-28 Pedro Alves <palves@redhat.com>
1207
1208 PR gdb/15294
1209
1210 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1211 mean unlimited instead of $arg < 0.
1212 (test_listsize): Remove "listsize of 0 suppresses output" test.
1213 Test that "set listsize 0" ends up with an unlimited listsize.
1214
1215 2013-03-28 Pedro Alves <palves@redhat.com>
1216
1217 * gdb.base/list.exp (last_line): New global.
1218 (last_line_re): New global.
1219 (test_listsize, test_list_function, test_list_forward)
1220 (test_repeat_list_command, test_list_range)
1221 (test_list_filename_and_function): Use them.
1222 * gdb.base/list0.c: Comment the last line of the file with "last
1223 line".
1224
1225 2013-03-28 Pedro Alves <palves@redhat.com>
1226
1227 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1228 list the whole file.
1229
1230 2013-03-28 Pedro Alves <palves@redhat.com>
1231
1232 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1233 "set listsize".
1234
1235 2013-03-26 Keith Seitz <keiths@redhat.com>
1236
1237 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1238 from passing.
1239
1240 2013-03-26 Pedro Alves <palves@redhat.com>
1241
1242 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1243 until after GDB has run.
1244
1245 2013-03-26 Yao Qi <yao@codesourcery.com>
1246
1247 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1248 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1249
1250 2013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1251
1252 * gdb.btrace/enable.exp: Add regression test.
1253
1254 2013-03-25 Tom Tromey <tromey@redhat.com>
1255
1256 * gdb.cp/m-static.exp: Add destructor-printing tests.
1257
1258 2013-03-25 Tom Tromey <tromey@redhat.com>
1259
1260 * gdb.cp/m-static.exp: Add constructor ptype tests.
1261 * gdb.cp/m-static.cc (single_constructor): New class.
1262 (main): Make instance of single_constructor.
1263
1264 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1265 Pedro Alves <palves@redhat.com>
1266
1267 * gdb.server/server-kill.c: New file.
1268 * gdb.server/server-kill.exp: New file.
1269
1270 2013-03-21 Pedro Alves <palves@redhat.com>
1271
1272 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1273 Expect $gdb_prompt in gdb_test_multiple.
1274
1275 2013-03-21 Doug Evans <dje@google.com>
1276
1277 * gdb.base/maint.exp: Update tests for per-command stats.
1278
1279 2013-03-21 Tom Tromey <tromey@redhat.com>
1280
1281 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1282 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1283
1284 2013-03-20 Pedro Alves <palves@redhat.com>
1285
1286 PR gdb/15289
1287
1288 * gdb.base/remote.exp: Test
1289 "set remote hardware-watchpoint-limit -1",
1290 "set remote hardware-breakpoint-limit -1",
1291 "set remote hardware-watchpoint-limit 2147483647" and
1292 "set remote hardware-breakpoint-limit 2147483647".
1293
1294 2013-03-20 Pedro Alves <palves@redhat.com>
1295 Yao Qi <yao@codesourcery.com>
1296
1297 * gdb.trace/tfile.c: Add comments.
1298 (nonconstglob): New global.
1299 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
1300 global that is not covered by the trace frame. Test
1301 disassembling.
1302
1303 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1304
1305 * gdb.base/valgrind-infcall.exp
1306 (continue #$continue_count) <remote connection closed>
1307 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1308 $valgrind_pid.
1309
1310 2013-03-15 Tom Tromey <tromey@redhat.com>
1311
1312 * gdb.cp/overload.cc (intintfunc): New.
1313 * gdb.cp/overload.exp: Add regression test.
1314
1315 2013-03-15 Yao Qi <yao@codesourcery.com>
1316
1317 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1318 using with_test_prefix.
1319 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1320 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1321 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1322 * gdb.threads/watchpoint-fork.exp (test): Likewise.
1323 * gdb.base/break-interp.exp (test_core): Likewise.
1324 (test_attach_gdb): Likewise.
1325 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1326 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1327 Likewise.
1328 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1329 * gdb.base/jit.exp (one_jit_test): Likewise.
1330 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1331 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1332 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1333 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1334 Likewise.
1335 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1336 Likewise.
1337 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1338 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1339 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1340 (tracepoint_change_loc_2): Likewise.
1341 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1342 Likewise.
1343 (disconnected_tfind): Likewise.
1344 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1345 Likewise.
1346 (test_tfind_remote): Likewise.
1347 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1348 Likewise.
1349 (test_pending_resolved): Likewise.
1350 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1351 Likewise.
1352 (test_upload_tsv): Likewise.
1353 * gdb.trace/pending.exp (pending_tracepoint_resolved):
1354 Likewise.
1355 (pending_tracepoint_works): Likewise.
1356 * gdb.trace/report.exp (use_collected_data): Likewise.
1357 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1358 Likewise.
1359 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1360 * gdb.trace/strace.exp (strace_info_marker): Likewise.
1361 (strace_trace_on_same_addr): Likewise.
1362 (strace_trace_on_diff_addr): Likewise.
1363 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1364 (gdb_collect_locals_test): Likewise.
1365 (gdb_unavailable_registers_test): Likewise.
1366 (gdb_collect_globals_test): Likewise.
1367
1368 2013-03-15 Yao Qi <yao@codesourcery.com>
1369
1370 * gdb.base/condbreak.exp: Add semicolon back which was removed
1371 by my previous commit.
1372
1373 2013-03-14 Yao Qi <yao@codesourcery.com>
1374
1375 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1376 'return'.
1377 (gdb_target_monitor, gdb_load): Likewise.
1378 * config/sid.exp (gdb_load): Likewise.
1379 * config/slite.exp (gdb_load): Likewise.
1380 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1381 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1382 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1383 (single_step_until): Likewise.
1384 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1385 * gdb.arch/system-gcore.exp: Likewise.
1386 * gdb.base/bigcore.exp (extract_heap): Likewise.
1387 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1388 * gdb.base/call-ar-st.exp: Likewise.
1389 * gdb.base/call-rt-st.exp: Likewise.
1390 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1391 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1392 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1393 * gdb.base/corefile.exp: Likewise.
1394 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1395 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1396 * gdb.base/fixsection.exp: Likewise.
1397 * gdb.base/funcargs.exp: Likewise.
1398 * gdb.base/gcore-buffer-overflow.exp: Likewise.
1399 * gdb.base/gcore-relro.exp: Likewise.
1400 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1401 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1402 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1403 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1404 * gdb.base/list.exp: Likewise.
1405 (set_listsize): Likewise.
1406 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1407 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1408 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1409 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1410 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1411 * gdb.base/setvar.exp: Likewise.
1412 (test_set): Likewise.
1413 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1414 * gdb.base/solib-overlap.exp: Likewise.
1415 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1416 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1417 * gdb.base/watchpoint.exp (initialize): Likewise.
1418 (test_simple_watchpoint): Likewise.
1419 (test_disabling_watchpoints): Likewise.
1420 (test_watchpoint_triggered_in_syscall): Likewise.
1421 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1422 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1423 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1424 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1425 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1426 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1427 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1428 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1429 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1430 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1431 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1432 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1433 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1434 * gdb.mi/gdb792.exp: Likewise.
1435 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1436 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1437 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1438 * gdb.threads/gcore-thread.exp: Likewise.
1439 (load_core): Likewise.
1440 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1441 (test_startup, check_control_c): Likewise.
1442 * gdb.threads/sigstep-threads.exp: Likewise.
1443 * gdb.threads/thread_check.exp: Likewise.
1444 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1445 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1446 (set_a_tracepoint, trace_buffer_normal): Likewise.
1447 (gdb_trace_circular_tests): Likewise.
1448 * gdb.trace/collection.exp: Likewise.
1449 * gdb.trace/disconnected-tracing.exp: Likewise.
1450 * gdb.trace/infotrace.exp: Likewise.
1451 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1452 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1453 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1454 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1455 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1456 * gdb.trace/stap-trace.exp: Likewise.
1457 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1458 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
1459 * gdb.trace/trace-buffer-size.exp: Likewise.
1460 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
1461 * gdb.trace/unavailable.exp: Likewise.
1462 * gdb.trace/while-dyn.exp: Likewise.
1463 * lib/fortran.exp (set_lang_fortran): Likewise.
1464 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
1465 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
1466 (default_gdb_start, get_compiler_info): Likewise.
1467 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
1468 (get_debug_format, setup_xfail_format): Likewise.
1469 (rerun_to_main, gdb_skip_float_test): Likewise.
1470 (build_id_debug_filename_get, get_remotetimeout): Likewise.
1471 * lib/java.exp (set_lang_java): Likewise.
1472 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
1473 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
1474 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
1475 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
1476 * lib/objc.exp (set_lang_objc): Likewise.
1477 * lib/pascal.exp (set_lang_pascal): Likewise.
1478 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1479 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
1480 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
1481
1482 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
1483
1484 PR c++/15203
1485 PR c++/15210
1486 * gdb.cp/m-static.cc (keepalive_int): New function.
1487 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
1488 * gdb.cp/m-static.exp: New test for `sintvar'.
1489
1490 2013-03-14 Yao Qi <yao@codesourcery.com>
1491
1492 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
1493 of 'tstatus' into tstatus_output.
1494 (top level): Save the trace data to tfile. Read trace file in
1495 tfile target. Check the trace status.
1496
1497 2013-03-13 Yao Qi <yao@codesourcery.com>
1498
1499 * gdb.trace/tsv.exp (check_tsv): New.
1500 (top level): Save a tfile on current trace session. Call
1501 check_tsv on live target. Load the tfile with target tfile
1502 and call check_tsv again.
1503
1504 2013-03-13 Yao Qi <yao@codesourcery.com>
1505
1506 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
1507 Replace some "gdb_test" with "gdb_test_no_output".
1508
1509 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
1510
1511 * gdb.ada/expr_delims.exp: New file.
1512 * gdb.ada/expr_delims/foo.adb: New file.
1513 * gdb.ada/expr_delims/pck.ads: New file.
1514 * gdb.ada/expr_delims/pck.adb: New file.
1515
1516 2013-03-11 Keith Seitz <keiths@redhat.com>
1517
1518 * watchpoint.exp (test_no_hw_watchpoints): Add test using
1519 both condition and thread. Then delete the watchpoint.
1520
1521 2013-03-11 Christian Himpel <christian.himpel@intel.com>
1522
1523 * Makefile.in: Add btrace testsuite.
1524 * configure: Regenerated.
1525 * configure.ac: Add btrace testsuite.
1526 * gdb.btrace/Makefile.in: New file.
1527 * gdb.btrace/enable.c: New file.
1528 * gdb.btrace/enable.exp: New file.
1529 * gdb.btrace/function_call_history.c: New file.
1530 * gdb.btrace/function_call_history.exp: New file.
1531 * gdb.btrace/instruction_history.c: New file.
1532 * gdb.btrace/instruction_history.exp: New file.
1533 * gdb.btrace/instruction_history.S: New file.
1534 * lib/gdb.exp: Add btrace skip proc.
1535
1536 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1537
1538 Fix entry-values if the callee called a noreturn function.
1539 * gdb.arch/amd64-tailcall-noret.S: New file.
1540 * gdb.arch/amd64-tailcall-noret.c: New file.
1541 * gdb.arch/amd64-tailcall-noret.exp: New file.
1542
1543 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1544
1545 Fix entry-values in C++ across CUs.
1546 * gdb.arch/amd64-tailcall-cxx.exp: New file.
1547 * gdb.arch/amd64-tailcall-cxx1.S: New file.
1548 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
1549 * gdb.arch/amd64-tailcall-cxx2.S: New file.
1550 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
1551
1552 2013-03-08 Stan Shebs <stan@codesourcery.com>
1553 Hafiz Abid Qadeer <abidh@codesourcery.com>
1554
1555 gdb/testsuite/
1556 * gdb.trace/trace-buffer-size.exp: New file.
1557 * gdb.trace/trace-buffer-size.c: New file.
1558
1559 2013-03-06 Pedro Alves <palves@redhat.com>
1560
1561 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
1562 doesn't support the tested optional feature, call "unsupported"
1563 with the same test message as the "pass" case, instead of calling
1564 "pass" with a different message. Use the same text for the "fail"
1565 cases too.
1566
1567 2013-03-06 Yao Qi <yao@codesourcery.com>
1568
1569 * gdb.trace/tstatus.exp: Remove the invocation of
1570 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
1571 (test_tracepoints): Don't set fast tracepoint.
1572 (top level): Don't check agent library is loaded or not.
1573
1574 2013-03-06 Yao Qi <yao@codesourcery.com>
1575
1576 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
1577 parentheses by "\\".
1578
1579 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1580
1581 * gdb.linespec/base/one/thefile.cc (twodup): New.
1582 (m): Call it.
1583 * gdb.linespec/base/two/thefile.cc (dupname): New.
1584 (n): Call it.
1585 * gdb.linespec/break-ask.exp: New file.
1586 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
1587
1588 2013-02-28 Yao Qi <yao@codesourcery.com>
1589
1590 * gdb.trace/report.exp: Move some code to ...
1591 (use_collected_data): New.
1592 (top level): Call use_collected_data once on the live target.
1593 Save at file of the current trace session, load it with target
1594 tfile, and call use_collected_data again.
1595
1596 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1597
1598 * gdb.threads/fork-thread-pending.c (main): Add alarm.
1599
1600 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1601
1602 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
1603 Add final kill of ${valgrind_pid}.
1604
1605 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
1606
1607 * gdb.python/py-arch.c: New test case
1608 * gdb.python/py-arch.exp: New tests to test
1609 gdb.Architecture.disassemble
1610 * gdb.python/Makefile.in: Add py-arch to the list of
1611 EXECUTABLES.
1612
1613 2013-02-18 Tom Tromey <tromey@redhat.com>
1614
1615 * gdb.dwarf2/subrange.exp: New file.
1616
1617 2013-02-15 Pedro Alves <pedro@codesourcery.com>
1618 Hafiz Abid Qadeer <abidh@codesourcery.com>
1619
1620 * gdb.trace/tfile.exp: Add test for -trace-status command.
1621
1622 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1623
1624 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
1625 nanosleep by sleep.
1626
1627 2013-02-14 Pedro Alves <palves@redhat.com>
1628
1629 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
1630
1631 2013-02-14 Pedro Alves <pedro@codesourcery.com>
1632 Hafiz Abid Qadeer <abidh@codesourcery.com>
1633
1634 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
1635
1636 2013-02-12 Tom Tromey <tromey@redhat.com>
1637
1638 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
1639 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
1640
1641 2013-02-12 Pedro Alves <palves@redhat.com>
1642
1643 * gdb.base/catch-signal.c: Update copyright years.
1644 * gdb.base/catch-signal.exp: Update copyright years.
1645 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
1646 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
1647 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
1648 * gdb.dwarf2/dw2-error.S: Update copyright years.
1649 * gdb.dwarf2/dw2-error.c: Update copyright years.
1650 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
1651 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
1652 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
1653
1654 2013-02-12 Pedro Alves <palves@redhat.com>
1655
1656 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
1657 message.
1658 * gdb.base/sigaltstack.exp: Ditto.
1659 * gdb.base/siginfo.exp: Ditto.
1660 * gdb.base/sizeof.exp: Ditto.
1661
1662 2013-02-12 Pedro Alves <palves@redhat.com>
1663
1664 * gdb.mi/mi-basics.exp: Tweak intro comment.
1665 * gdb.mi/mi-break.exp: Tweak intro comment.
1666 * gdb.mi/mi-console.exp: Tweak intro comment.
1667 * gdb.mi/mi-file.exp: Tweak intro comment.
1668 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
1669 * gdb.mi/mi-return.exp: Tweak intro comment.
1670 * gdb.mi/mi-stepi.exp: Tweak intro comment.
1671 * gdb.mi/mi-until.exp: Tweak intro comment.
1672 * gdb.mi/mi-watch.exp: Tweak intro comment.
1673
1674 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1675
1676 * gdb.server/no-thread-db.exp: New file.
1677 * gdb.server/no-thread-db.c: New file.
1678 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
1679
1680 2013-02-11 Doug Evans <dje@google.com>
1681
1682 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
1683 two decfloats.
1684
1685 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1686
1687 * gdb.base/bitfields.c (struct internalvartest): New declaration.
1688 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1689
1690 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1691
1692 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1693
1694 2013-02-06 Yao Qi <yao@codesourcery.com>
1695
1696 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1697 to ...
1698 (test_create_delete_modify_tsv): ... here. New test on modifying
1699 the initial value of a tsv.
1700
1701 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1702
1703 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1704 (cd .../rdir): ... here.
1705
1706 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1707
1708 * gdb.linespec/base/one/header.h: New file.
1709 * gdb.linespec/base/two/header.h: New file.
1710 * gdb.linespec/macro-relative.c: New file.
1711 * gdb.linespec/macro-relative.exp: New file.
1712
1713 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1714
1715 * gdb.base/fullpath-expand-func.c: New file.
1716 * gdb.base/fullpath-expand.c: New file.
1717 * gdb.base/fullpath-expand.exp: New file.
1718 * gdb.base/realname-expand-real.c: New file.
1719 * gdb.base/realname-expand.c: New file.
1720 * gdb.base/realname-expand.exp: New file.
1721
1722 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1723
1724 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1725 * gdb.dwarf2/dw2-dir-file-name.c: New file.
1726
1727 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1728
1729 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1730 (compare_filenames_for_search does not match)
1731 (compare_filenames_for_search does match): New tests.
1732
1733 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1734
1735 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1736
1737 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1738
1739 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1740
1741 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1742
1743 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1744 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1745 ${binfile}.mini_debuginfo-debuglink and
1746 ${binfile}.mini_debuginfo-debuglink.xz.
1747
1748 2013-02-01 Tom Tromey <tromey@redhat.com>
1749
1750 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1751 attributes.
1752
1753 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1754 Tom Tromey <tromey@redhat.com>
1755
1756 * gdb.dwarf2/method-ptr.exp: Link with c++.
1757 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1758
1759 2013-01-31 Tom Tromey <tromey@redhat.com>
1760
1761 * gdb.base/jit.exp (compile_jit_test): New proc.
1762 Add PIE tests.
1763
1764 2013-01-31 Tom Tromey <tromey@redhat.com>
1765
1766 * gdb.dwarf2/method-ptr.cc: New file.
1767 * gdb.dwarf2/method-ptr.exp: New file.
1768
1769 2013-01-31 Tom Tromey <tromey@redhat.com>
1770
1771 * lib/dwarf.exp (namespace Dwarf): New.
1772
1773 2013-01-29 Tom Tromey <tromey@redhat.com>
1774
1775 * gdb.dwarf2/fission-reread.exp: Add unload test.
1776
1777 2013-01-28 Doug Evans <dje@google.com>
1778
1779 * gdb.dwarf2/fission-loclists.exp: New file.
1780 * gdb.dwarf2/fission-loclists.S: New file.
1781
1782 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1783
1784 Code cleanup.
1785 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1786 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1787 and prepare_for_testing.
1788 * gdb.base/store.exp: Likewise.
1789
1790 2013-01-25 Tom Tromey <tromey@redhat.com>
1791
1792 * gdb.python/py-explore.exp: Expect the gdb prompt.
1793
1794 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
1795
1796 * gdb.base/gnu_vector.c: New variable for use in tests.
1797 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1798 changes in scalar to vector casting and widening.
1799 * gdb.python/py-type.c: New variables for use in tests.
1800 * gdb.python/py-type.exp: Update vector related tests to reflect
1801 changes in scalar to vector casting and widening.
1802
1803 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1804
1805 * gdb.base/prologue-include.c: New file.
1806 * gdb.base/prologue-include.exp: New file.
1807 * gdb.base/prologue-include.h: New file.
1808
1809 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
1810
1811 PR gdb/13443
1812 * gdb.mi/mi-var-block.exp: Make test messages unique.
1813
1814 2013-01-23 Tom Tromey <tromey@redhat.com>
1815
1816 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1817
1818 2013-01-23 Tom Tromey <tromey@redhat.com>
1819
1820 * gdb.cp/converts.cc (main): Initialize 'a'.
1821
1822 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1823
1824 * testsuite/gdb.python/frame.exp: Add a test for
1825 gdb.Frame.architecture() method.
1826
1827 2013-01-22 Pedro Alves <palves@redhat.com>
1828
1829 * gdb.base/annota1.exp (signal sent): No longer expect
1830 breakpoints-invalid.
1831 * gdb.cp/annota2.exp (continue until exit)
1832 (watch triggered on a.x): Ditto.
1833
1834 2013-01-22 Pedro Alves <palves@redhat.com>
1835
1836 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1837 Adjust tests to breakpoints-invalid changes.
1838 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1839 variables.
1840 Adjust tests to breakpoints-invalid changes.
1841
1842 2013-01-22 Pedro Alves <palves@redhat.com>
1843
1844 * gdb.base/annota1.exp (annotate ignore count change): Add
1845 expected output for failure case.
1846
1847 2013-01-22 Tom Tromey <tromey@redhat.com>
1848
1849 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
1850 call.
1851
1852 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
1853
1854 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
1855 * gdb.mi/mi-catch-load.exp: Ditto.
1856 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
1857 Also handle 'thread' field.
1858 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
1859 * gdb.mi/mi-watch.exp: Ditto.
1860 * lib/mi-support.exp: Ditto.
1861
1862 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
1863
1864 * gdb.python/py-explore.exp: Improve a test
1865
1866 2013-01-18  David Blaikie  <dblaikie@gmail.com>
1867
1868 * gdb.base/label.c (main): Correct the type of the second
1869 parameter.
1870
1871 2013-01-18 Tom Tromey <tromey@redhat.com>
1872
1873 * gdb.dwarf2/trace-crash.s: New file.
1874 * gdb.dwarf2/trace-crash.exp: New file.
1875
1876 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
1877
1878 PR gdb/13443
1879 * gdb.base/checkpoint.exp: Update test messages to make them
1880 unique.
1881
1882 2013-01-18 Yao Qi <yao@codesourcery.com>
1883
1884 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
1885 output of 'info tracepoints'.
1886 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1887 Likewise.
1888 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1889 * gdb.trace/disconnected-tracing.c (struct foo): New.
1890
1891 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1892
1893 * gdb.dwarf2/dw2-dos-drive.S: New file.
1894 * gdb.dwarf2/dw2-dos-drive.exp: New file.
1895
1896 2013-01-17 Doug Evans <dje@google.com>
1897
1898 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
1899 CXX_FOR_TARGET.
1900
1901 * boards/cc-with-tweaks.exp: New file.
1902
1903 2013-01-17 Tom Tromey <tromey@redhat.com>
1904
1905 * gdb.base/completion.exp: Add "set cp-abi" completion test.
1906
1907 2013-01-17 Pedro Alves <palves@redhat.com>
1908
1909 Merge dg-extract-results.sh from upstream (svn 195224).
1910
1911 2013-01-15 David Blaikie <dblaikie@gmail.com>
1912 * dg-extract-results.sh: Fix order of summary counts.
1913
1914 2013-01-15 David Blaikie <dblaikie@gmail.com>
1915 * dg-extract-results.sh: Constrain the start-of-log pattern.
1916
1917 2013-01-15 David Blaikie <dblaikie@gmail.com>
1918 * dg-extract-results.sh: Handle KPASSes.
1919
1920 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1921 * dg-extract-results.sh: Redirect grep output to /dev/null instead
1922 of grep -q.
1923
1924 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1925
1926 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
1927 interface.
1928 * gdb.base/jithost.c: New file.
1929 * gdb.base/jithost.h: New file.
1930 * gdb.base/jitreader.c : New file.
1931 * gdb.base/jit-protocol.h: New file.
1932
1933 2013-01-16 Tom Tromey <tromey@redhat.com>
1934
1935 * gdb.base/catch-signal.c: New file.
1936 * gdb.base/catch-signal.exp: New file.
1937
1938 2013-01-16 Tom Tromey <tromey@redhat.com>
1939
1940 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
1941
1942 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1943
1944 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
1945
1946 2013-01-14 Tom Tromey <tromey@redhat.com>
1947
1948 * gdb.base/completion.exp: Add "set gnutarget" test.
1949
1950 2013-01-14 Tom Tromey <tromey@redhat.com>
1951
1952 * gdb.dwarf2/dw2-restrict.S: New file.
1953 * gdb.dwarf2/dw2-restrict.c: New file.
1954 * gdb.dwarf2/dw2-restrict.exp: New file.
1955
1956 2013-01-14 Tom Tromey <tromey@redhat.com>
1957
1958 * gdb.dwarf2/dw2-error.exp: New file.
1959 * gdb.dwarf2/dw2-error.c: New file.
1960 * gdb.dwarf2/dw2-error.S: New file.
1961
1962 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1963
1964 * gdb.cp/parse-lang.cc: New file.
1965 * gdb.cp/parse-lang.exp: New file.
1966
1967 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1968
1969 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
1970 (set substitute-path): New test.
1971 (fullname present): Remove content.
1972 (substituted fullname): New test.
1973
1974 2013-01-13 Joel Brobecker <brobecker@adacore.com>
1975
1976 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
1977 check. Move $gdb_py_is_py24 value check right after.
1978
1979 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1980
1981 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
1982 targets.
1983
1984 2013-01-11 Yao Qi <yao@codesourcery.com>
1985
1986 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
1987 for dprintf.
1988 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1989 Check the fields in "=breakpoint-created" for dprintf.
1990
1991 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1992
1993 * gdb.mi/mi-fullname-deleted.exp: New file.
1994
1995 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1996
1997 * gdb.base/skip-solib.exp (info skip with pending file): Update the
1998 expected output.
1999 (info skip with pending file): Remove.
2000 (ignoring function in solib, info skip for function multiply): Update
2001 the expected output.
2002 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2003 (info skip (delete 1), info skip after disabling all)
2004 (info skip after enabling all, info skip after disabling 4 2-3)
2005 (info skip after enabling 2-3, info skip 2-3)
2006 (info skip after deleting 2 3): Update the expected output.
2007 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2008 statement to its initialization and return.
2009 * gdb.linespec/skip-two.exp: New file.
2010
2011 2012-12-19 Doug Evans <dje@google.com>
2012
2013 * gdb.base/maint.exp: Handle testing with .gdb_index.
2014
2015 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2016
2017 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2018 Cavium to FSF.
2019
2020 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2021
2022 * dg-extract-results.sh: Update contact info in copyright notice.
2023 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2024 GPL v3 or later. Update contact info.
2025 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2026 gdb.threads/watchpoint-fork-mt.c,
2027 gdb.threads/watchpoint-fork-parent.c,
2028 gdb.threads/watchpoint-fork-st.c,
2029 gdb.threads/watchpoint-fork.h: Likewise.
2030
2031 2012-12-15 Yao Qi <yao@codesourcery.com>
2032
2033 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2034 'installed' field in '=breakpoint-modified'.
2035 (test_reconnect): Check 'installed' field in
2036 '=breakpoint-modified' and '=breakpoint-created'.
2037
2038 * gdb.trace/actions.exp: Update test for 'installed' field.
2039 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2040 (tracepoint_change_loc_2): Likewise.
2041 Check 'info tracepoint' display nothing else.
2042 * gdb.trace/deltrace.exp: Likewise.
2043 * gdb.trace/infotrace.exp: Likewise.
2044 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2045 Likewise.
2046 * gdb.trace/passcount.exp: Likewise.
2047 * gdb.trace/tracecmd.exp: Likewise.
2048 * gdb.trace/while-stepping.exp: Likewise.
2049
2050 2012-12-14 Tom Tromey <tromey@redhat.com>
2051
2052 * gdb.cp/member-name.exp: New file.
2053 * gdb.cp/member-name.cc: New file.
2054
2055 2012-12-14 Tom Tromey <tromey@redhat.com>
2056
2057 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2058
2059 2012-12-14 Doug Evans <dje@google.com>
2060
2061 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2062 DW_OP_GNU_implicit_pointer is section-relative.
2063
2064 2012-12-14 Tom Tromey <tromey@redhat.com>
2065
2066 * gdb.base/info-proc.exp: Add core file tests.
2067
2068 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2069
2070 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
2071
2072 2012-12-13 Doug Evans <dje@google.com>
2073
2074 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2075 * gdb.multi/multi-arch.exp: Ditto.
2076
2077 2012-12-12 Keven Boell <keven.boell@intel.com>
2078
2079 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2080 catch load test library source file.
2081 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2082 load test source file.
2083 * gdb.mi/mi-catch-load.exp: New. Test file for
2084 basic MI -catch-load and -catch-unload tests.
2085
2086 2012-12-11 Paul Koning <paul_koning@dell.com>
2087
2088 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2089 exception.
2090 (_iterator_except): New function.
2091 (ArrayPrinter): Use _iterator function instead of local _iterator
2092 class for Python 3 compatibility.
2093 (NoStringContainerPrinter): Use _iterator_except instead of
2094 _iterator.
2095 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2096 execfile for Python 3 compatibility.
2097 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2098 format in error_prompt test.
2099
2100 2012-12-10 Paul Koning <paul_koning@dell.com>
2101
2102 * gdb.base/charset.exp: Change print syntax for Python 3
2103 compatibility.
2104 * gdb.python/py-block.exp: Ditto.
2105 * gdb.python/py-breakpoint.exp: Ditto.
2106 * gdb.python/py-cmd.exp: Ditto.
2107 * gdb.python/py-events.py: Ditto.
2108 * gdb.python/py-finish-breakpoint.py: Ditto.
2109 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2110 * gdb.python/py-finish-breakpoint2.py: Ditto.
2111 * gdb.python/py-frame-inline.exp: Ditto.
2112 * gdb.python/py-frame.exp: Ditto.
2113 * gdb.python/py-infthread.exp: Ditto.
2114 * gdb.python/py-objfile.exp: Ditto.
2115 * gdb.python/py-parameter.exp: Ditto.
2116 * gdb.python/py-progspace.exp: Ditto.
2117 * gdb.python/py-prompt.exp: Ditto.
2118 * gdb.python/py-symbol.exp: Ditto.
2119 * gdb.python/py-symtab.exp: Ditto.
2120 * gdb.python/py-template.exp: Ditto.
2121 * gdb.python/py-value-cc.exp: Ditto.
2122 * gdb.python/python.exp: Ditto.
2123 * gdb.python/source2.py: Ditto.
2124 * gdb.python/lib-types.exp: Change print syntax for Python 3
2125 compatibility.
2126 Use sorted() function rather than sort() method.
2127 Accept either int or long values for enum values.
2128 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2129 execfile for Python 3 compatibility.
2130 * gdb.python/py-evsignal.exp: Ditto.
2131 * gdb.python/py-evthreads.exp: Ditto.
2132 * gdb.python/py-mi.exp: Ditto.
2133 * gdb.python/py-pp-maint.exp: Ditto.
2134 * gdb.python/py-prettyprint.exp: Ditto.
2135 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
2136 Python 3 compatibility.
2137 Skip tests for Python 2.4.
2138 * gdb.python/py-inferior.exp: Change print syntax for
2139 Python 3 compatibility.
2140 Use byte string rather than character string in memory write test
2141 if Python 3.
2142 * gdb.python/py-pp-maint.py: Change class declarations to "new
2143 class" syntax.
2144 * gdb.python/py-prettyprint.py: Change iterator class to generator
2145 function for Python 3 compatibility.
2146 Make all classes "new style".
2147 Fix indentation issue and stray semicolon.
2148 * gdb.python/py-shared.expChange print syntax for Python 3
2149 compatibility.
2150 Define "long" if Python 3.
2151 * gdb.python/py-type.exp: Change print syntax for Python 3
2152 compatibility.
2153 Accept either int or long values for enum values.
2154 * gdb.python/py-value.exp: Change print syntax for Python 3
2155 compatibility.
2156 Skip "long" and "unicode" tests if Python 3.
2157 Accept either "type" or "class" in type checks.
2158 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2159 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2160
2161 2012-12-10 Tom Tromey <tromey@redhat.com>
2162
2163 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2164 (test): Add "two_cu" argument.
2165 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2166 for types; allow two CUs.
2167
2168 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2169
2170 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2171 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2172
2173 2012-12-08 Yao Qi <yao@codesourcery.com>
2174 Pedro Alves <palves@redhat.com>
2175
2176 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2177 '=breakpoint-created' when GDB merges the tracepoints of both
2178 sides.
2179
2180 2012-12-07 Tom Tromey <tromey@redhat.com>
2181
2182 * gdb.base/break1.c (enum some_enum, union some_union): New.
2183 (some_enum_global, some_union_global, some_value): New globals.
2184 * gdb.base/completion.exp: Add tag completion tests.
2185
2186 2012-12-07 Tom Tromey <tromey@redhat.com>
2187
2188 * gdb.base/completion.exp: Add tests for ptype and whatis
2189 completion.
2190
2191 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2192
2193 * gdb.base/stale-infcall.exp: Fix copyright line.
2194
2195 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2196
2197 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2198
2199 2012-12-06 Pedro Alves <palves@redhat.com>
2200 Tom Tromey <tromey@redhat.com>
2201
2202 * gdb.base/exprs.exp: Add tests for cast to void.
2203
2204 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2205
2206 * gdb.python/py-mi.exp: Correct expected results for attribute
2207 "dynamic" returned by -var-update.
2208 Add test case for correct handling of "diplayhint" for children
2209 of dynamic varobjs.
2210 * gdb.python/py-prettyprint.c (set_itme): New function.
2211 (bug_14741) New function.
2212 (main) Add call to bug_14741().
2213 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2214
2215 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2216
2217 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2218 ${binfile}.funcsyms list.
2219
2220 2012-12-04 Yao Qi <yao@codesourcery.com>
2221
2222 PR gdb/13443
2223 * gdb.trace/actions.exp: Make test messages unique.
2224
2225 2012-11-29 Tom Tromey <tromey@redhat.com>
2226
2227 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2228
2229 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2230
2231 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2232 * gdb.opencl/datatypes.exp: Likewise.
2233 * gdb.opencl/operators.exp: Likewise.
2234 * gdb.opencl/vec_comps.exp: Likewise.
2235
2236 2012-11-29 Jerome Guitton <guitton@adacore.com>
2237
2238 * gdb.ada/iwide: New testcase.
2239
2240 2012-11-29 Jerome Guitton <guitton@adacore.com>
2241
2242 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2243 ptype test.
2244
2245 2012-11-29 Jerome Guitton <guitton@adacore.com>
2246
2247 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2248 form {VARIANT_TYPE}ADDRESS.
2249
2250 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2251
2252 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2253 (func): New function.
2254 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2255 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2256 pointers to members with pointer-to-function type.
2257
2258 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2259 Tom Tromey <tromey@redhat.com>
2260
2261 * gdb.base/gnu-debugdata.exp: New file.
2262 * gdb.base/gnu-debugdata.c: New file.
2263 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2264 (gdb_unload): Return 0 on success.
2265
2266 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2267
2268 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2269
2270 2012-11-26 Joel Brobecker <brobecker@adacore.com>
2271
2272 * gdb.base/empty_exe.exp: New testcase.
2273
2274 2012-11-20 Mike Frysinger <vapier@gentoo.org>
2275
2276 * gdb.base/completion.exp: Add test for help aliases completion.
2277
2278 2012-11-20 Yao Qi <yao@codesourcery.com>
2279
2280 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2281 Don't test 'maint set show-debug-regs'.
2282 Use command 'set remotecache' instead of
2283 'set circular-trace-buffer'.
2284
2285 2012-11-16 Keith Seitz <keiths@redhat.com>
2286
2287 PR c++/13615
2288 * gdb.cp/baseenum.cc: New file.
2289 * gdb.cp/baseenum.exp: New file.
2290 * gdb.cp/derivation.cc (A): Add copyright.
2291 Add a typedef.
2292 (B): Use A::value_type instead of int. Change all references.
2293 (D): Use value_type instead of int. Change all references.
2294 (E): Likewise.
2295 (F); Likewise.
2296 (Z): New class.
2297 (ZZ): New class.
2298 (N, Base, Derived): New namespace and classes.
2299 (main): Add instances of Z and ZZ.
2300 Make sure all symbols from N are kept.
2301 * gdb.cp/derivation.exp: Update typedef changes in tests.
2302 Add tests for class typedefs both before and after starting
2303 the inferior.
2304 Add tests for searching for a typedef while stopped in a
2305 method.
2306
2307 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2308
2309 * gdb.mi/mi-var-create-rtti.c: New file.
2310 * gdb.mi/mi-var-create-rtti.exp: New file.
2311
2312 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2313
2314 * gdb.base/structs3.exp: Run to main before doing any tests.
2315
2316 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
2317
2318 * gdb.python/py-type.exp: Uniquify test names.
2319
2320 2012-11-14 Yao Qi <yao@codesourcery.com>
2321
2322 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2323 (thread_function) [DEBUG]: Call 'printf'.
2324 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2325 command line if 'DEBUG=1' is passed to test.
2326 Remove a pattern to match inferior's output.
2327
2328 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
2329
2330 * gdb.mi/mi-fill-memory.exp: New test.
2331
2332 2012-11-12 Tom Tromey <tromey@redhat.com>
2333
2334 * gdb.base/completion.exp: Update for "info type-printers".
2335 * gdb.python/py-typeprint.cc: New file.
2336 * gdb.python/py-typeprint.exp: New file.
2337 * gdb.python/py-typeprint.py: New file.
2338
2339 2012-11-12 Tom Tromey <tromey@redhat.com>
2340
2341 * gdb.base/call-sc.exp: Use "ptype/r".
2342 * gdb.base/volatile.exp: Don't expect "int".
2343 * gdb.cp/ptype-flags.cc: New file.
2344 * gdb.cp/ptype-flags.exp: New file.
2345 * gdb.cp/templates.exp: Use ptype/r.
2346 (test_ptype_of_templates, test_template_typedef): Likewise.
2347 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2348 argument. Handle template names and template parameters.
2349 * gdb.mi/mi-var-cmd.exp: Accept "long".
2350 * gdb.mi/mi-var-child.exp: Accept "long".
2351 * gdb.mi/mi-var-display.exp: Accept "long".
2352 * gdb.mi/mi2-var-child.exp: Accept "long".
2353
2354 2012-11-12 Tom Tromey <tromey@redhat.com>
2355
2356 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2357 "ptype" from calls to cp_test_ptype_class.
2358 (test_enums): Likewise.
2359 * gdb.cp/derivation.exp: Remove "ptype" from calls to
2360 cp_test_ptype_class.
2361 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2362 calls to cp_test_ptype_class.
2363 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2364 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2365 from calls to cp_test_ptype_class.
2366 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2367 command here. Change "in_command" argument to "in_exp".
2368
2369 2012-11-10 Keith Seitz <keiths@redhat.com>
2370
2371 PR gdb/14288
2372 * gdb.base/printcmds.c: Add invalid_XXX globals
2373 for repeated byte tests.
2374 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2375 * gdb.base/wchar.c (main): Add and construct a wchar_t
2376 array with repeated characters.
2377 * gdb.base/wchar.exp: Add repeated character tests.
2378
2379 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
2380
2381 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2382 disassembly output.
2383
2384 2012-11-09 Pedro Alves <palves@redhat.com>
2385
2386 PR gdb/14306
2387
2388 * gdb.multi/multi-arch-exec.c: New file.
2389 * gdb.multi/multi-arch-exec.exp: New file.
2390
2391 2012-11-09 Yao Qi <yao@codesourcery.com>
2392
2393 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2394 (top level): Call it.
2395
2396 2012-11-09 Yao Qi <yao@codesourcery.com>
2397
2398 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2399 typo.
2400
2401 2012-11-09 Pedro Alves <palves@redhat.com>
2402
2403 * gdb.multi/multi-arch.exp: New.
2404
2405 2012-11-08 Tom Tromey <tromey@redhat.com>
2406
2407 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
2408 core files, if possible.
2409 * gdb.base/siginfo-thread.c: New file
2410 * gdb.base/siginfo-thread.exp: New file
2411
2412 2012-11-08 Tom Tromey <tromey@redhat.com>
2413
2414 * gdb.base/comprdebug.exp: New file.
2415
2416 2012-11-06 Pedro Alves <palves@redhat.com>
2417
2418 PR gdb/14810
2419
2420 * gdb.base/disabled-location.c: New file.
2421 * gdb.base/disabled-location.exp: New file.
2422
2423 2012-11-06 Tom Tromey <tromey@redhat.com>
2424
2425 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2426 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2427 gdb_gcore_cmd.
2428 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2429 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2430 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2431 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2432 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2433 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2434 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2435 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2436 * lib/gdb.exp (gdb_gcore_cmd): New proc.
2437
2438 2012-11-05 Pedro Alves <palves@redhat.com>
2439
2440 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2441 procedure.
2442 (do_vfork_and_follow_child_tests_exec)
2443 (do_vfork_and_follow_child_tests_exit): Call it.
2444
2445 2012-11-05 Pedro Alves <palves@redhat.com>
2446
2447 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2448 fails.
2449
2450 2012-11-03 Yao Qi <yao@codesourcery.com>
2451
2452 Fix PR gdb/14617.
2453 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2454 Remove setup_kfail, and update test.
2455
2456 2012-11-02 Tom Tromey <tromey@redhat.com>
2457
2458 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
2459 test.
2460
2461 2012-11-02 Pedro Alves <palves@redhat.com>
2462
2463 PR gdb/14766
2464
2465 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
2466 setup_kfail.
2467 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
2468 get registers".
2469
2470 2012-11-02 Pedro Alves <palves@redhat.com>
2471
2472 * gdb.base/foll-vfork-exit.c: New file.
2473 * gdb.base/foll-vfork.exp (top level): New file-describing
2474 comment.
2475 (vfork_child_follow_to_exit): New procedure.
2476 (tcatch_vfork_then_child_follow): Rename as ...
2477 (tcatch_vfork_then_child_follow_exec): ... this.
2478 (tcatch_vfork_then_child_follow_exit): New procedure.
2479 (do_vfork_and_follow_parent_tests): New procedure, factored out
2480 from do_vfork_and_exec_tests.
2481 (do_vfork_and_follow_child_tests_exec): Ditto.
2482 (do_vfork_and_exec_tests): Delete.
2483 (do_vfork_and_follow_child_tests_exit): New procedure.
2484 (top level): Run tests with both the program that has the vfork
2485 child execing, and the program has the vfork child exiting.
2486
2487 2012-11-02 Pedro Alves <palves@redhat.com>
2488
2489 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
2490 (check_vfork_catchpoints, vfork_parent_follow_through_step)
2491 (vfork_parent_follow_to_bp): Call it.
2492 (kill_child): Delete.
2493 (vfork_and_exec_child_follow_to_main_bp)
2494 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
2495 longer call kill_child.
2496 (tcatch_vfork_then_parent_follow): Call setup_gdb.
2497 (do_vfork_and_exec_tests): Don't runto_main before calling each
2498 test procedure.
2499 (top level): Don't clean restart and set verbose before running
2500 each test procedure.
2501
2502 2012-11-02 Pedro Alves <palves@redhat.com>
2503
2504 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
2505 (vfork_parent_follow_to_bp)
2506 (vfork_and_exec_child_follow_to_main_bp)
2507 (vfork_and_exec_child_follow_through_step)
2508 (tcatch_vfork_then_parent_follow)
2509 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2510 Use with_test_prefix.
2511
2512 2012-11-02 Pedro Alves <palves@redhat.com>
2513
2514 * gdb.base/foll-vfork.c: Add copyright header.
2515 * gdb.base/vforked-prog.c: Add copyright header.
2516
2517 2012-11-02 Pedro Alves <palves@redhat.com>
2518
2519 * gdb.base/foll-vfork.exp
2520 (vfork_and_exec_child_follow_through_step): Don't skip on
2521 non-HP/UX targets. Expect the next to only step one line on
2522 non-HP/UX targets, rather than stopping only after the exec.
2523
2524 2012-11-02 Pedro Alves <palves@redhat.com>
2525
2526 Don't hard code line numbers.
2527
2528 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
2529 Expect text from the sources instead of a line number.
2530 (vfork_parent_follow_to_bp)
2531 (vfork_and_exec_child_follow_to_main_bp)
2532 (vfork_and_exec_child_follow_through_step)
2533 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2534 Use gdb_get_line_number.
2535
2536 2012-11-02 Pedro Alves <palves@redhat.com>
2537
2538 Modernize.
2539
2540 * gdb.base/foll-vfork.exp: Use standard_testfile and
2541 build_executable. Pass descriptive string to untested.
2542 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
2543 (vfork_and_exec_child_follow_to_main_bp)
2544 (vfork_and_exec_child_follow_through_step)
2545 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
2546 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
2547 of send_gdb/gdb_expect.
2548
2549 (kill_child): New procedure.
2550 (vfork_and_exec_child_follow_to_main_bp)
2551 (vfork_and_exec_child_follow_through_step): Use it.
2552
2553 2012-11-02 Yao Qi <yao@codesourcery.com>
2554
2555 * gdb.base/setvar.exp: Test setting nested struct.
2556 * gdb.base/setvar.c (v_struct3): New.
2557
2558 2012-11-01 Doug Evans <dje@google.com>
2559
2560 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
2561 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
2562 use them.
2563
2564 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
2565
2566 PR cli/14772
2567 * gdb.base/gnu_vector.c (union_with_vector_1)
2568 (struct_with_vector_1): Add new struct and union for testing
2569 ptype.
2570 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
2571 structs / unions containing vectors.
2572
2573 2012-10-25 Yao Qi <yao@codesourcery.com>
2574
2575 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
2576 'setup_kfail' instead of 'setup_kfail_for_target'.
2577 * gdb.base/varargs.exp: Likewise.
2578 * lib/gdb.exp (setup_kfail_for_target): Remove.
2579
2580 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
2581
2582 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
2583
2584 2012-10-25 Mark Kettenis <kettenis@gnu.org>
2585
2586 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
2587
2588 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2589
2590 * gdb.ada/set_wstr: New testcase.
2591
2592 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2593
2594 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
2595
2596 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2597
2598 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
2599
2600 2012-10-24 Mark Kettenis <kettenis@gnu.org>
2601
2602 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
2603
2604 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2605
2606 * gdb.base/callfuncs.exp (do_function_calls): Fix
2607 setup_kfail_for_target for -m32 mode.
2608
2609 2012-10-23 Mark Kettenis <kettenis@gnu.org>
2610
2611 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
2612 are now fixed.
2613
2614 2012-10-23 Yao Qi <yao@codesourcery.com>
2615
2616 * gdb.base/info-os.exp: Resume the inferior until it exits.
2617
2618 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
2619
2620 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
2621 * gdb.base/print-file-var.exp: Likewise.
2622 * gdb.base/type-opaque.exp: Likewise.
2623
2624 2012-10-17 Yao Qi <yao@codesourcery.com>
2625
2626 * gdb.mi/mi-memory-changed.exp: New.
2627
2628 2012-10-16 Yao Qi <yao@codesourcery.com>
2629
2630 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
2631 returns true.
2632 Call gdb_load_shlibs.
2633 * gdb.reverse/solib-reverse.exp: Likewise.
2634
2635 2012-10-15 Keith Seitz <keiths@redhat.com>
2636
2637 * lib/cp-support.exp (cp_test_ptype_class): Add support
2638 for class typedefs.
2639
2640 * gdb.cp/derivation.exp: Add tests for g_instance.
2641
2642 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2643
2644 Fix entry values resolving in inlined frames.
2645 * gdb.arch/amd64-entry-value-inline.S: New file.
2646 * gdb.arch/amd64-entry-value-inline.c: New file.
2647 * gdb.arch/amd64-entry-value-inline.exp: New file.
2648
2649 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2650 Doug Evans <dje@google.com>
2651
2652 Fix recent gdb_breakpoint regression.
2653 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
2654 braces from the parameter.
2655 * gdb.java/jprint.exp: Likewise.
2656
2657 2012-10-15 Doug Evans <dje@google.com>
2658
2659 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
2660
2661 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
2662
2663 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2664
2665 2012-10-15 Tom Tromey <tromey@redhat.com>
2666
2667 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2668
2669 2012-10-15 Tom Tromey <tromey@redhat.com>
2670
2671 * gdb.python/py-symbol.exp: Test symbol destructor.
2672
2673 2012-10-14 Yao Qi <yao@codesourcery.com>
2674
2675 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
2676 * gdb.mi/mi-cli.exp: New.
2677
2678 * gdb.mi/mi2-basics.exp: Remove.
2679 * gdb.mi/mi2-break.exp: Remove.
2680 * gdb.mi/mi2-console.exp: Remove.
2681 * gdb.mi/mi2-disassemble.exp: Remove.
2682 * gdb.mi/mi2-eval.exp: Remove.
2683 * gdb.mi/mi2-file.exp: Remove.
2684 * gdb.mi/mi2-hack-cli.exp: Remove.
2685 * gdb.mi/mi2-pthreads.exp: Remove.
2686 * gdb.mi/mi2-read-memory.exp: Remove.
2687 * gdb.mi/mi2-regs.exp: Remove.
2688 * gdb.mi/mi2-return.exp: Remove.
2689 * gdb.mi/mi2-simplerun.exp: Remove.
2690 * gdb.mi/mi2-stack.exp: Remove.
2691 * gdb.mi/mi2-stepi.exp: Remove.
2692 * gdb.mi/mi2-syn-frame.exp: Remove.
2693 * gdb.mi/mi2-until.exp: Remove.
2694 * gdb.mi/mi2-watch.exp: Remove.
2695 * gdb.mi/mi2-var-block.exp: Remove.
2696 * gdb.mi/mi2-var-cmd.exp: Remove.
2697 * gdb.mi/mi2-var-display.exp: Remove.
2698
2699 2012-10-12 Yao Qi <yao@codesourcery.com>
2700
2701 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2702 trail '.*' on matching patterns.
2703
2704 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2705
2706 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2707 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2708 * gdb.arch/i386-disp-step.exp: Likewise.
2709 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2710 * gdb.arch/i386-prologue.exp: Likewise.
2711 * gdb.arch/i386-size-overlap.exp: Likewise.
2712 * gdb.arch/i386-size.exp: Likewise.
2713 * gdb.arch/i386-unwind.exp: Likewise.
2714
2715 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2716
2717 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2718 * gdb.arch/i386-word.exp: Likewise.
2719
2720 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2721
2722 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2723 is_ilp32_target to set nr_regs.
2724 * gdb.arch/i386-sse.exp: Likewise.
2725
2726 2012-10-11 Doug Evans <dje@google.com>
2727
2728 PR breakpoints/14643.
2729 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2730 * gdb.linespec/thread.c: New file.
2731 * gdb.linespec/thread.exp: New file.
2732
2733 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2734 Recognize "message" -> print pass and fail. Add eof case.
2735 (runto): Recognize message, no-message. Print pass/fail if requested,
2736 with same treatment as gdb_breakpoint.
2737 (runto_main): Pass no-message to runto.
2738 (gdb_internal_error_resync): Add log message.
2739 (gdb_file_cmd): Tweak internal error fail text for consistency.
2740
2741 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2742
2743 Fix crash during stepping on ppc32.
2744 * gdb.base/step-symless.c: New file.
2745 * gdb.base/step-symless.exp: New file.
2746
2747 2012-10-03 Doug Evans <dje@google.com>
2748
2749 PR symtab/14601
2750 * gdb.cp/using-crash.exp: New file.
2751 * gdb.cp/using-crash.cc: New file.
2752
2753 2012-10-02 Doug Evans <dje@google.com>
2754
2755 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2756 more consistent.
2757 (runto,gdb_debug_format): Ditto.
2758 (gdb_file_cmd): Watch for eof in nested gdb_expect.
2759 Clean up logging and error messages.
2760
2761 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
2762
2763 Test find command on unmapped memory.
2764 * gdb.base/find-unmapped.c: New file.
2765 * gdb.base/find-unmapped.exp: New file.
2766
2767 2012-09-29 Yao Qi <yao@codesourcery.com>
2768
2769 * gdb.trace/mi-tracepoint-changed.exp: New.
2770 * gdb.mi/mi-breakpoint-changed.exp: New.
2771 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2772 * gdb.mi/pendshr2.c: New.
2773
2774 2012-09-28 Yao Qi <yao@codesourcery.com>
2775
2776 * gdb.mi/pr11022.exp: New.
2777 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
2778
2779 2012-09-27 Tom Tromey <tromey@redhat.com>
2780
2781 * gdb.cp/derivation.exp: Add regression test.
2782 * gdb.cp/derivation.cc (class V_base, class V_inter, class
2783 V_derived): New.
2784 (vderived): New global.
2785
2786 2012-09-26 Tom Tromey <tromey@redhat.com>
2787
2788 * gdb.dwarf2/dw2-common-block.S: New file.
2789 * gdb.dwarf2/dw2-common-block.exp: New file.
2790
2791 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2792
2793 * gdb.fortran/common-block.exp: New file.
2794 * gdb.fortran/common-block.f90: New file.
2795
2796 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
2797
2798 * gdb.base/duplicate-bp.c: New file.
2799 * gdb.base/duplicate-bp.exp: New file.
2800
2801 2012-09-26 Yao Qi <yao@codesourcery.com>
2802
2803 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
2804
2805 Revert:
2806 2012-09-21 Yao Qi <yao@codesourcery.com>
2807
2808 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2809
2810 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2811
2812 * gdb.base/longest-types.c: New test case.
2813 * gdb.base/longest-types.exp: New test case.
2814
2815 2012-09-25 Yao Qi <yao@codesourcery.com>
2816
2817 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2818
2819 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2820
2821 Fix internal error on canonicalization of clang types.
2822 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2823 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2824 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2825
2826 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2827
2828 Fix disassemble without parameters in tailcall frame.
2829 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2830
2831 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
2832
2833 * gdb.dwarf2/dw2-op-out-param.S: New file.
2834 * gdb.dwarf2/dw2-op-out-param.exp: New file.
2835
2836 2012-09-21 Yao Qi <yao@codesourcery.com>
2837
2838 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2839
2840 2012-09-21 Yao Qi <yao@codesourcery.com>
2841
2842 * gdb.mi/mi-cli.exp: Remove.
2843 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2844
2845 2012-09-21 Yao Qi <yao@codesourcery.com>
2846
2847 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
2848 "=record-started" notification.
2849
2850 2012-09-21 Yao Qi <yao@codesourcery.com>
2851
2852 * gdb.mi/mi-record-changed.exp: New.
2853 * gdb.mi/mi-reverse.exp: Adjust expected output.
2854
2855 2012-09-20 Tom Tromey <tromey@redhat.com>
2856
2857 * gdb.python/python.exp: Test atexit.register.
2858
2859 2012-09-20 Doug Evans <dje@google.com>
2860
2861 * boards/dwarf4-gdb-index.exp: New file.
2862
2863 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
2864 while running the tests.
2865
2866 2012-09-18 Joel Brobecker <brobecker@adacore.com>
2867
2868 * gdb.ada/bp_reset: New testcase.
2869
2870 2012-09-18 Yao Qi <yao@codesourcery.com>
2871
2872 * gdb.trace/mi-tsv-changed.exp: New.
2873
2874 2012-09-18 Yao Qi <yao@codesourcery.com>
2875
2876 * gdb.trace/mi-traceframe-changed.exp: New.
2877
2878 2012-09-17 Yao Qi <yao@codesourcery.com>
2879
2880 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
2881 when it is less than 0.
2882
2883 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2884
2885 PR 14119
2886 * gdb.arch/amd64-tailcall-ret.S: New file.
2887 * gdb.arch/amd64-tailcall-ret.c: New file.
2888 * gdb.arch/amd64-tailcall-ret.exp: New file.
2889 * gdb.reverse/amd64-tailcall-reverse.S: New file.
2890 * gdb.reverse/amd64-tailcall-reverse.c: New file.
2891 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
2892
2893 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2894
2895 PR 14548
2896 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
2897 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
2898 * gdb.reverse/singlejmp-reverse.S: New file.
2899 * gdb.reverse/singlejmp-reverse.c: New file.
2900 * gdb.reverse/singlejmp-reverse.exp: New file.
2901
2902 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2903
2904 Fix compatibility with old GCC (~4.1).
2905 * gdb.cp/converts.cc (my_enum_var): New variable.
2906
2907 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
2908
2909 * gdb.xml/tdesc-regs.exp: Update expected output for new
2910 vector_size syntax of vector types.
2911
2912 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
2913
2914 Refactor Python "gdb" module into a proper Python package, by
2915 introducing a new "_gdb" module for code implemented in C, and
2916 using reload/__import__ instead of exec.
2917 * gdb.python/python.exp (Test stderr location): Update module
2918 location of GDB-specific sys.stderr.
2919 (Test stdout location): Ditto for sys.stdout.
2920
2921 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2922
2923 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
2924
2925 2012-09-12 Keith Seitz <keiths@redhat.com>
2926
2927 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
2928 conversion statement.
2929
2930 2012-09-12 Doug Evans <dje@google.com>
2931
2932 * gdb.base/help.exp: Remove testing of individual command help text,
2933 too much of a maintenance burden. Instead, test the functionality
2934 of "help" itself.
2935
2936 2012-09-11 Doug Evans <dje@google.com>
2937
2938 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
2939 breakpoint.
2940
2941 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
2942 * gdb.dwarf2/fission-reread.S: Ditto.
2943 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
2944 * gdb.dwarf2/fission-reread.exp: Ditto.
2945
2946 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
2947
2948 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
2949
2950 2012-09-10 Joel Brobecker <brobecker@adacore.com>
2951
2952 * gdb.ada/optim_drec: New testcase.
2953
2954 2012-09-10 Doug Evans <dje@google.com>
2955
2956 * boards/fission.exp: Explicitly mark "board" as not remote.
2957
2958 2012-09-10 Keith Seitz <keiths@redhat.com>
2959
2960 PR gdb/13483
2961 * gdb.cp/converts.cc (A::A): Add ctor.
2962 (A::member_): Add member.
2963 (enum my_enum): New enumeration.
2964 (main): Add calls to foo1_7 with various
2965 permitted arguments.
2966 * gdb.cp/converts.exp: Add tests for boolean
2967 conversions permitted by the standard.
2968
2969 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
2970
2971 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
2972 avoid spurious results due to ~/.gdbinit.
2973 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
2974 $INTERNAL_GDBFLAGS in run command.
2975 * gdb.gdb/observer.exp (setup_test): Ditto.
2976 * gdb.gdb/selftest.exp (test_with_self): Ditto.
2977 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
2978
2979 2012-09-06 Doug Evans <dje@google.com>
2980
2981 * boards/fission.exp: New file.
2982
2983 * gdb.python/py-value.exp: Use clean_restart.
2984
2985 2012-09-05 Doug Evans <dje@google.com>
2986
2987 * gdb.base/info-macros.c: Fix whitespace.
2988
2989 2012-08-28 Pedro Alves <palves@redhat.com>
2990
2991 PR gdb/14428
2992
2993 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
2994
2995 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2996
2997 * gdb.base/break-caller-line.c: New file.
2998 * gdb.base/break-caller-line.exp: New file.
2999
3000 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3001
3002 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3003 * gdb.arch/i386-cfi-notcurrent.S: New file.
3004 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3005
3006 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
3007 Yao Qi <yao@codesourcery.com>
3008 Pedro Alves <palves@redhat.com>
3009
3010 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3011 New procedures.
3012 (top level): Add overlap checking tests.
3013
3014 2012-08-24 Tom Tromey <tromey@redhat.com>
3015
3016 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3017 gdb_test_multiple fails for other reasons.
3018
3019 2012-08-24 Yao Qi <yao@codesourcery.com>
3020
3021 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3022
3023 2012-08-23 Pedro Alves <palves@redhat.com>
3024
3025 * gdb.base/help.exp: Adjust to "handle" help text change.
3026
3027 2012-08-23 Yao Qi <yao@codesourcery.com>
3028
3029 * gdb.trace/disconnected-tracing.c (start, end): New.
3030 (main): Call start and end.
3031 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3032 existing tests into this proc.
3033 (disconnected_tfind): New.
3034
3035 2012-08-23 Yao Qi <yao@codesourcery.com>
3036
3037 * boards/native-gdbserver.exp (${board}_upload): New.
3038 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3039 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3040 Execute tfile on remote target.
3041 Copy trace file from target to host.
3042
3043 2012-08-22 Joseph Myers <joseph@codesourcery.com>
3044
3045 * gdb.arch/thumb-bx-pc.S: New file.
3046 * gdb.arch/thumb-bx-pc.exp: New file.
3047
3048 2012-08-22 Tom Tromey <tromey@redhat.com>
3049
3050 * gdb.base/maint.exp: Update.
3051
3052 2012-08-22 Tom Tromey <tromey@redhat.com>
3053
3054 * lib/gdb.exp (skip_unwinder_tests): New proc.
3055 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3056 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3057
3058 2012-08-21 Tom Tromey <tromey@redhat.com>
3059
3060 * gdb.hp/gdb.aCC/exception.exp: Remove.
3061
3062 012-08-19 Andrew Pinski <apinski@cavium.com>
3063
3064 * gdb.arch/mips-octeon-bbit.c: New file.
3065 * gdb.arch/mips-octeon-bbit.exp: New Test.
3066
3067 012-08-19 Keith Seitz <keiths@redhat.com>
3068
3069 PR c++/14365
3070 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3071 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3072
3073 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3074
3075 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3076 verbose -log by more specific untested call.
3077
3078 2012-08-18 Yao Qi <yao@codesourcery.com>
3079
3080 * gdb.trace/tfind.exp: Move tests on various command help before
3081 checking target supports trace.
3082 Fix the expected output of 'help tfind end'.
3083
3084 2012-08-17 Keith Seitz <keiths@redhat.com>
3085
3086 PR c++/13356
3087 * gdb.base/default.exp: Update all "check type" tests.
3088 * gdb.base/help.exp: Likewise.
3089 * gdb.base/setshow.exp: Likewise.
3090 * gdb.cp/converts.cc (foo1_type_check): New function.
3091 (foo2_type_check): New function.
3092 (foo3_type_check): New function.
3093 (main): Call new functions.
3094 * converts.exp: Add tests for integer-to-pointer conversions
3095 with/without strict type-checking.
3096
3097 2012-08-16 Mike Frysinger <vapier@gentoo.org>
3098
3099 * gdb.base/help.exp: Update expected output.
3100
3101 2012-08-16 Joel Brobecker <brobecker@adacore.com>
3102
3103 * gdb.ada/rdv_wait: New testcase.
3104
3105 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3106
3107 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3108
3109 2012-08-13 Doug Evans <dje@google.com>
3110
3111 * gdb.base/help.exp: Update expected output.
3112 * gdb.base/default.exp: Update expected output of "show convenience".
3113
3114 2012-08-10 Doug Evans <dje@google.com>
3115
3116 * gdb.python/py-strfns.c: New file.
3117 * gdb.python/py-strfns.exp: New file.
3118 * gdb.python/py-type.exp (test_fields): Add vector tests.
3119
3120 2012-08-10 Mike Frysinger <vapier@gentoo.org>
3121
3122 PR cli/10436:
3123 * gdb.base/completion.exp: Add tests for handle completion.
3124
3125 2012-08-09 Yao Qi <yao@codesourcery.com>
3126
3127 * gdb.mi/mi-cmd-param-changed.exp: New.
3128 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3129 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3130 * gdb.mi/mi2-prompt.exp: Likewise.
3131
3132 2012-08-08 Doug Evans <dje@google.com>
3133
3134 * gdb.base/debug-expr.c: New file.
3135 * gdb.base/debug-expr.exp: New file.
3136 * gdb.base/exprs.exp: Test {type} casts.
3137 * gdb.cp/debug-expr.exp: New file.
3138
3139 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3140
3141 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3142 global variable loop, not a 'break'. Add loop count limit to 100.
3143 Add new fail case for terminated vgdb.
3144
3145 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3146 Jean-Marc Saffroy <saffroy@gmail.com>
3147
3148 PR 11804
3149 * gdb.base/gcore-relro.exp: New file.
3150 * gdb.base/gcore-relro-main.c: New file.
3151 * gdb.base/gcore-relro-lib.c: New file.
3152
3153 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3154
3155 Do not false FAIL with old GCCs.
3156 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3157 GCC < 4.5 in $no_hw mode.
3158
3159 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3160
3161 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3162
3163 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3164
3165 * gdb.base/list.exp (test_only_end): New function.
3166 Call it.
3167
3168 2012-08-06 Tom Tromey <tromey@redhat.com>
3169
3170 * gdb.python/py-mi.exp: Add test for printer whose children
3171 are a list.
3172 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3173 (main): New variable children_as_list.
3174 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3175 New.
3176 (register_pretty_printers): Register new printer.
3177
3178 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3179
3180 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3181 symbols. Abort if vgdb remote connection is closed.
3182
3183 2012-08-02 Doug Evans <dje@google.com>
3184
3185 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3186
3187 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3188
3189 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3190 s390x, PowerPC 64 and m68k-linux.
3191
3192 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3193
3194 * gdb.base/annota1.exp: Accept no frames-invalid notification
3195 when starting up the program.
3196 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3197 show a symbolic value as well.
3198 * gdb.server/server-exec-info.exp: Skip test when skipping
3199 gdbserver test and/or when skipping shared library tests.
3200 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3201 avoid name conflicts with other tests.
3202
3203 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3204
3205 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3206 Fix wrong output on big-endian systems.
3207 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3208 4-byte pointer types on 64-bit s390x.
3209
3210 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3211
3212 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3213 marker comment at the beginning (after intialization).
3214 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3215 breakpoint on marker comment instead of function begin.
3216 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3217 PowerPC.
3218 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3219 or 64-bit PowerPC.
3220 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3221 gdb,no_hardware_watchpoints flag is set.
3222 (initialize): Remove now redundant can-use-hw-watchpoints change.
3223
3224 2012-08-02 Yao Qi <yao@codesourcery.com>
3225 Pedro Alves <palves@redhat.com>
3226
3227 * boards/local-remote-host.exp: New.
3228
3229 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3230
3231 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3232 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3233 * gdb.base/print-file-var.exp: Likewise.
3234 * gdb.server/solib-list.exp: Skip on remote targets.
3235
3236 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3237
3238 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3239 watchpoints on ARM. When expecting software watchpoints, tolerate
3240 (remote) targets that report unsupported hardware watchpoint only
3241 at continue time.
3242 (test_wide_location_2): Likewise.
3243
3244 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3245
3246 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3247 valgrind versions.
3248
3249 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3250
3251 * gdb.base/valgrind-infcall.c: New file.
3252 * gdb.base/valgrind-infcall.exp: New file.
3253
3254 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3255
3256 2012-07-30 Keith Seitz <keiths@redhat.com>
3257
3258 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3259 linespecs.
3260
3261 2012-07-30 Doug Evans <dje@google.com>
3262
3263 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3264 * gdb.dwarf2/pr13961.S: Ditto.
3265
3266 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3267
3268 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
3269
3270 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3271 change its format immediately after reloading the binary.
3272
3273 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3274
3275 Fix testsuite regression after --use-deprecated-index-sections removal.
3276 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3277 string.
3278 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3279
3280 2012-07-27 Yao Qi <yao@codesourcery.com>
3281
3282 KFAIL for PR remote/14161.
3283 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3284 Cleanup socket files.
3285 (strace_info_marker): Detach inferior.
3286
3287 2012-07-26 Tom Tromey <tromey@redhat.com>
3288
3289 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
3290
3291 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3292
3293 * gdb.python/py-inferior.c (thread): New function.
3294 (check_threads): New function.
3295 (test_threads): New function.
3296 * gdb.python/py-inferior.exp: Added test.
3297 Replaced runto with continue to breakpoint.
3298
3299 2012-07-26 Tom Tromey <tromey@redhat.com>
3300
3301 * lib/ada.exp (standard_ada_testfile): New proc.
3302 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3303 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3304 * gdb.ada/array_return.exp: Use standard_ada_testfile.
3305 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3306 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3307 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3308 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3309 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3310 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3311 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3312 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3313 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3314 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3315 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3316 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3317 * gdb.ada/char_param.exp: Use standard_ada_testfile.
3318 * gdb.ada/complete.exp: Use standard_ada_testfile.
3319 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3320 standard_output_file.
3321 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3322 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3323 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3324 standard_output_file.
3325 * gdb.ada/exprs.exp: Use standard_ada_testfile.
3326 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3327 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3328 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3329 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3330 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3331 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3332 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3333 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3334 * gdb.ada/homonym.exp: Use standard_ada_testfile.
3335 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3336 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3337 * gdb.ada/interface.exp: Use standard_ada_testfile.
3338 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3339 standard_output_file
3340 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3341 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3342 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3343 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3344 * gdb.ada/nested.exp: Use standard_ada_testfile.
3345 * gdb.ada/null_array.exp: Use standard_ada_testfile.
3346 * gdb.ada/null_record.exp: Use standard_ada_testfile.
3347 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3348 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3349 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3350 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3351 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3352 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3353 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3354 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3355 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3356 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3357 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3358 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3359 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3360 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3361 * gdb.ada/start.exp: Use standard_ada_testfile.
3362 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3363 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3364 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3365 * gdb.ada/tagged.exp: Use standard_ada_testfile.
3366 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3367 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3368 * gdb.ada/tasks.exp: Use standard_ada_testfile.
3369 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3370 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3371 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3372 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3373 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3374 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3375 * gdb.ada/widewide.exp: Use standard_ada_testfile.
3376
3377 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3378
3379 Fix testsuite regression after --use-deprecated-index-sections removal.
3380 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3381
3382 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3383
3384 Fix compatibility with Tcl before 7.5.
3385 * lib/future.exp (lreverse): New function if it does not exist.
3386
3387 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
3388
3389 * gdb.mi/mi-pending.c: New method to set a second pending
3390 breakpoint.
3391 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3392 condition.
3393
3394 2012-07-20 Pedro Alves <palves@redhat.com>
3395
3396 PR threads/11692
3397 PR gdb/12203
3398
3399 * gdb.threads/create-fail.c: New file.
3400 * gdb.threads/create-fail.exp: New file.
3401
3402 2012-07-19 Pedro Alves <palves@redhat.com>
3403
3404 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3405 * config/vx.exp (gdb_start): Likewise.
3406 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3407 * gdb.base/setvar.exp (test_set): Likewise.
3408 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3409 * gdb.reverse/sigall-precsave.exp: Likewise.
3410 * gdb.reverse/sigall-reverse.exp: Likewise.
3411
3412 2012-07-19 Pedro Alves <palves@redhat.com>
3413
3414 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3415 handler before recording.
3416
3417 2012-07-19 Tom Tromey <tromey@redhat.com>
3418
3419 * gdb.cp/casts.exp: Add tests for typeof and decltype.
3420 * gdb.cp/casts.cc (decltype): New function.
3421 (main): Use it.
3422
3423 2012-07-19 Pedro Alves <palves@redhat.com>
3424
3425 * gdb.base/sigall.exp (signals): New list.
3426 <top level>: Loop over signals in the $signals list instead of
3427 calling a test function once per signal.
3428 * gdb.reverse/sigall-precsave.exp (signals): New list.
3429 <top level>: Loop over signals in the $signals list instead of
3430 calling a test function once per signal.
3431 * gdb.reverse/sigall-reverse.exp (signals): New list.
3432 <top level>: Loop over signals in the $signals list instead of
3433 calling a test function once per signal.
3434
3435 2012-07-19 Yao Qi <yao@codesourcery.com>
3436
3437 * gdb.base/setshow.exp: Test 'set args ~'.
3438
3439 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3440
3441 * gdb.base/store.exp (check_set): Import gdb_prompt.
3442 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3443 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3444
3445 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3446
3447 PR 11914
3448 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3449 (main): Call eval_sub.
3450 * gdb.python/py-prettyprint.exp:
3451 (python execfile ('py-prettyprint.py')): Move it earlier.
3452 New breakpoint for eval-break.
3453 (continue to breakpoint: eval-break, info locals): New test.
3454 (python execfile ('py-prettyprint.py')): Move it from here.
3455 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3456 (register_pretty_printers): Register pp_eval_type.
3457
3458 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3459
3460 Fix a testcase regression by me.
3461 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
3462 DW_FORM_data4.
3463
3464 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3465 Doug Evans <dje@google.com>
3466
3467 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
3468 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
3469
3470 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3471
3472 Fix gdbserver run regression.
3473 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
3474
3475 2012-07-12 Tom Tromey <tromey@redhat.com>
3476
3477 * lib/gdb.exp (standard_testfile): Don't declare objdir.
3478 (clean_restart): Likewise.
3479 (core_find): Use standard_output_file.
3480
3481 2012-07-12 Tom Tromey <tromey@redhat.com>
3482
3483 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
3484 * gdb.dwarf2/dw2-anonymous-func.exp: Use
3485 prepare_for_testing_full.
3486 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
3487 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
3488 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
3489 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
3490 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
3491 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
3492 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
3493 prepare_for_testing_full.
3494 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
3495 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
3496 prepare_for_testing_full.
3497 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
3498 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
3499 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
3500
3501 2012-07-12 Tom Tromey <tromey@redhat.com>
3502
3503 * lib/gdb.exp (build_executable_from_specs): New proc, from
3504 build_executable.
3505 (build_executable): Use it.
3506 (prepare_for_testing_full): New proc.
3507
3508 2012-07-11 Tom Tromey <tromey@redhat.com>
3509
3510 * gdb.reverse/break-precsave.exp: Use standard_output_file.
3511 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
3512 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
3513 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
3514 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
3515 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
3516 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
3517 * gdb.reverse/step-precsave.exp: Use standard_output_file.
3518 * gdb.reverse/until-precsave.exp: Use standard_output_file.
3519 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
3520
3521 2012-07-10 Tom Tromey <tromey@redhat.com>
3522
3523 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
3524 standard_output_file.
3525 * gdb.mi/gdb2549.exp: Use standard_testfile.
3526 * gdb.mi/gdb669.exp: Use standard_testfile.
3527 * gdb.mi/gdb701.exp: Use standard_testfile.
3528 * gdb.mi/gdb792.exp: Use standard_testfile.
3529 * gdb.mi/mi-async.exp: Use standard_testfile.
3530 * gdb.mi/mi-basics.exp: Use standard_testfile.
3531 * gdb.mi/mi-break.exp: Use standard_testfile.
3532 * gdb.mi/mi-cli.exp: Use standard_testfile.
3533 * gdb.mi/mi-console.exp: Use standard_testfile.
3534 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
3535 * gdb.mi/mi-eval.exp: Use standard_testfile.
3536 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
3537 * gdb.mi/mi-file.exp: Use standard_testfile.
3538 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
3539 * gdb.mi/mi-logging.exp: Use standard_testfile.
3540 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
3541 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
3542 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
3543 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
3544 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
3545 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
3546 * gdb.mi/mi-pending.exp: Use standard_testfile,
3547 standard_output_file.
3548 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
3549 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
3550 * gdb.mi/mi-regs.exp: Use standard_testfile.
3551 * gdb.mi/mi-return.exp: Use standard_testfile.
3552 * gdb.mi/mi-reverse.exp: Use standard_testfile.
3553 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
3554 * gdb.mi/mi-solib.exp: Use standard_testfile,
3555 standard_output_file.
3556 * gdb.mi/mi-stack.exp: Use standard_testfile.
3557 * gdb.mi/mi-stepi.exp: Use standard_testfile.
3558 * gdb.mi/mi-stepn.exp: Use standard_testfile.
3559 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
3560 * gdb.mi/mi-until.exp: Use standard_testfile.
3561 * gdb.mi/mi-var-block.exp: Use standard_testfile.
3562 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
3563 * gdb.mi/mi-var-child.exp: Use standard_testfile.
3564 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
3565 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
3566 * gdb.mi/mi-var-display.exp: Use standard_testfile.
3567 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
3568 standard_output_file.
3569 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
3570 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
3571 * gdb.mi/mi-watch.exp: Use standard_testfile.
3572 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
3573 * gdb.mi/mi2-basics.exp: Use standard_testfile.
3574 * gdb.mi/mi2-break.exp: Use standard_testfile.
3575 * gdb.mi/mi2-cli.exp: Use standard_testfile.
3576 * gdb.mi/mi2-console.exp: Use standard_testfile.
3577 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
3578 * gdb.mi/mi2-eval.exp: Use standard_testfile.
3579 * gdb.mi/mi2-file.exp: Use standard_testfile.
3580 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
3581 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
3582 * gdb.mi/mi2-regs.exp: Use standard_testfile.
3583 * gdb.mi/mi2-return.exp: Use standard_testfile.
3584 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
3585 * gdb.mi/mi2-stack.exp: Use standard_testfile.
3586 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
3587 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
3588 * gdb.mi/mi2-until.exp: Use standard_testfile.
3589 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
3590 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
3591 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
3592 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
3593 * gdb.mi/mi2-watch.exp: Use standard_testfile.
3594
3595 2012-07-10 Tom Tromey <tromey@redhat.com>
3596
3597 * gdb.cp/abstract-origin.exp: Use standard_testfile.
3598 * gdb.cp/ambiguous.exp: Use standard_testfile,
3599 prepare_for_testing.
3600 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
3601 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
3602 * gdb.cp/anon-ns.exp: Use standard_testfile.
3603 * gdb.cp/anon-struct.exp: Use standard_testfile.
3604 * gdb.cp/anon-union.exp: Use standard_testfile,
3605 prepare_for_testing.
3606 * gdb.cp/arg-reference.exp: Use standard_testfile,
3607 prepare_for_testing.
3608 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
3609 * gdb.cp/breakpoint.exp: Use standard_testfile,
3610 prepare_for_testing.
3611 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
3612 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
3613 standard_output_file.
3614 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
3615 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
3616 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
3617 (test_static_members): Update.
3618 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
3619 * gdb.cp/converts.exp: Use standard_testfile.
3620 * gdb.cp/cp-relocate.exp: Use standard_testfile.
3621 * gdb.cp/cpcompletion.exp: Use standard_testfile,
3622 prepare_for_testing.
3623 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
3624 * gdb.cp/cplabel.exp: Use standard_testfile.
3625 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
3626 prepare_for_testing.
3627 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
3628 * gdb.cp/derivation.exp: Use standard_testfile,
3629 prepare_for_testing.
3630 * gdb.cp/destrprint.exp: Use standard_testfile.
3631 * gdb.cp/dispcxx.exp: Use standard_testfile.
3632 * gdb.cp/exception.exp: Use standard_testfile,
3633 prepare_for_testing.
3634 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
3635 * gdb.cp/extern-c.exp: Use standard_testfile,
3636 prepare_for_testing.
3637 * gdb.cp/formatted-ref.exp: Use standard_testfile,
3638 prepare_for_testing.
3639 * gdb.cp/fpointer.exp: Use standard_testfile.
3640 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
3641 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
3642 standard_output_file.
3643 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
3644 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
3645 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
3646 standard_output_file.
3647 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
3648 (do_tests): Update.
3649 * gdb.cp/koenig.exp: Use standard_testfile.
3650 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
3651 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
3652 * gdb.cp/m-static.exp: Use standard_testfile,
3653 prepare_for_testing.
3654 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
3655 * gdb.cp/mb-inline.exp: Use standard_testfile,
3656 prepare_for_testing.
3657 * gdb.cp/mb-templates.exp: Use standard_testfile,
3658 prepare_for_testing.
3659 * gdb.cp/member-ptr.exp: Use standard_testfile,
3660 prepare_for_testing.
3661 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
3662 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
3663 * gdb.cp/method2.exp: Use standard_testfile.
3664 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
3665 standard_output_file.
3666 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
3667 (do_tests): Update.
3668 * gdb.cp/namespace-enum.exp: Use standard_testfile,
3669 prepare_for_testing.
3670 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
3671 prepare_for_testing.
3672 * gdb.cp/namespace.exp: Use standard_testfile,
3673 prepare_for_testing.
3674 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
3675 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
3676 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
3677 * gdb.cp/nsimport.exp: Use standard_testfile,
3678 prepare_for_testing.
3679 * gdb.cp/nsnested.exp: Use standard_testfile.
3680 * gdb.cp/nsnoimports.exp: Use standard_testfile.
3681 * gdb.cp/nsrecurs.exp: Use standard_testfile,
3682 prepare_for_testing.
3683 * gdb.cp/nsstress.exp: Use standard_testfile,
3684 prepare_for_testing.
3685 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3686 * gdb.cp/operator.exp: Use standard_testfile.
3687 * gdb.cp/oranking.exp: Use standard_testfile.
3688 * gdb.cp/overload-const.exp: Use standard_testfile.
3689 * gdb.cp/overload.exp: Use standard_testfile,
3690 prepare_for_testing.
3691 * gdb.cp/ovldbreak.exp: Use standard_testfile.
3692 * gdb.cp/ovsrch.exp: Use standard_testfile.
3693 * gdb.cp/paren-type.exp: Use standard_testfile.
3694 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3695 prepare_for_testing.
3696 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3697 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3698 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3699 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3700 * gdb.cp/pr10728.exp: Use standard_testfile,
3701 standard_output_file.
3702 * gdb.cp/pr12028.exp: Use standard_testfile.
3703 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3704 * gdb.cp/pr9167.exp: Use standard_testfile.
3705 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3706 * gdb.cp/printmethod.exp: Use standard_testfile,
3707 prepare_for_testing.
3708 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3709 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3710 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3711 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3712 standard_output_file.
3713 * gdb.cp/readnow-language.exp: Use standard_testfile.
3714 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3715 (gdb_start_again): Use clean_restart.
3716 * gdb.cp/ref-types.exp: Use standard_testfile,
3717 prepare_for_testing.
3718 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3719 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3720 * gdb.cp/smartp.exp: Use standard_testfile.
3721 * gdb.cp/static-method.exp: Use standard_testfile.
3722 * gdb.cp/static-print-quit.exp: Use standard_testfile.
3723 * gdb.cp/temargs.exp: Use standard_testfile.
3724 * gdb.cp/templates.exp: Use standard_testfile,
3725 prepare_for_testing.
3726 (do_tests): Update.
3727 * gdb.cp/try_catch.exp: Use standard_testfile,
3728 prepare_for_testing.
3729 * gdb.cp/typedef-operator.exp: Use standard_testfile.
3730 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3731 * gdb.cp/virtbase.exp: Use standard_testfile,
3732 prepare_for_testing.
3733 * gdb.cp/virtfunc.exp: Use standard_testfile,
3734 prepare_for_testing.
3735 (do_tests): Update.
3736 * gdb.cp/virtfunc2.exp: Use standard_testfile,
3737 prepare_for_testing.
3738
3739 2012-07-10 Tom Tromey <tromey@redhat.com>
3740
3741 * lib/gdb.exp (standard_testfile): Unset output variables from
3742 earlier invocations.
3743
3744 2012-07-10 Yao Qi <yao@codesourcery.com>
3745
3746 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3747 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3748 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3749 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3750 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3751 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3752 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3753 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3754 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3755 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3756 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3757 * gdb.mi/mi-var-display.exp: Likewise.
3758 * gdb.mi/mi-var-invalidate.exp: Likewise.
3759 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3760 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3761 * gdb.mi/mi2-console.exp: Likewise.
3762 * gdb.mi/mi2-disassemble.exp: Likewise.
3763 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3764 * gdb.mi/mi2-read-memory.exp: Likewise.
3765 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3766 * gdb.mi/mi2-simplerun.exp: Likewise.
3767 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3768 * gdb.mi/mi2-syn-frame.exp: Likewise.
3769 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3770 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3771 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3772
3773 2012-07-09 Tom Tromey <tromey@redhat.com>
3774
3775 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3776 * gdb.base/callfuncs.exp: Add cast-based test.
3777 * gdb.base/callfuncs.c (voidfunc): New function.
3778
3779 2012-07-08 Doug Evans <dje@google.com>
3780
3781 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3782
3783 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3784
3785 Fix XFAIL compatibility with old i386 systems.
3786 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3787 Check also 'Cannot insert breakpoint 0'.
3788
3789 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3790
3791 PR 14321
3792 * gdb.base/find.exp
3793 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3794
3795 2012-07-06 Tom Tromey <tromey@redhat.com>
3796
3797 * gdb.base/whatis.exp: Add test.
3798
3799 2012-07-06 Tom Tromey <tromey@redhat.com>
3800
3801 * gdb.base/whatis.exp: Add regression test.
3802
3803 2012-07-06 Tom Tromey <tromey@redhat.com>
3804
3805 * gdb.base/whatis.exp: Add tests.
3806
3807 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3808
3809 PR 12649
3810 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3811 gdb_test_multiple $gdb_prompt terminator.
3812
3813 2012-07-04 Pedro Alves <palves@redhat.com>
3814
3815 * gdb.mi/mi-reverse.exp: Use supports_reverse and
3816 supports_process_record.
3817
3818 2012-07-04 Pedro Alves <palves@redhat.com>
3819
3820 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3821 endings.
3822 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3823
3824 2012-07-03 Stan Shebs <stan@codesourcery.com>
3825
3826 * gdb.base/info-os.c (main): Retry resource acquisition until an
3827 available one is found.
3828 * gdb.base/info-os.exp: Collect resource keys from the program
3829 and use them in matching.
3830
3831 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3832
3833 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3834 Wrap the test into loop for corefile and core0file.
3835
3836 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3837
3838 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3839 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
3840 .note.GNU-stack.
3841
3842 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3843
3844 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
3845
3846 * gdb.base/help.exp (help b, help br, help bre, help brea, help
3847 break): Include help message for the new `-probe' and `-probe-stap'
3848 options.
3849
3850 2012-07-02 Stan Shebs <stan@codesourcery.com>
3851
3852 * gdb.base/dprintf.exp: Add agent style tests.
3853
3854 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3855
3856 * gdb.base/stale-infcall.c (infcall): New label test-next.
3857 (main): New labels test-pass and test-fail.
3858 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
3859 $test_fail_bpnum to test-fail.
3860 (test system longjmp tracking support): New test.
3861 Delete $test_fail_bpnum.
3862 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
3863 breakpoint.
3864
3865 2012-06-30 Doug Evans <dje@google.com>
3866
3867 * gdb.dwarf2/fission-reread.S: New file.
3868 * gdb.dwarf2/fission-reread.exp: New file.
3869
3870 2012-06-28 Stan Shebs <stan@codesourcery.com>
3871
3872 * gdb.mi/mi-logging.exp: New file.
3873
3874 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3875 Pedro Alves <palves@redhat.com>
3876
3877 * gdb.threads/siginfo-threads.exp: New file.
3878 * gdb.threads/siginfo-threads.c: New file.
3879 * gdb.threads/sigstep-threads.exp: New file.
3880 * gdb.threads/sigstep-threads.c: New file.
3881
3882 2012-06-28 Tom Tromey <tromey@redhat.com>
3883
3884 * gdb.go/package.exp: Partially revert earlier patch; use
3885 gdb_compile again. Use standard_output_file.
3886
3887 2012-06-27 Doug Evans <dje@google.com>
3888
3889 * gdb.dwarf2/fission-base.c: New file.
3890 * gdb.dwarf2/fission-base.S: New file.
3891 * gdb.dwarf2/fission-base.exp: New file.
3892
3893 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3894
3895 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
3896
3897 2012-06-27 Tom Tromey <tromey@redhat.com>
3898
3899 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
3900 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
3901
3902 2012-06-27 Tom Tromey <tromey@redhat.com>
3903
3904 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
3905 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
3906 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
3907 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
3908 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
3909 prepare_for_testing.
3910 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
3911 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
3912 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
3913 standard_testfile.
3914 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
3915 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
3916 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
3917 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
3918 prepare_for_testing.
3919 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
3920 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
3921 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
3922 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
3923 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
3924 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
3925 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
3926 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
3927 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
3928 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
3929 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
3930 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
3931 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
3932 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
3933 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
3934 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
3935 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
3936 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
3937 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
3938 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
3939 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
3940 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
3941 standard_output_file.
3942 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
3943 standard_output_file.
3944 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
3945 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
3946 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
3947 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
3948 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
3949 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
3950 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
3951 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
3952 * gdb.dwarf2/implptr.exp: Use standard_testfile.
3953 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
3954 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
3955 * gdb.dwarf2/pieces.exp: Use standard_testfile.
3956 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
3957 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
3958 * gdb.dwarf2/valop.exp: Use standard_testfile,
3959 prepare_for_testing.
3960
3961 2012-06-27 Tom Tromey <tromey@redhat.com>
3962
3963 * gdb.python/python.exp: Fix regexps in pagination tests.
3964
3965 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
3966
3967 * gdb.python/py-symtab.exp: Add tests to test the new attribute
3968 'last' of gdb.Symtab_and_line.
3969 * gdb.python/py-symbol.c: Move break point comment to enable
3970 testing of gdb.Symtab_and_line.last.
3971
3972 2012-06-26 Tom Tromey <tromey@redhat.com>
3973
3974 * gdb.threads/step.c: Remove.
3975 * gdb.threads/step.exp: Remove.
3976 * gdb.threads/step2.exp: Remove.
3977
3978 2012-06-26 Tom Tromey <tromey@redhat.com>
3979
3980 * gdb.threads/watchpoint-fork.exp (test): Use
3981 standard_output_file. Don't declare objdir.
3982 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
3983 standard_output_file.
3984 * gdb.threads/attach-stopped.exp: Use standard_testfile.
3985 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
3986 clean_restart. Remove incdir.
3987 * gdb.threads/corethreads.exp: Use standard_testfile.
3988 * gdb.threads/execl.exp: Use standard_testfile,
3989 standard_output_file, clean_restart.
3990 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
3991 clean_restart.
3992 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
3993 clean_restart.
3994 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
3995 incdir.
3996 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
3997 clean_restart. Remove incdir.
3998 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
3999 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4000 clean_restart. Remove incdir.
4001 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4002 Remove incdir.
4003 * gdb.threads/leader-exit.exp: Use standard_testfile.
4004 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4005 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4006 clean_restart.
4007 * gdb.threads/manythreads.exp: Use standard_testfile,
4008 clean_restart. Remove incdir.
4009 * gdb.threads/multi-create.exp: Use standard_testfile,
4010 clean_restart.
4011 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4012 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4013 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4014 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4015 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4016 * gdb.threads/pending-step.exp: Use standard_testfile,
4017 clean_restart. Remove incdir.
4018 * gdb.threads/print-threads.exp: Use standard_testfile,
4019 clean_restart. Remove incdir.
4020 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4021 clean_restart. Remove incdir.
4022 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4023 Remove incdir.
4024 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4025 incdir.
4026 * gdb.threads/sigthread.exp: Use standard_testfile,
4027 clean_restart.
4028 * gdb.threads/staticthreads.exp: Use standard_testfile,
4029 clean_restart. Remove incdir.
4030 * gdb.threads/switch-threads.exp: Use standard_testfile,
4031 clean_restart. Remove incdir.
4032 * gdb.threads/thread-execl.exp: Use standard_testfile,
4033 clean_restart. Remove incdir.
4034 * gdb.threads/thread-find.exp: Use standard_testfile,
4035 clean_restart.
4036 * gdb.threads/thread-specific.exp: Use standard_testfile,
4037 clean_restart. Remove incdir.
4038 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4039 clean_restart. Remove incdir.
4040 * gdb.threads/thread_check.exp: Use standard_testfile,
4041 clean_restart. Remove incdir.
4042 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4043 incdir.
4044 * gdb.threads/threadapply.exp: Use standard_testfile,
4045 clean_restart. Remove incdir.
4046 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4047 clean_restart. Remove incdir.
4048 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4049 clean_restart.
4050 * gdb.threads/tls-shared.exp: Use standard_testfile,
4051 clean_restart, standard_output_file.
4052 * gdb.threads/tls-var.exp: Use standard_testfile,
4053 standard_output_file.
4054 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4055 Remove incdir.
4056 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4057 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4058 incdir.
4059 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4060 clean_restart. Remove incdir.
4061
4062 2012-06-26 Tom Tromey <tromey@redhat.com>
4063
4064 * gdb.trace/actions.exp: Use standard_testfile.
4065 * gdb.trace/ax.exp: Use standard_testfile.
4066 * gdb.trace/backtrace.exp: Use standard_testfile.
4067 * gdb.trace/change-loc.exp: Use standard_testfile.
4068 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4069 * gdb.trace/collection.exp: Use standard_testfile,
4070 prepare_for_testing.
4071 * gdb.trace/deltrace.exp: Use standard_testfile.
4072 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4073 * gdb.trace/ftrace.exp: Use standard_testfile.
4074 * gdb.trace/infotrace.exp: Use standard_testfile.
4075 * gdb.trace/packetlen.exp: Use standard_testfile.
4076 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4077 * gdb.trace/passcount.exp: Use standard_testfile.
4078 * gdb.trace/pending.exp: Use standard_testfile.
4079 * gdb.trace/report.exp: Use standard_testfile.
4080 * gdb.trace/save-trace.exp: Use standard_testfile.
4081 * gdb.trace/stap-trace.exp: Use standard_testfile.
4082 * gdb.trace/status-stop.exp: Use standard_testfile.
4083 * gdb.trace/strace.exp: Use standard_testfile.
4084 * gdb.trace/tfile.exp: Use standard_testfile.
4085 * gdb.trace/tfind.exp: Use standard_testfile.
4086 * gdb.trace/trace-break.exp: Use standard_testfile.
4087 * gdb.trace/trace-mt.exp: Use standard_testfile.
4088 * gdb.trace/tracecmd.exp: Use standard_testfile.
4089 * gdb.trace/tspeed.exp: Use standard_testfile.
4090 * gdb.trace/tstatus.exp: Use standard_testfile.
4091 * gdb.trace/tsv.exp: Use standard_testfile.
4092 * gdb.trace/unavailable.exp: Use standard_testfile,
4093 prepare_for_testing.
4094 * gdb.trace/while-dyn.exp: Use standard_testfile.
4095 * gdb.trace/while-stepping.exp: Use standard_testfile.
4096
4097 2012-06-26 Tom Tromey <tromey@redhat.com>
4098
4099 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4100 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4101 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4102 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4103 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4104 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4105 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4106 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4107 prepare_for_testing.
4108 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4109 prepare_for_testing.
4110 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4111 prepare_for_testing.
4112 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4113 prepare_for_testing.
4114 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4115 prepare_for_testing
4116 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4117 * gdb.reverse/machinestate.exp: Use standard_testfile.
4118 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4119 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4120 build_executable.
4121 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4122 build_executable.
4123 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4124 standard_output_file.
4125 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4126 standard_output_file.
4127 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4128 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4129 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4130 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4131 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4132 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4133
4134 2012-06-26 Tom Tromey <tromey@redhat.com>
4135
4136 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4137 standard_output_file.
4138 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4139 prepare_for_testing. Remove directory-checking code.
4140
4141 2012-06-25 Tom Tromey <tromey@redhat.com>
4142
4143 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4144 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4145 build_executable, not prepare_for_testing.
4146 * gdb.multi/base.exp: Use standard_output_file. Use
4147 build_executable, not prepare_for_testing.
4148
4149 2012-06-25 Tom Tromey <tromey@redhat.com>
4150
4151 * gdb.fortran/subarray.exp: Use standard_testfile,
4152 prepare_for_testing.
4153 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4154 * gdb.fortran/module.exp: Use standard_testfile.
4155 * gdb.fortran/logical.exp: Use standard_testfile.
4156 * gdb.fortran/library-module.exp: Use standard_testfile,
4157 standard_output_file.
4158 * gdb.fortran/derived-type.exp: Use standard_testfile,
4159 prepare_for_testing.
4160 * gdb.fortran/complex.exp: Use standard_testfile,
4161 prepare_for_testing.
4162 * gdb.fortran/charset.exp: Use standard_testfile.
4163 * gdb.fortran/array-element.exp: Use standard_testfile,
4164 prepare_for_testing.
4165
4166 2012-06-25 Keith Seitz <keiths@redhat.com>
4167
4168 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4169 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4170
4171 2012-06-25 Tom Tromey <tromey@redhat.com>
4172
4173 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4174 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4175 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4176 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4177
4178 2012-06-25 Tom Tromey <tromey@redhat.com>
4179
4180 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4181 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4182 * gdb.linespec/linespec.exp: Use standard_testfile.
4183
4184 2012-06-25 Tom Tromey <tromey@redhat.com>
4185
4186 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4187 prepare_for_testing.
4188
4189 2012-06-25 Tom Tromey <tromey@redhat.com>
4190
4191 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4192 prepare_for_testing.
4193 * gdb.opt/inline-break.exp: Use standard_testfile,
4194 prepare_for_testing.
4195 * gdb.opt/inline-bt.exp: Use standard_testfile,
4196 prepare_for_testing.
4197 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4198 prepare_for_testing.
4199 * gdb.opt/inline-locals.exp: Use standard_testfile,
4200 prepare_for_testing.
4201
4202 2012-06-25 Tom Tromey <tromey@redhat.com>
4203
4204 * gdb.asm/asm-source.exp: Use standard_output_file,
4205 standard_testfile. Construct .o files in proper subdir.
4206
4207 2012-06-25 Tom Tromey <tromey@redhat.com>
4208
4209 * gdb.server/ext-attach.exp: Use standard_testfile,
4210 prepare_for_testing.
4211 * gdb.server/ext-run.exp: Use standard_testfile,
4212 build_executable.
4213 * gdb.server/file-transfer.exp: Use standard_testfile,
4214 prepare_for_testing.
4215 * gdb.server/server-exec-info.exp: Use standard_testfile.
4216 * gdb.server/server-mon.exp: Use standard_testfile,
4217 prepare_for_testing.
4218 * gdb.server/server-run.exp: Use standard_testfile,
4219 build_executable.
4220 * gdb.server/solib-list.exp: Use standard_testfile,
4221 standard_output_file.
4222
4223 2012-06-25 Tom Tromey <tromey@redhat.com>
4224
4225 * lib/gdb.exp (standard_output_file): Use "file join".
4226 * gdb.go/chan.exp: Use standard_testfile.
4227 * gdb.go/handcall.exp: Use standard_testfile.
4228 * gdb.go/hello.exp: Use standard_testfile.
4229 * gdb.integers/chan.exp: Use standard_testfile.
4230 * gdb.go/methods.exp: Use standard_testfile.
4231 * gdb.go/package.exp: Use standard_testfile.
4232 * gdb.go/strings.exp: Use standard_testfile.
4233 * gdb.go/types.exp: Use standard_testfile.
4234 * gdb.go/unsafe.exp: Use standard_testfile.
4235
4236 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4237
4238 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4239
4240 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4241
4242 Fix regression by the previous commit.
4243 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4244
4245 2012-06-22 Tom Tromey <tromey@redhat.com>
4246
4247 * gdb.python/lib-types.exp: Use standard_testfile,
4248 prepare_for_testing.
4249 * gdb.python/py-block.exp: Use standard_testfile.
4250 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4251 * gdb.python/py-events.exp: Use standard_testfile,
4252 standard_output_file.
4253 * gdb.python/py-evsignal.exp: Use standard_testfile.
4254 * gdb.python/py-evethreads.exp: Use standard_testfile.
4255 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4256 * gdb.python/py-explore.exp: Use standard_testfile.
4257 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4258 standard_output_file.
4259 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4260 prepare_for_testing.
4261 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4262 * gdb.python/py-frame.exp: Use standard_testfile.
4263 * gdb.python/py-inferior.exp: Use standard_testfile.
4264 * gdb.python/py-infthread.exp: Use standard_testfile.
4265 * gdb.python/py-mi.exp: Use standard_testfile.
4266 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4267 build_executable.
4268 * gdb.python/py-objfile.exp: Use standard_testfile.
4269 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4270 prepare_for_testing.
4271 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4272 * gdb.python/py-progspace.exp: Use standard_testfile,
4273 build_executable.
4274 * gdb.python/py-prompt.exp: Use standard_testfile,
4275 build_executable.
4276 * gdb.python/py-section-script.exp: Use standard_testfile,
4277 build_executable.
4278 * gdb.python/py-shared.exp: Use standard_testfile,
4279 standard_output_file, clean_restart.
4280 * gdb.python/py-symbol.exp: Use standard_output_file,
4281 prepare_for_testing.
4282 * gdb.python/py-symtab.exp: Use standard_output_file,
4283 prepare_for_testing
4284 * gdb.python/py-template.exp: Use standard_testfile.
4285 * gdb.python/py-type.exp: Use standard_testfile.
4286 * gdb.python/py-value-cc.exp: Use standard_testfile.
4287 * gdb.python/py-value.exp: Use standard_testfile.
4288 * gdb.python/python.exp: Use standard_testfile, build_executable.
4289
4290 2012-06-22 Tom Tromey <tromey@redhat.com>
4291
4292 * gdb.objc/basicclass.exp: Use standard_testfile.
4293 (do_objc_tests): Don't declare objdir.
4294 * gdb.objc/nondebug.exp: Use standard_testfile.
4295 (do_objc_tests): Don't declare objdir.
4296 * gdb.objc/objcdecode.exp: Use standard_testfile.
4297 (do_objc_tests): Don't declare objdir.
4298
4299 2012-06-22 Tom Tromey <tromey@redhat.com>
4300
4301 * gdb.java/jmain.exp: Use standard_testfile.
4302 * gdb.java/jmisc.exp: Use standard_testfile.
4303 * gdb.java/jnpe.exp: Use standard_testfile.
4304 * gdb.java/jprint.exp: Use standard_testfile.
4305
4306 2012-06-22 Tom Tromey <tromey@redhat.com>
4307
4308 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4309 (standard_output_file, standard_testfile): New procs.
4310 (build_executable, clean_restart): Use standard_output_file.
4311
4312 2012-06-22 Yao Qi <yao@codesourcery.com>
4313
4314 * boards/native-gdbserver.exp: New proc ${board}_exec.
4315 * boards/native-stdio-gdbserver.exp: Likewise.
4316
4317 2012-06-21 Tom Tromey <tromey@redhat.com>
4318
4319 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4320 (build_executable): Update.
4321 (get_compiler_info): Remove 'binfile' argument.
4322 * gdb.ada/arrayidx.exp: Update.
4323 * gdb.ada/null_array.exp: Update.
4324 * gdb.arch/altivec-abi.exp: Update.
4325 * gdb.arch/altivec-regs.exp: Update.
4326 * gdb.arch/amd64-byte.exp: Update.
4327 * gdb.arch/amd64-dword.exp: Update.
4328 * gdb.arch/amd64-word.exp: Update.
4329 * gdb.arch/i386-avx.exp: Update.
4330 * gdb.arch/i386-byte.exp: Update.
4331 * gdb.arch/i386-sse.exp: Update.
4332 * gdb.arch/i386-word.exp: Update.
4333 * gdb.arch/ppc-dfp.exp: Update.
4334 * gdb.arch/ppc-fp.exp: Update.
4335 * gdb.arch/vsx-regs.exp: Update.
4336 * gdb.base/all-bin.exp: Update.
4337 * gdb.base/annota1.exp: Update.
4338 * gdb.base/async.exp: Update.
4339 * gdb.base/attach.exp: Update.
4340 * gdb.base/break-interp.exp: Update.
4341 * gdb.base/call-ar-st.exp: Update.
4342 * gdb.base/call-rt-st.exp: Update.
4343 * gdb.base/call-sc.exp: Update.
4344 * gdb.base/callfuncs.exp: Update.
4345 * gdb.base/catch-load.exp: Update.
4346 * gdb.base/completion.exp: Update.
4347 * gdb.base/complex.exp: Update.
4348 * gdb.base/condbreak.exp: Update.
4349 * gdb.base/consecutive.exp: Update.
4350 * gdb.base/constvars.exp: Update.
4351 * gdb.base/corefile.exp: Update.
4352 * gdb.base/eval-skip.exp: Update.
4353 * gdb.base/expand-psymtabs.exp: Update.
4354 * gdb.base/exprs.exp: Update.
4355 * gdb.base/fileio.exp: Update.
4356 * gdb.base/fixsection.exp: Update.
4357 * gdb.base/funcargs.exp: Update.
4358 * gdb.base/gdb11530.exp: Update.
4359 * gdb.base/gdb1555.exp: Update.
4360 * gdb.base/gnu-ifunc.exp: Update.
4361 * gdb.base/gnu_vector.exp: Update.
4362 * gdb.base/info-macros.exp: Update.
4363 * gdb.base/jit-simple.exp: Update.
4364 * gdb.base/jit-so.exp: Update.
4365 * gdb.base/jit.exp: Update.
4366 * gdb.base/langs.exp: Update.
4367 * gdb.base/list.exp: Update.
4368 * gdb.base/logical.exp: Update.
4369 * gdb.base/long_long.exp: Update.
4370 * gdb.base/longjmp.exp: Update.
4371 * gdb.base/macscp.exp: Update.
4372 * gdb.base/mips_pro.exp: Update.
4373 * gdb.base/miscexprs.exp: Update.
4374 * gdb.base/morestack.exp: Update.
4375 * gdb.base/nodebug.exp: Update.
4376 * gdb.base/opaque.exp: Update.
4377 * gdb.base/pc-fp.exp: Update.
4378 * gdb.base/pending.exp: Update.
4379 * gdb.base/permissions.exp: Update.
4380 * gdb.base/pointers.exp: Update.
4381 * gdb.base/prelink.exp: Update.
4382 * gdb.base/printcmds.exp: Update.
4383 * gdb.base/psymtab.exp: Update.
4384 * gdb.base/ptype.exp: Update.
4385 * gdb.base/relational.exp: Update.
4386 * gdb.base/scope.exp: Update.
4387 * gdb.base/setvar.exp: Update.
4388 * gdb.base/shlib-call.exp: Update.
4389 * gdb.base/shreloc.exp: Update.
4390 * gdb.base/signals.exp: Update.
4391 * gdb.base/sizeof.exp: Update.
4392 * gdb.base/so-impl-ld.exp: Update.
4393 * gdb.base/so-indr-cl.exp: Update.
4394 * gdb.base/solib-disc.exp: Update.
4395 * gdb.base/solib-display.exp: Update.
4396 * gdb.base/solib-nodir.exp: Update.
4397 * gdb.base/solib-overlap.exp: Update.
4398 * gdb.base/solib-symbol.exp: Update.
4399 * gdb.base/solib-weak.exp: Update.
4400 * gdb.base/solib.exp: Update.
4401 * gdb.base/store.exp: Update.
4402 * gdb.base/structs.exp: Update.
4403 * gdb.base/structs2.exp: Update.
4404 * gdb.base/type-opaque.exp: Update.
4405 * gdb.base/unload.exp: Update.
4406 * gdb.base/varargs.exp: Update.
4407 * gdb.base/volatile.exp: Update.
4408 * gdb.base/watch_thread_num.exp: Update.
4409 * gdb.base/watchpoint-solib.exp: Update.
4410 * gdb.base/watchpoint.exp: Update.
4411 * gdb.base/watchpoints.exp: Update.
4412 * gdb.base/whatis.exp: Update.
4413 * gdb.cell/arch.exp: Update.
4414 * gdb.cell/break.exp: Update.
4415 * gdb.cell/bt.exp: Update.
4416 * gdb.cell/core.exp: Update.
4417 * gdb.cell/data.exp: Update.
4418 * gdb.cell/ea-cache.exp: Update.
4419 * gdb.cell/f-regs.exp: Update.
4420 * gdb.cell/fork.exp: Update.
4421 * gdb.cell/gcore.exp: Update.
4422 * gdb.cell/mem-access.exp: Update.
4423 * gdb.cell/ptype.exp: Update.
4424 * gdb.cell/registers.exp: Update.
4425 * gdb.cell/sizeof.exp: Update.
4426 * gdb.cell/solib-symbol.exp: Update.
4427 * gdb.cell/solib.exp: Update.
4428 * gdb.cp/ambiguous.exp: Update.
4429 * gdb.cp/breakpoint.exp: Update.
4430 * gdb.cp/bs15503.exp: Update.
4431 * gdb.cp/casts.exp: Update.
4432 * gdb.cp/class2.exp: Update.
4433 * gdb.cp/cpexprs.exp: Update.
4434 * gdb.cp/cplusfuncs.exp: Update.
4435 * gdb.cp/ctti.exp: Update.
4436 * gdb.cp/dispcxx.exp: Update.
4437 * gdb.cp/gdb1355.exp: Update.
4438 * gdb.cp/gdb2384.exp: Update.
4439 * gdb.cp/gdb2495.exp: Update.
4440 * gdb.cp/infcall-dlopen.exp: Update.
4441 * gdb.cp/local.exp: Update.
4442 * gdb.cp/m-data.exp: Update.
4443 * gdb.cp/m-static.exp: Update.
4444 * gdb.cp/mb-ctor.exp: Update.
4445 * gdb.cp/mb-inline.exp: Update.
4446 * gdb.cp/mb-templates.exp: Update.
4447 * gdb.cp/member-ptr.exp: Update.
4448 * gdb.cp/method.exp: Update.
4449 * gdb.cp/namespace.exp: Update.
4450 * gdb.cp/nextoverthrow.exp: Update.
4451 * gdb.cp/nsdecl.exp: Update.
4452 * gdb.cp/nsrecurs.exp: Update.
4453 * gdb.cp/nsstress.exp: Update.
4454 * gdb.cp/nsusing.exp: Update.
4455 * gdb.cp/pr-1023.exp: Update.
4456 * gdb.cp/pr-1210.exp: Update.
4457 * gdb.cp/pr-574.exp: Update.
4458 * gdb.cp/pr9631.exp: Update.
4459 * gdb.cp/printmethod.exp: Update.
4460 * gdb.cp/psmang.exp: Update.
4461 * gdb.cp/re-set-overloaded.exp: Update.
4462 * gdb.cp/rtti.exp: Update.
4463 * gdb.cp/shadow.exp: Update.
4464 * gdb.cp/templates.exp: Update.
4465 * gdb.cp/try_catch.exp: Update.
4466 * gdb.dwarf2/dw2-ranges.exp: Update.
4467 * gdb.dwarf2/pr10770.exp: Update.
4468 * gdb.fortran/library-module.exp: Update.
4469 * gdb.hp/gdb.aCC/optimize.exp: Update.
4470 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
4471 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
4472 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
4473 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
4474 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
4475 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
4476 * gdb.hp/gdb.compat/xdb1.exp: Update.
4477 * gdb.hp/gdb.compat/xdb2.exp: Update.
4478 * gdb.hp/gdb.compat/xdb3.exp: Update.
4479 * gdb.hp/gdb.defects/bs14602.exp: Update.
4480 * gdb.hp/gdb.defects/solib-d.exp: Update.
4481 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
4482 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
4483 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
4484 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
4485 * gdb.mi/gdb792.exp: Update.
4486 * gdb.mi/mi-pending.exp: Update.
4487 * gdb.mi/mi-solib.exp: Update.
4488 * gdb.mi/mi-var-cp.exp: Update.
4489 * gdb.opt/clobbered-registers-O2.exp: Update.
4490 * gdb.opt/inline-bt.exp: Update.
4491 * gdb.opt/inline-cmds.exp: Update.
4492 * gdb.opt/inline-locals.exp: Update.
4493 * gdb.python/py-events.exp: Update.
4494 * gdb.python/py-finish-breakpoint.exp: Update.
4495 * gdb.python/py-type.exp: Update.
4496 * gdb.reverse/solib-precsave.exp: Update.
4497 * gdb.reverse/solib-reverse.exp: Update.
4498 * gdb.server/solib-list.exp: Update.
4499 * gdb.stabs/weird.exp: Update.
4500 * gdb.threads/attach-into-signal.exp: Update.
4501 * gdb.threads/attach-stopped.exp: Update.
4502 * gdb.threads/tls-shared.exp: Update.
4503 * gdb.trace/change-loc.exp: Update.
4504 * gdb.trace/strace.exp: Update.
4505
4506 2012-06-19 Tom Tromey <tromey@redhat.com>
4507
4508 * gdb.base/whatis.exp: Add tests.
4509
4510 2012-06-19 Tom Tromey <tromey@redhat.com>
4511
4512 * gdb.cp/m-static.cc (keepalive): New function.
4513 (gnu_obj_1::method): Use it.
4514
4515 2012-06-18 Doug Evans <dje@google.com>
4516
4517 * gdb.base/info-fun.exp: New file.
4518 * gdb.base/info-fun.c: New file.
4519 * gdb.base/info-fun-solib.c: New file.
4520
4521 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4522
4523 Remove stale dummy frames.
4524 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
4525 (maintenance info breakpoints): New tests.
4526 * gdb.base/stale-infcall.c: New file.
4527 * gdb.base/stale-infcall.exp: New file.
4528
4529 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4530
4531 * gdb.arch/amd64-entry-value-param.S: New file.
4532 * gdb.arch/amd64-entry-value-param.c: New file.
4533 * gdb.arch/amd64-entry-value-param.exp: New file.
4534
4535 2012-06-15 Tom Tromey <tromey@redhat.com>
4536
4537 * gdb.cp/namespace.exp: Add "show lang" test.
4538
4539 2012-06-15 Iain Sandoe <iain@codesourcery.com>
4540
4541 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
4542 case. (top level): Use gdb_file_cmd instead of gdb_load.
4543
4544 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4545
4546 PR tdep/14222
4547 * gdb.arch/i386-sse-stack-align.S: New file.
4548 * gdb.arch/i386-sse-stack-align.c: New file.
4549 * gdb.arch/i386-sse-stack-align.exp: New file.
4550
4551 2012-06-13 Keith Seitz <keiths@redhat.com>
4552
4553 PR breakpoints/13798 and mi/11541
4554 * gdb.linespec/ls-errs.exp: Add a few more tests for
4555 filenames with spaces and colons.
4556
4557 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4558
4559 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
4560 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
4561 (test_function): Call CV_f.
4562 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
4563 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
4564 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
4565 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
4566 (p CV_f(CV::i)): New tests.
4567
4568 2012-06-13 Tom Tromey <tromey@redhat.com>
4569
4570 * gdb.base/condbreak.exp: Add tests for "condition" completion.
4571
4572 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4573
4574 Fix regression by the "ambiguous linespec" series.
4575 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
4576 tests.
4577
4578 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4579
4580 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
4581 missing.
4582
4583 2012-06-11 Tom Tromey <tromey@redhat.com>
4584
4585 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
4586 location...
4587 (main): ...here.
4588
4589 2012-06-07 Yao Qi <yao@codesourcery.com>
4590
4591 * gdb.trace/strace.exp: Shorten some too-long lines.
4592
4593 2012-06-06 Pedro Alves <palves@redhat.com>
4594
4595 * gdb.threads/clone-new-thread-event.c: New file.
4596 * gdb.threads/clone-new-thread-event.exp: New file.
4597
4598 2012-06-06 Yao Qi <yao@codesourcery.com>
4599
4600 * gdb.base/dprintf.c (main): Add extra parameter when calling
4601 printf and fprintf.
4602 (bar): New function. It is a dead function, but to ensure
4603 'malloc' is linked explicitly.
4604
4605 2012-06-06 Yao Qi <yao@codesourcery.com>
4606
4607 * gdb.base/info-proc.exp: Return if target doesn't support
4608 'info proc'.
4609
4610 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4611
4612 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
4613 (run program with breakpoint commands): XFAIl if it is not.
4614
4615 2012-06-05 Joel Brobecker <brobecker@adacore.com>
4616
4617 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
4618 and add comment.
4619 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
4620 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
4621 "STOP" marker. Adjust testing strategy to make it work on
4622 all targets.
4623
4624 * gdb.base/print-file-var-main.c (main): Rewrite using local
4625 variables and adjust get_version_2's return value check.
4626 Add small comment.
4627 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
4628 marker. Adjust testing strategy to make it work on all targets.
4629
4630 2012-06-05 Joel Brobecker <brobecker@adacore.com>
4631
4632 * gdb.ada/bad-task-bp-keyword: New testcase.
4633
4634 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4635
4636 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
4637 Simplify it to ...
4638 (symbol-file ${testfile1}): ... here.
4639 (test eliminated var my_global_symbol)
4640 (test eliminated var my_static_symbol)
4641 (test eliminated var my_global_func, get address of main): Wrap them to
4642 'single psymtabs' and 'single symtabs'
4643 (get address of my_global_symbol, get address of my_static_symbol)
4644 (get address of my_global_func, get address of main): Wrap them to
4645 'order1' and 'order2'.
4646
4647 * gdb.base/code_elim.exp
4648 (add-symbol-file ${testfile1} 0x100000)
4649 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
4650 'order2'.
4651 (order1: add-symbol-file ${testfile1} 0x100000)
4652 (order1: add-symbol-file ${testfile2} 0x200000)
4653 (order2: add-symbol-file ${testfile2} 0x200000)
4654 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
4655 .bss as appropriate.
4656
4657 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4658
4659 * gdb.server/solib-list-lib.c: New file.
4660 * gdb.server/solib-list-main.c: New file.
4661 * gdb.server/solib-list.exp: New file.
4662
4663 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
4664
4665 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
4666 for 'set print symbol' change.
4667
4668 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4669
4670 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
4671 .debug_abbrev_seg3.
4672
4673 2012-05-24 John Steele Scott <toojays@toojays.net>
4674
4675 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
4676 * gdb.dwarf2/dw2-icc-opaque.S: New file.
4677 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
4678
4679 2012-05-23 Stan Shebs <stan@codesourcery.com>
4680
4681 * gdb.mi/mi-info-os.exp: New file.
4682
4683 2012-05-23 Keith Seitz <keiths@redhat.com>
4684
4685 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4686 return -1 to suppress the rest of the tests.
4687 (compile_stap_bin): Return boolean success value.
4688
4689 2012-05-21 Tom Tromey <tromey@redhat.com>
4690
4691 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4692 Remove kfails.
4693 (test_print_mi_member_types): Likewise.
4694
4695 2012-05-21 Tom Tromey <tromey@redhat.com>
4696
4697 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4698 print symbol' change.
4699
4700 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
4701
4702 * gdb.python/py-prompt.exp: Quit if the target is remote.
4703
4704 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4705
4706 Fix ERROR: internal buffer is full.
4707 * gdb.base/info-os.exp (expect_multiline): New function.
4708 (get process list, get process groups, get threads)
4709 (get file descriptors, get internet-domain sockets)
4710 (get shared-memory regions, get semaphores, get message queues): Use
4711 it for these tests.
4712
4713 2012-05-18 Tom Tromey <tromey@redhat.com>
4714
4715 * gdb.mi/mi-var-cmd.exp: Update.
4716 * gdb.objc/basicclass.exp (do_objc_tests): Update.
4717 * gdb.cp/virtbase.exp: Update.
4718 * gdb.cp/classes.exp (test_static_members): Update.
4719 * gdb.cp/casts.exp: Update.
4720 * gdb.base/pointers.exp: Update.
4721 * gdb.base/funcargs.exp (pointer_args): Update.
4722 (structs_by_reference): Update.
4723 * gdb.base/find.exp: Update.
4724 * gdb.base/call-strs.exp: Send "set print symbol off".
4725 * gdb.base/call-ar-st.exp: Update.
4726 * gdb.ada/fun_addr.exp: Update.
4727 * gdb.base/printcmds.exp (test_print_symbol): New proc.
4728 Call it.
4729 (test_print_repeats_10, test_print_strings)
4730 (test_print_char_arrays): Update.
4731
4732 2012-05-18 Tom Tromey <tromey@redhat.com>
4733
4734 * gdb.base/charset.exp (string_display): Update.
4735
4736 2012-05-18 Tom Tromey <tromey@redhat.com>
4737
4738 * gdb.mi/mi2-var-display.exp: Update.
4739 * gdb.mi/mi-var-display.exp: Update.
4740 * gdb.mi/mi-var-child.exp: Update.
4741 * gdb.cp/expand-psymtabs-cxx.exp: Update.
4742 * gdb.cp/cp-relocate.exp (get_func_address): Update.
4743
4744 2012-05-17 Doug Evans <dje@google.com>
4745
4746 * info-macros.exp: Pass "debug" to prepare_for_testing.
4747
4748 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4749 * gdb.ada/Makefile.in (clean): Ditto.
4750 * gdb.arch/Makefile.in (clean): Ditto.
4751 * gdb.asm/Makefile.in (clean): Ditto.
4752 * gdb.base/Makefile.in (clean): Ditto.
4753 * gdb.cell/Makefile.in (clean): Ditto.
4754 * gdb.cp/Makefile.in (clean): Ditto.
4755 * gdb.disasm/Makefile.in (clean): Ditto.
4756 * gdb.dwarf2/Makefile.in (clean): Ditto.
4757 * gdb.fortran/Makefile.in (clean): Ditto.
4758 * gdb.go/Makefile.in (clean): Ditto.
4759 * gdb.hp/Makefile.in (clean): Ditto.
4760 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4761 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4762 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4763 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4764 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4765 * gdb.java/Makefile.in (clean): Ditto.
4766 * gdb.linespec/Makefile.in (clean): Ditto.
4767 * gdb.mi/Makefile.in (clean): Ditto.
4768 * gdb.modula2/Makefile.in (clean): Ditto.
4769 * gdb.multi/Makefile.in (clean): Ditto.
4770 * gdb.objc/Makefile.in (clean): Ditto.
4771 * gdb.opencl/Makefile.in (clean): Ditto.
4772 * gdb.opt/Makefile.in (clean): Ditto.
4773 * gdb.pascal/Makefile.in (clean): Ditto.
4774 * gdb.python/Makefile.in (clean): Ditto.
4775 * gdb.reverse/Makefile.in (clean): Ditto.
4776 * gdb.server/Makefile.in (clean): Ditto.
4777 * gdb.stabs/Makefile.in (clean): Ditto.
4778 * gdb.threads/Makefile.in (clean): Ditto.
4779 * gdb.trace/Makefile.in (clean): Ditto.
4780 * gdb.xml/Makefile.in (clean): Ditto.
4781
4782 2012-05-16 Tom Tromey <tromey@redhat.com>
4783
4784 * gdb.base/macscp1.c (macscp_expr): Add comment.
4785 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4786
4787 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4788
4789 * gdb.base/return-nodebug.exp: Also test float and double types.
4790
4791 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4792
4793 PR testsuite/12649
4794 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4795
4796 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4797
4798 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
4799
4800 * gdb.base/stap-probe.exp (stap_test): Remove calls to
4801 `rerun_to_main'.
4802 (stap_test_no_debuginfo): Likewise.
4803
4804 2012-05-14 Stan Shebs <stan@codesourcery.com>
4805
4806 * gdb.base/dprintf.c: New file.
4807 * gdb.base/dprintf.exp: New file.
4808
4809 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
4810
4811 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4812 * gdb.trace/disconnected-tracing.c: New file.
4813 * gdb.trace/disconnected-tracing.exp: New file.
4814
4815 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
4816
4817 * gdb.python/python.c: Add a new breakpoint comment.
4818 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4819
4820 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
4821
4822 * gdb.base/info-os.exp: New file.
4823 * gdb.base/info-os.c: New file.
4824
4825 2012-05-10 Joel Brobecker <brobecker@adacore.com>
4826
4827 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4828 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4829 New files.
4830
4831 2012-05-10 Joel Brobecker <brobecker@adacore.com>
4832
4833 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4834 gdb.base/ctxobj.exp: New files.
4835
4836 2012-05-09 Tom Tromey <tromey@redhat.com>
4837
4838 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4839
4840 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
4841
4842 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4843
4844 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
4845
4846 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
4847 before using it.
4848
4849 2012-05-04 Tristan Gingold <gingold@adacore.com>
4850
4851 * gdb.base/set-noassign.exp: New test.
4852
4853 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
4854
4855 * gdb.python/py-symbol.exp: Add tests to test the new methods
4856 gdb.Symtab.global_block() and gdb.Symtab.static_block().
4857 * gdb.python/py-symbol.c: Add new struct to help test
4858 gdb.Symtab.static_block().
4859
4860 2012-05-03 Doug Evans <dje@google.com>
4861
4862 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
4863 commented out.
4864
4865 2012-05-03 Yao Qi <yao@codesourcery.com>
4866
4867 * gdb.base/catch-syscall.exp: Skip it before compilation if target
4868 doesn't support.
4869 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
4870 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
4871
4872 2012-05-03 Yao Qi <yao@codesourcery.com>
4873
4874 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
4875
4876 2012-04-30 Doug Evans <dje@google.com>
4877
4878 PR testsuite/13961
4879 * gdb.dwarf2/pr13961.S: New file.
4880 * gdb.dwarf2/pr13961.exp: New file.
4881
4882 2012-04-29 Yao Qi <yao@codesourcery.com>
4883
4884 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
4885
4886 2012-04-28 Doug Evans <dje@google.com>
4887
4888 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
4889 .Ltype_int_in_cu2. Use name "int2" instead of "int".
4890 All uses updated.
4891 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
4892 "ptype func_cu1" to expand cu2 before cu1.
4893
4894 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
4895 Tom Tromey <tromey@redhat.com>
4896
4897 * gdb.base/default.exp: Add `$_probe_arg*' convenience
4898 variables.
4899 * gdb.base/stap-probe.c: New file.
4900 * gdb.base/stap-probe.exp: New file.
4901 * gdb.trace/stap-trace.c: New file.
4902 * gdb.trace/stap-trace.exp: New file.
4903 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
4904 libgcc's unwinder.
4905
4906 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
4907
4908 * gdb.arch/mips16-thunks-inmain.c: New file.
4909 * gdb.arch/mips16-thunks-main.c: New file.
4910 * gdb.arch/mips16-thunks-sin.c: New file.
4911 * gdb.arch/mips16-thunks-sinfrob.c: New file.
4912 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
4913 * gdb.arch/mips16-thunks-sinmain.c: New file.
4914 * gdb.arch/mips16-thunks-sinmips16.c: New file.
4915 * gdb.arch/mips16-thunks.exp: New file.
4916
4917 2012-04-25 Doug Evans <dje@google.com>
4918
4919 * configure.ac: Create gdb.go/Makefile.
4920 * configure: Regenerate.
4921 * gdb.base/default.exp: Add "go" to "set language" testing.
4922 * gdb.go/Makefile.in: New file.
4923 * gdb.go/basic-types.exp: New file.
4924 * gdb.go/chan.exp: New file.
4925 * gdb.go/chan.go: New file.
4926 * gdb.go/handcall.exp: New file.
4927 * gdb.go/handcall.go: New file.
4928 * gdb.go/hello.exp: New file.
4929 * gdb.go/hello.go: New file.
4930 * gdb.go/integers.exp: New file.
4931 * gdb.go/integers.go: New file.
4932 * gdb.go/methods.exp: New file.
4933 * gdb.go/methods.go: New file.
4934 * gdb.go/package.exp: New file.
4935 * gdb.go/package1.go: New file.
4936 * gdb.go/package2.go: New file.
4937 * gdb.go/print.exp: New file.
4938 * gdb.go/strings.exp: New file.
4939 * gdb.go/strings.go: New file.
4940 * gdb.go/types.exp: New file.
4941 * gdb.go/types.go: New file.
4942 * gdb.go/unsafe.exp: New file.
4943 * gdb.go/unsafe.go: New file.
4944 * lib/future.exp: Add Go support.
4945 (gdb_find_go, gdb_find_go_linker): New procs.
4946 (gdb_default_target_compile): Add Go support.
4947 * lib/gdb.exp (skip_go_tests): New proc.
4948 * lib/go.exp: New file.
4949
4950 2012-04-25 Tom Tromey <tromey@redhat.com>
4951
4952 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
4953
4954 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4955 Jan Kratochvil <jan.kratochvil@redhat.com>
4956
4957 PR symtab/7259:
4958 * gdb.base/enumval.c: New test case.
4959 * gdb.base/enumval.exp: New test case.
4960 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
4961 field.bitpos.
4962
4963 2012-04-17 Pedro Alves <palves@redhat.com>
4964
4965 * Makefile.in (site.exp): Make site.exp source
4966 $srcdir/lib/append_gdb_boards_dir.exp.
4967 * lib/append_gdb_boards_dir.exp: New file.
4968
4969 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4970
4971 New option "set auto-load safe-path".
4972 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
4973 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
4974
4975 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4976
4977 auto-load: Implementation.
4978 * gdb.base/help.exp (test set height): Increase the height.
4979 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
4980 to ...
4981 (info auto-load python-scripts): ... here.
4982 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
4983 to ...
4984 (info auto-load python-scripts *): ... here.
4985
4986 2012-04-16 Yao Qi <yao@codesourcery.com>
4987
4988 * lib/trace-support.exp (get_in_proc_agent): New.
4989 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
4990 of in process trace agent.
4991 * gdb.trace/ftrace.exp: Likewise.
4992 * gdb.trace/pending.exp: Likewise.
4993 * gdb.trace/trace-break.exp: Likewise.
4994 * gdb.trace/trace-mt.exp
4995 * gdb.trace/tspeed.exp: Likewise.
4996 * gdb.trace/tstatus.exp
4997 * gdb.trace/strace.exp: Likewise.
4998
4999 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5000
5001 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5002 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5003
5004 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5005
5006 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5007
5008 PR mi/13393
5009 * gdb.mi/mi-var-rtti.cc: New file.
5010 * gdb.mi/mi-var-rtti.exp: New file.
5011 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5012 function.
5013 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5014
5015 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
5016
5017 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5018 EXECUTABLES.
5019 * gdb.python/py-explore.c: C program used for testing the new
5020 'explore' command on C constructs.
5021 * gdb.python/py-explore.cc: C++ program used for testing the new
5022 'explore' command on C++ constructs.
5023 * gdb-python/py-explore.exp: Tests for the new 'explore'
5024 command on C constructs.
5025 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5026 command on C++ constructs.
5027
5028 2012-04-07 Mark Kettenis <kettenis@gnu.org>
5029
5030 * gdb.base/funcargs.exp (complex_args): Fix typo.
5031
5032 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5033
5034 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5035 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5036
5037 2012-04-05 Keith Seitz <keiths@redhat.com>
5038
5039 * gdb.base/advance.exp: Update error message for
5040 "advance malformed" test.
5041 * gdb.base/break.exp: Likewise for "breakpoint with
5042 trailing garbage" test.
5043 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5044 with trailing garbage" test.
5045 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5046 trailng garbage" test.
5047 * gdb.base/until.exp: Likewise for "malformed until" test.
5048 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5049 for "breakpoint info (after setting on all)".
5050 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5051 tests.
5052 * gdb.cp/cplabel.cc: New file.
5053 * gdb.cp/cplabel.exp: New test.
5054 * gdb.linespec/ls-errs.c: New file.
5055 * gdb.linespec/ls-errs.exp: New test.
5056
5057 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5058
5059 * gdb.trace/unavailable.exp
5060 (collect globals: print object on: print derived_partial)
5061 (collect globals: print object on: print derived_whole)
5062 (collect globals: print object off: print derived_partial)
5063 (collect globals: print object off: print derived_whole): Update
5064 expected output.
5065
5066 2012-03-30 Keith Seitz <keiths@redhat.com>
5067
5068 * gdb.python: Add test for linespecs with commas.
5069
5070 2012-03-28 Keith Seitz <keiths@redhat.com>
5071
5072 * gdb.linespec/ls-dollar.cc: New file.
5073 * gdb.linespec/ls-dollar.exp: New test.
5074
5075 2012-03-28 Keith Seitz <keiths@redhat.com>
5076
5077 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5078 starting with the global namespace.
5079
5080 2012-03-23 Doug Evans <dje@google.com>
5081
5082 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5083
5084 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5085
5086 * gdb.python/py-value.cc: Add test case for testing the
5087 methodology exposing C++ values to Python.
5088 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5089 exposing C++ values to Python.
5090 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5091
5092 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5093 Siddhesh Poyarekar <siddhesh@redhat.com>
5094
5095 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5096 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5097 (generate native core dump): Make the test unsupported if core cannot
5098 be generated.
5099
5100 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5101
5102 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5103 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5104 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5105
5106 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5107
5108 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5109
5110 2012-03-17 Doug Evans <dje@google.com>
5111
5112 * dg-extract-results.sh: Handle KFAILs.
5113
5114 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5115
5116 PR symtab/13777
5117 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5118
5119 2012-03-16 Joel Brobecker <brobecker@adacore.com>
5120
5121 * gdb.ada/set_pckd_arr_elt: New testcase.
5122
5123 2012-03-16 Gary Benson <gbenson@redhat.com>
5124
5125 PR breakpoints/10738
5126 * gdb.opt/inline-break.exp: New file.
5127 * gdb.opt/inline-break.c: Likewise.
5128 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5129 * gdb.dwarf2/dw2-inline-break.S: Likewise.
5130 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5131 * gdb.base/async-shell.exp: Likewise.
5132 * lib/mi-support.exp (library_loaded_re): Likewise.
5133
5134 2012-03-15 Tom Tromey <tromey@redhat.com>
5135
5136 * gdb.cp/virtfunc2.exp: Update expected output.
5137 * gdb.cp/pr9631.exp: Update expected output.
5138 * gdb.cp/member-ptr.exp: Update expected output.
5139 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5140 output.
5141 * gdb.cp/casts.exp: Update expected output.
5142
5143 2012-03-15 Tom Tromey <tromey@redhat.com>
5144
5145 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5146 (test_info_vtbl): Likewise.
5147 (do_tests): Call test_info_vtbl.
5148 * gdb.cp/virtfunc.cc (va): New global.
5149
5150 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5151
5152 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5153 describing DWARF data structures.
5154 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5155 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5156 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5157 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5158 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5159 * gdb.dwarf2/dw2-param-error.S: Likewise.
5160 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5161 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5162 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5163 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5164 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5165 * gdb.dwarf2/pr11465.S: Likewise.
5166
5167 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5168
5169 * gdb.mi/mi2-prompt.exp: New file.
5170
5171 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5172
5173 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5174
5175 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5176
5177 * gdb.ada/bp_range_type: New testcase.
5178
5179 2012-03-13 Doug Evans <dje@google.com>
5180
5181 * gdb.base/default.exp: Delete tests for symbol-reloading.
5182 * gdb.base/help.exp: Ditto.
5183 * gdb.base/setshow.exp: Ditto.
5184 * gdb.base/gdb_history: Delete references to symbol-reloading.
5185
5186 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5187
5188 * gdb.base/attach-twice.c: New files.
5189 * gdb.base/attach-twice.exp: New files.
5190
5191 2012-03-08 Keith Seitz <keiths@redhat.com>
5192
5193 * lib/gdb.exp (gdb_get_line_number): Throw an
5194 error instead of returning -1.
5195 * gdb.base/break.exp: Remove unused variable
5196 bp_location5.
5197 * gdb.base/hbreak2.exp: Likewise.
5198 * gdb.base/sepdebug.exp: Likewise.
5199
5200 2012-03-08 Yao Qi <yao@codesourcery.com>
5201 Pedro Alves <palves@redhat.com>
5202
5203 Fix PR server/13392.
5204 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5205 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5206 download tracepoints.
5207 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5208 (pending_tracepoint_resolved_during_trace): Likewise.
5209 (pending_tracepoint_installed_during_trace): Likewise.
5210 (pending_tracepoint_with_action_resolved): Likewise.
5211
5212 2012-03-08 Keith Seitz <keiths@redhat.com>
5213
5214 * gdb.ada/array_bounds.exp: Get breakpoint for line
5215 with "START", not "STOP".
5216 * gdb.python/py-infthread.exp: Do not continue to
5217 line marked "Break here.", which is undefined.
5218
5219 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
5220
5221 Revert:
5222
5223 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5224
5225 Implement testsuite workaround for PR breakpoints/13781.
5226 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5227 (set breakpoint condition-evaluation host): New conditional command.
5228
5229 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5230
5231 Fix CU relative vs. absolute DIE offsets.
5232 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5233 one.
5234
5235 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5236
5237 Fix false FAIL on distros with relro linkage as default.
5238 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5239 -Wl,-z,norelro first.
5240
5241 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5242
5243 * gdb.ada/bp_on_var: New testcase.
5244
5245 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5246
5247 * gdb.ada/bp_enum_homonym: New testcase.
5248
5249 2012-03-06 Yao Qi <yao@codesourcery.com>
5250
5251 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5252 x86_64-*-* and i?86-*-*.
5253 Set up KFAIL for gdb/13808.
5254
5255 2012-03-05 Tom Tromey <tromey@redhat.com>
5256
5257 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5258 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5259
5260 2012-03-05 Tom Tromey <tromey@redhat.com>
5261
5262 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5263
5264 2012-03-04 Yao Qi <yao@codesourcery.com>
5265
5266 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5267 messages for KFAIL.
5268
5269 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5270
5271 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5272 (print one_two_three, indexes off, print few_reps, indexes off)
5273 (print many_reps, indexes off, print empty, indexes off)
5274 (print one_two_three, print few_reps, print many_reps, print empty):
5275 Call setup_xfail if $gcc_old.
5276
5277 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5278
5279 Implement testsuite workaround for PR breakpoints/13781.
5280 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5281 (set breakpoint condition-evaluation host): New conditional command.
5282
5283 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5284
5285 Code cleanup.
5286 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5287 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5288 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5289 number 1 by $bpnum. Four times.
5290
5291 2012-03-03 Yao Qi <yao@codesourcery.com>
5292
5293 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5294
5295 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5296
5297 Setup KFAIL for PR server/13796.
5298 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5299
5300 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5301
5302 * gdb.ada/operator_bp: New testcase.
5303
5304 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5305
5306 * gdb.ada/info_locals_renaming: New testcase.
5307
5308 2012-03-02 Tom Tromey <tromey@redhat.com>
5309
5310 * gdb.base/nextoverexit.c: New file.
5311 * gdb.base/nextoverexit.exp: New file.
5312
5313 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5314
5315 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5316 parameter.
5317
5318 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5319
5320 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5321 core registers.
5322
5323 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5324 Maciej W. Rozycki <macro@codesourcery.com>
5325 Daniel Jacobowitz <dan@codesourcery.com>
5326
5327 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5328
5329 2012-03-01 Pedro Alves <palves@redhat.com>
5330
5331 PR gdb/13767
5332
5333 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5334 (gdb_collect_globals_test): Call it.
5335
5336 2012-03-01 Keith Seitz <keiths@redhat.com>
5337
5338 * gdb.cp/method2.exp: Output of overload menu is now
5339 alphabetized. Update tests for "break A::method".
5340 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5341 of hard-coding them.
5342 Overload menu is alphabetized: rewrite to accommodate.
5343 Unset variables LINE and TYPES which are used in other tests.
5344 Compute the output of "info break".
5345 Update the breakpoint table after all breakpoints are deleted.
5346 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5347 compute ACTUALS and the method body based on parameters.
5348 Update expected output accordingly.
5349 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5350 unique comments to allow the use of gdb_get_line_number.
5351
5352 2012-03-01 Keith Seitz <keiths@redhat.com>
5353
5354 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5355 some Tcl syntax.
5356 * gdb.cp/ovldbreak.exp: Likewise.
5357
5358 2012-03-01 Keith Seitz <keiths@redhat.com>
5359
5360 * gdb.base/help.exp (help show user): Update expected result
5361 for new doc string changes (add "non-python").
5362
5363 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
5364
5365 * gdb.python/py-cmd.exp: Add test to verify that python commands can
5366 be put in the user-defined category and that the commands appear in
5367 "help user-defined".
5368
5369 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5370
5371 * gdb.ada/tagged_not_init: New testcase.
5372
5373 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5374
5375 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5376 * gdb.ada/enum_idx_packed: New testcase.
5377
5378 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5379
5380 * gdb.ada/aliased_array: New testcase.
5381
5382 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5383
5384 * gdb.ada/whatis_array_val: New testcase.
5385
5386 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5387
5388 Fix disp-step-syscall.exp: fork: single step over fork.
5389 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5390 whitespaces.
5391 (single step over $syscall): Remove its check.
5392 (single step over $syscall final pc): New check.
5393
5394 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5395
5396 Support processors without SSSE3.
5397 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5398 pabsd into ...
5399 (ssse3_test): ... a new function.
5400 (main): Call ssse3_test.
5401 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5402 Update expected values everywhere.
5403 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5404 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5405 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5406 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5407 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5408 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5409 Move these tests lower.
5410 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5411 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5412 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5413 New tests.
5414
5415 2012-02-29 Yao Qi <yao@codesourcery.com>
5416 Pedro Alves <palves@redhat.com>
5417
5418 * gdb.trace/trace-mt.c: New.
5419 * gdb.trace/trace-mt.exp: New.
5420
5421 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
5422
5423 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5424 numbers instead of hardcoding them.
5425 * gdb.base/annota1.c: Provide suitable markers.
5426 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5427 numbers instead of hardcoding them.
5428 * gdb.base/annota3.c: Provide suitable markers.
5429
5430 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5431 * gdb.base/annota3.c: Likewise.
5432 * gdb.base/sigall.c: Likewise.
5433 * gdb.base/signals.c: Likewise.
5434 * gdb.reverse/sigall-reverse.c: Likewise.
5435
5436 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
5437
5438 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5439 failure return path.
5440
5441 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
5442
5443 * gdb.base/save-bp.exp: Account for new condition evaluator output.
5444
5445 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
5446
5447 * gdb.base/cond-eval-mode.exp: New file.
5448
5449 2012-02-24 Pedro Alves <palves@redhat.com>
5450
5451 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5452 (top level): Use with_test_prefix.
5453
5454 2012-02-24 Pedro Alves <palves@redhat.com>
5455
5456 * gdb.threads/attach-into-signal.exp (corefunc): Use
5457 with_test_prefix.
5458
5459 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5460
5461 Fix false FAILs on old CPUs without SSE.
5462 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
5463 Return untested for Illegal instruction.
5464
5465 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5466
5467 Fix false FAILs with glibc debug infos installed.
5468 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
5469 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
5470
5471 2012-02-22 Sterling Augustine <saugustine@google.com>
5472
5473 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
5474 constant with cast.
5475
5476 2012-02-21 Pedro Alves <palves@redhat.com>
5477
5478 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
5479
5480 2012-02-21 Pedro Alves <palves@redhat.com>
5481
5482 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
5483
5484 2012-02-21 Pedro Alves <palves@redhat.com>
5485
5486 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
5487 with_test_prefix.
5488
5489 2012-02-21 Pedro Alves <palves@redhat.com>
5490
5491 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
5492 with_test_prefix here.
5493 (top level): Do it here instead. Remove `:' from the
5494 with_test_prefix string.
5495 * gdb.base/attach-pie-misread.exp: Remove the leading space the
5496 the suffix `:' from the with_test_prefix prefix string.
5497 * gdb.base/break-interp.exp: Ditto.
5498 * gdb.base/catch-load.exp: Ditto.
5499 * gdb.base/disp-step-syscall.exp: Ditto.
5500 * gdb.base/jit-so.exp: Ditto.
5501 * gdb.base/jit.exp: Ditto.
5502 * gdb.base/sepdebug.exp: Ditto.
5503 * gdb.base/solib-display.exp: Ditto.
5504 * gdb.base/solib-overlap.exp: Ditto.
5505 * gdb.base/watch-cond-infcall.exp: Ditto.
5506 * gdb.base/watchpoint.exp: Ditto.
5507 * gdb.dwarf2/dw2-noloc.exp: Ditto.
5508 * gdb.mi/mi-watch.exp: Ditto.
5509 * gdb.mi/mi2-watch.exp: Ditto.
5510 * gdb.threads/non-ldr-exc-1.exp: Ditto.
5511 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5512 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5513 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5514 * gdb.threads/watchpoint-fork.exp: Ditto.
5515 * gdb.threads/watchthreads-reorder.exp: Ditto.
5516 * gdb.trace/change-loc.exp: Ditto.
5517 * gdb.trace/pending.exp: Ditto.
5518 * gdb.trace/status-stop.exp: Ditto.
5519 * gdb.trace/strace.exp: Ditto.
5520 * gdb.trace/trace-break.exp: Ditto.
5521 * gdb.trace/unavailable.exp: Ditto.
5522 * lib/gdb.exp (with_test_prefix): Always prefix with space and
5523 suffix with colon. Adjust leading comments.
5524
5525 2012-02-21 Pedro Alves <palves@redhat.com>
5526 Tom Tromey <tromey@redhat.com>
5527
5528 * lib/gdb.exp: Add description of test prefixes.
5529 (with_test_prefix): New procedure.
5530 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
5531 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
5532 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
5533 instead of lappend to append to pf_prefix.
5534 * gdb.base/catch-load.exp: Use with_test_prefix.
5535 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
5536 * gdb.base/jit-so.exp: Use with_test_prefix.
5537 * gdb.base/jit.exp: Use with_test_prefix.
5538 * gdb.base/return-nodebug.exp (do_test): Use append instead of
5539 lappend to append to pf_prefix.
5540 * gdb.base/sepdebug.exp: Use with_test_prefix.
5541 * gdb.base/solib-display.exp: Use with_test_prefix.
5542 * gdb.base/solib-overlap.exp: Use with_test_prefix.
5543 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
5544 * gdb.base/watchpoint.exp: Use with_test_prefix.
5545 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
5546 * gdb.mi/mi-watch.exp: Use with_test_prefix.
5547 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
5548 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
5549 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
5550 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
5551 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
5552 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
5553 append instead of lappend to append to pf_prefix.
5554 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
5555 * gdb.trace/change-loc.exp: Use with_test_prefix.
5556 * gdb.trace/pending.exp: Use with_test_prefix.
5557 * gdb.trace/status-stop.exp: Use with_test_prefix.
5558 * gdb.trace/strace.exp: Use with_test_prefix.
5559 * gdb.trace/trace-break.exp: Use with_test_prefix.
5560 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
5561 instead of lappend to append to pf_prefix.
5562
5563 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5564
5565 Fix racy FAILs.
5566 * gdb.base/inferior-died.c (main): Add return of 0.
5567 * gdb.base/inferior-died.exp (continue): Fix expectation of
5568 asynchronous events.
5569 (p 1): New test.
5570
5571 2012-02-20 Pedro Alves <palves@redhat.com>
5572
5573 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
5574 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
5575 gdb's internal debug output. For the non-threaded case, look for
5576 "Program received signal SIGLARM", for the threaded case, peek at
5577 the thread's siginfo.
5578
5579 2012-02-20 Pedro Alves <palves@redhat.com>
5580
5581 General cleanup, make output test messages unique, and build
5582 different executable files for the non-threaded and threaded
5583 cases.
5584
5585 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
5586 Delete.
5587 (executable_nothr, executable_thr): New globals.
5588 (top level): Adjust to delete both executables.
5589 (corefunc): New parameter $executable. Set $pf_prefix instead of
5590 hand writing a prefix in tests. Issue a clean_restart and enable
5591 lin-lwp debug output here.
5592 (top level): Adjust. Use build_executable. Don't start gdb here,
5593 and don't enable lin-lwp debug output here.
5594 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
5595
5596 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5597
5598 Fix racy FAILs.
5599 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
5600 "continue" command.
5601
5602 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5603
5604 Fix for gdbserver non-extended mode.
5605 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
5606 and gdb_run_cmd.
5607
5608 2012-02-17 Tom Tromey <tromey@redhat.com>
5609
5610 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
5611 * gdb.python/py-events.exp: Check 'dir' output.
5612 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
5613
5614 2012-02-17 Yao Qi <yao@codesourcery.com>
5615
5616 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
5617
5618 2012-02-16 Tom Tromey <tromey@redhat.com>
5619
5620 * gdb.base/inferior-died.c: Don't include stdio.h.
5621
5622 2012-02-16 Tom Tromey <tromey@redhat.com>
5623
5624 * gdb.base/inferior-died.c: New file.
5625 * gdb.base/inferior-died.exp: New file.
5626
5627 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
5628
5629 * gdb.base/break-inline.exp: New file.
5630 * gdb.base/break-inline.c: New file.
5631
5632 2012-02-15 Tom Tromey <tromey@redhat.com>
5633
5634 * gdb.base/pc-fp.exp: Add "info register" tests.
5635
5636 2012-02-15 Tom Tromey <tromey@redhat.com>
5637
5638 * gdb.base/regs.exp: Remove.
5639
5640 2012-02-15 Pedro Alves <palves@redhat.com>
5641
5642 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
5643 the target doesn't support tracepoints.
5644 * gdb.trace/circ.exp: Ditto.
5645 * gdb.trace/collection.exp: Ditto.
5646 * gdb.trace/packetlen.exp: Ditto.
5647 * gdb.trace/passc-dyn.exp: Ditto.
5648 * gdb.trace/report.exp: Ditto.
5649 * gdb.trace/tfind.exp: Ditto.
5650 * gdb.trace/tspeed.exp: Ditto.
5651 * gdb.trace/tsv.exp: Ditto.
5652 * gdb.trace/unavailable.exp: Ditto.
5653 * gdb.trace/while-dyn.exp: Ditto.
5654
5655 2012-02-15 Pedro Alves <palves@redhat.com>
5656
5657 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
5658 gdb_test_multiple, and call unsupported instead of fail, if the
5659 remote side does not support the request.
5660
5661 2012-02-15 Pedro Alves <palves@redhat.com>
5662
5663 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
5664 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
5665 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
5666 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
5667 * gdb.server/server-run.exp: Make sure gdb is disconnected.
5668 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
5669 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
5670 doesn't start with "extended-" already.
5671
5672 2012-02-15 Pedro Alves <palves@redhat.com>
5673
5674 Support extended-remote. Avoid cascading timeouts.
5675
5676 * gdb.base/attach.exp (do_attach_tests): Add expected output for
5677 the extended-remote target. If attaching with no file fails, load
5678 the file manually.
5679 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
5680
5681 2012-02-14 Stan Shebs <stan@codesourcery.com>
5682
5683 * gdb.base/ena-dis-br.exp: Add enable count test.
5684
5685 2012-02-13 Pedro Alves <palves@redhat.com>
5686
5687 * config/mips-idt.exp: Delete.
5688 * gdb.base/a2-run.exp: Remove mips-idt xfails.
5689 * gdb.base/bitfields.exp: Remove mips-idt restarts.
5690 * gdb.base/break.exp: Remove mips-idt references.
5691 * gdb.base/chng-syms.exp: Ditto.
5692 * gdb.base/default.exp: Ditto.
5693 * gdb.base/funcargs.exp (funcargs_reload): Delete.
5694 (top level): Don't call it.
5695 * gdb.base/opaque.exp: Remove mips-idt restarts.
5696 * gdb.base/ptype.exp: Remove mips-idt xfails.
5697 * gdb.base/scope.exp: Remove mips-idt restarts.
5698 * gdb.base/sepdebug.exp: Remove mips-idt references.
5699 * gdb.base/watchpoint.exp (maybe_clean_restart)
5700 (maybe_reinitialize): Delete.
5701 (test_disabling_watchpoints, test_disabling_watchpoints)
5702 (test_watchpoint_triggered_in_syscall)
5703 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5704 Don't call them.
5705
5706 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5707
5708 * gdb.server/server-exec-info.exp: New file.
5709
5710 2012-02-10 Pedro Alves <palves@redhat.com>
5711
5712 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5713 always non-empty.
5714 (test_attach): Always pass $exec to test_attach_gdb.
5715
5716 2012-02-08 Tom Tromey <tromey@redhat.com>
5717
5718 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5719 before inferior is started.
5720
5721 2012-02-07 Tom Tromey <tromey@redhat.com>
5722
5723 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5724 Symbol.value.
5725 * gdb.python/py-symbol.c (qq): Set default value.
5726
5727 2012-02-07 Tom Tromey <tromey@redhat.com>
5728
5729 * gdb.python/py-symbol.c (qq): New global.
5730 * gdb.python/py-symbol.exp: Add test for frame-less
5731 lookup_symbol.
5732 * gdb.python/py-symtab.exp: Fix line number.
5733
5734 2012-02-03 Joel Brobecker <brobecker@adacore.com>
5735
5736 * gdb.ada/mi_task_arg: New testcase.
5737
5738 2012-02-02 Pedro Alves <palves@redhat.com>
5739
5740 * gdb.reverse/until-precsave.exp: Also put "record save" under the
5741 extended timeout.
5742
5743 2012-02-02 Pedro Alves <palves@redhat.com>
5744
5745 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5746 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5747
5748 2012-02-02 Pedro Alves <palves@redhat.com>
5749
5750 * gdb.base/term.exp: Rewrite.
5751 * gdb.base/term.c: New.
5752
5753 2012-02-02 Pedro Alves <palves@redhat.com>
5754
5755 * gdb.base/default.exp (run "r" abbreviation, run): Add
5756 extended-remote expected output.
5757
5758 2012-02-02 Tom Tromey <tromey@redhat.com>
5759
5760 * gdb.cp/dispcxx.exp: New file.
5761 * gdb.cp/dispcxx.cc: New file.
5762
5763 2012-02-01 Tom Tromey <tromey@redhat.com>
5764
5765 * gdb.base/jit-simple.exp: New file.
5766 * gdb.base/jit-simple.c: New file.
5767
5768 2012-01-30 Yao Qi <yao@codesourcery.com>
5769
5770 * gdb.base/skip.exp: Make test result unique.
5771
5772 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5773
5774 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5775 compatibility with valgrind-3.7.0.
5776
5777 2012-01-27 Pedro Alves <palves@redhat.com>
5778
5779 * gdb.base/watchpoint.exp (no_hw): New global.
5780 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5781 disable hw watchpoints.
5782 (test_wide_location_1, test_wide_location_2): If no_hw is set,
5783 don't expect hw watchpoints.
5784 (no_hw_watchpoints): Always clean restart.
5785 (do_tests): New procedure, factored out from the top level.
5786 (top level): Run tests twice. Once with hw watchpoints enabled,
5787 another time with hw watchpoints disabled.
5788
5789 2012-01-27 Pedro Alves <palves@redhat.com>
5790
5791 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5792 out from the top level.
5793 (top level): Call it instead.
5794
5795 2012-01-27 Pedro Alves <palves@redhat.com>
5796
5797 * gdb.base/watchpoint.exp (top level): Re-enable hardware
5798 watchpoints sooner.
5799
5800 2012-01-27 Pedro Alves <palves@redhat.com>
5801
5802 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5803
5804 2012-01-27 Pedro Alves <palves@redhat.com>
5805
5806 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5807 "You may have requested too many hardware
5808 breakpoints/watchpoints".
5809
5810 2012-01-27 Pedro Alves <palves@redhat.com>
5811
5812 * gdb.base/watchpoint.exp (maybe_clean_restart)
5813 (maybe_reinitialize): New.
5814 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
5815 expect "hit N times".
5816 (test_disabling_watchpoints, test_complex_watchpoint)
5817 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5818 Call maybe_clean_restart.
5819 (top level): Use clean_restart. Remove "mips-idt-*"
5820 reinitialization.
5821
5822 2012-01-27 Pedro Alves <palves@redhat.com>
5823
5824 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5825
5826 2012-01-27 Pedro Alves <palves@redhat.com>
5827
5828 * gdb.base/watchpoint.exp: Clean restart after tests that don't
5829 require `initialize' anymore. Remove unnecessary `initialize'
5830 calls.
5831
5832 2012-01-27 Pedro Alves <palves@redhat.com>
5833
5834 * gdb.base/watchpoint.exp (wp_set): Delete.
5835 (initialize, test_simple_watchpoint, top level): Remove dead code.
5836
5837 2012-01-27 Pedro Alves <palves@redhat.com>
5838
5839 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5840 typo.
5841
5842 2012-01-27 Pedro Alves <palves@redhat.com>
5843
5844 * config/extended-gdbserver.exp: New file.
5845 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5846 comment.
5847 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
5848 * boards/native-extended-gdbserver.exp: New file.
5849
5850 2012-01-26 Pedro Alves <palves@redhat.com>
5851
5852 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
5853 and gdb_test_multiple.
5854
5855 2012-01-26 Pedro Alves <palves@redhat.com>
5856
5857 Make test messages unique, and more identifiable.
5858 * gdb.multi/watchpoint-multi.exp: Change test messages.
5859
5860 2012-01-25 Tom Tromey <tromey@redhat.com>
5861
5862 * gdb.base/solib-disc.exp: Fix regexps.
5863
5864 2012-01-24 Tom Tromey <tromey@redhat.com>
5865
5866 * lib/mi-support.exp (mi_expect_stop): Add special case for
5867 solib-event.
5868 * gdb.base/catch-load-so.c: New file.
5869 * gdb.base/catch-load.exp: New file.
5870 * gdb.base/catch-load.c: New file.
5871 * gdb.base/break-interp.exp (reach_1): Update regexp.
5872
5873 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5874
5875 Fix fuzzy results.
5876 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
5877 lpsimple and func.
5878
5879 2012-01-24 Gary Benson <gbenson@redhat.com>
5880
5881 Delete #if 0'd out code.
5882 * gdb.base/default.exp (info catch): Remove.
5883 * gdb.base/gdb_history (info catch): Likewise.
5884 * gdb.base/help.exp (info catch): Likewise.
5885
5886 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5887
5888 Fix watchpoints to be specific for each inferior.
5889 * gdb.multi/watchpoint-multi.c: New file.
5890 * gdb.multi/watchpoint-multi.exp: New file.
5891
5892 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5893
5894 Fix watchpoints across inferior fork.
5895 * gdb.threads/watchpoint-fork-child.c: New file.
5896 * gdb.threads/watchpoint-fork-mt.c: New file.
5897 * gdb.threads/watchpoint-fork-parent.c: New file.
5898 * gdb.threads/watchpoint-fork-st.c: New file.
5899 * gdb.threads/watchpoint-fork.exp: New file.
5900 * gdb.threads/watchpoint-fork.h: New file.
5901
5902 2012-01-23 Pedro Alves <palves@redhat.com>
5903
5904 * gdb.base/call-signal-resume.exp: Allow output after "return".
5905
5906 2012-01-20 Pedro Alves <palves@redhat.com>
5907
5908 * gdb.python/py-finish-breakpoint.py: Fix typo.
5909
5910 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
5911
5912 * gdb.base/info-proc.exp: Also run on remote targets. Main
5913 "info proc" command is now always present; whether target supports
5914 actual info proc operation is detected when attempting to issue
5915 the command.
5916
5917 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5918
5919 * .gdbinit: Remove.
5920
5921 2012-01-19 Pedro Alves <palves@redhat.com>
5922
5923 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
5924 look at the funtions' returns.
5925 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
5926 (jprint.print(int, int)): Change return type to int. Adjust.
5927
5928 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5929
5930 PR gdb/9538
5931 * gdb.base/sepdebug.exp: New test.
5932
5933 2012-01-18 Pedro Alves <palves@redhat.com>
5934
5935 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
5936 Allow output before ^done.
5937
5938 2012-01-16 Tom Tromey <tromey@redhat.com>
5939
5940 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
5941 Add tests for relative directory.
5942
5943 2012-01-16 Tom Tromey <tromey@redhat.com>
5944
5945 * gdb.base/printcmds.c (enum flag_enum): New.
5946 (three): New global.
5947 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
5948 enum printing.
5949 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
5950 FlagEnumerationPrinter.
5951 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
5952 * gdb.python/py-pp-maint.c (enum flag_enum): New.
5953 (fval): New global.
5954
5955 2012-01-16 Pedro Alves <palves@redhat.com>
5956
5957 * lib/gdb.exp (banned_procedures): New variable.
5958 (banned_variables_traced): Rename to ...
5959 (banned_traced): ... this.
5960 (gdb_init): Also trace banned procedures.
5961 (gdb_finish): Also untrace banned procedures.
5962
5963 2012-01-16 Pedro Alves <palves@redhat.com>
5964
5965 Remove all calls to strace.
5966
5967 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5968
5969 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
5970 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
5971
5972 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5973
5974 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
5975 * gdb.base/pie-execl.exp: Likewise.
5976
5977 2012-01-12 Keith Seitz <keiths@redhat.com>
5978
5979 PR mi/10586
5980 * gdb.mi/var-cmd.c (struct anonymous): New structure.
5981 (do_anonymous_type_tests): New function.
5982 (main): Call do_anonymous_type_tests.
5983 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
5984 (verify_everything): New procedure.
5985 * gdb.mi/mi-var-cp.cc (class A): New class.
5986 (anonymous_structs_and_unions): New function.
5987 (main): Call anonymous_structs_and_unions.
5988 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
5989 (verify_everything): New procedure.
5990
5991 2012-01-12 Keith Seitz <keiths@redhat.com>
5992
5993 * lib/mi-support.exp: Expand comments about PATH_EXPR.
5994 (varobj_tree::get_path_expr): Assume that all varobjs are
5995 compound unless they are known simple types.
5996 Adjust path expressions based on parent type, path parent type,
5997 and tree language.
5998 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
5999 the root varobj.
6000 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6001
6002 2012-01-11 Pedro Alves <palves@redhat.com>
6003
6004 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6005 core files on this machine" anymore.
6006
6007 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6008
6009 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6010 (main): Repeat recurser call.
6011 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6012 equivalent to 'local_x'.
6013
6014 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6015 Joel Brobecker <brobecker@adacore.com>
6016
6017 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6018
6019 2012-01-05 Pedro Alves <alves.ped@gmail.com>
6020
6021 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6022 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6023 * gdb.python/py-events.exp: Test that "step N" tripping on a
6024 breakpoint emits a breakpoint event.
6025
6026 2012-01-03 Joel Brobecker <brobecker@adacore.com>
6027
6028 * gdb.base/auxv.exp: Reformat the copyright notice.
6029
6030 2012-01-03 Yao Qi <yao@codesourcery.com>
6031
6032 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6033 (strace_trace_on_diff_addr): New.
6034 * gdb.trace/strace.c: (main): Add two local variables.
6035
6036 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6037
6038 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6039 * gdb.cell/gcore.exp: Likewise.
6040 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6041 to verify the correct instance of main is selected.
6042
6043 2012-01-02 Joel Brobecker <brobecker@adacore.com>
6044
6045 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6046 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6047 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6048 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6049 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6050 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6051 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6052 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6053 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6054 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6055 gdb.threads/thread_check.c: Reformat copyright header.
6056
6057 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6058
6059 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
6060 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6061 is not enabled.
6062
6063 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6064
6065 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6066 parameter to self_exec, adjust the function.
6067 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6068 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6069 (set var do_exit = 0): Remove test.
6070 (newline at end of file): Add one.
6071
6072 2011-12-27 Joel Brobecker <brobecker@adacore.com>
6073
6074 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6075 New files.
6076
6077 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6078
6079 Fix racy FAILs.
6080 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6081 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6082 (main): Call pthread_barrier_init for it.
6083
6084 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6085
6086 Fix double send_gdb leading to racy FAILs.
6087 * gdb.base/break.exp (set silent break bp_location1): Replace
6088 3x send_gdb and gdb_expect by gdb_test.
6089 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6090 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6091 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6092 instead of send_gdb. Twice.
6093 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6094 3x send_gdb and gdb_expect by gdb_test.
6095 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6096
6097 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6098
6099 * gdb.linespec/linespec.exp: Compile using {c++}.
6100
6101 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6102
6103 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6104 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6105 (verify GCC PR debug/51668): New test.
6106
6107 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
6108
6109 Introduce gdb.FinishBreakpoint in Python.
6110 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6111 py-finish-breakpoint2
6112 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6113 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6114 instead of line number.
6115 * gdb.python/py-finish-breakpoint.c: New file.
6116 * gdb.python/py-finish-breakpoint.exp: New file.
6117 * gdb.python/py-finish-breakpoint.py: New file.
6118 * gdb.python/py-finish-breakpoint2.cc: New file.
6119 * gdb.python/py-finish-breakpoint2.exp: New file.
6120 * gdb.python/py-finish-breakpoint2.py: New file.
6121
6122 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6123
6124 Partial fix of compatibility with gcc-4.7.
6125 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6126 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6127 Add comment to add a PASS case in the future.
6128
6129 Fix compatibility with gcc-4.7.
6130 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6131
6132 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6133
6134 PR tdep/12797
6135 * gdb.base/callfuncs.exp: Remove KFAIL.
6136
6137 2011-12-21 Joel Brobecker <brobecker@adacore.com>
6138
6139 * gdb.ada/task_bp: New testcase.
6140
6141 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6142
6143 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6144 -DNO_SECTIONS.
6145 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6146
6147 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6148
6149 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6150 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6151 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6152 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6153 conditional for gcc <= 4.5.
6154
6155 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6156
6157 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6158 by XFAIL.
6159 * gdb.cp/static-method.exp (info addr A::func())
6160 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6161 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6162 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6163 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6164 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6165 (test value of F in k3_m): Likewise.
6166 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6167 Likewise.
6168
6169 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6170
6171 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6172 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6173 Remove.
6174 * gdb.threads/attachstop-mt.c: Remove.
6175 * gdb.threads/attachstop-mt.exp: Remove.
6176
6177 2011-12-17 Mark Kettenis <kettenis@gnu.org>
6178
6179 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6180
6181 2011-12-16 Doug Evans <dje@google.com>
6182
6183 * boards/native-stdio-gdbserver.exp: New file.
6184 * boards/native-gdbserver.exp: New file.
6185
6186 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6187 gdbserver output.
6188 (gdbserver_default_get_remote_address): New function.
6189 (gdbserver_start): Call gdb,get_remote_address to compute argument
6190 to "target remote" command.
6191
6192 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6193
6194 * gdb.python/py-function.exp: Change "on" to "full" for
6195 python print-stack. Add set/show python print-stack
6196 off|full|message tests.
6197
6198 2011-12-15 Yao Qi <yao@codesourcery.com>
6199
6200 * gdb.trace/strace.c: New
6201 * gdb.trace/strace.exp: New.
6202
6203 2011-12-14 Tom Tromey <tromey@redhat.com>
6204
6205 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6206
6207 2011-12-14 Doug Evans <dje@google.com>
6208
6209 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6210
6211 2011-12-14 Pedro Alves <pedro@codesourcery.com>
6212
6213 PR threads/10729
6214
6215 * gdb.mi/watch-nonstop.c: New file.
6216 * gdb.mi/mi-watch-nonstop.exp: New file.
6217
6218 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6219 Doug Evans <dje@google.com>
6220
6221 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6222 (clean_restart): Remove references to the gdb_stub target board
6223 variable.
6224 (gdb_step_for_stub): Delete.
6225
6226 * gdb.base/annota1.exp: Remove all references to [target_info
6227 exists gdb_stub], gdb_step_for_stub and usestubs.
6228 * gdb.base/annota3.exp: Ditto.
6229 * gdb.base/async.exp: Ditto.
6230 * gdb.base/break.exp: Ditto.
6231 * gdb.base/code-expr.exp: Ditto.
6232 * gdb.base/commands.exp: Ditto.
6233 * gdb.base/completion.exp: Ditto.
6234 * gdb.base/condbreak.exp: Ditto.
6235 * gdb.base/consecutive.exp: Ditto.
6236 * gdb.base/cvexpr.exp: Ditto.
6237 * gdb.base/define.exp: Ditto.
6238 * gdb.base/display.exp: Ditto.
6239 * gdb.base/ena-dis-br.exp: Ditto.
6240 * gdb.base/environ.exp: Ditto.
6241 * gdb.base/gnu-ifunc.exp: Ditto.
6242 * gdb.base/maint.exp: Ditto.
6243 * gdb.base/pending.exp: Ditto.
6244 * gdb.base/sect-cmd.exp: Ditto.
6245 * gdb.base/sepdebug.exp: Ditto.
6246 * gdb.base/unload.exp: Ditto.
6247 * gdb.base/watchpoint-solib.exp: Ditto.
6248 * gdb.cp/annota2.exp: Ditto.
6249 * gdb.cp/annota3.exp: Ditto.
6250 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6251 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6252 * gdb.mi/mi-pending.exp: Ditto.
6253 * gdb.trace/circ.exp: Ditto.
6254 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6255 * gdb.base/list.exp: Ditto.
6256
6257 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6258 breakpoint function and all references to the usestubs macro.
6259 * gdb.base/exprs.c: Ditto.
6260 * gdb.base/freebpcmd.c: Ditto.
6261 * gdb.base/bitfields.c: Ditto.
6262 * gdb.base/bitfields2.c: Ditto.
6263 * gdb.base/break.c: Ditto.
6264 * gdb.base/call-sc.c: Ditto.
6265 * gdb.base/call-signals.c: Ditto.
6266 * gdb.base/callfuncs.c: Ditto.
6267 * gdb.base/charset.c: Ditto.
6268 * gdb.base/consecutive.c: Ditto.
6269 * gdb.base/constvars.c: Ditto.
6270 * gdb.base/funcargs.c: Ditto.
6271 * gdb.base/int-type.c: Ditto.
6272 * gdb.base/interrupt.c: Ditto.
6273 * gdb.base/langs0.c: Ditto.
6274 * gdb.base/list0.c: Ditto.
6275 * gdb.base/mips_pro.c: Ditto.
6276 * gdb.base/miscexprs.c: Ditto.
6277 * gdb.base/nodebug.c: Ditto.
6278 * gdb.base/opaque0.c: Ditto.
6279 * gdb.base/pointers.c: Ditto.
6280 * gdb.base/printcmds.c: Ditto.
6281 * gdb.base/ptype.c: Ditto.
6282 * gdb.base/recurse.c: Ditto.
6283 * gdb.base/reread1.c: Ditto.
6284 * gdb.base/reread2.c: Ditto.
6285 * gdb.base/restore.c: Ditto.
6286 * gdb.base/return.c: Ditto.
6287 * gdb.base/run.c: Ditto.
6288 * gdb.base/scope0.c: Ditto.
6289 * gdb.base/sepdebug.c: Ditto.
6290 * gdb.base/setshow.c: Ditto.
6291 * gdb.base/setvar.c: Ditto.
6292 * gdb.base/sigall.c: Ditto.
6293 * gdb.base/signals.c: Ditto.
6294 * gdb.base/structs.c: Ditto.
6295 * gdb.base/structs2.c: Ditto.
6296 * gdb.base/testenv.c: Ditto.
6297 * gdb.base/twice.c: Ditto.
6298 * gdb.base/unwindonsignal.c: Ditto.
6299 * gdb.base/watchpoint.c: Ditto.
6300 * gdb.base/watchpoints.c: Ditto.
6301 * gdb.base/whatis.c: Ditto.
6302 * gdb.cp/classes.cc: Ditto.
6303 * gdb.cp/cplusfuncs.cc: Ditto.
6304 * gdb.cp/derivation.cc: Ditto.
6305 * gdb.cp/formatted-ref.cc: Ditto.
6306 * gdb.cp/misc.cc: Ditto.
6307 * gdb.cp/overload.cc: Ditto.
6308 * gdb.cp/ovldbreak.cc: Ditto.
6309 * gdb.cp/ref-params.cc: Ditto.
6310 * gdb.cp/ref-types.cc: Ditto.
6311 * gdb.cp/templates.cc: Ditto.
6312 * gdb.cp/virtfunc.cc: Ditto.
6313 * gdb.hp/gdb.aCC/run.c: Ditto.
6314 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6315 * gdb.hp/gdb.compat/xdb0.c: Ditto.
6316 * gdb.reverse/consecutive-reverse.c: Ditto.
6317 * gdb.reverse/sigall-reverse.c: Ditto.
6318 * gdb.reverse/until-reverse.c: Ditto.
6319 * gdb.reverse/watch-reverse.c: Ditto.
6320 * gdb.trace/actions.c: Ditto.
6321 * gdb.trace/circ.c: Ditto.
6322 * gdb.trace/collection.c: Ditto.
6323
6324 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6325
6326 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6327 (func6, func7): New.
6328 (main): Call func6 and func7.
6329 * gdb.base/watchpoint.exp (test_wide_location_1)
6330 (test_wide_location_2): New.
6331 (top level): Re-enable hardware watchpoints if necessary. Call
6332 test_wide_location_1 and test_wide_location_2.
6333
6334 2011-12-11 Yao Qi <yao@codesourcery.com>
6335
6336 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6337
6338 2011-12-11 Joel Brobecker <brobecker@adacore.com>
6339
6340 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6341 expected output for unsupported case.
6342
6343 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6344
6345 PR testsuite/12649
6346 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6347 Protect gdb_test_multiple by final $gdb_prompt match.
6348
6349 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6350
6351 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6352 New variable, new test.
6353 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6354 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6355 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6356 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6357 them if HAVE_GCC_45682_FIXED is not set.
6358
6359 2011-12-10 Yao Qi <yao@codesourcery.com>
6360
6361 * gdb.trace/status-stop.exp: New.
6362 * gdb.trace/status-stop.c: New.
6363
6364 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6365
6366 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6367 timeout.
6368
6369 2011-12-08 Tom Tromey <tromey@redhat.com>
6370
6371 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6372 condition.
6373
6374 2011-12-07 Stan Shebs <stan@codesourcery.com>
6375
6376 * gdb.trace/tfind.exp: Update for output changes.
6377
6378 2011-12-07 Pedro Alves <pedro@codesourcery.com>
6379
6380 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6381 throws "Cannot insert catchpoints in this configuration".
6382 * gdb.ada/mi_catch_ex.exp: Likewise.
6383
6384 2011-12-06 Pedro Alves <pedro@codesourcery.com>
6385
6386 * gdb.base/break-always.exp: Test changing memory at addresses
6387 with breakpoints inserted.
6388
6389 2011-12-06 Joel Brobecker <brobecker@acacore.com>
6390
6391 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6392 involving a fully qualified function name.
6393
6394 2011-12-06 Tom Tromey <tromey@redhat.com>
6395
6396 * gdb.ada/homonym.exp: Add three breakpoint tests.
6397
6398 2011-12-06 Tom Tromey <tromey@redhat.com>
6399
6400 * gdb.base/solib-weak.exp (do_test): Remove kfail.
6401 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6402 * gdb.objc/objcdecode.exp: Update for output changes.
6403 * gdb.linespec/linespec.exp: New file.
6404 * gdb.linespec/lspec.cc: New file.
6405 * gdb.linespec/lspec.h: New file.
6406 * gdb.linespec/body.h: New file.
6407 * gdb.linespec/base/two/thefile.cc: New file.
6408 * gdb.linespec/base/one/thefile.cc: New file.
6409 * gdb.linespec/Makefile.in: New file.
6410 * gdb.cp/templates.exp (test_template_breakpoints): Update for
6411 output changes.
6412 * gdb.cp/re-set-overloaded.exp: Remove kfail.
6413 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
6414 makes one breakpoint.
6415 * gdb.cp/method2.exp (test_break): Update for output changes.
6416 * gdb.cp/mb-templates.exp: Update for output changes.
6417 * gdb.cp/mb-inline.exp: Update for output changes.
6418 * gdb.cp/mb-ctor.exp: Update for output changes.
6419 * gdb.cp/ovsrch.exp: Use fully-qualified names.
6420 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
6421 has multiple matches.
6422 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
6423 error message change.
6424 * gdb.base/list.exp (test_list_filename_and_number): Update for
6425 error message change.
6426 * gdb.base/break.exp: Disable pending breakpoints. Update for
6427 output changes.
6428 * configure.ac: Add gdb.linespec.
6429 * configure: Rebuild.
6430 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6431
6432 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
6433
6434 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6435 last_break register on s390*-*-* targets.
6436
6437 2011-12-06 Joel Brobecker <brobecker@adacore.com>
6438
6439 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6440 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6441 of parameter X in procedure Foo.
6442
6443 2011-12-05 Stan Shebs <stan@codesourcery.com>
6444
6445 * gdb.trace/tfind.exp: Update help string matches.
6446
6447 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6448
6449 * gdb.server/ext-run.exp (get process list): Accept also systemd
6450 as PID 1.
6451
6452 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6453 Pedro Alves <pedro@codesourcery.com>
6454
6455 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6456 starting GDB.
6457 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6458 $use_gdb_stub.
6459 * gdb.base/display.exp: Likewise.
6460 * gdb.base/ending-run.exp: Likewise.
6461 * gdb.base/list.exp (test_listsize): Likewise.
6462 * gdb.base/setshow.exp: Likewise.
6463 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
6464 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
6465 check by global $use_gdb_stub.
6466 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
6467 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
6468 (default_gdb_init): Unset global $use_gdb_stub.
6469 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
6470 by global $use_gdb_stub.
6471 * lib/gdbserver-support.exp: Extend comments for set_board_info
6472 gdb_protocol and gdb,socketport.
6473 (gdbserver_start_extended): Set global gdbserver_protocol and
6474 gdbserver_gdbport. Clear global use_gdb_stub.
6475 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
6476 from target use_gdb_stub.
6477 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
6478
6479 2011-12-03 Doug Evans <dje@google.com>
6480
6481 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
6482 (gdb_step_for_stub): Add comments.
6483
6484 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
6485
6486 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
6487 to the caller.
6488 (gdb_test_multiple): Likewise.
6489
6490 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6491
6492 Fix gdb.mi/mi-solib.exp without system debug info installed.
6493 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
6494 expect attribute, return 0 for it. Update comments.
6495
6496 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6497
6498 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
6499 (corrupted list): Adjust the expectation.
6500
6501 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6502
6503 PR threads/13448
6504 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
6505 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
6506 * gdb.threads/tls-var-main.c: New file.
6507 * gdb.threads/tls-var.c: New file.
6508 * gdb.threads/tls-var.exp: New file.
6509
6510 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6511
6512 PR testsuite/12649
6513 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
6514 Protect gdb_test_multiple by final $gdb_prompt match.
6515 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
6516 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
6517 (test_tracepoints): Likewise.
6518
6519 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6520
6521 PR breakpoints/13346
6522 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
6523 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
6524 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
6525
6526 2011-12-01 Joel Brobecker <brobecker@adacore.com>
6527
6528 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
6529 * gdb.ada/homonym/homonym.adb: For use of all types defined
6530 locally inside both Get_Value subprograms.
6531
6532 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6533
6534 Fix racy FAILs.
6535 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
6536 of send_gdb.
6537
6538 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6539
6540 * gdb.base/testenv.exp: Skip on remote targets. Unset global
6541 environment variable after test completed.
6542
6543 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6544
6545 * gdb.base/solib-nodir.exp: Skip if remote target.
6546 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
6547 application. Call gdb_load_shlibs.
6548 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
6549
6550 2011-11-29 Joel Brobecker <brobecker@adacore.com>
6551
6552 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
6553
6554 2011-11-28 Joel Brobecker <brobecker@adacore.com>
6555
6556 * gdb.ada/fullname_bp: New testcase.
6557
6558 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6559
6560 PR testsuite/12649
6561 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
6562 Wrap send_gdb into a new gdb_test.
6563
6564 Code cleanup.
6565 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
6566 Convert send_gdb and gdb_expect to gdb_test_multiple.
6567
6568 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6569
6570 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
6571
6572 2011-11-23 Keith Seitz <keiths@redhat.com>
6573
6574 * lib/mi-support.exp (varobj_tree): New namespace and procs.
6575 (mi_varobj_tree_test_children_callback): New proc.
6576 (mi_walk_varobj_tree): New proc.
6577
6578 2011-11-22 Tom Tromey <tromey@redhat.com>
6579
6580 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
6581 Add "use_mi_command" argument.
6582 (mi_run_cmd, mi_run_with_cli): New procs.
6583 * gdb.mi/solib-lib.c: New file.
6584 * gdb.mi/solib-main.c: New file.
6585 * gdb.mi/mi-solib.exp: New file.
6586
6587 2011-11-21 Doug Evans <dje@google.com>
6588
6589 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
6590 _Unwind_DebugHook is missing.
6591
6592 2011-11-20 Stan Shebs <stan@codesourcery.com>
6593
6594 * gdb.trace/tstatus.exp: New.
6595 * gdb.trace/actions.c: Include string.h.
6596
6597 2011-11-18 Yao Qi <yao@codesourcery.com>
6598
6599 * gdb.trace/pending.exp: New.
6600 * gdb.trace/pending.c: New.
6601 * gdb.trace/pendshr1.c: New.
6602 * gdb.trace/pendshr2.c: New.
6603 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
6604 tracepoint location becomes pending.
6605 (tracepoint_change_loc_2): New.
6606
6607 2011-11-16 David S. Miller <davem@davemloft.net>
6608
6609 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
6610 target is sparc*-*-linux*
6611
6612 2011-11-15 Paul Koning <paul_koning@dell.com>
6613
6614 * gdb.python/py-type.exp: New testcases for exceptions on scalar
6615 types.
6616
6617 2011-11-14 Doug Evans <dje@google.com>
6618
6619 * gdb.base/shell.exp: New file.
6620
6621 2011-11-14 Stan Shebs <stan@codesourcery.com>
6622
6623 * gdb.trace/ftrace.c: New.
6624 * gdb.trace/ftrace.exp: New.
6625
6626 2011-11-14 Yao Qi <yao@codesourcery.com>
6627
6628 * gdb.trace/change-loc-1.c: New.
6629 * gdb.trace/change-loc-2.c: New.
6630 * gdb.trace/change-loc.c: New.
6631 * gdb.trace/change-loc.exp: New.
6632 * gdb.trace/change-loc.h: New.
6633 * gdb.trace/trace-break.c (marker): Define new symbol.
6634 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6635 New.
6636 (break_trace_same_addr_6): New.
6637
6638 2011-11-12 Matt Rice <ratmice@gmail.com>
6639
6640 * gdb.base/info-macros.exp: Make tests for info definitions
6641 test info macro. Add tests for info macro argument processing.
6642 Rename a few tests.
6643
6644 2011-11-11 Keith Seitz <keiths@redhat.com>
6645
6646 PR gdb/12843
6647 * gdb.base/linespecs.exp: New file.
6648
6649 2011-11-11 Doug Evans <dje@google.com>
6650
6651 * gdb.threads/print-threads.exp: Extend timeout for slower
6652 tests.
6653
6654 2011-11-10 Doug Evans <dje@google.com>
6655
6656 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
6657 "record to end of main" test.
6658
6659 * gdb.python/py-type.c (TS): New typedef.
6660 (ts): New global.
6661 * gdb.python/py-type.exp: Test field list of typedef.
6662
6663 2011-11-10 Joel Brobecker <brobecker@adacore.com>
6664
6665 * gdb.ada/small_reg_param: New testcase.
6666
6667 2011-11-09 Tom Tromey <tromey@redhat.com>
6668
6669 * gdb.cp/destrprint.exp: New file.
6670 * gdb.cp/destrprint.cc: New file.
6671
6672 2011-11-08 Meador Inge <meadori@codesourcery.com>
6673
6674 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
6675 (switch_stack_to_other): New test function.
6676 * gdb.arch/thumb-prologue.exp: New test cases.
6677
6678 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
6679
6680 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
6681
6682 2011-11-08 Yao Qi <yao@codesourcery.com>
6683
6684 * gdb.exp (supports_process_record): New.
6685 (supports_reverse): New.
6686 * gdb.reverse/break-precsave.exp: Call support_process_record
6687 to run test conditionally.
6688 * gdb.reverse/consecutive-precsave.exp: Likewise.
6689 * gdb.reverse/i386-precsave.exp: Likewise.
6690 * gdb.reverse/machinestate-precsave.exp: Likewise.
6691 * gdb.reverse/solib-precsave.exp: Likewise.
6692 * gdb.reverse/step-precsave.exp: Likewise.
6693 * gdb.reverse/until-precsave.exp: Likewise.
6694 * gdb.reverse/watch-precsave.exp: Likewise.
6695 * gdb.reverse/break-reverse.exp: Call support_reverse to run
6696 test conditionally.
6697 * gdb.reverse/consecutive-reverse.exp: Likewise.
6698 * gdb.reverse/finish-precsave.exp: Likewise.
6699 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6700 * gdb.reverse/finish-reverse.exp: Likewise.
6701 * gdb.reverse/i386-reverse.exp: Likewise.
6702 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6703 * gdb.reverse/machinestate.exp: Likewise.
6704 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6705 * gdb.reverse/sigall-precsave.exp: Likewise.
6706 * gdb.reverse/sigall-reverse.exp: Likewise.
6707 * gdb.reverse/solib-reverse.exp: Likewise.
6708 * gdb.reverse/step-reverse.exp: Likewise.
6709 * gdb.reverse/until-reverse.exp: Likewise.
6710 * gdb.reverse/watch-reverse.exp: Likewise.
6711
6712 2011-11-05 Yao Qi <yao@codesourcery.com>
6713
6714 * gdb.trace/trace-break.exp: Add test on setting two
6715 fast tracepoints at the same address.
6716
6717 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6718
6719 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6720
6721 2011-11-02 Stan Shebs <stan@codesourcery.com>
6722
6723 * gdb.trace/collection.c: Add code using strings.
6724 * gdb.trace/collection.exp: Add tests of string collection.
6725
6726 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6727
6728 * gdb.base/skip-solib.exp (executable_main): New variable.
6729 (binfile_main): Base it on that.
6730 Use $executable_main in clean_restart calls. Drop gdb_exit and
6731 gdb_start calls.
6732
6733 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6734
6735 Fix racy FAILs.
6736 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6737 breakpoint_re globals import by async. Set string_regex to .* for
6738 async. Remove the optional thread_selected_re and breakpoint_re
6739 globals expectations.
6740
6741 2011-11-01 Joseph Myers <joseph@codesourcery.com>
6742
6743 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6744 well as Cygwin.
6745
6746 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
6747
6748 Add tests for skip command.
6749 * gdb.base/skip-solib-lib.c: New
6750 * gdb.base/skip-solib-main.c: New
6751 * gdb.base/skip-solib.exp: New
6752 * gdb.base/skip.c: New
6753 * gdb.base/skip.exp: New
6754 * gdb.base/skip1.c: New
6755 * gdb.base/Makefile.in: Adding new files.
6756
6757 2011-10-31 Yao Qi <yao@codesourcery.com>
6758 Pedro Alves <pedro@codesourcery.com>
6759
6760 * gdb.trace/trace-break.c: New.
6761 * gdb.trace/trace-break.exp: New.
6762
6763 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6764
6765 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6766 break-here-2.
6767
6768 2011-10-28 Pedro Alves <pedro@codesourcery.com>
6769
6770 * gdb.threads/no-unwaited-for-left.c: New.
6771 * gdb.threads/no-unwaited-for-left.exp: New.
6772 * gdb.threads/non-ldr-exc-1.c: New.
6773 * gdb.threads/non-ldr-exc-1.exp: New.
6774 * gdb.threads/non-ldr-exc-2.c: New.
6775 * gdb.threads/non-ldr-exc-2.exp: New.
6776 * gdb.threads/non-ldr-exc-3.c: New.
6777 * gdb.threads/non-ldr-exc-3.exp: New.
6778 * gdb.threads/non-ldr-exc-4.c: New.
6779 * gdb.threads/non-ldr-exc-4.exp: New.
6780
6781 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6782
6783 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6784 * gdb.base/attach-pie-misread.exp: Likewise.
6785 * gdb.base/break-interp.exp: Likewise.
6786 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6787 testcases for use_gdb_stub.
6788 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6789 (continue): New testcase.
6790 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6791 * gdb.threads/attach-into-signal.exp: Likewise.
6792 * gdb.threads/attach-stopped.exp: Likewise.
6793 * gdb.threads/attachstop-mt.exp: Likewise.
6794
6795 2011-10-28 Paul Koning <paul_koning@dell.com>
6796
6797 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6798
6799 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6800
6801 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6802 (mi_gdb_test): Import globals thread_selected_re
6803 and breakpoint_re. Expect them optionally at the regex start.
6804
6805 2011-10-27 Doug Evans <dje@google.com>
6806
6807 * gdb.python/python.exp: Test source -s.
6808
6809 2011-10-26 Paul Koning <paul_koning@dell.com>
6810
6811 * gdb.python/lib-types.cc (struct A): New structure.
6812 * gdb.python/lib-types.exp (deepitems): New tests.
6813
6814 2011-10-25 Paul Koning <paul_koning@dell.com>
6815
6816 PR python/13327
6817
6818 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6819 fetch_lazy method.
6820
6821 2011-10-24 Yao Qi <yao@codesourcery.com>
6822
6823 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6824 target is tic6x-*-*.
6825
6826 2011-10-21 Joel Brobecker <brobecker@adacore.com>
6827
6828 * gdb.ada/mi_task_info/task_switch.adb: New file.
6829 * gdb.ada/mi_task_info.exp: New file.
6830
6831 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6832
6833 * gdb.cp/expand-psymtabs-cxx.exp: New file.
6834 * gdb.cp/expand-psymtabs-cxx.cc: New file.
6835
6836 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
6837
6838 PR python/12656
6839
6840 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6841 global_block tests.
6842
6843 2011-10-18 Tom Tromey <tromey@redhat.com>
6844
6845 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6846
6847 2011-10-18 Tom Tromey <tromey@redhat.com>
6848
6849 * gdb.base/source.exp: Don't include full file name in test name.
6850 * gdb.python/python.exp: Don't include full file name in test
6851 name.
6852
6853 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6854
6855 * gdb.base/attach-pie-noexec.c: New files.
6856 * gdb.base/attach-pie-noexec.exp: New files.
6857
6858 2011-10-17 Joseph Myers <joseph@codesourcery.com>
6859
6860 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
6861 prompt for each extra line in command.
6862
6863 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6864
6865 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
6866 Revert the part of:
6867 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6868 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6869 Change the expected string.
6870
6871 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6872
6873 Fix results with system glibc debug info installed.
6874 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
6875 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
6876 Accept also __libc_ symbol prefix and no prefix.
6877
6878 2011-10-14 Keith Seitz <keiths@redhat.com>
6879
6880 PR c++/13225
6881 * gdb.cp/converts.cc (foo3_1): New function.
6882 (foo3_2): New functions.
6883 * gdb.cp/converts.exp: Add tests for int to pointer conversion
6884 and null pointer conversions of integer constant zero.
6885 Add test to check if all arguments are checked for incompatible
6886 conversion BADNESS.
6887
6888 2011-10-14 Tom Tromey <tromey@redhat.com>
6889
6890 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
6891 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
6892 linespec.
6893
6894 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6895
6896 Fix internal error regression.
6897 * gdb.dwarf2/implptr-optimized-out.S: New file.
6898 * gdb.dwarf2/implptr-optimized-out.exp: New file.
6899
6900 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6901
6902 Fix empty DWARF expressions DATA vs. SIZE conditionals.
6903 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
6904 (loclist): New.
6905 (4): New abbrev.
6906 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
6907 Use prepare_for_testing, remove clean_restart.
6908 (p arraynoloc, p arraycallnoloc): New tests.
6909
6910 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6911
6912 * gdb.cp/namespace-enum.exp (executable): New variable.
6913 (binfile): Use ${objdir}/${subdir}/ prefix.
6914 Use ${executable} for clean_restart.
6915
6916 2011-10-11 Sterling Augustine <saugustine@google.com>
6917
6918 * gdb.cp/Makefile.in: Add namespace-enum test.
6919 * gdb.cp/namespace-enum.exp: New file.
6920 * gdb.cp/namespace-enum.c: New file.
6921 * gdb.cp/namespace-enum-main.c: New file.
6922
6923 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
6924
6925 * gdb.python/py-shared.exp: Relax filename check to handle remote:
6926 sysroot.
6927
6928 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6929
6930 Reimplement @entry in input expressions.
6931 * gdb.base/exprs.c (v_int_array_init): New variable.
6932 * gdb.base/exprs.exp (print v_int_array_init)
6933 (print *v_int_array_init@1, print *v_int_array_init@2)
6934 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
6935 (print v_int_array_init[1]@1): New tests.
6936
6937 2011-10-10 Joseph Myers <joseph@codesourcery.com>
6938
6939 * gdb.cp/gdb2495.exp: Do not include directories in filename in
6940 expected message.
6941
6942 2011-10-09 Doug Evans <dje@google.com>
6943
6944 * gdb.base/alias.exp: Add tests for alias command.
6945
6946 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6947
6948 * gdb.arch/amd64-entry-value.s: New file.
6949 * gdb.mi/mi2-amd64-entry-value.s: New file.
6950
6951 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6952
6953 Display @entry parameter values even for references.
6954 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
6955 functions.
6956 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
6957 reference and datap_input.
6958 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
6959 breakpoints.
6960 (continue to breakpoint: entry_reference: reference)
6961 (entry_reference: bt at entry)
6962 (continue to breakpoint: entry_reference: breakhere_reference)
6963 (entry_reference: bt, entry_reference: ptype regparam)
6964 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
6965 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
6966 (entry_reference: p regcopy, entry_reference: p nodataparam)
6967 (entry_reference: p nodataparam@entry): New tests.
6968
6969 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6970
6971 Support @entry in input expressions.
6972 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
6973 (entry_stack: p s1@entry, entry_stack: p s2@entry)
6974 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
6975 (tailcall: p j@entry): New tests.
6976 * gdb.cp/koenig.cc (A::entry): New function.
6977 (main): Call it.
6978 * gdb.cp/koenig.exp (p entry (c)): New test.
6979
6980 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6981
6982 Display @entry parameter values (without references).
6983 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
6984 (different, validity, invalid): New functions.
6985 (main): Call them.
6986 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
6987 stacktest, breakhere_stacktest, different, breakhere_different,
6988 breakhere_validity and breakhere_invalid.
6989 (entry: bt): Update for @entry.
6990 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
6991 (entry_validity: *, entry_invalid: *): Many new tests.
6992 * gdb.base/break.exp
6993 (run until breakpoint set at small function, optimized file): Accept
6994 also the @entry suffix.
6995 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
6996 * gdb.mi/mi2-amd64-entry-value.c: New files.
6997 * gdb.mi/mi2-amd64-entry-value.exp: New files.
6998
6999 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7000
7001 Protect entry values against self tail calls.
7002 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7003 (main): Call self.
7004 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7005 (set debug entry-values 1, self: bt debug entry-values): New tests.
7006
7007 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7008
7009 Recognize virtual tail call frames.
7010 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7011 (amb_b, amb_a): New.
7012 (main): Call a and b.
7013 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7014 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7015 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7016 New tests.
7017
7018 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7019
7020 Implement basic support for DW_TAG_GNU_call_site.
7021 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7022 * gdb.arch/amd64-entry-value.cc: New file.
7023 * gdb.arch/amd64-entry-value.exp: New file.
7024
7025 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7026
7027 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7028 * gdb.dwarf2/implptr-64bit.S: New file.
7029 * gdb.dwarf2/implptr-64bit.exp: New file.
7030
7031 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7032
7033 Fix initial language detection with -readnow.
7034 * gdb.cp/readnow-language.cc: New file.
7035 * gdb.cp/readnow-language.exp: New file.
7036
7037 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7038
7039 Fix printed anonymous struct name.
7040 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7041
7042 2011-10-09 Joseph Myers <joseph@codesourcery.com>
7043
7044 * gdb.base/solib-symbol.exp: Do not include directories in
7045 filenames in expected messages.
7046
7047 2011-10-07 Doug Evans <dje@google.com>
7048
7049 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7050
7051 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
7052
7053 Allow Python notification of new object-file loadings.
7054 * gdb.python/py-events.exp: Test newobjfile event.
7055 * gdb.python/py-events.py: Register newobjfile callback.
7056 * gdb.python/py-events.c: Add call to shared library
7057 * gdb.python/py-events-shlib.c: New file.
7058
7059 2011-10-06 Joseph Myers <joseph@codesourcery.com>
7060
7061 * gdb.base/fixsection.exp: Do not include directories in filename
7062 in expected message.
7063
7064 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7065
7066 Add tests for passing of environment variables to inferior.
7067 * gdb.base/testenv.c: New test source.
7068 * gdb.base/testenv.exp: New expect test.
7069
7070 2011-10-04 Paul Koning <paul_koning@dell.com>
7071
7072 * gdb.python/py-value.c (main): Break before return.
7073
7074 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
7075
7076 PR python/12691: Add the inferior to Python exited event
7077 * gdb.python/py-events.exp: Test the inferior attribute of exited
7078 event with a fork.
7079 * gdb.python/py-events.py: Print inferior number on exit.
7080 * gdb.python/py-events.c: Fork the inferior.
7081
7082 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7083
7084 * gdb.base/jit.exp: Add testcase name to log message
7085
7086 2011-10-03 Paul Koning <paul_koning@dell.com>
7087 Jan Kratochvil <jan.kratochvil@redhat.com>
7088
7089 * gdb.python/py-value.exp
7090 (python inval = gdb.parse_and_eval('*(int*)0'))
7091 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7092 (set argc=2, python print argc_lazy): New tests.
7093
7094 2011-10-02 Joel Brobecker <brobecker@adacore.com>
7095
7096 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7097
7098 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7099 Pedro Alves <pedro@codesourcery.com>
7100
7101 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7102 can_read_0, test for it.
7103 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7104 (parse_and_eval with memory error): ... here, make it untested if
7105 can_read_0.
7106
7107 2011-09-30 Marek Polacek <mpolacek@redhat.com>
7108
7109 * gdb.python/python.exp (verify pagination beforehand)
7110 (verify pagination afterwards): Fix race by splitting the line.
7111
7112 2011-09-29 Joseph Myers <joseph@codesourcery.com>
7113
7114 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7115 for 64-bit multilibs from i?86-* targets.
7116
7117 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7118
7119 * lib/gdb.exp: Fix a typo in one of the comments.
7120
7121 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7122
7123 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7124 matching pattern.
7125
7126 2011-09-28 Paul Koning <paul_koning@dell.com>
7127
7128 * gdb.python/py-type.c (enum E): New.
7129 * gdb.python/py-type.exp (test_fields): Add tests for Python
7130 mapping access to fields.
7131 (test_enums): New test for field access on enums.
7132
7133 2011-09-27 Stan Shebs <stan@codesourcery.com>
7134
7135 * gdb.trace/collection.exp: Test collection of $_ret.
7136
7137 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
7138
7139 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7140 list of compilation switches for <*-*-freebsd*>.
7141
7142 2011-09-19 Stan Shebs <stan@codesourcery.com>
7143
7144 * gdb.trace/tspeed.exp: New file.
7145 * gdb.trace/tspeed.c: New file.
7146
7147 2011-09-18 Yao Qi <yao@codesourcery.com>
7148
7149 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7150 instructions.
7151 (test_adr_32bit, test_pop_pc): Likewise.
7152 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7153 Thumb instructions.
7154 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7155 in gdb_test_multiple.
7156 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7157
7158 2011-09-17 Yao Qi <yao@codesourcery.com>
7159
7160 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7161 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7162 support single step to signal handler.
7163
7164 2011-09-17 Yao Qi <yao@codesourcery.com>
7165
7166 * gdb.base/disp-step-fork.c: New.
7167 * gdb.base/disp-step-syscall.exp: New.
7168 * gdb.base/disp-step-vfork.c: New.
7169
7170 2011-09-16 Joel Brobecker <brobecker@adacore.com>
7171
7172 * gdb.ada/tasks.exp: Make the expected output for
7173 the `info tasks' tests more resilient to spacing
7174 changes.
7175
7176 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7177
7178 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7179 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7180
7181 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
7182
7183 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7184 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7185
7186 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
7187
7188 Handle multiple breakpoint hits in Python interface:
7189 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7190 presence.
7191 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7192 breakpoint hits.
7193
7194 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7195 Jan Kratochvil <jan.kratochvil@redhat.com>
7196
7197 * gdb.python/py-events.exp: Remove pretty printing comment.
7198 * gdb.python/py-evsignal.exp: New file.
7199 * gdb.python/py-evthreads.c: Include signal.h.
7200 (thread3): Remove variable count3. Remove variable bad and use raise
7201 instead.
7202 (thread2): Remove variable count2. Move thread3 pthread_create here,
7203 merge pthread_join to a single line.
7204 (main): Remove variable count1. Merge pthread_join with pthread_create
7205 to a single line.
7206 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7207 KFAIL python/12966 for gdbserver. Test return value of
7208 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7209 gdb_expect by gdb_test and gdb_test_multiple.
7210 (thread 2, thread 3): New tests.
7211
7212 2011-09-12 Matt Rice <ratmice@gmail.com>
7213 Pedro Alves <pedro@codesourcery.com>
7214
7215 PR gdb/13175
7216
7217 * gdb.base/interp.exp: New tests.
7218 * gdb.base/interp.c: New file.
7219
7220 2011-09-12 Doug Evans <dje@google.com>
7221
7222 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7223 * gdb.dwarf2/typeddwarf.exp: Ditto.
7224
7225 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7226
7227 Fix compatibility with x32 arch.
7228 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7229 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7230 is_x86_like_target.
7231 * testsuite/gdb.trace/collection.exp: Likewise.
7232 * testsuite/gdb.trace/report.exp: Likewise.
7233 * testsuite/gdb.trace/unavailable.exp: Likewise.
7234 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7235 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7236 (is_x86_like_target): Check also is_amd64_regs_target.
7237
7238 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7239
7240 PR breakpoints/12435
7241 * gdb.arch/amd64-prologue-xmm.c: New file.
7242 * gdb.arch/amd64-prologue-xmm.exp: New file.
7243 * gdb.arch/amd64-prologue-xmm.s: New file.
7244
7245 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7246
7247 * gdb.dwarf2/dw2-param-error-main.c: New file.
7248 * gdb.dwarf2/dw2-param-error.S: New file.
7249 * gdb.dwarf2/dw2-param-error.exp: New file.
7250
7251 2011-09-08 Pedro Alves <pedro@codesourcery.com>
7252
7253 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7254 inferior's pid and look for a core dump named core.$pid. Use
7255 `remote_file' commands on the host instead of hand coding shell
7256 commands on the build.
7257 * gdb.base/valgrind-db-attach.exp: Kill the program before
7258 finishing the test.
7259
7260 2011-09-02 Matt Rice <ratmice@gmail.com>
7261
7262 * lib/prompt.exp: New file for testing the first prompt.
7263 * gdb.python/py-prompt.exp: Ditto.
7264 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7265
7266 2011-09-02 Pedro Alves <pedro@codesourcery.com>
7267
7268 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7269 0, before testing gcore.
7270
7271 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7272
7273 * dw2-ifort-parameter-debug.S: Update copyright year.
7274 * dw2-ifort-parameter.c: Update copyright year.
7275 * dw2-ifort-parameter.exp: Update copyright year.
7276
7277 * dw2-ifort-parameter-debug.S: New file.
7278 * dw2-ifort-parameter.c: New file.
7279 * dw2-ifort-parameter.exp: New file.
7280
7281 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7282
7283 * gdb.base/commands.exp (error_clears_commands_left): New function.
7284 (): Call it.
7285
7286 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7287
7288 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7289 (C): Initialize `a'.
7290 * gdb.mi/mi-inheritance-syntax-error.exp
7291 (-data-evaluate-expression $path): Expect `a' as 5.
7292
7293 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7294
7295 PR mi/11912
7296 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7297 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7298 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7299 keyword in output of -var-info-path-expression.
7300
7301 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7302
7303 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7304 * gdb.trace/collection.exp: Likewise.
7305 * gdb.trace/report.exp: Likewise.
7306 * gdb.trace/unavailable.exp: Likewise.
7307 * gdb.trace/while-dyn.exp: Likewise.
7308
7309 2011-08-18 Keith Seitz <keiths@redhat.com>
7310
7311 PR c++/12266
7312 * gdb.cp/meth-typedefs.cc: New file.
7313 * gdb.cp/meth-typedefs.exp: New file.
7314
7315 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
7316
7317 * gdb.python/python.exp: Add extended-prompt tests.
7318
7319 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7320
7321 * gdb.arch/i386-dr3-watch.exp
7322 (watchpoint on gap1 does not fit debug registers)
7323 (delete all watchpoints): Fix racy expect strings.
7324
7325 2011-08-14 Yao Qi <yao@codesourcery.com>
7326
7327 * gdb.base/maint.exp: set data_section to ".neardata".
7328 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7329 * gdb.base/savedregs.exp: Handle SIGILL.
7330 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7331 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7332
7333 2011-08-12 Doug Evans <dje@google.com>
7334
7335 * gdb.python/py-symbol.exp: Add test for symbol.type.
7336
7337 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
7338
7339 * gdb.threads/pthreads.exp: Enable on non-native configurations.
7340 * gdb.mi/mi-pthreads.exp: Likewise.
7341 * gdb.mi/mi2-pthreads.exp: Likewise.
7342 * gdb.mi/gdb669.exp.exp: Likewise.
7343
7344 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7345
7346 * lib/mi-support.exp (detect_async): Rename to...
7347 (mi_detect_async): ... this.
7348 * gdb.mi/mi-nonstop-exit.exp: Adjust.
7349 * gdb.mi/mi-nonstop.exp: Adjust.
7350 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7351 * gdb.mi/mi-nsintrall.exp: Adjust.
7352 * gdb.mi/mi-nsmoribund.exp: Adjust.
7353 * gdb.mi/mi-nsthrexec.exp: Adjust.
7354
7355 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7356
7357 * gdb.base/display.c (do_loops): New `p_i' local.
7358 * gdb.base/display.exp: Test displaying a variable that is
7359 temporarily at a bad address.
7360
7361 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7362
7363 * gdb.dwarf2/dw2-op-stack-value.S: New file.
7364 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7365
7366 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7367
7368 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
7369 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7370 (p fuNC_symtab): Permit also ppc64 leading dot.
7371
7372 2011-08-05 Pedro Alves <pedro@codesourcery.com>
7373
7374 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7375 procedure.
7376 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7377
7378 2011-08-05 Yao Qi <yao@codesourcery.com>
7379
7380 * gdb.base/callfuncs.exp: Set language after main.
7381 * gdb.cp/cplusfuncs.exp: Likewise.
7382 * gdb.cp/inherit.exp: Likewise.
7383
7384 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7385
7386 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7387 * gdb.base/watch-vfork.exp: Skip on remote targets.
7388
7389 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7390
7391 * gdb.threads/thread-find.exp: Support remote targets.
7392
7393 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7394
7395 * gdb.base/jit.exp: Download solib_binfile to target.
7396 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
7397 and call dlopen without full path name.
7398 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7399 dlopen without full path name.
7400
7401 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7402
7403 * gdb.base/break-always.exp: Complete the test
7404 with duplicated breakpoints and enabling/disabling them.
7405
7406 2011-08-02 Tom Tromey <tromey@redhat.com>
7407
7408 PR gdb/11289:
7409 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
7410
7411 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7412
7413 PR gdb/13045
7414 * gdb.base/float.exp: Add new test case for PR gdb/13045
7415 * gdb.base/float.c: New file.
7416
7417 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
7418
7419 * gdb.python/py-mi.exp: Test printers returning string hint, and
7420 also not returning a value.
7421 * gdb.python/py-prettyprint.c: Add testcase for above.
7422 * gdb.python/py-prettyprint.py: Add test printer for above.
7423
7424 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7425
7426 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7427 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7428 (.Ldie30) Add as field "data4".
7429 (.Ldie32) Rename field "b" to "shl".
7430 (abbrev4) Change for the "data4" field.
7431 (abbrev5, abbrev6) Remove.
7432 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7433 (p &s.shl): ... here. Add comment.
7434 (p &s.data4): New.
7435
7436 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7437
7438 Fix crash on lval_computed values.
7439 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7440
7441 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7442
7443 * gdb.base/help.exp (help whatis): Update the expected string.
7444
7445 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7446
7447 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7448 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7449 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7450 Change the expected string.
7451
7452 2011-07-26 Pedro Alves <pedro@codesourcery.com>
7453
7454 * gdb.base/watchpoint.exp
7455 (test_disable_enable_software_watchpoint): New procedure.
7456 (top level): Run it.
7457
7458 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
7459
7460 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
7461 executable file "${binfile}", C++ version "${binfile}-cxx".
7462 * gdb.python/py-prettyprint.exp: Likewise.
7463 * gdb.python/py-symbol.exp: Likewise.
7464 * gdb.python/py-type.exp: Likewise.
7465 * gdb.python/py-value.exp: Likewise.
7466 * gdb.python/py-template.exp (test_template_arg): Pass full executable
7467 file name instead of just suffix.
7468
7469 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7470
7471 Fix implicit pointer offsets.
7472 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
7473 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
7474 (continue to breakpoint: continue to baz breakpoint for implptr)
7475 (sanity check element 0, sanity check element 1)
7476 (enter the inlined function, check element 0 for the offset)
7477 (check element 1 for the offset)
7478 (continue to breakpoint: ignore the second baz breakpoint): New tests.
7479 (set foo breakpoint for implptr): Update the breakpoint number.
7480
7481 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7482
7483 * gdb.python/py-mi.exp: Use different file names for different
7484 versions of the executable under test.
7485 * gdb.python/py-prettyprint.exp: Likewise.
7486 * gdb.python/py-symbol.exp: Likewise.
7487 * gdb.python/py-template.exp: Likewise.
7488 * gdb.python/py-type.exp: Likewise.
7489 * gdb.python/py-value.exp: Likewise.
7490
7491 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7492
7493 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
7494 flag after restarting GDB if necessary.
7495
7496 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7497
7498 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
7499
7500 2011-07-22 Pedro Alves <pedro@codesourcery.com>
7501
7502 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
7503 backend doesn't leave used debug registers behind.
7504
7505 2011-07-22 Tom Tromey <tromey@redhat.com>
7506
7507 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
7508 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
7509 argument.
7510 * gdb.dwarf2/typeddwarf-amd64.S: New file.
7511
7512 2011-07-21 Matt Rice <ratmice@gmail.com>
7513
7514 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
7515 in mostlyclean rule. Add files ending in .core.
7516
7517 2011-07-21 Matt Rice <ratmice@gmail.com>
7518
7519 PR macros/12999
7520 * gdb.base/info-macros.c: New test sources.
7521 * gdb.base/info-macros.exp: New tests.
7522
7523 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
7524
7525 * gdb.python/python.exp: Add prompt substitution tests.
7526
7527 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7528
7529 Fix crash if referenced CU is aged out.
7530 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
7531 New.
7532 * gdb.dwarf2/implptr.exp: Likewise.
7533
7534 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7535
7536 * gdb.dwarf2/implptr.S: Rebuilt.
7537 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
7538 (bar): Use them for j, k, l.
7539 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
7540 COMPILE.
7541 (print j in implptr:bar): Update for the intp typedef.
7542 (print p[0].x in implptr:foo): Use more exact regex.
7543
7544 2011-07-18 Tom Tromey <tromey@redhat.com>
7545
7546 * gdb.cp/static-method.exp: Add missing single quote.
7547
7548 2011-07-18 Yao Qi <yao@codesourcery.com>
7549
7550 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
7551 supported.
7552 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7553 * gdb.mi/mi-nonstop.exp: Likewise.
7554 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7555 * gdb.mi/mi-nsintrall.exp: Likewise.
7556 * gdb.mi/mi-nsmoribund.exp: Likewise.
7557 * gdb.mi/mi-nsthrexec.exp: Likewise.
7558 * gdb.python/py-evthreads.exp: Likewise.
7559
7560 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7561
7562 Code cleanup.
7563 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
7564 it. Substitute it instead of test_compiler_info everywhere.
7565
7566 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7567
7568 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
7569 remote targets as well.
7570
7571 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7572
7573 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
7574 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
7575
7576 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7577
7578 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
7579 a remote machine, not the host.
7580 (gdb_compile_shlib): Set soname if target is remote.
7581
7582 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7583
7584 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
7585
7586 2011-07-13 Matt Rice <ratmice@gmail.com>
7587
7588 * gdb.python/py-objfile-script-gdb.py: Renamed to
7589 py-objfile-script-gdb.py.in.
7590 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
7591 py-objfile-script-gdb.py.
7592 * gdb.python/py-objfile-script.exp: Update reference to
7593 py-objfile-script-gdb.py.
7594
7595 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7596
7597 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
7598 reference undefined label.
7599
7600 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7601
7602 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
7603 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
7604 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
7605 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
7606
7607 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
7608
7609 PR python/12438
7610 * gdb.python/python.exp: Add maint set/show python print-stack
7611 deprecated tests. Add set/show python print-backtrace tests.
7612
7613 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7614
7615 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
7616 debug info.
7617
7618 2011-07-06 Matt Rice <ratmice@gmail.com>
7619
7620 * gdb.python/python.exp: Update filename paths.
7621 * gdb.python/py-symtab.exp: Ditto.
7622
7623 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7624
7625 * gdb.python/py-evthreads.exp: Add missing `$'.
7626
7627 2011-07-06 Jie Zhang <jie.zhang@analog.com>
7628
7629 * config/bfin.exp: New file.
7630 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
7631 * gdb.asm/bfin.inc: New file.
7632
7633 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7634
7635 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
7636 the whole output.
7637
7638 2011-07-05 Tom Tromey <tromey@redhat.com>
7639
7640 * gdb.java/jprint.java (jprint.hi): New field.
7641 * gdb.java/jprint.exp: Print string.
7642
7643 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
7644
7645 * gdb.base/call-sc.c: Fix typos.
7646 * gdb.base/ifelse.exp: Likewise.
7647 * gdb.base/structs.c: Likewise.
7648
7649 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7650
7651 * gdb.base/jit-so.exp: New test.
7652 * gdb.base/jit-dlmain.c: New file.
7653 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
7654
7655 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7656
7657 * gdb.cp/m-static.exp: Call get_compiler_info.
7658 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
7659 * gdb.cp/pr9167.exp (p b): Likewise.
7660 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
7661 (test value of P in inner_m, test type of Z in inner_m): Call
7662 setup_xfail for gcc <= 4.5.
7663
7664 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7665
7666 * gdb.cp/paren-type.cc: New files.
7667 * gdb.cp/paren-type.exp: New files.
7668
7669 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7670
7671 Stop on first linespec terminator instead of eating what we can.
7672 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
7673 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
7674 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
7675 (break C::f()): ... this one.
7676 (break C::operator()()): New test.
7677 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
7678 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
7679 test.
7680
7681 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7682
7683 Fall back linespec to minimal symbols.
7684 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
7685 error message.
7686 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7687 * gdb.cp/minsym-fallback-main.cc: New file.
7688 * gdb.cp/minsym-fallback.cc: New file.
7689 * gdb.cp/minsym-fallback.exp: New file.
7690 * gdb.cp/minsym-fallback.h: New file.
7691
7692 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7693
7694 * gdb.cp/no-dmgl-verbose.cc: New file.
7695 * gdb.cp/no-dmgl-verbose.exp: New file.
7696
7697 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7698
7699 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7700 __GI_.
7701 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7702 (f): New function.
7703 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7704 (complete p 'func<short>(): ... here.
7705 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7706 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7707 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7708 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7709 Make them KFAIL gcc/49546.
7710
7711 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7712
7713 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7714
7715 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7716
7717 Test GCC PR debug/49546.
7718 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7719 (test type of F in k3_m, test value of F in k3_m): New.
7720 * gdb.cp/temargs.cc (struct S3, struct K3): New.
7721 (main): New variable k3. Call k3.k3_m.
7722
7723 2011-07-01 Jean-Charles Delay <delay@adacore.com>
7724
7725 * gdb.ada/packed_array.exp: Fix expected outout.
7726
7727 2011-07-01 Jean-Charles Delay <delay@adacore.com>
7728
7729 * gdb.ada/packed_array.exp: fixed expected output.
7730
7731 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7732
7733 * gdb.ada/same_enum: New testcase.
7734
7735 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7736
7737 * gdb.ada/ptr_typedef: New testcase.
7738
7739 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7740
7741 * gdb.ada/arrayptr.exp: Add ptype test.
7742
7743 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7744
7745 * gdb.ada/char_enum: New testcase.
7746
7747 2011-07-01 Yao Qi <yao@codesourcery.com>
7748
7749 * gdb.base/dump.exp (capture_pointer_with_type): New.
7750 Get value from address instead of name.
7751 Start GDB once, and do `dump' and `restore'
7752 tests together.
7753
7754 2011-06-30 Jie Zhang <jie.zhang@analog.com>
7755 Mike Frysinger <vapier@gentoo.org>
7756
7757 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7758 helper functions for getting/setting remotetimeout variable.
7759 * lib/gdb.exp (gdb_load): If the target is remote, set
7760 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7761 with $loadtimeout. Set $load_ok to 0 before doing the load.
7762 Instead of returning, immediately, set $load_ok to 0. Call
7763 set_remotetimeout with $oldremotetimeout, and then return if
7764 $load_ok is 1.
7765
7766 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
7767
7768 * gdb.python/py-template.exp: Don't run this test if the target
7769 does not support c++ tests.
7770
7771 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7772
7773 Fix non-only rename list for Fortran modules import.
7774 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7775 tests.
7776 * gdb.fortran/module.f90 (module moduse): New.
7777 (program module): use moduse, test var_x, var_y and var_z.
7778
7779 2011-06-29 Tom Tromey <tromey@redhat.com>
7780
7781 PR testsuite/12040:
7782 * gdb.fortran/array-element.exp: Use f90, not f77.
7783 * gdb.fortran/complex.exp: Use f90, not f77.
7784 * gdb.fortran/derived-type.exp: Use f90, not f77.
7785 * gdb.fortran/library-module.exp: Use f90, not f77.
7786 * gdb.fortran/logical.exp: Use f90, not f77.
7787 * gdb.fortran/module.exp: Use f90, not f77.
7788 * gdb.fortran/multi-dim.exp: Use f90, not f77.
7789 * gdb.fortran/subarray.exp: Use f90, not f77.
7790
7791 2011-06-29 Tom Tromey <tromey@redhat.com>
7792
7793 * gdb.fortran/charset.exp: New file.
7794 * gdb.fortran/charset.f90: New file.
7795
7796 2011-06-29 Tom Tromey <tromey@redhat.com>
7797
7798 PR testsuite/12040:
7799 * lib/future.exp: New file, mostly extracted from ada.exp.
7800 Rewrote compatibility code to use rename.
7801 (gdb_find_gfortran): New proc.
7802 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7803 gfortran patch.
7804 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7805 Move to future.exp.
7806 * lib/gdb.exp: Always load future.exp.
7807
7808 2011-06-28 Yao Qi <yao@codesourcery.com>
7809
7810 * gdb.cp/exception.cc: Don't include iostream.
7811 (bar): Remove print statement.
7812 (catcher): New.
7813 (main): Remove print statements. Call function catcher.
7814 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7815 Set breakpoint on catcher, and check the value of parameter.
7816
7817 2011-06-23 Yao Qi <yao@codesourcery.com>
7818
7819 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7820 breakpoint 1.2 is disabled. KFAIL for uclinux.
7821
7822 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7823
7824 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7825 mi_gdb_test.
7826
7827 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7828
7829 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7830
7831 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7832
7833 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7834
7835 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7836
7837 * gdb.mi/mi2-basics.exp: Fix races. Honour the
7838 `test_exec_and_symbol_mi_operatons' return value.
7839 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7840 gdb_test_multiple.
7841 (test_exec_and_symbol_mi_operatons): Likewise.
7842 (test_path_specification): Likewise.
7843
7844 2011-06-23 Yao Qi <yao@codesourcery.com>
7845
7846 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
7847 supported.
7848 * lib/gdb.exp (support_displaced_stepping): New.
7849
7850 2011-06-23 Yao Qi <yao@codesourcery.com>
7851
7852 * gdb.threads/execl.exp: Skip on remote target.
7853
7854 2011-06-21 Marek Polacek <mpolacek@redhat.com>
7855
7856 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
7857 mi_gdb_test.
7858
7859 2011-06-20 Marek Polacek <mpolacek@redhat.com>
7860
7861 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
7862
7863 2011-06-20 Marek Polacek <mpolacek@redhat.com>
7864
7865 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
7866 mi_gdb_test.
7867
7868 2011-06-20 Marek Polacek <mpolacek@redhat.com>
7869
7870 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7871
7872 2011-06-14 Yao Qi <yao@codesourcery.com>
7873
7874 gdb/testsuite/
7875 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
7876
7877 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7878
7879 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
7880
7881 2011-06-10 Tom Tromey <tromey@redhat.com>
7882
7883 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
7884 Add tests for pointer-to-member-function.
7885 * gdb.cp/temargs.cc (S::somefunc): New function.
7886 (K2): New class.
7887 (main): Instantiate K2; call method.
7888
7889 2011-06-08 Joel Brobecker <brobecker@adacore.com>
7890
7891 * gdb.python/py-inferior.c (f2): Make str an array rather
7892 than a pointer.
7893 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
7894
7895 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7896
7897 * gdb.base/async-shell.c: New file.
7898 * gdb.base/async-shell.exp: New file.
7899
7900 2011-06-06 Pedro Alves <pedro@codesourcery.com>
7901
7902 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
7903
7904 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
7905
7906 From Stephen Kitt <steve@sk2.org>
7907 * gdb.base/help.exp: Adjust following some spelling corrections
7908 in GDB.
7909
7910 2011-06-01 Yao Qi <yao@codesourcery.com>
7911
7912 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
7913
7914 2010-05-31 Keith Seitz <keiths@redhat.com>
7915
7916 PR c++/12750
7917 * gdb.cp/static-method.cc: New file.
7918 * gdb.cp/static-method.exp: New file.
7919
7920 2010-05-31 Keith Seitz <keiths@redhat.com>
7921
7922 PR symtab/12704
7923 * gdb.cp/anon-ns.cc: New file.
7924 * gdb.cp/anon-ns.exp: New file.
7925
7926 2011-05-31 Pedro Alves <pedro@codesourcery.com>
7927
7928 * gdb.arch/i386-dr3-watch.c: New file.
7929 * gdb.arch/i386-dr3-watch.exp: New file.
7930
7931 2011-05-30 Yao Qi <yao@codesourcery.com>
7932
7933 * gdb.base/callfuncs.c (t_structs_fc): New.
7934 (t_structs_dc, t_structs_ldc): New.
7935 (t_double_many_args):
7936 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
7937 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
7938 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
7939 * gdb.base/callfuncs.exp: Call new functions.
7940
7941 2011-05-30 Yao Qi <yao@codesourcery.com>
7942
7943 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
7944 Call rerun_and_prepare for each test to isolate effects.
7945
7946 2011-05-30 Yao Qi <yao@codesourcery.com>
7947
7948 * gdb.base/varargs.c (find_max_float_real): New.
7949 (find_max_double_real, find_max_long_double_real): New.
7950 * gdb.base/varargs.exp: Call these new added functions.
7951 * lib/gdb.exp (setup_kfail_for_target): New.
7952
7953 2011-05-30 Yao Qi <yao@codesourcery.com>
7954
7955 * gdb.base/funcargs.c (callca, callcb, callcc): New.
7956 (callcd, callce, callcf, callc1a, callc1b): New.
7957 (callc2a, callc2b): New.
7958 * gdb.base/funcargs.exp (complex_args): New.
7959 (complex_integral_args, complex_float_integral_args): New.
7960 * lib/gdb.exp (support_complex_tests): New. Determine
7961 whether to run test cases on _Complex types.
7962
7963 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7964
7965 * gdb.threads/leader-exit.c: New file.
7966 * gdb.threads/leader-exit.exp: New file.
7967
7968 2011-05-27 Marek Polacek <mpolacek@redhat.com>
7969
7970 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
7971
7972 2011-05-27 Marek Polacek <mpolacek@redhat.com>
7973
7974 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
7975 remove the `supported' variable.
7976 * gdb.mi/mi-nonstop.exp: Likewise.
7977 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7978 * gdb.mi/mi-nsintrall.exp: Likewise.
7979 * gdb.mi/mi-nsmoribund.exp: Likewise.
7980 * gdb.mi/mi-nsthrexec.exp: Likewise.
7981
7982 2011-05-26 Pedro Alves <pedro@codesourcery.com>
7983
7984 * gdb.reverse/finish-reverse-bkpt.exp: New test.
7985
7986 2011-05-26 Pedro Alves <pedro@codesourcery.com>
7987
7988 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
7989
7990 2011-05-24 Keith Seitz <keiths@redhat.com>
7991
7992 PR breakpoint/12803
7993 * gdb.cp/cmpd-minsyms.cc (a): New method.
7994 (b): New method.
7995 (c): New method.
7996 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
7997
7998 2011-05-24 Pedro Alves <pedro@codesourcery.com>
7999
8000 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8001 watchpoint's command list didn't execute when the watchpoint went
8002 out of scope.
8003
8004 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8005
8006 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8007 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8008 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8009 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8010 * gdb.arch/i386-permbkpt.exp: Likewise.
8011 * gdb.arch/i386-prologue.exp: Likewise.
8012 * gdb.arch/i386-size-overlap.exp: Likewise.
8013 * gdb.arch/i386-size.exp: Likewise.
8014 * gdb.arch/i386-unwind.exp: Likewise.
8015 * gdb.reverse/i386-precsave.exp: Likewise.
8016 * gdb.reverse/i386-reverse.exp: Likewise.
8017 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8018 * gdb.reverse/i387-env-reverse.exp: Likewise.
8019 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8020
8021 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8022
8023 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8024 file doesn't error, using MI.
8025
8026 2011-05-23 Tom Tromey <tromey@redhat.com>
8027
8028 * gdb.base/charset.exp (string_display): Add tests to assign to
8029 arrays.
8030 * gdb.base/charset.c (short_array, int_array, long_array): New.
8031
8032 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8033
8034 Cope with async mode.
8035
8036 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8037 into gdb_test + mi_expect_stop.
8038
8039 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8040
8041 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8042 (callme): Remove printf call.
8043
8044 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8045
8046 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8047 quote pattern to avoid problems with Cygwin/mingw expect versions.
8048 * gdb.base/default.exp (show convenience): Use double
8049 quote pattern for regular expressions.
8050
8051 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8052
8053 Fix -readnow for -gdwarf-4 unused type units.
8054 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8055 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8056
8057 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8058
8059 * gdb.base/kill-after-signal.c: New file.
8060 * gdb.base/kill-after-signal.exp: New file.
8061
8062 2011-05-16 Pedro Alves <pedro@codesourcery.com>
8063
8064 * gdb.ada/start.exp: Call untested with the correct test filename.
8065 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8066 test filename. Make the test's binary unique.
8067 * gdb.arch/i386-signal.exp: Call untested with the correct test
8068 filename.
8069 * gdb.arch/i386-size-overlap.exp: Ditto.
8070 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8071 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8072 * gdb.cp/call-c.exp: Ditto.
8073 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8074 filename. Make the test's binary unique.
8075 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8076 * gdb.python/py-mi.exp: Ditto.
8077 * gdb.python/Makefile.in (EXECUTABLES): Update.
8078 * gdb.reverse/i386-precsave.exp: Ditto.
8079 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8080 test filename.
8081 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8082 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8083 unique.
8084 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8085 test filename.
8086 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8087 * gdb.trace/tfile.exp: Ditto.
8088
8089 2011-05-14 Yao Qi <yao@codesourcery.com>
8090
8091 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8092 type.
8093
8094 2011-05-13 Doug Evans <dje@google.com>
8095
8096 * gdb.python/py-objfile-script.exp: New file.
8097 * gdb.python/py-objfile-script.c: New file.
8098 * gdb.python/py-objfile-script-gdb.py: New file.
8099 * testsuite/gdb.python/py-section-script.exp: Test
8100 "info auto-load-scripts".
8101
8102 2011-05-13 Tom Tromey <tromey@redhat.com>
8103
8104 * gdb.dwarf2/clztest.exp: New file.
8105 * gdb.dwarf2/clztest.c: New file.
8106 * gdb.dwarf2/clztest.S: New file.
8107
8108 2011-05-13 Doug Evans <dje@google.com>
8109
8110 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8111 String16 tests.
8112
8113 2011-05-13 Tom Tromey <tromey@redhat.com>
8114
8115 * lib/gdb.exp (is_x86_like_target): New proc.
8116 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8117 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8118 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8119 -nostdlib to compiler.
8120 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8121 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8122 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8123 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8124 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8125
8126 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8127
8128 * gdb.python/py-function.exp: Test setting a value from a function
8129 which executes a command.
8130
8131 2011-05-12 Tom Tromey <tromey@redhat.com>
8132
8133 * gdb.dwarf2/typeddwarf.S: New file.
8134 * gdb.dwarf2/typeddwarf.c: New file.
8135 * gdb.dwarf2/typeddwarf.exp: New file.
8136
8137 2011-05-12 Marek Polacek <mpolacek@redhat.com>
8138
8139 * gdb.mi/mi-basics.exp: Fix races. Honour the
8140 `test_exec_and_symbol_mi_operatons' return value.
8141 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8142 gdb_test_multiple.
8143 (test_exec_and_symbol_mi_operatons): Likewise.
8144 (test_path_specification): Likewise.
8145
8146 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8147
8148 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8149 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8150 Replace `file copy' and `file rename' by `file mtime'. Twice.
8151
8152 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8153
8154 * gdb.base/readline-ask.c: New file.
8155 * gdb.base/readline-ask.exp: New file.
8156 * gdb.base/readline-ask.inputrc: New file.
8157
8158 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8159
8160 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8161 to avoid race condition.
8162 * gdb.cell/coremaker.c: Use small stack size.
8163 * gdb.cell/ea-standalone.exp: Use file name without path as
8164 argument to c_to.
8165 * gdb.cell/fork.exp: Allow other output when continuing to end.
8166
8167 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8168
8169 * gdb.threads/corethreads.c: New file.
8170 * gdb.threads/corethreads.exp: New file.
8171
8172 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8173
8174 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8175 Try to compile the test using -Wl,-z,norelro first.
8176 (load_core): New variable libthread_db_seen, initialize it.
8177 (zeroed-threads cannot be listed): Protect it by XFAIL on
8178 !$libthread_db_seen.
8179
8180 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8181
8182 PR 12573
8183 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8184 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8185 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8186
8187 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8188
8189 * gdb.cp/psymtab-parameter.cc: New file.
8190 * gdb.cp/psymtab-parameter.exp: New file.
8191
8192 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8193
8194 Fix a race.
8195 * gdb.cp/static-print-quit.exp (print c): Split to ...
8196 (print c - <return>, print c - q <return>, print c - to quit):
8197 ... these. Make the testfile untested on gdb-7.1.
8198
8199 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
8200
8201 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8202 gdb_rename_execfile, gdb_touch_execfile): New.
8203 * gdb.base/reread.exp: Use new procs to handle multiple
8204 exec files.
8205
8206 2011-05-05 Yao Qi <yao@codesourcery.com>
8207
8208 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8209 (test_adr_32bit, test_pop_pc): New.
8210 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8211 (test_adr_32bit, test_pop_pc): New.
8212
8213 2011-05-04 Joseph Myers <joseph@codesourcery.com>
8214
8215 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8216 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8217 targets.
8218 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8219 handle targets.
8220
8221 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8222
8223 * gdb.base/completion.exp (complete help info wat): Rename to ...
8224 (complete 'help info wat'): ... here.
8225 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8226 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8227
8228 2011-05-04 Pedro Alves <pedro@codesourcery.com>
8229
8230 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8231 gdb_test and explicit $gdb_prompt/timeout matches.
8232
8233 2011-05-04 Yao Qi <yao@codesourcery.com>
8234
8235 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8236 and __thumb2__.
8237
8238 2011-05-03 Marek Polacek <mpolacek@redhat.com>
8239
8240 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8241 in place of `gdb_test "delete breakpoints"'. This eliminates two
8242 testcases.
8243
8244 2011-05-02 Pedro Alves <pedro@codesourcery.com>
8245
8246 PR testsuite/12649
8247 Fix races.
8248
8249 * gdb.base/completion.exp: Remove all sleep calls. Remove
8250 unnecessary regexs. Don't explicitly expect anything after the
8251 prompt. Eat the prompt if necessary.
8252
8253 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8254
8255 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8256 accept to show the caller line again as well as the line after.
8257
8258 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8259
8260 PR mi/12531
8261
8262 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8263 compile target.
8264 * gdb.python/py-prettyprint.exp: Add C++ object for
8265 CPLUS_FAKE_CHILD test.
8266
8267 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8268
8269 * gdb.base/signest.exp: New file.
8270 * gdb.base/signest.c: Likewise.
8271
8272 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8273
8274 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8275 thread and breakpoint notifications.
8276
8277 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8278
8279 * gdb.base/fortran-sym-case.c: New file.
8280 * gdb.base/fortran-sym-case.exp: New file.
8281 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8282 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8283 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8284
8285 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8286
8287 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8288 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8289 false #1', `if true else false #2' and `if true else false #3'.
8290
8291 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8292
8293 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8294 while delivering signal.
8295
8296 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
8297
8298 MI breakpoint notifications.
8299
8300 * testsuite/gdb.mi/mi-cli.exp: Adust.
8301 * testsuite/gdb.mi/mi2-cli.exp: Adust.
8302 * testsuite/gdb.mi/mi-watch.exp: Adust.
8303 * testsuite/gdb.mi/mi2-watch.exp: Adust.
8304 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8305 notifications.
8306
8307 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8308
8309 * gdb.base/gdbindex-stabs-dwarf.c: New file.
8310 * gdb.base/gdbindex-stabs.c: New file.
8311 * gdb.base/gdbindex-stabs.exp: New file.
8312
8313 2011-04-25 Yao Qi <yao@codesourcery.com>
8314
8315 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8316 with /*...*/.
8317 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8318
8319 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8320
8321 * gdb.python/py-value.exp (test_objfiles): Name the first test
8322 `py-value in file.filename'.
8323
8324 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8325
8326 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8327 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8328 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8329 !gdbserver_reconnect_p..
8330 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8331
8332 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8333
8334 * gdb.cp/cpcompletion.exp (complete class methods)
8335 (complete class methods beginning with F): Move them above runto. New
8336 comment about the runto delimiter.
8337
8338 2011-04-20 Pedro Alves <pedro@codesourcery.com>
8339
8340 * gdb.base/maint.exp: Test that "maint print registers" works
8341 without a running program.
8342
8343 2011-04-20 Marek Polacek <mpolacek@redhat.com>
8344
8345 * gdb.base/setshow.exp: Fix racy tests.
8346 ($old_gdb_prompt): New variable.
8347
8348 2011-04-19 Tom Tromey <tromey@redhat.com>
8349
8350 * gdb.mi/mi-nsmoribund.exp:
8351 * gdb.hp/gdb.objdbg/objdbg01.exp:
8352 * gdb.base/structs.exp (test_struct_returns):
8353 * gdb.base/call-sc.exp (test_scalar_returns):
8354 * gdb.base/bigcore.exp: Remove duplicate words.
8355
8356 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8357
8358 * gdb.base/break-interp-lib.c (v, vptr): New variables.
8359 * gdb.base/break-interp.exp (test_attach): New comment.
8360
8361 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8362
8363 * gdb.threads/gcore-thread.exp ($core0file): New variable.
8364 (clear __stack_user.next, clear stack_used.next)
8365 (save a zeroed-threads corefile): New test.
8366 Call core_load for $core0file.
8367 (zeroed-threads cannot be listed): New test.
8368
8369 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8370
8371 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8372 filename.
8373 ($srcfile): Preserve the original value.
8374 ($testfile): Match it the .exp filename.
8375 ($corefile): New variable. Substitute it around.
8376 Use clean_restart.
8377 ($prev_timeout): Remove.
8378 (load_core): Move core loading into this proc.
8379 Fix restore of $timeout if load_core fails.
8380
8381 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8382
8383 * gdb.base/eu-strip-infcall.c: New file.
8384 * gdb.base/eu-strip-infcall.exp: New file.
8385
8386 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8387
8388 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8389 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8390
8391 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8392
8393 Fix Python access to inlined frames.
8394 * gdb.python/py-frame-inline.c: New file.
8395 * gdb.python/py-frame-inline.exp: New file.
8396
8397 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
8398
8399 * gdb.base/gdb1090.exp: Change breakpoint location to read the
8400 content of 's24' correctly (avoiding "optimized out").
8401 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8402
8403 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8404
8405 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8406
8407 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8408
8409 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8410 expect a colon in watch -location output.
8411
8412 2011-04-13 Marek Polacek <mpolacek@redhat.com>
8413
8414 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
8415 New testcase `expect response to define backtrace'. Also remove
8416 redundant `default' block.
8417
8418 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8419
8420 * gdb.python/py-prettyprint.c (struct hint_error): New.
8421 (main): New variable hint_error.
8422 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8423 "print hint_error".
8424 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8425 (register_pretty_printers): Register it.
8426
8427 2011-04-04 Tom Tromey <tromey@redhat.com>
8428
8429 * gdb.cp/maint.exp (test_help): Update.
8430 (test_namespace): Likewise.
8431
8432 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8433
8434 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8435 * gdb.ada/arrayptr.exp: Add new tests.
8436
8437 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8438
8439 * gdb.ada/mi_catch_ex: New testcase.
8440
8441 2011-04-01 Pedro Alves <pedro@codesourcery.com>
8442
8443 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8444 base::overload(void) method without specifying "const".
8445
8446 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
8447
8448 * gdb.arch/thumb-singlestep.S: New file.
8449 * gdb.arch/thumb-singlestep.exp: Likewise.
8450
8451 2011-03-31 Tom Tromey <tromey@redhat.com>
8452
8453 * gdb.python/py-prettyprint.py (exception_flag): New global.
8454 (NoStringContainerPrinter._iterator.next): Check it.
8455 * gdb.python/py-prettyprint.c (main): New variable nstype2.
8456 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8457
8458 2011-03-29 Tom Tromey <tromey@redhat.com>
8459
8460 * gdb.cp/anon-struct.cc: New file.
8461 * gdb.cp/anon-struct.exp: New file.
8462
8463 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8464
8465 Test STT_GNU_IFUNC support.
8466 * gdb.base/gnu-ifunc-lib.c: New file.
8467 * gdb.base/gnu-ifunc.c: New file.
8468 * gdb.base/gnu-ifunc.exp: New file.
8469
8470 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8471
8472 Support a ring of related breakpoints.
8473 * gdb.base/watchpoint-delete.c: New file.
8474 * gdb.base/watchpoint-delete.exp: New file.
8475
8476 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8477
8478 * gdb.ada/arrayparam.exp (print first after function call): Use
8479 explicit package name. Add a comment
8480 (print lasta after function call): Rename ...
8481 (print last after function call): ... it and use explicit package
8482 name.
8483 (print length after function call): Use explicit package name.
8484 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
8485 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
8486 (multiple matches for symbol i): Rename ...
8487 (multiple matches for symbol integervar): ... it.
8488 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
8489 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
8490
8491 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
8492
8493 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
8494 environment variable to make grep output more predictable. Move
8495 all the environment setup into gdb_init so it's done once per test
8496 case rather than each time we start gdb.
8497
8498 2011-03-24 Tom Tromey <tromey@redhat.com>
8499
8500 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
8501 test.
8502
8503 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8504
8505 * gdb.dwarf2/dw2-entry-value-main.c: New file.
8506 * gdb.dwarf2/dw2-entry-value.S: New file.
8507 * gdb.dwarf2/dw2-entry-value.exp: New file.
8508
8509 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
8510
8511 PR python/12183
8512
8513 * gdb.python/py-function.exp: Add GdbError tests.
8514
8515 2011-03-18 Pedro Alves <pedro@codesourcery.com>
8516
8517 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
8518 (reglocal_test_func, statlocal_test_func): New functions.
8519 (globals_test_func): Call new functions.
8520 * gdb.trace/unavailable.exp (gdb_collect_args_test)
8521 (gdb_collect_locals_test): New procedure.
8522 (gdb_trace_collection_test): Call new procedures.
8523
8524 2011-03-18 Pedro Alves <pedro@codesourcery.com>
8525
8526 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
8527 (test_register, test_register_unavailable): New procedures.
8528 (gdb_unavailable_registers_test): New procedure.
8529 (gdb_trace_collection_test): Call it.
8530
8531 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
8532
8533 PR python/12149
8534
8535 * gdb.python/python.exp: Add gdb.write tests.
8536
8537 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
8538
8539 * gdb.python/Makefile.in: Add py-objfile.
8540 * gdb.python/py-objfile.exp: New file.
8541 * gdb.python/py-objfile.c: New file.
8542 * gdb.python/py-block.exp: Add is_valid tests.
8543 * gdb.python/py-inferior.exp: Ditto.
8544 * gdb.python/py-infthread.exp: Ditto.
8545 * gdb.python/py-symbol.exp: Ditto.
8546 * gdb.python/py-symtab.exp: Ditto.
8547
8548 2011-03-16 Keith Seitz <keiths@redhat.com>
8549
8550 PR c++/12273
8551 * gdb.cp/cmpd-minsyms.exp: New test.
8552 * gdb.cp/cmpd-minsyms.cc: New file.
8553
8554 PR c++/11734
8555 * gdb.cp/ovsrch.exp: New test.
8556 * gdb.cp/ovsrch.h: New file.
8557 * gdb.cp/ovsrch1.cc: New file.
8558 * gdb.cp/ovsrch2.cc: New file.
8559 * gdb.cp/ovsrch3.cc: New file.
8560 * gdb.cp/ovsrch4.cc: New file.
8561
8562 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8563
8564 PR gdb/12528
8565 * gdb.base/Makefile.in: Adjust EXECUTABLES.
8566 * gdb.base/break-on-linker-gcd-function.exp: New test.
8567 * gdb.base/break-on-linker-gcd-function.cc: New file.
8568
8569 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
8570
8571 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
8572
8573 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
8574
8575 * lib/gdb.exp (gdb_unload): Add another termination case.
8576
8577 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8578
8579 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
8580 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
8581 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
8582 Provide a stub byte there.
8583 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
8584 DW_AT_entry_pc.
8585 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
8586
8587 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
8588
8589 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
8590 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
8591 "generic ABI, auto".
8592 (altivec_abi_tests): Accept vectors returned by reference.
8593
8594 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
8595
8596 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
8597
8598 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
8599
8600 * gdb.python/py-section-script.exp: Skip test if no Python support.
8601
8602 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8603
8604 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
8605
8606 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
8607
8608 * gdb.python/py-parameter.exp: Update tests to the new Python
8609 parameter API. Add "no documentation" test. Add deprecated API
8610 backward compatibility test.
8611
8612 2011-03-09 Tom Tromey <tromey@redhat.com>
8613
8614 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
8615 gdb_continue_to_end.
8616
8617 2011-03-09 Mark Kettenis <kettenis@gnu.org>
8618
8619 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
8620 tabs.
8621
8622 2011-03-09 Tom Tromey <tromey@redhat.com>
8623
8624 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
8625 parentheses.
8626 (gdb_continue_to_end): Add "allow_extra" parameter. Use
8627 $command.
8628 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8629 argument to gdb_continue_to_end.
8630 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
8631 argument to gdb_continue_to_end.
8632 * gdb.cp/annota3.exp: Fix regex.
8633 * gdb.cp/annota2.exp: Fix regex.
8634 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
8635 gdb_continue_to_end.
8636 * gdb.base/call-signal-resume.exp: Revert earlier patch.
8637 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
8638 gdb_continue_to_end.
8639
8640 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8641
8642 * gdb.server/ext-run.exp
8643 (load new file without any gdbserver inferior): New test.
8644
8645 2011-03-07 Tom Tromey <tromey@redhat.com>
8646
8647 * Makefile.in (TAGS): Rewrite.
8648
8649 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8650
8651 * gdb.trace/report.exp (12.1: trace report #1): New match for the
8652 initial commands echo. New match for `Found trace'. Anchor all the
8653 other matches. Anchor and match for `No trace frame found' the final
8654 match.
8655
8656 2011-03-07 Tom Tromey <tromey@redhat.com>
8657
8658 * Makefile.in (TAGS): New target.
8659
8660 2011-03-07 Tom Tromey <tromey@redhat.com>
8661
8662 * lib/opencl.exp (skip_opencl_tests): Update for exit message
8663 change.
8664 * lib/mi-support.exp (mi_gdb_test): Update for exit message
8665 change.
8666 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
8667 exit message change.
8668 (skip_altivec_tests): Update for exit message change.
8669 (skip_vsx_tests): Likewise.
8670 (gdb_continue_to_end): Likewise. Add 'command' argument.
8671 * lib/cell.exp (skip_cell_tests): Update for exit message change.
8672 * gdb.threads/tls.exp: Update for exit message change.
8673 * gdb.threads/thread-unwindonsignal.exp: Use
8674 gdb_continue_to_end.
8675 * gdb.threads/step.exp (step_it): Update for exit message change.
8676 (continue_all): Likewise.
8677 * gdb.threads/print-threads.exp (test_all_threads): Update for
8678 exit message change.
8679 * gdb.threads/interrupted-hand-call.exp: Use
8680 gdb_continue_to_end.
8681 * gdb.threads/execl.exp: Use gdb_continue_to_end.
8682 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
8683 gdb_continue_to_end.
8684 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
8685 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8686 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8687 * gdb.cp/method.exp: Update for exit message change.
8688 * gdb.cp/mb-templates.exp: Update for exit message change.
8689 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8690 * gdb.cp/annota3.exp: Update for exit message change.
8691 * gdb.cp/annota2.exp: Update for exit message change.
8692 * gdb.cell/fork.exp: Use gdb_continue_to_end.
8693 * gdb.base/term.exp: Update for exit message change.
8694 * gdb.base/step-test.exp (test_i): Update for exit message change.
8695 * gdb.base/sigstep.exp (advance): Update for exit message change.
8696 (advancei): Likewise.
8697 * gdb.base/siginfo.exp: Update for exit message change.
8698 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8699 * gdb.base/reread.exp: Use gdb_continue_to_end.
8700 * gdb.base/langs.exp: Use gdb_continue_to_end.
8701 * gdb.base/interrupt.exp: Update for exit message change.
8702 * gdb.base/gdb1555.exp: Update for exit message change.
8703 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8704 * gdb.base/ending-run.exp: Update for exit message change.
8705 * gdb.base/chng-syms.exp: Update for exit message change.
8706 * gdb.base/checkpoint.exp: Update for exit message change.
8707 * gdb.base/catch-syscall.exp (check_for_program_end): Use
8708 gdb_continue_to_end.
8709 (test_catch_syscall_with_wrong_args): Likewise.
8710 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8711 * gdb.base/break-interp.exp (test_ld): Update for exit message
8712 change.
8713 * gdb.base/bang.exp: Update for exit message change.
8714 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8715 (do_call_attach_tests): Likewise.
8716 * gdb.base/a2-run.exp: Update for exit message change.
8717 * gdb.arch/ppc-dfp.exp: Update for exit message change.
8718 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8719 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8720
8721 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8722
8723 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8724
8725 2011-03-03 Tom Tromey <tromey@redhat.com>
8726
8727 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8728 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8729 * gdb.hp/gdb.aCC/configure.ac: Remove.
8730 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8731 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8732 * gdb.hp/gdb.base-hp/configure.ac: Remove.
8733 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8734 * gdb.hp/gdb.compat/configure (Makefile): Remove.
8735 * gdb.hp/gdb.compat/configure.ac: Remove.
8736 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8737 * gdb.hp/gdb.defects/configure (Makefile): Remove.
8738 * gdb.hp/gdb.defects/configure.ac: Remove.
8739 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8740 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8741 * gdb.hp/gdb.objdbg/configure.ac: Remove.
8742 * gdb.hp/configure.ac: Remove.
8743 * gdb.hp/configure: Remove.
8744 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8745 substitution.
8746 (Makefile): Remove rule.
8747 * gdb.cell/configure.ac: Remove.
8748 * gdb.cell/configure: Remove.
8749 * gdb.stabs/Makefile.in (Makefile): Remove.
8750 (distclean): Don't remove config.status or config.log.
8751 * gdb.stabs/configure (Makefile): Remove.
8752 * gdb.stabs/configure.ac: Remove.
8753 * configure: Rebuild.
8754 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8755 Remove stabs- and cell-specific logic. Test for existence of
8756 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
8757 subdirectories, gdb.cell, and and gdb.stabs.
8758 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8759
8760 2011-03-03 Joel Brobecker <brobecker@adacore.com>
8761
8762 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8763 end of buffer.
8764
8765 2011-03-02 Joel Brobecker <brobecker@adacore.com>
8766
8767 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8768 gdb_test when running a test where we expected no output back.
8769
8770 2011-02-28 Michael Snyder <msnyder@vmware.com>
8771
8772 * gdb.cp/overload.cc: Change initializer value to integer.
8773
8774 2011-02-27 Michael Snyder <msnyder@vmware.com>
8775
8776 * gdb.multi/base.exp: Add test for remove-inferiors.
8777
8778 2011-02-26 Joel Brobecker <brobecker@adacore.com>
8779
8780 * gdb.python/py-frame.exp: Simplify the initialization phase
8781 using prepare_for_testing.
8782
8783 2011-02-25 Michael Snyder <msnyder@vmware.com>
8784
8785 * gdb.multi/base.exp: Add tests for info inferiors with args.
8786
8787 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8788
8789 * gdb.dwarf2/dw2-ranges.S: Rename to ...
8790 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8791 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8792 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8793 asmfile3. Comment the STABS (#3) file compilation. Compile
8794 everything through assembler. Provide KFAIL for symtab/12497.
8795 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8796 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8797 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8798 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8799
8800 2011-02-24 Michael Snyder <msnyder@vmware.com>
8801
8802 * gdb.base/break.exp: Add tests for delete breakpoints using
8803 convenience variables and value history references.
8804
8805 2011-02-24 Michael Snyder <msnyder@vmware.com>
8806
8807 * gdb.base/break.exp: Remove debugging 'printf' accidentally
8808 left behind in previous check-in.
8809
8810 2011-02-23 Michael Snyder <msnyder@vmware.com>
8811
8812 * gdb.base/break.exp: Add tests for "info break" with arguments.
8813 * gdb.trace/infotrace.exp: Update patterns for error and help.
8814 * gdb.base/completion.exp: Update pattern.
8815 * gdb.base/ena-dis-br.exp: Update pattern.
8816 * gdb.base/help.exp: Update patterns.
8817
8818 2011-02-23 Michael Snyder <msnyder@vmware.com>
8819
8820 * gdb.base/memattr.exp: New test.
8821 * gdb.base/memattr.c: Test load for memattr.exp.
8822
8823 2011-02-22 Doug Evans <dje@google.com>
8824
8825 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8826
8827 2011-02-22 Michael Snyder <msnyder@vmware.com>
8828
8829 * Makefile.in: Make more clean.
8830 * gdb.ada/Makefile.in: Ditto.
8831 * gdb.arch/Makefile.in: Ditto.
8832 * gdb.asm/Makefile.in: Ditto.
8833 * gdb.base/Makefile.in: Ditto.
8834 * gdb.cp/Makefile.in: Ditto.
8835 * gdb.dwarf2/Makefile.in: Ditto.
8836 * gdb.java/Makefile.in: Ditto.
8837 * gdb.mi/Makefile.in: Ditto.
8838 * gdb.modula2/Makefile.in: Ditto.
8839 * gdb.python/Makefile.in: Ditto.
8840 * gdb.server/Makefile.in: Ditto.
8841 * gdb.stabs/Makefile.in: Ditto.
8842 * gdb.threads/Makefile.in: Ditto.
8843 * gdb.trace/Makefile.in: Ditto.
8844
8845 2011-02-22 Michael Snyder <msnyder@vmware.com>
8846
8847 * gdb.threads/thread-find.exp: Add tests for bad input to
8848 info threads.
8849
8850 2011-02-22 Joel Brobecker <brobecker@adacore.com>
8851
8852 * gdb.python/py-breakpoint.exp: Fix the expected output of
8853 one of the "maint info breakpoints" tests to accept the output
8854 generated on platforms that do not have hardware watchpoints.
8855
8856 2011-02-22 Joel Brobecker <brobecker@adacore.com>
8857
8858 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
8859 clean_restart. Be a little stricter in the expected output
8860 for one of the tests. Fix a typo in one of the comments.
8861
8862 2011-02-22 Joel Brobecker <brobecker@adacore.com>
8863
8864 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
8865 Delete variable binfile, no longer use. Add or modify test
8866 comments to make them unique.
8867
8868 2011-02-21 Michael Snyder <msnyder@vmware.com>
8869
8870 * Makefile.in: Update for make clean.
8871 * gdb.ada/Makefile.in: Ditto.
8872 * gdb.arch/Makefile.in: Ditto.
8873 * gdb.asm/Makefile.in: Ditto.
8874 * gdb.base/Makefile.in: Ditto.
8875 * gdb.cp/Makefile.in: Ditto.
8876 * gdb.dwarf2/Makefile.in: Ditto.
8877 * gdb.java/Makefile.in: Ditto.
8878 * gdb.mi/Makefile.in: Ditto.
8879 * gdb.modula2/Makefile.in: Ditto.
8880 * gdb.python/Makefile.in: Ditto.
8881 * gdb.server/Makefile.in: Ditto.
8882 * gdb.stabs/Makefile.in: Ditto.
8883 * gdb.threads/Makefile.in: Ditto.
8884 * gdb.trace/Makefile.in: Ditto.
8885
8886 2011-02-21 Michael Snyder <msnyder@vmware.com>
8887
8888 * gdb.threads/thread-find.exp: Update patterns for changes in
8889 output of "info threads" command.
8890
8891 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8892 Ulrich Weigand <uweigand@de.ibm.com>
8893
8894 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
8895 (skip_hw_watchpoint_tests): Likewise.
8896 (skip_hw_watchpoint_multi_tests): Likewise.
8897
8898 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
8899
8900 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
8901 (skip_hw_watchpoint_tests): Likewise.
8902 (skip_hw_watchpoint_multi_tests): Likewise.
8903 (skip_hw_watchpoint_access_tests): Likewise.
8904
8905 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
8906 * gdb.base/pr11022.exp: Likewise.
8907 * gdb.base/watch-read.exp: Likewise.
8908 * gdb.base/watch_thread_num.exp: Likewise.
8909 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8910 * gdb.base/watchpoint-hw.exp: Likewise.
8911 * gdb.base/watchpoint.exp: Likewise.
8912 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
8913 * gdb.threads/watchthreads-reorder.exp: Likewise.
8914 * gdb.threads/watchthreads.exp: Likewise.
8915 * gdb.threads/watchthreads2.exp: Likewise.
8916
8917 2011-02-21 Joel Brobecker <brobecker@adacore.com>
8918
8919 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
8920 the debugger is unable to find the array bounds.
8921
8922 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8923
8924 * gdb.cp/typedef-operator.exp: New file.
8925 * gdb.cp/typedef-operator.cc: New file.
8926
8927 2011-02-17 Michael Snyder <msnyder@vmware.com>
8928
8929 * gdb.threads/thread-find.exp: Fix regular expressions.
8930
8931 2011-02-17 Joel Brobecker <brobecker@adacore.com>
8932
8933 * gdb.ada/packed_array: Expand testcase to test printing of
8934 unconstrained packed array.
8935
8936 2011-02-17 Joel Brobecker <brobecker@adacore.com>
8937
8938 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
8939
8940 2011-02-16 Pedro Alves <pedro@codesourcery.com>
8941
8942 * gdb.trace/collection.c (globalarr3): New global.
8943 (main): Initialize it before collecting, and and clear it
8944 afterwards.
8945 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8946 collecting with '{type} addr', where the addr expression is not an
8947 rvalue.
8948
8949 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
8950
8951 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
8952 a bool variable. Expect correct OpenCL names for vector types. Use the
8953 uc3 variable name instead of referring to the uchar3 built-in type.
8954 Escape the asterisk at the half pointer test.
8955
8956 2011-02-16 Pedro Alves <pedro@codesourcery.com>
8957
8958 * gdb.trace/collection.c (globalarr2): New global.
8959 (main): Initialize it before collecting, and and clear it
8960 afterwards.
8961 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8962 collecting overlapping memory ranges.
8963
8964 2011-02-15 Michael Snyder <msnyder@vmware.com>
8965
8966 * gdb.base/default.exp: Add tests for thread commands.
8967 * gdb.base/help.exp: Add tests for thread commands.
8968 * gdb.threads/thread-find.exp: New test for thread find command.
8969
8970 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
8971
8972 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
8973
8974 2011-02-15 Yao Qi <yao@codesourcery.com>
8975
8976 PR tdep/12352
8977 * gdb.arch/arm-disp-step.S : New test for str instruction.
8978 * gdb.arch/arm-disp-step.exp : Likewise.
8979
8980 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
8981
8982 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
8983 "vector_register2_vr" test strings. Test the extended floating
8984 point registers (F32~F63).
8985 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
8986 IBM XL C compiler. Make the test program use a register provided
8987 by the compiler for the lxvd2x instruction.
8988
8989 2011-02-14 Pedro Alves <pedro@codesourcery.com>
8990
8991 * gdb.trace/unavailable.cc (class Base, class Middle, class
8992 Derived): New types.
8993 (derived_unavail, derived_partial, derived_whole): New globals.
8994 (virtual_partial): New global.
8995 (virtualp): Point at virtual_partial.
8996 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
8997 related to unavailable vptr.
8998
8999 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9000
9001 * gdb.trace/unavailable.cc (a, b, c): New globals.
9002 (main): Set and clear them.
9003 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9004 `a' and `c', and check that `b' isn't collected, although `a' and
9005 `c' are.
9006
9007 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9008
9009 * gdb.trace/unavailable.cc (struct Virtual): New.
9010 (virtualp): New global pointer.
9011 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9012 printing a pointer to an object whose type has a vtable, with
9013 print object on.
9014
9015 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9016
9017 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9018 value repeat handles unavailableness.
9019
9020 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9021
9022 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9023 tests for building arrays from unavailable values, subscripting
9024 non-memory rvalue unvailable arrays, and accessing fields or
9025 baseclasses of non-lazy unavailable values,
9026 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9027 struct types.
9028 (g_smallstruct, g_smallstruct_b): New globals.
9029
9030 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9031
9032 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9033
9034 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9035
9036 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9037 * gdb.cp/overload-const.exp: New file.
9038 * gdb.cp/overload-const.cc: New file.
9039
9040 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9041
9042 * gdb.opencl/callfuncs.cl: New file.
9043 * gdb.opencl/callfuncs.exp: New test.
9044 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9045
9046 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9047
9048 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9049 when computing result.
9050 * gdb.arch/altivec-abi.exp: Update expected results.
9051
9052 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9053
9054 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9055 * gdb.base/jit.exp: Likewise.
9056 * gdb.base/pie-execl.exp: Likewise.
9057 * gdb.base/solib-nodir.exp: Likewise.
9058 * gdb.base/solib-overlap.exp: Likewise.
9059
9060 2011-02-07 Pedro Alves <pedro@codesourcery.com>
9061
9062 * gdb.trace/collection.c (global_pieces): New.
9063 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9064 New procedure.
9065 (gdb_trace_collection_test): Call it.
9066
9067 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9068
9069 * gdb.python/py-evthreads.c: New file.
9070 * gdb.python/py-evthreads.exp: New file.
9071 * gdb.python/py-events.py: New file.
9072 * gdb.python/py-events.exp: New file.
9073 * gdb.python/py-events.c: New file.
9074
9075 2011-02-04 David Daney <ddaney@caviumnetworks.com>
9076
9077 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9078
9079 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
9080
9081 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9082 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9083 boundary between two compilation units.
9084
9085 2011-02-02 Pedro Alves <pedro@codesourcery.com>
9086
9087 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9088 (Virtual): New structs.
9089 (virtual_o, virtual_middle_b): New globals.
9090 * gdb.cp/virtbase.exp: New tests.
9091
9092 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9093
9094 * gdb.base/jit.exp: New file.
9095 * gdb.base/jit-main.c: New file.
9096 * gdb.base/jit-solib.c: New file.
9097
9098 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9099
9100 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9101 proceed to initial kernel entry point.
9102 * gdb.opencl/datatypes.exp: Likewise.
9103 * gdb.opencl/operators.exp: Likewise.
9104 * gdb.opencl/vec_comps.exp: Likewise.
9105
9106 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9107
9108 * gdb.cp/nsnested.cc: New.
9109 * gdb.cp/nsnested.exp: New.
9110 * gdb.cp/nsnoimports.exp: New.
9111 * gdb.cp/nsnoimports.cc: New.
9112
9113 2011-01-31 Joel Brobecker <brobecker@adacore.com>
9114
9115 * gdb.base/interact.exp: Add extra tests that verify that
9116 the value of the interactive-mode setting does not change
9117 after the script is sourced.
9118
9119 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9120
9121 * gdb.cp/noparam.exp: New file.
9122 * gdb.cp/noparam.cc: New file.
9123
9124 2011-01-28 Pedro Alves <pedro@codesourcery.com>
9125
9126 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9127 there's no stack or registers.
9128
9129 2011-01-26 Tom Tromey <tromey@redhat.com>
9130
9131 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9132 space before string output. Add test for "set print pretty off"
9133 case.
9134
9135 2011-01-25 Pedro Alves <pedro@codesourcery.com>
9136
9137 * gdb.base/frame-args.exp: Adjust.
9138 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9139 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9140 * gdb.dwarf2/pieces.exp: Adjust.
9141 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9142 * gdb.opt/inline-locals.exp: Adjust.
9143 * gdb.threads/fork-child-threads.exp: Adjust.
9144
9145 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
9146
9147 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9148 OpenCL kernel function. Add a comment as marker. Add address space
9149 qualifiers for the remaining program scope variables.
9150 * gdb.opencl/datatypes.cl: Likewise.
9151 * gdb.opencl/operators.cl: Likewise.
9152 * gdb.opencl/vec_comps.cl: Likewise.
9153 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9154 Add breakpoint at the marker comment.
9155 * gdb.opencl/datatypes.exp: Likewise.
9156 * gdb.opencl/operators.exp: Likewise.
9157 * gdb.opencl/vec_comps.exp: Likewise.
9158
9159 2011-01-24 Pedro Alves <pedro@codesourcery.com>
9160
9161 * gdb.base/printcmds.c (some_struct): New struct and instance.
9162 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9163 procedure.
9164 <global scope>: Call it.
9165
9166 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
9167
9168 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9169 argument to the gdb_compile_opencl_hostapp call.
9170
9171 2011-01-19 Yao Qi <yao@codesourcery.com>
9172
9173 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9174 positve list.
9175
9176 2011-01-19 Yao Qi <yao@codesourcery.com>
9177
9178 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9179 canonical form.
9180 Remove "xscale-*-*"
9181 * gdb.xml/tdesc-regs.exp: Likewise.
9182 * gdb.python/py-section-script.exp: Replace ARM target triplet
9183 with canonical form.
9184 Match arm*-*-symbianelf*.
9185 * gdb.base/dup-sect.exp: Likewise.
9186 * lib/dwarf.exp: New.
9187 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9188 dwarf2_support.
9189 * gdb.dwarf2/dup-psym.exp: Likewise.
9190 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9191 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9192 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9193 * gdb.dwarf2/dw2-basic.exp: Likewise.
9194 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9195 * gdb.dwarf2/dw2-const.exp: Likewise.
9196 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9197 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9198 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9199 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9200 * gdb.dwarf2/dw2-filename.exp: Likewise.
9201 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9202 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9203 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9204 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9205 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9206 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9207 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9208 * gdb.dwarf2/dw2-producer.exp: Likewise.
9209 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9210 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9211 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9212 * gdb.dwarf2/dw2-strp.exp: Likewise.
9213 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9214 * gdb.dwarf2/implptr.exp: Likewise.
9215 * gdb.dwarf2/mac-fileno.exp: Likewise.
9216 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9217 * gdb.dwarf2/pieces.exp: Likewise.
9218 * gdb.dwarf2/pr11465.exp: Likewise.
9219 * gdb.dwarf2/valop.exp: Likewise.
9220 * gdb.dwarf2/watch-notconst.exp: Likewise.
9221 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9222
9223 2011-01-19 Tom Tromey <tromey@redhat.com>
9224
9225 * gdb.python/py-infthread.exp: Add thread tests.
9226
9227 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9228
9229 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9230
9231 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9232
9233 * gdb.ada/widewide: New testcase.
9234
9235 2011-01-13 Joel Brobecker <brobecker@adacore.com>
9236
9237 * gdb.base/interact.exp: New testcase.
9238
9239 2011-01-12 Tom Tromey <tromey@redhat.com>
9240
9241 * gdb.mi/gdb2549.exp: Update for error message changes.
9242 * gdb.mi/mi-cli.exp: Likewise.
9243 * gdb.mi/mi-disassemble.exp: Likewise.
9244 * gdb.mi/mi-pthreads.exp: Likewise.
9245 * gdb.mi/mi-regs.exp: Likewise.
9246 * gdb.mi/mi-stack.exp: Likewise.
9247 * gdb.mi/mi-var-block.exp: Likewise.
9248 * gdb.mi/mi-var-cmd.exp: Likewise.
9249 * gdb.mi/mi2-cli.exp: Likewise.
9250 * gdb.mi/mi2-disassemble.exp: Likewise.
9251 * gdb.mi/mi2-pthreads.exp: Likewise.
9252 * gdb.mi/mi2-regs.exp: Likewise.
9253 * gdb.mi/mi2-stack.exp: Likewise.
9254 * gdb.mi/mi2-var-block.exp: Likewise.
9255 * gdb.mi/mi2-var-cmd.exp: Likewise.
9256
9257 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9258 Jan Kratochvil <jan.kratochvil@redhat.com>
9259
9260 PR fortran/11104 and DWARF unbound arrays detection.
9261 * gdb.fortran/multi-dim.exp: New file.
9262 * gdb.fortran/multi-dim.f90: New file.
9263
9264 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9265
9266 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9267 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9268 add new tests for opcode dumping.
9269
9270 2011-01-11 Tom Tromey <tromey@redhat.com>
9271
9272 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9273
9274 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9275
9276 Convert hardware watchpoints to use breakpoint_ops.
9277 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9278 type is not supported.
9279 * gdb.base/foll-fork.exp: Likewise.
9280 * gdb.base/foll-vfork.exp: Likewise.
9281
9282 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9283
9284 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9285 Use load_lib gdb-python.exp.
9286 * gdb.python/python.exp: Ditto.
9287 * gdb.python/py-function.exp: Ditto.
9288
9289 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9290
9291 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9292
9293 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9294
9295 * configure: Regenerate.
9296
9297 2011-01-06 Tom Tromey <tromey@redhat.com>
9298
9299 * gdb.python/py-frame.exp: Test gdb.newest_frame.
9300
9301 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9302
9303 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9304 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9305 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9306 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9307 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9308 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9309 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9310 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9311 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9312 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9313 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9314 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9315 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9316 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9317 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9318 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9319 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9320 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9321 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9322 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9323 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9324 gdb.ada/uninitialized_vars.exp,
9325 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9326 Simplify by using clean_restart.
9327
9328 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9329
9330 Add marker to be used as anchor for inserting breakpoints.
9331 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9332 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9333 Likewise.
9334
9335 Remove uses of gdb_start_cmd.
9336 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9337 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9338
9339 Do not run testcase if testing with GDBserver.
9340 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9341 if testing with GDBserver.
9342
9343 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9344
9345 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9346 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9347 copyright header.
9348
9349 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9350
9351 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9352 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9353 testsuite/gdb.fortran/complex.f,
9354 testsuite/gdb.fortran/derived-type.f90,
9355 testsuite/gdb.fortran/library-module-lib.f90,
9356 testsuite/gdb.fortran/library-module-main.f90,
9357 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9358 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9359 Copyright year update.
9360
9361 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9362
9363 * gdb.base/langs1.f: Add copyright header.
9364
9365 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9366
9367 * gdb.base/morestack.exp: New file.
9368 * gdb.base/morestack.c: New file.
9369
9370 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9371
9372 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9373
9374 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9375
9376 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9377 * gdb.ada/arrayptr.exp: Add test printing that new variable.
9378
9379 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9380
9381 * gdb.ada/lang_switch.exp: Correct expected parameter value.
9382
9383 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
9384
9385 * gdb.threads/tls.exp: Fix typo.
9386
9387 * gdb.threads/thread-specific.exp (get_thread_list): Update.
9388 * gdb.threads/execl.exp: Update.
9389
9390 2010-12-23 Yao Qi <yao@codesourcery.com>
9391
9392 * gdb.arch/arm-disp-step.exp: New.
9393 * gdb.arch/arm-disp-step.S: New.
9394
9395 2010-12-21 Tom Tromey <tromey@redhat.com>
9396
9397 * gdb.threads/execl.exp: Update.
9398 * gdb.threads/linux-dp.exp: Update.
9399 * gdb.threads/manythreads.exp: Update.
9400 * gdb.threads/tls.exp: Update.
9401
9402 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9403
9404 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9405 (NextOverThrowDerivates) <resumebpt>: New.
9406 (resumebpt_test): New.
9407 (main): Call resumebpt_test.
9408 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9409
9410 2010-12-12 Stan Shebs <stan@codesourcery.com>
9411
9412 * gdb.trace/tsv.exp: Test print command on trace state variables.
9413
9414 2010-12-09 Tom Tromey <tromey@redhat.com>
9415
9416 * gdb.base/interp.exp: Add regression test.
9417
9418 2010-12-09 Tom Tromey <tromey@redhat.com>
9419
9420 * gdb.java/jnpe.java: New file.
9421 * gdb.java/jnpe.exp: New file.
9422 * gdb.cp/nextoverthrow.exp: New file.
9423 * gdb.cp/nextoverthrow.cc: New file.
9424
9425 2010-12-07 Doug Evans <dje@google.com>
9426
9427 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9428 of data-directory.
9429 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9430 updated.
9431 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9432
9433 2010-11-29 Michael Snyder <msnyder@vmware.com>
9434
9435 * gdb.base/callfuncs.exp: Test for skip_float_tests.
9436 * gdb.base/call-sc.exp: Ditto.
9437 * gdb.base/finish.exp: Ditto.
9438 * gdb.base/return.exp: Ditto.
9439 * gdb.base/return2.exp: Ditto.
9440
9441 2010-11-30 Doug Evans <dje@google.com>
9442
9443 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9444 (gdb_expect_list): Fix spelling errors in comments.
9445 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9446 send_gdb/gdb_expect_list where applicable.
9447 * gdb.base/call-ar-st.exp: Ditto.
9448 * gdb.base/funcargs.exp: Ditto.
9449 * gdb.base/gcore.exp: Ditto.
9450 * gdb.base/page.exp: Ditto.
9451 * gdb.base/sigaltstack.exp: Ditto.
9452 * gdb.base/siginfo.exp: Ditto.
9453 * gdb.base/sigstep.exp: Ditto.
9454 * gdb.base/trace-commands.exp: Ditto.
9455
9456 2010-11-29 Doug Evans <dje@google.com>
9457
9458 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
9459 printer-name;subprinter-name.
9460
9461 2010-11-29 Tom Tromey <tromey@redhat.com>
9462
9463 * gdb.dwarf2/implptr.exp: New file.
9464 * gdb.dwarf2/implptr.c: New file.
9465 * gdb.dwarf2/implptr.S: New file.
9466
9467 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
9468
9469 PR python/12199
9470
9471 * gdb.python/py-breakpoint.exp: Test the delete method.
9472
9473 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9474
9475 Fix step_resume_breakpoint unsaved during an infcall.
9476 * gdb.base/step-resume-infcall.exp: New file.
9477 * gdb.base/step-resume-infcall.c: New file.
9478
9479 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
9480
9481 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
9482
9483 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
9484
9485 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
9486 on ppc64's symbols; "finish" and "return" commands must accept to
9487 show the caller line again as well as the line after.
9488 * gdb.asm/powerpc64.inc: New file.
9489
9490 2010-11-23 Doug Evans <dje@google.com>
9491
9492 * lib/gdb.exp (gdb_test_sequence): New function.
9493 (gdb_expect_list): Add verbose -log call for each pattern.
9494 * gdb.base/signals.exp (test_handle_all_print): Call it.
9495 Reduce timeout increment from 6 minutes to 1 minute.
9496 * gdb.server/ext-run.exp: Call it.
9497
9498 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
9499
9500 PR python/12212
9501
9502 * gdb.python/python.exp: Check that selected_thread raises an
9503 error when no inferior is loaded.
9504
9505 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9506
9507 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
9508 * gdb.dwarf2/dw2-stack-boundary.S: New file.
9509
9510 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9511
9512 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
9513 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
9514
9515 2010-11-18 Doug Evans <dje@google.com>
9516
9517 * gdb.server/ext-run.exp: Fix intermittent failures.
9518
9519 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9520
9521 * gdb.stabs/gdb11479.exp: Use runto_main.
9522
9523 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9524
9525 * gdb.base/break-entry.exp: Skip if using a stub.
9526
9527 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9528
9529 * gdb.python/py-inferior.exp: Pack values in target endianness.
9530
9531 2010-11-12 Tom Tromey <tromey@redhat.com>
9532
9533 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
9534 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
9535 MemoryError.
9536 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
9537 type.
9538 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
9539 MemoryError.
9540 (test_subscript_regression): Update exception type.
9541
9542 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
9543
9544 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
9545 breakpoint tests.
9546
9547 2010-11-09 Pedro Alves <pedro@codesourcery.com>
9548
9549 * gdb.base/watchpoint.exp: Test "watch -location" with an
9550 innacessible location.
9551
9552 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
9553 Luis Machado <luisgpm@br.ibm.com>
9554
9555 * gdb.base/maint.exp: Expect "." prefix.
9556 * gdb.base/nodebug.exp: Expect "." Likewise.
9557 * gdb.base/sepsymtab.exp: Expect "." Likewise.
9558 * gdb.base/watchpoint-cond-gone.exp: Likewise.
9559 * gdb.base/watchpoint.exp: Expect a software watch to be created for
9560 POWER server processors.
9561
9562 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
9563 Luis Machado <luisgpm@br.ibm.com>
9564
9565 * gdb.base/break-entry.exp: convert entry point for
9566 ppc64 and expect leading `.' on ppc64's symbols
9567
9568 2010-11-05 Doug Evans <dje@google.com>
9569
9570 * gdb.base/help.exp: Update expected output.
9571 * gdb.python/py-param.exp: Delete, contents moved to ...
9572 * gdb.python/py-parameter.exp: ... here. New file.
9573 Add test for gdb.parameter ("directories").
9574
9575 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
9576
9577 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
9578 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
9579 * configure: Regenerate.
9580 * gdb.opencl/Makefile.in: New File.
9581 * gdb.opencl/datatypes.exp: Likewise.
9582 * gdb.opencl/datatypes.cl: Likewise.
9583 * gdb.opencl/operators.exp: Likewise.
9584 * gdb.opencl/operators.cl: Likewise.
9585 * gdb.opencl/vec_comps.exp: Likewise.
9586 * gdb.opencl/vec_comps.cl: Likewise.
9587 * gdb.opencl/convs_casts.exp: Likewise.
9588 * gdb.opencl/convs_casts.cl: Likewise.
9589 * lib/opencl.exp: Likewise.
9590 * lib/opencl_hostapp.c: Likewise.
9591 * lib/opencl_kernel.cl: Likewise.
9592 * lib/cl_util.c: Likewise.
9593 * lib/cl_util.c: Likewise.
9594 * gdb.base/default.exp (set language): Add "opencl" to the list of
9595 languages.
9596
9597 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
9598
9599 * gdb.cp/overload.exp: Added test for inheritance overload.
9600 * gdb.cp/overload.cc: Ditto.
9601 * gdb.cp/oranking.exp: Removed releveant kfails.
9602
9603 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9604 Joel Brobecker <brobecker@adacore.com>
9605
9606 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
9607 check test_compiler_info.
9608
9609 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9610
9611 * gdb.base/gnu_vector.exp: Adjust expect messages.
9612
9613 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9614
9615 * gdb.base/gnu_vector.exp: Add unary operator tests.
9616
9617 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9618
9619 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
9620
9621 2010-11-02 Doug Evans <dje@google.com>
9622
9623 * gdb.python/py-pp-maint.c: New file.
9624 * gdb.python/py-pp-maint.exp: New file.
9625 * gdb.python/py-pp-maint.py: New file.
9626
9627 2010-11-02 Tom Tromey <tromey@redhat.com>
9628
9629 * gdb.base/default.exp: Remove "scheme" from language list.
9630
9631 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9632
9633 Revert:
9634 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9635 * gdb.threads/sigstep-threads.exp: New file.
9636 * gdb.threads/sigstep-threads.c: New file.
9637
9638 2010-10-20 Michael Snyder <msnyder@vmware.com>
9639
9640 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
9641
9642 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9643
9644 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
9645 Skip test completely if gdb,no_hardware_watchpoints.
9646
9647 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9648
9649 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
9650 strict, but do not check for any particular function name within libc.
9651
9652 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9653
9654 * gdb.cp/smartp.exp: New test.
9655 * gdb.cp/smartp.cc : New test.
9656
9657 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9658
9659 * gdb.cp/converts.exp: Test pointer to bool conversion.
9660 Test pointer to long conversion.
9661 * gdb.cp/oranking.exp: Removed relevant kfail.
9662
9663 2010-10-18 Tom Tromey <tromey@redhat.com>
9664
9665 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
9666 argument to lazy_string.
9667 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
9668 (pp_ls.to_string): Use it.
9669 * gdb.python/py-prettyprint.c (main): Move declarations to top.
9670 Add "estring2" local.
9671
9672 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9673
9674 Fix s390x compatibility.
9675 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
9676 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
9677
9678 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9679
9680 * gdb.threads/sigstep-threads.exp: New file.
9681 * gdb.threads/sigstep-threads.c: New file.
9682
9683 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9684
9685 * gdb.base/pie-execl.exp: New file.
9686 * gdb.base/pie-execl.c: New file.
9687
9688 2010-10-13 Doug Evans <dje@google.com>
9689 Jan Kratochvil <jan.kratochvil@redhat.com>
9690
9691 PR exp/12117
9692 * gdb.cp/ptype-cv-cp.cc: New file.
9693 * gdb.cp/ptype-cv-cp.exp: New file.
9694
9695 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
9696
9697 * gdb.cp/converts.cc: New test program.
9698 * gdb.cp/converts.exp: New test.
9699 * gdb.cp/overload.exp: Added test for void* vs int*.
9700 * gdb.cp/overload.exp: Ditto.
9701 * gdb.cp/oranking.exp: Removed related kfail.
9702
9703 2010-10-13 Doug Evans <dje@google.com>
9704
9705 * lib/gdb-python.exp (gdb_check_python_config): New function.
9706 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9707 * gdb.python/lib-types.cc: New file.
9708 * gdb.python/lib-types.exp: New file.
9709
9710 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9711
9712 * gdb.python/py-error.exp: New file.
9713 * gdb.python/py-error.py: New file.
9714
9715 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9716
9717 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9718 gdb_test_multiple.
9719
9720 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9721
9722 * gdb.base/break-interp.exp: Use ldlags for linking flags.
9723 * gdb.base/prelink.exp: Likewise.
9724 * gdb.base/solib-nodir.exp: Likewise.
9725 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9726 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9727 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9728
9729 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
9730
9731 * break-interp.exp (test_ld): Use two separate gdb_expect statements
9732 for the "info files" test to avoid timeouts on slow machines.
9733
9734 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9735
9736 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9737 (main): Make openlib dummy call.
9738
9739 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9740
9741 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9742 * break-interp.exp (reach): Move the core body ...
9743 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
9744 (test_ld): Provide always real argument, even to the linker. Replace
9745 dl_main by _dl_debug_state.
9746
9747 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9748
9749 Fix results of prelinked PIEs on ppc*.
9750 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9751 Accept also DISPLACEMENT "PRESENT".
9752 (main): Replace "ZERO" displacements by "PRESENT".
9753
9754 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
9755
9756 * gdb.cp/oranking.exp: New test.
9757 * gdb.cp/oranking.cc: New test program.
9758
9759 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
9760
9761 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9762 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9763
9764 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
9765
9766 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9767 lush, lynx) New constant.
9768 * gdb.base/constvars.exp: Test const array types.
9769 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9770
9771 2010-10-06 Doug Evans <dje@google.com>
9772
9773 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9774 of syscall staging area.
9775
9776 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
9777
9778 * gdb.base/gnu_vector.c: Add variable c4.
9779 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9780 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9781
9782 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
9783
9784 * gdb.arch/altivec-abi.exp: Fix a typo.
9785
9786 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
9787
9788 * lib/mi-support.exp (thread_selected_re): Correct pattern used
9789 to match a thread ID.
9790
9791 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9792
9793 Fix s390x testcase compatibility.
9794 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9795
9796 2010-10-01 Doug Evans <dje@google.com>
9797
9798 * lib/gdb-python.exp: New file.
9799 * gdb.python/py-block.exp: Use it.
9800 * gdb.python/py-breakpoint.exp: Ditto.
9801 * gdb.python/py-frame.exp: Ditto.
9802 * gdb.python/py-inferior.exp: Ditto.
9803 * gdb.python/py-param.exp: Ditto.
9804 * gdb.python/py-prettyprint.exp: Ditto.
9805 * gdb.python/py-shared.exp: Ditto.
9806 * gdb.python/py-symbol.exp: Ditto.
9807 * gdb.python/py-symtab.exp: Ditto.
9808 * gdb.python/py-type.exp: Ditto.
9809 * gdb.python/py-value.exp: Ditto.
9810 * gdb.python/python.exp: Ditto.
9811
9812 2010-09-30 Tom Tromey <tromey@redhat.com>
9813
9814 * gdb.base/anon.exp: New file.
9815 * gdb.base/anon.c: New file.
9816
9817 2010-09-30 Tom Tromey <tromey@redhat.com>
9818
9819 * gdb.base/completion.exp: Test completion through anonymous
9820 union.
9821 * gdb.base/break1.c (struct some_struct): Add anonymous union.
9822
9823 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9824
9825 Fix printing parameters of inlined functions.
9826 * gdb.dwarf2/dw2-inline-param.exp: New file.
9827 * gdb.dwarf2/dw2-inline-param-main.c: New file.
9828 * gdb.dwarf2/dw2-inline-param.S: New file.
9829
9830 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9831
9832 PR corefiles/12071.
9833 * gdb.base/corefile.exp (quit with a process, no question: load core)
9834 (quit with a core file): New tests.
9835
9836 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9837
9838 Fix GDB crash on inferior calls with self-referencing classes.
9839 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9840 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9841 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9842
9843 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9844
9845 Fix lost siginfo_t for inferior calls.
9846 * gdb.base/siginfo-infcall.exp: New file.
9847 * gdb.base/siginfo-infcall.c: New file.
9848
9849 2010-09-22 Joel Brobecker <brobecker@adacore.com>
9850
9851 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
9852
9853 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9854
9855 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
9856 New test.
9857 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
9858
9859 2010-09-22 Joel Brobecker <brobecker@adacore.com>
9860
9861 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
9862 type of our const type.
9863
9864 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
9865
9866 * gdb.cp/pr12028.cc: New.
9867 * gdb.cp/pr12028.exp: New.
9868
9869 2010-09-22 Joel Brobecker <brobecker@adacore.com>
9870
9871 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
9872
9873 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
9874 Jan Kratochvil <jan.kratochvil@redhat.com>
9875
9876 PR mi/11407
9877 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
9878 * gdb.mi/dw2-ref-missing-frame-main.c New File.
9879 * gdb.mi/dw2-ref-missing-frame.S New File.
9880 * gdb.mi/dw2-ref-missing-frame.exp New File.
9881
9882 2010-09-14 Tom Tromey <tromey@redhat.com>
9883
9884 PR symtab/8399:
9885 * gdb.threads/tls.exp: Remove kfail. Update expected output.
9886
9887 2010-09-14 Tom Tromey <tromey@redhat.com>
9888
9889 PR exp/11803:
9890 * gdb.threads/tls.exp: Use C++.
9891 (check_thread_local): Use K::another_thread_local.
9892 * gdb.threads/tls.c (class K): New.
9893 (another_thread_local): Now a member of K.
9894 (spin): Update. No longer K&R C.
9895
9896 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
9897
9898 * gdb.cp/koenig.cc: created class for testing member lookup.
9899 * gdb.cp/koenig.exp: Added test for member lookup.
9900
9901 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9902
9903 Fix false FAILs on sourcetree topdir directory containing "kill".
9904 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
9905 source line matching regexp.
9906
9907 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9908
9909 * gdb.python/python.exp (set height 0, collect help from uiout)
9910 (verify help to uiout): New tests.
9911
9912 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9913
9914 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
9915 is_lp64_target to check 64bit target.
9916
9917 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9918
9919 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
9920 (test_ld) <powerpc64-*>: New.
9921
9922 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9923
9924 * gdb.cp/templates.exp (test_template_args): Allow "struct".
9925
9926 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9927
9928 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
9929 (FunctionArg::method): New function.
9930 (empty, arg): New variables.
9931 (main): Call arg.method.
9932 * gdb.cp/templates.exp (test_template_args): New function.
9933 (do_tests): Call it.
9934
9935 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
9936
9937 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
9938 of "next" to proceed over pthread_exit call.
9939
9940 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
9941
9942 * gdb.base/maint.exp: Avoid wildcards against potentially very long
9943 "maint print statistics" output to prevent expect timeouts.
9944
9945 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9946
9947 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
9948 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9949 (test_float_rejected): ... here.
9950 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
9951 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9952 (test_float_rejected): ... here.
9953 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
9954 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9955 (test_float_rejected): ... here.
9956 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
9957 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9958 (test_float_rejected): ... here.
9959
9960 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9961
9962 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
9963 before disabling hardware watchpoints.
9964 (test_inaccessible_watchpoint): Check that hardware watchpoints
9965 are used. Test for watchpoints on a constant address.
9966
9967 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9968
9969 * gdb.base/ui-redirect.exp: New file.
9970
9971 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9972 Joel Brobecker <brobecker@adacore.com>
9973
9974 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
9975
9976 2010-08-31 Doug Evans <dje@google.com>
9977
9978 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
9979
9980 2010-08-30 Tom Tromey <tromey@redhat.com>
9981
9982 PR python/11792:
9983 * gdb.python/py-value.exp (test_subscript_regression): Add
9984 dynamic_type test.
9985
9986 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
9987
9988 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
9989 instead of running to main. Do not test the main function.
9990 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
9991 Add new main.
9992
9993 2010-08-26 Pedro Alves <pedro@codesourcery.com>
9994
9995 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
9996 one test.
9997
9998 2010-08-24 Doug Evans <dje@google.com>
9999
10000 PR symtab/11942
10001 * gdb.dwarf2/dw4-sig-types.cc: New file.
10002 * gdb.dwarf2/dw4-sig-types.h: New file.
10003 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10004 * gdb.dwarf2/dw4-sig-types.exp: New file.
10005
10006 2010-08-23 Tom Tromey <tromey@redhat.com>
10007
10008 PR python/11145:
10009 * gdb.python/py-value.c (Base, Derived): New types.
10010 (base): New global.
10011 * gdb.python/py-value.exp (test_subscript_regression): Add
10012 dynamic_cast test.
10013
10014 2010-08-23 Tom Tromey <tromey@redhat.com>
10015
10016 PR python/10676:
10017 * gdb.python/py-type.exp (test_fields): Add tests for type
10018 equality.
10019
10020 2010-08-23 Tom Tromey <tromey@redhat.com>
10021
10022 PR python/11915:
10023 * gdb.python/py-type.exp (test_fields): Add tests for array.
10024
10025 2010-08-23 Keith Seitz <keiths@redhat.com>
10026
10027 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10028 have any children. Create a new abbrev for it.
10029 Add missing terminal sequence to .debug_abbrev.
10030
10031 2010-08-20 Keith Seitz <keiths@redhat.com>
10032
10033 PR symtab/11465:
10034 * gdb.dwarf2/pr11465.exp: New test.
10035 * gdb.dwarf2/pr11465.S: New file.
10036 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10037 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10038
10039 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10040
10041 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10042 registers. Update data sets with the new v2_double element in the
10043 VSX register union. Add vector_register3_vr data set for the AltiVec
10044 registers. Use gdb_test_no_output instead of send_gdb.
10045
10046 2010-08-19 Pedro Alves <pedro@codesourcery.com>
10047
10048 * gdb.python/py-shared.exp: New file, factored out from
10049 python.exp.
10050 * gdb.python/py-shared.c: New file.
10051 * gdb.python/py-shared-sl.c: New file.
10052 * gdb.python/python-1.c: New file.
10053 * gdb.python/python-sl.c: Delete.
10054 * gdb.python/python.c: Mention python-1.c.
10055 * gdb.python/python.exp: Move shared library tests to
10056 py-shared.exp.
10057 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10058 (MISCELLANEOUS): New.
10059 (clean mostlyclean): Also remove $MISCELLANEOUS.
10060
10061 2010-08-19 Doug Evans <dje@google.com>
10062
10063 PR exp/11926
10064 * gdb.base/printcmds.exp (test_float_accepted): New function.
10065 Move existing float tests there. Add tests for floats with suffixes.
10066 (test_float_rejected): New function.
10067 * gdb.java/jv-print.exp (test_float_accepted): New function.
10068 (test_float_rejected): New function.
10069 * gdb.objc/print.exp: New file.
10070 * gdb.pascal/print.exp: New file.
10071 * lib/objc.exp: New file.
10072
10073 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10074
10075 * gdb.base/default.exp (info set): Avoid full buffer error and force
10076 reading up to final gdb prompt.
10077 (show): Likewise.
10078
10079 2010-08-18 Tom Tromey <tromey@redhat.com>
10080
10081 PR symtab/11919:
10082 * gdb.base/completion.exp: Add test.
10083
10084 2010-08-18 Doug Evans <dje@google.com>
10085
10086 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10087 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10088 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10089 Simplify, early exit if runto_main fails.
10090 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10091 (set_lang_fortran): Moved to lib/fortran.exp.
10092 * gdb.fortran/types.exp: load_lib fortran.exp.
10093 (set_lang_fortran): Moved to lib/fortran.exp.
10094 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10095 * gdb.java/jprint.exp (set_lang_java): Ditto.
10096 * gdb.java/jv-exp.exp: load_lib java.exp.
10097 If set_lang_java fails, issue a warning instead of failure to be
10098 consistent with other set_lang_foo uses.
10099 (set_lang_java): Moved to lib/java.exp.
10100 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10101 If set_lang_java fails, issue a warning instead of failure to be
10102 consistent with other set_lang_foo uses.
10103 * gdb.pascal/types.exp: load_lib pascal.exp.
10104 (set_lang_pascal): Moved to lib/pascal.exp.
10105 * lib/fortran.exp: New file.
10106 * lib/java.exp (set_lang_java): New function.
10107 * lib/pascal.exp (set_lang_pascal): New function.
10108
10109 2010-08-18 Yao Qi <yao@codesourcery.com
10110
10111 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10112 func_nofb_start and func_loopfb_start, so that address of functions
10113 is equal to these labels on Thumb.
10114
10115 2010-08-18 Yao Qi <yao@codesourcery.com>
10116
10117 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10118 to reflect latest c source file.
10119
10120 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10121
10122 * gdb.cp/infcall-dlopen.exp: New file.
10123 * gdb.cp/infcall-dlopen.cc: New file.
10124 * gdb.cp/infcall-dlopen-lib.cc: New file.
10125
10126 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10127 Pedro Alves <pedro@codesourcery.com>
10128
10129 PR breakpoints/11371
10130
10131 * gdb.base/watch-cond-infcall.exp: New file.
10132 * gdb.base/watch-cond-infcall.c: New file.
10133
10134 2010-08-16 Tom Tromey <tromey@redhat.com>
10135
10136 * gdb.base/help.exp: Update.
10137 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10138 watchpoint.
10139 (test_watch_location): New proc.
10140 (test_watchpoint_in_big_blob): Delete watchpoint.
10141 * gdb.base/watchpoint.c (func5): New function.
10142 (main): Call it.
10143
10144 2010-08-16 Doug Evans <dje@google.com>
10145
10146 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10147
10148 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10149
10150 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10151 tests.
10152
10153 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
10154
10155 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10156 * gdb.base/gnu_vector.c: New File.
10157 * gdb.base/gnu_vector.exp: Likewise.
10158
10159 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10160
10161 * gdb.python/python.c: New File.
10162 * gdb.python/python-sl.c: New File.
10163 * gdb.python/python.exp: Test solib_address and decode_line
10164 * functions.
10165
10166 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10167
10168 * gdb.python/python.exp (show height, set height 10)
10169 (verify pagination beforehand, verify pagination beforehand: q)
10170 (gdb.execute does not page, verify pagination afterwards)
10171 (verify pagination afterwards: q): New.
10172
10173 2010-08-02 Doug Evans <dje@google.com>
10174
10175 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10176 because of an older gcc, change test2
10177 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10178 to unsupported.
10179
10180 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
10181
10182 * gdb.base/break-always.exp: Do not expect full paths to file
10183 names.
10184 * gdb.base/commands.exp: Likewise.
10185
10186 2010-07-30 Doug Evans <dje@google.com>
10187
10188 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10189 xfail them when run with older gccs.
10190
10191 * lib/gdb.exp (build_executable): Forward "c++" option to
10192 get_compiler_info.
10193
10194 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10195 "python print ttype.template_argument(1)" and
10196 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10197 if using gcc 4.4 or earlier.
10198
10199 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10200 attach-to-debugger handling.
10201
10202 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10203
10204 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10205 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10206 (main): Use copyreloc.
10207 * gdb.base/prelink.exp (split debug of executable)
10208 (.dynbss vs. .bss address shift): New tests.
10209
10210 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10211
10212 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10213 in gdb_test_multiple.
10214
10215 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10216
10217 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10218 environment.
10219
10220 2010-07-28 Tom Tromey <tromey@redhat.com>
10221
10222 PR python/11060:
10223 * gdb.python/py-type.c (Temargs): New template.
10224 (temvar): New variable.
10225 * gdb.python/py-type.exp (test_template): New proc.
10226
10227 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10228
10229 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10230 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10231
10232 2010-07-28 Tom Tromey <tromey@redhat.com>
10233
10234 PR c++/9946:
10235 * gdb.cp/temargs.exp: New file.
10236 * gdb.cp/temargs.cc: New file.
10237
10238 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10239
10240 * gdb.base/help.exp (help disassemble): Update the content.
10241
10242 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10243
10244 * gdb.threads/ia64-sigill.exp: New file.
10245 * gdb.threads/ia64-sigill.c: New file.
10246
10247 2010-07-27 Tom Tromey <tromey@redhat.com>
10248
10249 * gdb.opt/inline-cmds.c (ATTR): New define.
10250 (func1): Use it.
10251 (func2): Likewise.
10252 (func3): Likewise.
10253 (outer_inline1): Likewise.
10254 (outer_inline2): Likewise.
10255 * gdb.opt/inline-bt.c (ATTR): New define.
10256 (func1): Use it.
10257 (func2): Likewise.
10258 * gdb.opt/inline-locals.c (ATTR): New define.
10259 (func1): Use it.
10260 (func2): Likewise.
10261
10262 2010-07-27 Tom Tromey <tromey@redhat.com>
10263
10264 * gdb.stabs/gdb11479.c (hack): New function.
10265 (test): Use it.
10266 (test2): Use it.
10267 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10268 (int32_search_buf, int64_search_buf): No longer static.
10269 (x): Remove.
10270 * gdb.base/relocate.c (hack): New function.
10271
10272 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10273
10274 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10275 * gdb.python/py-value.c (func1): New function.
10276 (func2): Likewise.
10277
10278 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
10279
10280 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10281 as not to clash with .data section.
10282
10283 2010-07-26 Jerome Guitton <guitton@adacore.com>
10284
10285 * gdb.base/code_elim.exp: New file.
10286 * gdb.base/code_elim1.c: New file.
10287 * gdb.base/code_elim2.c: New file.
10288
10289 2010-07-21 Pedro Alves <pedro@codesourcery.com>
10290
10291 PR symtab/11827
10292
10293 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10294 (some_volatile_enum): New variable.
10295 * gdb.base/printcmds.exp (test_print_enums): New.
10296 <top level>: Call it.
10297
10298 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
10299
10300 * gdb.cp/fpointer.cc: New test.
10301 * gdb.cp/fpointer.exp: New test.
10302
10303 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10304
10305 * gdb.base/solib-nodir.exp: New file.
10306 * lib/gdb.exp (runto): New case for a GDB internal error.
10307
10308 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10309 Ulrich Weigand <uweigand@de.ibm.com>
10310 Tom Tromey <tromey@redhat.com>
10311
10312 * gdb.base/charset-malloc.c: New file.
10313 * gdb.base/charset.c (malloc_stub): New prototype.
10314 (main): Call it instead of malloc itself.
10315 * gdb.base/charset.exp: Use only prepare_for_testing.
10316 (binfile): Remove the variable.
10317
10318 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10319
10320 Make core files the process_stratum.
10321 * gdb.base/corefile.exp (run: load core again)
10322 (run: sanity check we see the core file, run: with core)
10323 (run: core file is cleared, attach: load core again)
10324 (attach: sanity check we see the core file, attach: with core)
10325 (attach: core file is cleared): New tests.
10326 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
10327
10328 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
10329
10330 * gdb.arch/altivec-abi.exp: New tests.
10331
10332 2010-07-13 Tom Tromey <tromey@redhat.com>
10333
10334 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10335 (main): Use it.
10336 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10337
10338 2010-07-13 Tom Tromey <tromey@redhat.com>
10339
10340 * gdb.base/label.exp: New file.
10341 * gdb.base/label.c: New file.
10342
10343 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
10344 H.J. Lu <hongjiu.lu@intel.com>
10345
10346 * lib/gdb.exp (is_ilp32_target): New.
10347 (is_lp64_target): Likewise.
10348
10349 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10350 target.
10351 * gdb.arch/amd64-disp-step.exp: Likewise.
10352 * gdb.arch/amd64-dword.exp: Likewise.
10353 * gdb.arch/amd64-i386-address.exp: Likewise.
10354 * gdb.arch/amd64-word.exp: Likewise.
10355
10356 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10357 target.
10358 * gdb.arch/i386-bp_permanent.exp: Likewise.
10359 * gdb.arch/i386-byte.exp: Likewise.
10360 * gdb.arch/i386-disp-step.exp: Likewise.
10361 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10362 * gdb.arch/i386-prologue.exp: Likewise.
10363 * gdb.arch/i386-size-overlap.exp: Likewise.
10364 * gdb.arch/i386-size.exp: Likewise.
10365 * gdb.arch/i386-sse.exp: Likewise.
10366 * gdb.arch/i386-unwind.exp: Likewise.
10367 * gdb.arch/i386-word.exp: Likewise.
10368
10369 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10370 test only when building 64-bit executables. Do not hard-code
10371 -m64 option.
10372
10373 2010-07-07 Doug Evans <dje@google.com>
10374
10375 * lib/gdb.exp (gdb_test_list_exact): New function.
10376 * gdb.base/default.exp (show convenience): Call it, add tests for
10377 $_sdata = void, $_thread = 0.
10378
10379 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10380 Joel Brobecker <brobecker@adacore.com>
10381
10382 Fix re-run of PIE executable, PR shlibs/11776.
10383 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10384 Remove $displacement_main to match the solib-svr4.c change. New "kill"
10385 and re-"run" of the inferior.
10386
10387 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10388 Joel Brobecker <brobecker@adacore.com>
10389
10390 Cope with missing /usr/sbin/prelink.
10391 * lib/prelink-support.exp (prelink_no):
10392 <result == 1 && $output is "no such file or directory">: New.
10393 (prelink_yes): Likewise. Return on failed prelink_no.
10394
10395 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10396 Joel Brobecker <brobecker@adacore.com>
10397
10398 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
10399 build_executable by build_executable_own_libs. Replace "prelink -R"
10400 execution by a call of prelink_yes. Comment why "prelink -r" needs no
10401 change.
10402 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
10403 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
10404 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10405 Replace build_executable by build_executable_own_libs's function
10406 build_executable_own_libs.
10407 (prelinkNO): Create new stub to call prelink_no.
10408 (prelinkYES): Create new stub to call prelink_yes.
10409 (test_attach): Rename calls of copy to file_copy.
10410 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10411 (copy): Move to ...
10412 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
10413 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10414 * gdb.base/prelink.exp: Disable testcase also for is_remote and
10415 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
10416 special flags by gdb_compile_shlib. Replace second gdb_compile by
10417 build_executable_own_libs. Replace "prelink -R" execution by a call of
10418 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
10419 a second call of prelink_yes. Replace restart commands by
10420 clean_restart.
10421 (prelink): Rename to ...
10422 (seen displacement message): ... this test. Extend its expectation
10423 strictness.
10424
10425 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10426
10427 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10428 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10429 displacement message exactly once.
10430
10431 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10432 Joel Brobecker <brobecker@adacore.com>
10433
10434 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
10435 its restore after the <$relink_args != ""> loop. new comment.
10436
10437 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10438 Joel Brobecker <brobecker@adacore.com>
10439
10440 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10441 code for it. New variable relink_args.
10442 (prelinkYES): Call prelinkNO.
10443 (test_attach): Accept new parameter relink_args. Re-prelink the binary
10444 in such case. Move the core code to ...
10445 (test_attach_gdb): ... a new function. Send GDB command "file".
10446 Extend expected "Attaching to " string.
10447
10448 2010-07-02 Tom Tromey <tromey@redhat.com>
10449
10450 * gdb.base/bitops.exp: Remove extraneous "pass".
10451
10452 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
10453
10454 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10455
10456 2010-07-01 Pedro Alves <pedro@codesourcery.com>
10457
10458 * gdb.base/help.exp: Adjust expected output.
10459
10460 2010-07-01 Pedro Alves <pedro@codesourcery.com>
10461
10462 * gdb.base/help.exp: Adjust expected output.
10463
10464 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10465
10466 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
10467 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
10468 c++/11702.
10469
10470 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10471 Doug Evans <dje@google.com>
10472
10473 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
10474 add .dynamic entry'.
10475
10476 2010-06-29 Doug Evans <dje@google.com>
10477
10478 Test PR c++/11702.
10479 * gdb.cp/m-static.exp: Add testcase.
10480 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
10481
10482 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
10483 Tom Tromey <tromey@redhat.com>
10484 Thiago Jung Bauermann <bauerman@br.ibm.com>
10485
10486 * gdb.python/py-inferior.c: New File.
10487 * gdb.python/py-infthread.c: New File.
10488 * gdb.python/py-inferior.exp: New File.
10489 * gdb.python/py-infthread.exp: New File.
10490
10491 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10492
10493 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
10494 (ptype ::C::OtherFileClass typedefs): New.
10495 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
10496 (C::OtherFileClass::cOtherFileClassVar2): New.
10497 (C::OtherFileClass::cOtherFileClassVar_use): Use also
10498 cOtherFileClassVar2.
10499 (C::cOtherFileType2, C::cOtherFileVar2): New.
10500 (C::cOtherFileVar_use): use also cOtherFileVar2.
10501 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
10502
10503 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10504
10505 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
10506 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
10507 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
10508 (print ::C::cOtherFileVar)
10509 (whatis C::OtherFileClass::cOtherFileClassType)
10510 (whatis ::C::OtherFileClass::cOtherFileClassType)
10511 (print C::OtherFileClass::cOtherFileClassVar)
10512 (print ::cOtherFileClassVar)
10513 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
10514 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
10515 trailing content.
10516 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
10517 (C::OtherFileClass::cOtherFileClassVar)
10518 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
10519 (C::cOtherFileVar, C::cOtherFileVar_use): New.
10520
10521 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10522
10523 Test PR c++/11703 and PR gdb/1448.
10524 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
10525 gdb/1448.
10526
10527 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10528
10529 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
10530 (main) <rtti_data>: New.
10531 * gdb.cp/virtbase.exp (print rtti_data): New.
10532
10533 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10534 Joel Brobecker <brobecker@adacore.com>
10535
10536 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
10537
10538 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10539
10540 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
10541
10542 2010-06-28 Doug Evans <dje@google.com>
10543
10544 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
10545
10546 2010-06-27 Doug Evans <dje@google.com>
10547
10548 * gdb.cp/m-static.exp: Update expected test output.
10549
10550 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
10551
10552 * gdb.gdb/selftest.exp: Adjust expected message for
10553 capturing start-up runtime.
10554
10555 2010-06-25 Tom Tromey <tromey@redhat.com>
10556
10557 PR python/10808:
10558 * gdb.python/python.exp: Add new tests.
10559
10560 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
10561
10562 * gdb.cp/operator.cc: Created an import loop.
10563 * gdb.cp/operator.exp: Added testcase for import loop.
10564
10565 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10566
10567 Test PR python/11407.
10568 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
10569 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
10570 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
10571 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
10572 executable_nofb and executable_fb. New variables srcsfile, objsfile,
10573 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
10574 binfile. Call gdb_compile with clean_restart twice.
10575 (func_nofb print, func_nofb backtrace, func_loopfb print)
10576 (func_loopfb backtrace): New.
10577
10578 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10579
10580 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
10581 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
10582 by a hand made one.
10583 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
10584 i?86 requirement. Remove variables srcfile and binfile. New variable
10585 sources, executable_nofb and executable_fb. Call prepare_for_testing.
10586
10587 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10588
10589 * gdb.cell/dwarfaddr.exp: New file.
10590 * gdb.cell/dwarfaddr.S: New file.
10591
10592 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10593
10594 Test PR 9436.
10595 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
10596
10597 2010-06-24 Hui Zhu <teawater@gmail.com>
10598
10599 * gdb.base/eval.exp: New file.
10600
10601 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10602
10603 * gdb.cell/fork.exp: New file.
10604 * gdb.cell/fork.c: Likewise.
10605 * gdb.cell/fork-spu.c: Likewise.
10606
10607 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
10608
10609 * lib/gdb.exp (banned_variables_traced): New global variable.
10610 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
10611 (gdb_init): Use `trace add variable' instead of obsolete
10612 `trace variable'.
10613
10614 2010-06-21 Doug Evans <dje@google.com>
10615
10616 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
10617
10618 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10619
10620 * gdb.arch/spu-ls.exp: New file.
10621 * gdb.arch/spu-ls.c: Likewise.
10622
10623 2010-06-18 Stan Shebs <stan@codesourcery.com>
10624
10625 * gdb.threads/thread-specific.exp: Add tests of $_thread.
10626
10627 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10628
10629 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
10630 * gdb.base/watch-cond.exp: Likewise.
10631 * gdb.python/py-breakpoint.exp: Likewise.
10632
10633 2010-06-18 Pedro Alves <pedro@codesourcery.com>
10634
10635 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
10636 clean_restart, make sure every test has a distinct message, and
10637 that messages don't include the executable' full path.
10638
10639 2010-06-17 Doug Evans <dje@google.com>
10640
10641 * gdb.arch/i386-size.exp: Updated expected output for
10642 DISASSEMBLY_OMIT_FNAME.
10643
10644 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10645 Sergio Durigan Junior <sergiodj@redhat.com>
10646
10647 * gdb.base/watch-notconst.c: New file.
10648 * gdb.base/watch-notconst.S: New file.
10649 * gdb.base/watch-notconst2.c: New file.
10650 * gdb.base/watch-notconst2.S: New file.
10651 * gdb.base/watch-notconst.exp: New file.
10652 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
10653 (func4): Add operations on `global_ptr_ptr'.
10654 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
10655 routine to test watchpoints created with a constant expression.
10656 (test_inaccessible_watchpoint): Include tests for watchpoints
10657 created with a constant expression.
10658
10659 2010-06-14 Kevin Buettner <kevinb@redhat.com>
10660
10661 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10662 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
10663 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
10664 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
10665 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10666 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10667 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
10668 of `_start'.
10669
10670 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10671
10672 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
10673 not supported on the target.
10674 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10675 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10676 * gdb.mi/mi-nsintrall.exp: Likewise.
10677 * gdb.mi/mi-nsmoribund.exp: Likewise.
10678 * gdb.mi/mi-nsthrexec.exp: Likewise.
10679
10680 2010-06-11 Stan Shebs <stan@codesourcery.com>
10681
10682 * gdb.base/permissions.exp: New file.
10683
10684 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10685
10686 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10687 does not support ELF executable class.
10688
10689 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10690
10691 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10692
10693 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10694
10695 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10696 (runto): Catch "The target does not support running in non-stop mode.".
10697
10698 2010-06-11 Michael Snyder <msnyder@vmware.com>
10699
10700 * gdb.base/setshow.exp (set language asm): Don't use
10701 gdb_test_no_output, fails on some targets.
10702
10703 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10704
10705 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10706 * gdb.cp/pr9167.exp: Likewise.
10707
10708 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10709
10710 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10711
10712 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10713
10714 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10715
10716 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10717
10718 * gdb.base/charset.c (main): Make sure malloc gets linked in.
10719
10720 2010-06-11 Tom Tromey <tromey@redhat.com>
10721
10722 PR gdb/9977, PR exp/11636::
10723 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10724 (pieces_test_f6): Update expected output.
10725
10726 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10727
10728 * gdb.base/moribund-step.exp: New.
10729
10730 2010-06-08 Michael Snyder <msnyder@vmware.com>
10731
10732 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
10733 * gdb.ada/boolean_expr.exp:
10734 * gdb.ada/frame_args.exp: Ditto.
10735 * gdb.ada/lang_switch.exp: Ditto.
10736 * gdb.ada/ptype_arith_binop.exp: Ditto.
10737 * gdb.ada/ref_param.exp: Ditto.
10738 * gdb.ada/type_coercion.exp:Ditto.
10739
10740 * gdb.asm/asm-source.exp: Ditto.
10741
10742 * gdb.base/attach.exp: Ditto.
10743 * gdb.base/bitfields2.exp: Ditto.
10744 * gdb.base/call-signal-resume.exp: Ditto.
10745 * gdb.base/callfuncs.exp: Ditto.
10746 * gdb.base/commands.exp: Ditto.
10747 * gdb.base/dbx.exp: Ditto.
10748 * gdb.base/default.exp: Ditto.
10749 * gdb.base/dump.exp: Ditto.
10750 * gdb.base/exprs.exp: Ditto.
10751 * gdb.base/freebpcmd.exp: Ditto.
10752 * gdb.base/interrupt.exp: Ditto.
10753 * gdb.base/list.exp: Ditto.
10754 * gdb.base/long_long.exp: Ditto.
10755 * gdb.base/maint.exp: Ditto.
10756 * gdb.base/ptype.exp: Ditto.
10757 * gdb.base/return.exp: Ditto.
10758 * gdb.base/setshow.exp: Ditto.
10759 * gdb.base/sigbpt.exp: Ditto.
10760 * gdb.base/sigrepeat.exp: Ditto.
10761
10762 * gdb.cp/classes.exp: Ditto.
10763
10764 * gdb.dwarf2/dw2-restore.exp: Ditto.
10765
10766 * gdb.gdb/selftest.exp: Ditto.
10767
10768 * gdb.multi/base.exp: Ditto.
10769 * gdb.multi/bkpt-multi-exec.exp: Ditto.
10770
10771 * gdb.python/py-block.exp: Ditto.
10772 * gdb.python/py-prettyprint.exp: Ditto.
10773 * gdb.python/py-template.exp: Ditto.
10774
10775 * gdb.server/ext-attach.exp: Ditto.
10776 * gdb.server/ext-run.exp: Ditto.
10777 * gdb.server/server-mon.exp: Ditto.
10778
10779 * gdb.threads/fork-thread-pending.exp: Ditto.
10780 * gdb.threads/hand-call-in-threads.exp: Ditto.
10781 * gdb.threads/interrupted-hand-call.exp: Ditto.
10782 * gdb.threads/linux-dp.exp: Ditto.
10783 * gdb.threads/manythreads.exp: Ditto.
10784 * gdb.threads/print-threads.exp: Ditto.
10785 * gdb.threads/pthreads.exp: Ditto.
10786 * gdb.threads/schedlock.exp: Ditto.
10787 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10788 * gdb.threads/threadapply.exp: Ditto.
10789
10790 2010-06-08 Michael Snyder <msnyder@vmware.com>
10791
10792 * gdb.ada/exec_changed.exp:
10793 Use ".*" instead of "" as wildcard regexp.
10794
10795 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10796 * gdb.base/call-ar-st.exp: Ditto.
10797 * gdb.base/checkpoint.exp: Ditto.
10798 * gdb.base/default.exp: Ditto.
10799 * gdb.base/dump.exp: Ditto.
10800 * gdb.base/ending-run.exp: Ditto.
10801 * gdb.base/fileio.exp: Ditto.
10802 * gdb.base/miscexprs.exp: Ditto.
10803 * gdb.base/pointers.exp: Ditto.
10804 * gdb.base/readline.exp: Ditto.
10805 * gdb.base/reread.exp: Ditto.
10806 * gdb.base/restore.exp: Ditto.
10807 * gdb.base/shlib-call.exp: Ditto.
10808 * gdb.base/valgrind-db-attach.exp: Ditto.
10809 * gdb.base/volatile.exp: Ditto.
10810 * gdb.base/watchpoints.exp: Ditto.
10811
10812 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10813
10814 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10815 * gdb.python/py-value.exp: Ditto.
10816
10817 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10818 * gdb.trace/circ.exp: Ditto.
10819 * gdb.trace/collection.exp: Ditto.
10820 * gdb.trace/packetlen.exp: Ditto.
10821 * gdb.trace/passc-dyn.exp: Ditto.
10822 * gdb.trace/report.exp: Ditto.
10823 * gdb.trace/tfile.exp: Ditto.
10824 * gdb.trace/tfind.exp: Ditto.
10825 * gdb.trace/while-dyn.exp: Ditto.
10826
10827 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10828
10829 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10830
10831 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10832
10833 Test PR 10640.
10834 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10835
10836 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
10837
10838 * gdb.cp/koenig.exp: Test for ADL operators.
10839 * gdb.cp/koenig.cc: Added ADL operators.
10840 * gdb.cp/operator.exp: New test.
10841 * gdb.cp/operator.cc: New test.
10842
10843 2010-06-04 Michael Snyder <msnyder@vmware.com>
10844
10845 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10846 * gdb.base/pending.exp: Ditto.
10847
10848 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
10849
10850 2010-06-04 Doug Evans <dje@google.com>
10851
10852 * gdb.python/py-prettyprint.exp: Add new test for enabled and
10853 disabled printers.
10854 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
10855 (enable_lookup_function): New function.
10856
10857 2010-06-04 Tom Tromey <tromey@redhat.com>
10858
10859 * gdb.python/py-value.exp (test_value_hash): Don't test equality
10860 of hash and id.
10861
10862 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10863
10864 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
10865 newline.
10866 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
10867 (empty verbose non-noisy clear, empty verbose noisy clear)
10868 (empty non-verbose noisy clear): Likewise.
10869
10870 2010-06-03 Michael Snyder <msnyder@vmware.com>
10871
10872 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
10873 * gdb.base/display.exp: Ditto.
10874 * gdb.base/find.exp: Ditto.
10875 * gdb.base/ifelse.exp: Ditto.
10876 * gdb.base/multi-forks.exp: Ditto.
10877 * gdb.base/recurse.exp: Ditto.
10878 * gdb.base/setshow.exp: Ditto.
10879 * gdb.base/value-double-free.exp: Ditto.
10880 * gdb.base/watch-vfork.exp: Ditto.
10881 * gdb.base/watch_thread_num.exp: Ditto.
10882 * gdb.base/watchpoint-solib.exp: Ditto.
10883 * gdb.base/watchpoint.exp: Ditto.
10884 * gdb.base/watchpoints.exp: Ditto.
10885
10886 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
10887 * gdb.cp/overload.exp: Ditto.
10888 * gdb.cp/virtfunc.exp: Ditto.
10889
10890 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
10891
10892 * gdb.reverse/watch-precsave.exp:
10893 Replace gdb_test with gdb_test_no_output.
10894
10895 * gdb.threads/attach-into-signal.exp:
10896 Replace gdb_test with gdb_test_no_output.
10897 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10898 * gdb.threads/watchthreads.exp: Ditto.
10899 * gdb.threads/watchthreads2.exp: Ditto.
10900
10901 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
10902 * gdb.trace/tfind.exp: Ditto.
10903
10904 2010-06-03 Joel Brobecker <brobecker@adacore.com>
10905
10906 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
10907 successful test if message is the empty string.
10908
10909 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10910
10911 * gdb.fortran/module.exp (stopped language detection): New test.
10912
10913 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10914
10915 Support DW_TAG_module as separate namespaces.
10916 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
10917 gdb.fortran/library-module-lib.f90: New.
10918 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
10919 (print i): Remove.
10920 (continue to breakpoint: i-is-1, print var_i value 1)
10921 (continue to breakpoint: i-is-2, print var_i value 2)
10922 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
10923 (print var_d, print var_i value 14, ptype modmany, complete `modm)
10924 (complete `modmany, complete `modmany`, complete `modmany`var)
10925 (show language, setting breakpoint at module): New tests.
10926 * gdb.fortran/module.f90 (module mod): Remove.
10927 (module mod1, module mod2, module modmany, subroutine sub1)
10928 (subroutine sub2, program module): New.
10929
10930 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10931
10932 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
10933 (print value of rUC, print value of rI, print value of UI): ... here.
10934 * gdb.cp/anon-union.exp (pass): Rename to ...
10935 (print z 2): ... here.
10936
10937 2010-06-02 Michael Snyder <msnyder@vmware.com>
10938
10939 * gdb.trace/actions.exp: Use gdb_test_no_output.
10940 * gdb.trace/circ.exp: Ditto.
10941 * gdb.trace/packetlen.exp: Ditto.
10942 * gdb.trace/save-trace.exp: Ditto.
10943 * gdb.trace/tracecmd.exp: Ditto.
10944 * gdb.trace/tsv.exp: Ditto.
10945
10946 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
10947 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
10948 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10949 * gdb.threads/manythreads.exp: Ditto.
10950 * gdb.threads/print-threads.exp: Ditto.
10951 * gdb.threads/pthreads.exp: Ditto.
10952 * gdb.threads/schedlock.exp: Ditto.
10953 * gdb.threads/staticthreads.exp: Ditto.
10954 * gdb.threads/thread-specific.exp: Ditto.
10955 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10956 * gdb.threads/threadapply.exp: Ditto.
10957 * gdb.threads/watchthreads.exp: Ditto.
10958 * gdb.threads/watchthreads2.exp: Ditto.
10959
10960 * gdb.python/py-block.exp: Use gdb_test_no_output.
10961 * gdb.python/py-prettyprint.exp: Ditto.
10962 * gdb.python/py-template.exp: Ditto.
10963 * gdb.python/py-value.exp: Ditto.
10964
10965 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
10966 * gdb.reverse/watch-reverse.exp: Ditto.
10967
10968 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
10969 * gdb.server/ext-run.exp: Ditto.
10970
10971 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
10972 * gdb.dwarf2/dw2-compressed.exp: Ditto.
10973 * gdb.dwarf2/dw2-intercu.exp: Ditto.
10974 * gdb.dwarf2/dw2-intermix.exp: Ditto.
10975 * gdb.dwarf2/dw2-producer.exp: Ditto.
10976 * gdb.dwarf2/mac-fileno.exp: Ditto.
10977
10978 * gdb.gdb/observer.exp: Use gdb_test_no_output.
10979 * gdb.gdb/selftest.exp: Ditto.
10980
10981 * gdb.multi/base.exp: Use gdb_test_no_output.
10982
10983 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
10984
10985 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10986
10987 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
10988
10989 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
10990
10991 * gdb.cp/class2.exp: Use gdb_test_no_output.
10992 * gdb.cp/classes.exp: Ditto.
10993 * gdb.cp/extern-c.exp: Ditto.
10994 * gdb.cp/inherit.exp: Ditto.
10995 * gdb.cp/maint.exp: Ditto.
10996 * gdb.cp/mb-inline.exp: Ditto.
10997 * gdb.cp/mb-templates.exp: Ditto.
10998 * gdb.cp/method2.exp: Ditto.
10999 * gdb.cp/misc.exp: Ditto.
11000 * gdb.cp/ovldbreak.exp: Ditto.
11001 * gdb.cp/punctuator.exp: Ditto.
11002 * gdb.cp/templates.exp: Ditto.
11003 * gdb.cp/virtbase.exp: Ditto.
11004
11005 * gdb.threads/attach-stopped.exp:
11006 Replace uses of send_gdb / gdb_expect.
11007 * gdb.threads/attachstop-mt.exp:
11008 Replace uses of send_gdb / gdb_expect.
11009 * gdb.threads/gcore-thread.exp:
11010 Replace uses of send_gdb / gdb_expect.
11011 * gdb.threads/hand-call-in-threads.exp:
11012 Replace uses of send_gdb / gdb_expect.
11013 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
11014 * gdb.threads/print-threads.exp:
11015 Replace uses of send_gdb / gdb_expect.
11016 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11017 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11018 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11019
11020 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11021 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11022 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11023 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11024 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11025 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11026 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11027 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11028 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11029 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11030 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11031
11032 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11033
11034 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11035
11036 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11037
11038 * gdb.cp/koenig.exp: Added new test case.
11039 * gdb.cp/koenig.cc: Ditto.
11040
11041 2010-06-01 Michael Snyder <msnyder@vmware.com>
11042
11043 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11044 * gdb.base/arrayidx.exp: Ditto.
11045 * gdb.base/attach.exp: Ditto.
11046 * gdb.base/auxv.exp: Ditto.
11047 * gdb.base/bigcre.exp: Ditto.
11048 * gdb.base/break-always.exp: Ditto.
11049 * gdb.base/break-interp.exp: Ditto.
11050 * gdb.base/break.exp: Ditto.
11051 * gdb.base/breakpoint-shadow.exp: Ditto.
11052 * gdb.base/call-ar-st.exp: Ditto.
11053 * gdb.base/call-sc.exp: Ditto.
11054 * gdb.base/call-signal-resume.exp: Ditto.
11055 * gdb.base/callfuncs.exp: Ditto.
11056 * gdb.base/catch-syscall.exp: Ditto.
11057 * gdb.base/charset.exp: Ditto.
11058 * gdb.base/code-expr.exp: Ditto.
11059 * gdb.base/commands.exp: Ditto.
11060 * gdb.base/cond-expr.exp: Ditto.
11061 * gdb.base/condbreak.exp: Ditto.
11062 * gdb.base/cursal.exp: Ditto.
11063 * gdb.base/cvexpr.exp: Ditto.
11064 * gdb.base/default.exp: Ditto.
11065 * gdb.base/del.exp: Ditto.
11066 * gdb.base/detach.exp: Ditto.
11067 * gdb.base/display.exp: Ditto.
11068 * gdb.base/ena-dis-br.exp: Ditto.
11069 * gdb.base/eval-skip.exp: Ditto.
11070 * gdb.base/foll-fork.exp: Ditto.
11071 * gdb.base/foll-vfork.exp: Ditto.
11072 * gdb.base/frame-args.exp: Ditto.
11073 * gdb.base/funcargs.exp: Ditto.
11074 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11075 * gdb.base/gdbvars.exp: Ditto.
11076 * gdb.base/help.exp: Ditto.
11077 * gdb.base/ifelse.exp: Ditto.
11078 * gdb.base/included.exp: Ditto.
11079 * gdb.base/list.exp: Ditto.
11080 * gdb.base/macscp.exp: Ditto.
11081 * gdb.base/maint.exp: Ditto.
11082 * gdb.base/multi-fork.exp: Ditto.
11083 * gdb.base/overlays.exp: Ditto.
11084 * gdb.base/page.exp: Ditto.
11085 * gdb.base/pending.exp: Ditto.
11086 * gdb.base/pointers.exp: Ditto.
11087 * gdb.base/pr11022.exp: Ditto.
11088 * gdb.base/prelink.exp: Ditto.
11089 * gdb.base/printcmds.exp: Ditto.
11090 * gdb.base/psymtab.exp: Ditto.
11091 * gdb.base/randomize.exp: Ditto.
11092 * gdb.base/relational.exp: Ditto.
11093 * gdb.base/relocate.exp: Ditto.
11094 * gdb.base/remote.exp: Ditto.
11095 * gdb.base/sepdebug.exp: Ditto.
11096 * gdb.base/set-lang-auto.exp: Ditto.
11097 * gdb.base/setshow.exp: Ditto.
11098 * gdb.base/setvar.exp: Ditto.
11099 * gdb.base/signals.exp: Ditto.
11100 * gdb.base/signull.exp: Ditto.
11101 * gdb.base/sigstep.exp: Ditto.
11102 * gdb.base/sizeof.exp: Ditto.
11103 * gdb.base/solib-disc.exp: Ditto.
11104 * gdb.base/store.exp: Ditto.
11105 * gdb.base/structs.exp: Ditto.
11106 * gdb.base/structs2.exp: Ditto.
11107 * gdb.base/subst.exp: Ditto.
11108 * gdb.base/term.exp: Ditto.
11109 * gdb.base/trace-commands.exp: Ditto.
11110 * gdb.base/unwindonsignal.exp: Ditto.
11111 * gdb.base/valgrind-db-attach.exp: Ditto.
11112 * gdb.base/varargs.exp: Ditto.
11113 * gdb.base/watch-cond.exp: Ditto.
11114 * gdb.base/watch_thread_num.exp: Ditto.
11115 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11116 * gdb.base/watchpoint.exp: Ditto.
11117 * gdb.base/whatis-exp.exp: Ditto.
11118
11119 2010-06-01 Michael Snyder <msnyder@vmware.com>
11120
11121 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11122 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11123 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11124 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11125 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11126 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11127 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11128 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11129 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11130 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11131 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11132 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11133 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11134 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11135 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11136
11137 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11138
11139 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11140 trailing newline.
11141 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11142 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11143 (p *args): ... here and remove excessive trailing newline.
11144
11145 2010-05-31 Joel Brobecker <brobecker@adacore.com>
11146
11147 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11148
11149 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11150
11151 Accept the new Linux kernel "t (tracing stop)" string.
11152 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11153 Update comment.
11154 (state_wait) <T (tracing stop)>: New.
11155 (main): Update the state_wait expect string.
11156
11157 2010-05-28 Pedro Alves <pedro@codesourcery.com>
11158
11159 * limits.c, limits.exp: Delete files.
11160 * Makefile.in (clean mostlyclean): Adjust.
11161 * tracecmd.exp: Adjust.
11162
11163 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11164
11165 * gdb.base/tui-layout.exp: New.
11166
11167 2010-05-28 Michael Snyder <msnyder@vmware.com>
11168
11169 * gdb.reverse/break-precsave.exp:
11170 Replace uses of send_gdb / gdb_expect.
11171 * gdb.reverse/break-reverse.exp:
11172 Replace uses of send_gdb / gdb_expect.
11173 * gdb.reverse/consecutive-precsave.exp:
11174 Replace uses of send_gdb / gdb_expect.
11175 * gdb.reverse/consecutive-reverse.exp:
11176 Replace uses of send_gdb / gdb_expect.
11177 * gdb.reverse/finish-precsave.exp:
11178 Replace uses of send_gdb / gdb_expect.
11179 * gdb.reverse/finish-reverse.exp:
11180 Replace uses of send_gdb / gdb_expect.
11181 * gdb.reverse/i386-precsave.exp:
11182 Replace uses of send_gdb / gdb_expect.
11183 * gdb.reverse/i386-reverse.exp:
11184 Replace uses of send_gdb / gdb_expect.
11185 * gdb.reverse/i386-sse-reverse.exp:
11186 Replace uses of send_gdb / gdb_expect.
11187 * gdb.reverse/i387-env-reverse.exp:
11188 Replace uses of send_gdb / gdb_expect.
11189 * gdb.reverse/i387-stack-reverse.exp:
11190 Replace uses of send_gdb / gdb_expect.
11191 * gdb.reverse/machinestate-precsave.exp:
11192 Replace uses of send_gdb / gdb_expect.
11193 * gdb.reverse/machinestate.exp:
11194 Replace uses of send_gdb / gdb_expect.
11195 * gdb.reverse/sigall-precsave.exp:
11196 Replace uses of send_gdb / gdb_expect.
11197 * gdb.reverse/sigall-reverse.exp:
11198 Replace uses of send_gdb / gdb_expect.
11199 * gdb.reverse/solib-precsave.exp:
11200 Replace uses of send_gdb / gdb_expect.
11201 * gdb.reverse/solib-reverse.exp:
11202 Replace uses of send_gdb / gdb_expect.
11203 * gdb.reverse/step-precsave.exp:
11204 Replace uses of send_gdb / gdb_expect.
11205 * gdb.reverse/step-reverse.exp:
11206 Replace uses of send_gdb / gdb_expect.
11207 * gdb.reverse/until-precsave.exp:
11208 Replace uses of send_gdb / gdb_expect.
11209 * gdb.reverse/until-reverse.exp:
11210 Replace uses of send_gdb / gdb_expect.
11211 * gdb.reverse/watch-precsave.exp:
11212 Replace uses of send_gdb / gdb_expect.
11213 * gdb.reverse/watch-reverse.exp:
11214 Replace uses of send_gdb / gdb_expect.
11215
11216 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11217
11218 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11219 excessive newline.
11220
11221 2010-05-27 Michael Snyder <msnyder@vmware.com>
11222
11223 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
11224 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11225 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11226 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11227 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11228 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11229 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11230 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11231 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11232 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11233 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11234 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11235 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11236 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11237 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11238 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11239 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11240 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11241 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
11242
11243 2010-05-26 Michael Snyder <msnyder@vmware.com>
11244
11245 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11246 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11247
11248 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11249 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11250 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11251
11252 * gdb.reverse/consecutive-reverse.exp:
11253 Replace uses of send_gdb / gdb_expect.
11254 * gdb.reverse/consecutive-precsave.exp:
11255 Replace uses of send_gdb / gdb_expect.
11256
11257 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11258 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11259 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
11260 * gdb.mi/mi-ns-stale-regcache.exp:
11261 Replace uses of send_gdb / gdb_expect.
11262 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11263 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11264 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11265 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11266 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11267 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11268 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11269 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11270 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
11271
11272 2010-05-26 Michael Snyder <msnyder@vmware.com>
11273
11274 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
11275
11276 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
11277
11278 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11279 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11280 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11281 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11282 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11283 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11284 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11285 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11286 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
11287
11288 2010-05-25 Tom Tromey <tromey@redhat.com>
11289
11290 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11291
11292 2010-05-25 Tom Tromey <tromey@redhat.com>
11293
11294 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11295 argument order.
11296 * gdb.base/macscp.exp: Fix setup_kfail argument order.
11297 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11298 order.
11299 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11300 order.
11301 * gdb.base/call-sc.exp (setup_kfails): Remove.
11302 (setup_compiler_kfails): Remove.
11303 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11304 argument order.
11305 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11306 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11307 (advancei): Fix setup_kfail argument order.
11308 * gdb.base/radix.exp: Fix setup_kfail argument order.
11309 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11310 order.
11311 * gdb.base/structs.exp (setup_kfails): Remove.
11312 (setup_compiler_kfails): Fix setup_kfail argument order.
11313 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11314 order.
11315 * gdb.java/jmain.exp: Fix setup_kfail argument order.
11316 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11317 setup_kfail argument order.
11318 * gdb.cp/overload.exp: Fix setup_kfail argument order.
11319
11320 2010-05-25 Tom Tromey <tromey@redhat.com>
11321
11322 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11323
11324 2010-05-25 Michael Snyder <msnyder@vmware.com>
11325
11326 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11327 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11328 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11329 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11330 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11331 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11332 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11333 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11334 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
11335 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11336 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11337 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11338 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11339 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11340 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11341 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11342 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11343 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11344 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11345 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11346 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11347 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11348 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
11349 * gdb.base/default.exp: Replace send_gdb with gdb_test.
11350 * gdb.base/define.exp: Replace send_gdb with gdb_test.
11351 * gdb.base/display.exp: Replace send_gdb with gdb_test.
11352 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11353 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11354 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11355 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11356 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11357 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11358 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11359 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11360 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11361 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11362 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11363 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11364 * gdb.base/help.exp: Replace send_gdb with gdb_test.
11365 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11366 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11367 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
11368 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11369 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11370 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11371 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11372 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
11373 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
11374
11375 2010-05-25 Doug Evans <dje@google.com>
11376
11377 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11378 gdb.string_to_argv.
11379
11380 2010-05-21 Tom Tromey <tromey@redhat.com>
11381
11382 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11383 Call it.
11384 * gdb.dwarf2/pieces.S: Update.
11385 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11386
11387 2010-05-21 Tom Tromey <tromey@redhat.com>
11388
11389 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11390 Call it.
11391 * gdb.dwarf2/pieces.c (struct C): New.
11392 (f6): New function.
11393 * gdb.dwarf2/pieces.S: Replace.
11394
11395 2010-05-21 Tom Tromey <tromey@redhat.com>
11396
11397 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11398 Call it.
11399
11400 2010-05-21 Tom Tromey <tromey@redhat.com>
11401
11402 * gdb.dwarf2.pieces.exp: New file.
11403 * gdb.dwarf2.pieces.S: New file.
11404 * gdb.dwarf2.pieces.c: New file.
11405
11406 2010-05-20 Pedro Alves <pedro@codesourcery.com>
11407 Joel Brobecker <brobecker@adacore.com>
11408
11409 * lib/gdb.exp (gdb_test_no_output): New function.
11410 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11411 when testing commands that should produce no output.
11412
11413 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11414
11415 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11416 parameter that we want to watch being a constant.
11417
11418 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11419
11420 * gdb.ada/cond_lang: New testcase.
11421
11422 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11423
11424 * lib/gdb.exp (banned_variables): New variable/constant.
11425 (gdb_init): Add write trace on variables listed in banned_variables.
11426 (gdb_finish): Remove write traces on variables listed in
11427 banned_variables.
11428
11429 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11430
11431 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11432 * gdb.cp/koenig.exp: Likewise.
11433
11434 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
11435
11436 PR python/11482
11437
11438 * gdb.python/py-value.exp (test_value_hash): New function.
11439
11440 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
11441
11442 PR exp/11530.
11443 * gdb.base/gdb11530.c: New file.
11444 * gdb.base/gdb11530.exp: New file.
11445
11446 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11447
11448 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11449 * gdb.dwarf2/dw2-modula2-self-type.S: New.
11450
11451 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
11452
11453 * gdb.cp/koenig.exp: New test.
11454 * gdb.cp/koenig.cc: New test program.
11455
11456 2010-05-05 Joel Brobecker <brobecker@adacore.com>
11457
11458 Remove the use of prms_id and bug_id throughout the testsuite.
11459
11460 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
11461
11462 PR exp/11349.
11463 * testsuite/gdb.cp/ref-types.exp: Add test to examine
11464 use a reference local variable.
11465
11466 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11467
11468 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
11469 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
11470 variable different_dir. Move debugfile into a full directory pathname
11471 under DIFFERENT_DIR.
11472 * lib/gdb.exp (separate_debug_filename): Remove.
11473 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
11474 variable debug_dir and mkdir of it. Update function comments.
11475
11476 2010-04-29 Pedro Alves <pedro@codesourcery.com>
11477
11478 PR gdb/11557
11479
11480 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
11481 files.
11482
11483 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
11484
11485 * gdb.python/py-param.exp: New File.
11486
11487 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
11488
11489 * gdb.base/default.exp: Fix "set language" test.
11490
11491 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
11492
11493 PR breakpoints/11531.
11494 * gdb.base/gdb11531.c: New file.
11495 * gdb.base/gdb11531.exp: New file.
11496
11497 2010-04-26 Tom Tromey <tromey@redhat.com>
11498
11499 * gdb.base/completion.exp: Add tests for completion and deprecated
11500 commands.
11501
11502 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11503
11504 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
11505 (print /x char_array): Escape curly brackets.
11506
11507 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11508
11509 Fix deadlock on looped list of loaded shared objects.
11510 * gdb.base/solib-corrupted.exp: New.
11511
11512 2010-04-23 Doug Evans <dje@google.com>
11513
11514 * gdb.python/py-section-script.c: New file.
11515 * gdb.python/py-section-script.exp: New file.
11516 * gdb.python/py-section-script.py: New file.
11517
11518 2010-04-20 Chris Moller <cmoller@redhat.com>
11519
11520 PR 10179
11521
11522 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
11523 * gdb.base/pr10179-a.c:
11524 * gdb.base/pr10179-b.c:
11525 * gdb.base/pr10179.exp: New files.
11526
11527 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11528
11529 Fix crashes on dangling display expressions.
11530 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
11531 is SEP.
11532 (lib_flags): Remove the "debug" keyword.
11533 (libsepdebug): New variable for iterating new loop.
11534 (save_pf_prefix): New variable wrapping the loop.
11535 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
11536 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
11537
11538 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11539
11540 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
11541
11542 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11543
11544 PR stabs/11479.
11545 * gdb.stabs/gdb11479.exp: New file.
11546 * gdb.stabs/gdb11479.c: New file.
11547
11548 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11549
11550 * gdb.base/charset.c (Strin16, String32): New variables.
11551 * gdb.base/charset.exp (gdb_test): Test correct display
11552 of 16 or 32 bit strings.
11553
11554 2010-04-21 Chris Moller <cmoller@redhat.com>
11555
11556 PR 9167
11557 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
11558 * gdb.cp/pr9167.cc: New file.
11559 * gdb.cp/pr9167.exp: New file.
11560
11561
11562 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
11563
11564 PR pascal/11492.
11565 * gdb.pascal/gdb11492.pas: New file.
11566 * gdb.pascal/gdb11492.exp: New file.
11567
11568 2010-04-20 Joel Brobecker <brobecker@adacore.com>
11569
11570 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
11571
11572 2010-04-20 Joel Brobecker <brobecker@adacore.com>
11573
11574 * gdb.ada/dyn_loc: New testcase.
11575
11576 2010-04-20 Chris Moller <cmoller@redhat.com>
11577
11578 PR 10867
11579
11580 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
11581 * gdb.cp/pr10687.cc: New file.
11582 * gdb.cp/pr10687.exp: New file.
11583
11584
11585 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11586 Sergio Durigan Junior <sergiodj@redhat.com>
11587
11588 * gdb.fortran/logical.exp: New testcase.
11589 * gdb.fortran/logical.f90: New file.
11590
11591 2010-04-19 Doug Evans <dje@google.com>
11592
11593 * gdb.base/help.exp (help source): Update expected output.
11594
11595 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11596
11597 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
11598 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
11599 gdb_exit and return.
11600 (executable): New variable.
11601 (binfile): Use it.
11602
11603 2010-04-19 Pedro Alves <pedro@codesourcery.com>
11604
11605 PR breakpoints/8554.
11606
11607 * gdb.trace/save-trace.exp: Adjust.
11608
11609 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
11610
11611 PR corefiles/11511
11612 * gdb.arch/system-gcore.exp: New.
11613 * gdb.arch/gcore.c: Likewise.
11614
11615 2010-04-15 Doug Evans <dje@google.com>
11616
11617 * gdb.python/py-progspace.c: New file.
11618 * gdb.python/py-progspace.exp: New file.
11619
11620 * gdb.base/source.exp: Add tests for "source -s".
11621
11622 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
11623
11624 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
11625 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
11626 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
11627 * gdb.python/py-mi.exp: New test for to_string returning None.
11628
11629 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
11630
11631 * gdb.python/py-breakpoint.c: Make result global.
11632
11633 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11634
11635 Fix non-GNU make compatibility.
11636 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
11637
11638 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
11639
11640 * gdb.python/py-breakpoint.exp: New File.
11641 * gdb.python/py-breakpoint.C: Ditto.
11642
11643 2010-04-08 Stan Shebs <stan@codesourcery.com>
11644
11645 * gdb.trace/actions.exp: Clear default-collect.
11646 * gdb.trace/save-trace.exp: Clear default-collect.
11647
11648 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
11649
11650 * gdb.python/py-value: Add null string variable.
11651 (test_lazy_string): Test zero length, NULL address lazy
11652 strings.
11653
11654 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
11655
11656 * gdb.arch/i386-avx.c: New.
11657 * gdb.arch/i386-avx.exp: Likewise.
11658
11659 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
11660
11661 2010-04-06 Doug Evans <dje@google.com>
11662
11663 * gdb.base/source-test.gdb: New file.
11664 * gdb.base/source.exp: Test source -v.
11665
11666 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11667
11668 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
11669
11670 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
11671
11672 * gdb.stabs/aout.sed: Convert all backslash to double backslash
11673 within one line, unless it is followed by a double quote.
11674 * gdb.stabs/hppa.sed: Idem.
11675 * gdb.stabs/weird.def: Add char and String constants
11676 * gdb.stabs/weird.exp: Check for correct parsing of
11677 char and string constants.
11678 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
11679 in .stabs to .stabx substitution.
11680
11681 2010-04-05 Stan Shebs <stan@codesourcery.com>
11682
11683 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
11684 constant global.
11685 * gdb.trace/tfile.exp: Try to print them.
11686
11687 2010-04-04 Stan Shebs <stan@codesourcery.com>
11688
11689 * gdb.base/completion.exp: Update for new "info watchpoints".
11690 * gdb.base/default.exp: Ditto.
11691 * gdb.base/help.exp: Ditto.
11692 * gdb.base/watchpoint.exp: Ditto.
11693 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
11694
11695 2010-04-04 Stan Shebs <stan@codesourcery.com>
11696
11697 * gdb.trace/tfile.exp: Sharpen tfind test.
11698
11699 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11700
11701 * gdb.base/break-entry.exp: New.
11702
11703 2010-04-02 Hui Zhu <teawater@gmail.com>
11704 Michael Snyder <msnyder@vmware.com>
11705
11706 * gdb.reverse/i386-sse-reverse.exp: New file.
11707 * gdb.reverse/i386-sse-reverse.c: New file.
11708
11709 2010-04-02 Pedro Alves <pedro@codesourcery.com>
11710
11711 * gdb.trace/tfind.exp: Adjust expected disassembly output.
11712
11713 2010-04-01 Stan Shebs <stan@codesourcery.com>
11714
11715 * gdb.trace/actions.exp: Tweak expected output.
11716 * gdb.trace/while-stepping.exp: Tweak expected output.
11717
11718 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
11719
11720 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11721
11722 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11723
11724 * gdb.base/commands.exp: Adjust.
11725 * gdb.cp/extern-c.exp: Adjust.
11726
11727 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11728
11729 * gdb.trace/collection.c (local_test_func): Define a local struct,
11730 and instanciate it.
11731
11732 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11733
11734 * gdb.trace/collection.exp (gdb_collect_args_test)
11735 (gdb_collect_argarray_test): XFAIL the tests that assume the
11736 argarray argument's elements are collected.
11737
11738 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11739
11740 * gdb.dwarf2/dw2-bad-parameter-type.exp,
11741 gdb.dwarf2/dw2-bad-parameter-type.S: New.
11742
11743 2010-03-31 Stan Shebs <stan@codesourcery.com>
11744
11745 * gdb.trace/save-trace.exp: Test save/restore of default-collect
11746 and tracepoint conditionals.
11747 (gdb_verify_tracepoints): Delete unused return.
11748
11749 2010-03-26 Keith Seitz <keiths@redhat.com>
11750
11751 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11752 appear in the output before main.
11753 Remove KFAIL for gdb/2215 aka bz 9320.
11754
11755 2010-03-30 Doug Evans <dje@google.com>
11756
11757 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11758 by dejagnu.
11759 * gdb.arch/amd64-dword.exp: Ditto.
11760
11761 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11762 match.
11763 (break printf): Ditto.
11764
11765 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
11766
11767 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11768 gcc < 4.4.
11769 * gdb.cp/shadow.exp: Ditto.
11770
11771 2010-03-29 Pedro Alves <pedro@codesourcery.com>
11772
11773 * gdb.trace/collection.exp (run_trace_experiment): Make sure
11774 "tstart" is silent.
11775
11776 2010-03-29 Pedro Alves <pedro@codesourcery.com>
11777
11778 * gdb.trace/collection.exp (executable): New.
11779 (binfile): Use it.
11780 (fpreg, spreg, pcreg): New.
11781 (test_register): Use gdb_test_multiple. Pass /x to print.
11782 (prepare_for_trace_test): New.
11783 (run_trace_experiment): Use "continue", not gdb_run_cmd.
11784 (gdb_collect_args_test, gdb_collect_argstruct_test)
11785 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11786 prepare_for_trace_test.
11787 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
11788 fpreg, spreg and pcreg.
11789 (gdb_collect_expression_test, gdb_collect_globals_test): Use
11790 prepare_for_trace_test.
11791 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
11792 try to detect tracing support here. Don't set breakpoints at
11793 `begin' or `end' here.
11794 <global scope>: Use clean_restart. Run to main before checking
11795 for tracing support. Check for for tracing support here.
11796
11797 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11798
11799 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11800 " as $displacement" to "seen displacement message".
11801
11802 2010-03-28 Pedro Alves <pedro@codesourcery.com>
11803
11804 * gdb.trace/while-dyn.exp (executable): New variable.
11805 (binfile): Use it.
11806 (test_while_stepping): New function. Move most tests here. Call
11807 it once for each of the while-stepping, stepping and ws aliases.
11808
11809 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11810
11811 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11812 that do not provide the tagless_struct type name at all.
11813 (test_print_anon_union): Do not check value of uninitialized
11814 union member. Do not use cp_test_ptype_class, so we can accept
11815 "long" as well as "long int".
11816
11817 2010-03-26 Pedro Alves <pedro@codesourcery.com>
11818
11819 * gdb.trace/tfile.c (tohex, bin2hex): New.
11820 (write_error_trace_file): Hexify error description.
11821
11822 2010-03-25 Stan Shebs <stan@codesourcery.com>
11823
11824 * gdb.trace/tfile.c: Generate an additional trace file, improve
11825 portability.
11826 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11827 files in a better way.
11828
11829 2010-03-25 Keith Seitz <keiths@redhat.com>
11830
11831 * gdb.java/jprint.exp: XFAIL printing of static class members
11832 because of GCC debuginfo problem.
11833
11834 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11835
11836 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11837
11838 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11839
11840 * gdb.base/completion.exp: Allow long instead of long int.
11841 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11842 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
11843 variable p.
11844 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11845 * gdb.base/pointers.exp: Allow long instead of long int.
11846 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
11847 * gdb.base/step-line.exp: Allow a directory before the source file name.
11848
11849 2010-03-24 Tom Tromey <tromey@redhat.com>
11850
11851 PR breakpoints/9352:
11852 * gdb.base/default.exp: Update.
11853 * gdb.base/commands.exp: Update.
11854 * gdb.cp/extern-c.exp: Test setting commands on multiple
11855 breakpoints at once.
11856
11857 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11858
11859 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
11860 if gdb,nosignals.
11861 * gdb.base/watchpoints.c: Do not include unnecessary headers.
11862 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
11863 exited".
11864
11865 2010-03-24 Stan Shebs <stan@codesourcery.com>
11866
11867 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
11868
11869 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11870
11871 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
11872 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
11873 argument. Handle "short" and "long".
11874 (Top level): Pass overprototyped output for old_fptr and xptr.
11875
11876 2010-03-23 Pedro Alves <pedro@codesourcery.com>
11877
11878 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
11879 format strings and add casts to avoid compiler warnings.
11880
11881 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
11882
11883 * lib/trace-support.exp (gdb_trace_setactions):
11884 Don't expect whitespace after ">" prompt.
11885 * gdb.trace/actions.exp: Adjust for output changes.
11886 * gdb.trace/while-stepping.exp: Likewise.
11887
11888 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11889
11890 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
11891 and r157645).
11892
11893 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11894
11895 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
11896 New.
11897
11898 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
11899
11900 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
11901 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
11902
11903 2010-03-19 Stan Shebs <stan@codesourcery.com>
11904
11905 * gdb.trace/ax.exp: New file.
11906
11907 2010-03-19 Doug Evans <dje@google.com>
11908
11909 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
11910 output from gcc.
11911
11912 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
11913 named /usr/sbin/prelink<foo>.
11914
11915 2010-03-18 Stan Shebs <stan@codesourcery.com>
11916
11917 * gdb.trace/circ.exp: Test circular-trace-buffer.
11918 * gdb.trace/tfile.exp: Update tstatus test.
11919
11920 2010-03-18 Joel Brobecker <brobecker@adacore.com>
11921
11922 * gdb.dwarf2/dw2-anonymous-func.S: New file.
11923 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
11924
11925 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11926
11927 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
11928
11929 2010-03-18 Pedro Alves <pedro@codesourcery.com>
11930
11931 * gdb.base/default.exp: Adjust the expected output of the finish
11932 and until commands when the inferior is not being run.
11933
11934 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
11935
11936 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
11937 * gdb.cp/nsusing.exp: Ditto.
11938
11939 2010-03-15 Tom Tromey <tromey@redhat.com>
11940
11941 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
11942 * gdb.cp/userdef.cc (operator==): New function.
11943 (main): New locals mem1, mem2.
11944
11945 2010-03-15 Jie Zhang <jie@codesourcery.com>
11946
11947 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
11948 Declare and use new loadtimeout variable.
11949
11950 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
11951
11952 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
11953 Use gdb_load later.
11954
11955 2010-03-14 Pedro Alves <pedro@codesourcery.com>
11956
11957 * gdb.base/solib-disc.c (main): Make format of fprintf a string
11958 literal. Add missing endlines to prints to stderr.
11959
11960 2010-03-12 Tom Tromey <tromey@redhat.com>
11961
11962 PR c++/9708:
11963 * gdb.cp/m-static.exp: Add regression test.
11964 * gdb.cp/m-static.cc (method): New method.
11965 (main): Call it.
11966
11967 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
11968
11969 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
11970 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
11971
11972 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
11973
11974 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
11975
11976 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
11977
11978 * lib/gdb.exp (skip_stl_tests): New.
11979 (gdb_compile): Symbian needs -ldl.
11980 (shlib_target_file): New.
11981 (shlib_symbol_file): New.
11982 (gdb_load_shlibs): Use shlib_target_file.
11983 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
11984 * gdb.cp/exception.exp: Use skip_stl_tests.
11985 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
11986 * gdb.cp/try_catch.exp: Use skip_stl_tests.
11987 * gdb.cp/mb-templates.exp: Ditto.
11988 * gdb.base/commands.exp: Relax regexes.
11989 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
11990 shlib_target_file and shlib_symbol_file.
11991 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
11992 sections.
11993 * gdb.base/ending-run.exp: Accept E32Main for symbian.
11994 * gdb.base/solib-disc.exp: Use
11995 shlib_target_file and shlib_symbol_file.
11996 * gdb.base/unload.exp: Don't skip on symbian. Use
11997 shlib_target_file and shlib_symbol_file.
11998 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
11999
12000 2010-03-12 Pedro Alves <pedro@codesourcery.com>
12001
12002 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12003 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12004 Issue a tfind end before looking for a tracepoint frame.
12005 * gdb.trace/tfind.exp: Adjust tstatus output.
12006 Adjust disassembly output.
12007 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12008
12009 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12010
12011 * gdb.base/break-interp.exp: Create new displacement parameter value
12012 for the test_ld calls.
12013 (reach): New parameter displacement, verify its content. New push of
12014 pf_prefix "reach-$func:". Import global expect_out.
12015 (test_core): New parameter displacement, verify its content. New push
12016 of pf_prefix "core:". New command "set verbose on". Import global
12017 expect_out.
12018 (test_attach): New parameter displacement, verify its content. New
12019 push of pf_prefix "attach:". New command "set verbose on". Import
12020 global expect_out.
12021 (test_ld): New parameter displacement, pass it to the reach, test_core
12022 and test_attach calls and verify its content in the "ld.so exit" test.
12023 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12024 (prelink): Update expected text, use gdb_test.
12025
12026 2010-03-10 Doug Evans <dje@google.com>
12027
12028 * gdb.base/checkpoint.exp: Fix comment.
12029 Lengthen timeout while doing >600 checkpoints test.
12030 Rename duplicate "kill all one" test to keep test names unique.
12031
12032 2010-03-10 Pedro Alves <pedro@codesourcery.com>
12033
12034 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12035
12036 2010-03-08 Keith Seitz <keiths@redhat.com>
12037
12038 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12039 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12040 (dm_type_long): New function.
12041 (dm_type_unsigned_short): New function.
12042 (dm_type_unsigned_long): New function.
12043 (myint): New typedef.
12044 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12045 long, unsigned shor and long, operator char*, and typedef.
12046 (test_lookup_operator_functions): Add operator char* test.
12047 (test_paddr_operator_functions): Likewise.
12048 (test_paddr_overloaded_functions): Use probe values for
12049 short, long, and unsigned short and long.
12050 (test_paddr_hairy_functions): If the demangler probe detected
12051 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12052 demangler.
12053 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12054 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12055 and "print null_pmf".
12056 Add test "ptype a.*pmf".
12057 * gdb.cp/overload.exp: Allow optional "int" to appear with
12058 "short" and "long".
12059 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12060 long expect value for men_overload1arg.
12061 Allow "int" to appear with "short" and "long".
12062 When testing "info break", add argument for main (void).
12063 Also allow "int" to appear with "short" and "long".
12064 Ditto with "unsigned" and "long long".
12065 * gdb.java/jmain.exp: Do not enclose methods names in single
12066 quotes.
12067 * gdb.java/jmisc.exp: Likewise.
12068 * gdb.java/jprint.exp: Likewise.
12069 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12070
12071 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12072 * gdb.cp/exception.exp (backtrace after first throw)
12073 (backtrace after second throw): Allow a namespace before __cxa_throw.
12074 (backtrace after first catch, backtrace after second catch): Allow
12075 a namespace before __cxa_begin_catch.
12076
12077 * gdb.cp/cpexprs.exp: New file.
12078 * gdb.cp/cpexprs.cc: New file.
12079
12080 From Daniel Jacobowitz <dan@codesourcery.com>
12081 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12082 to use string_to_regexp.
12083 (ctor, dtor): New functions. Use them to match constructor
12084 and destructor function types.
12085 (Top level): Use runto_main.
12086
12087 2010-03-05 Tom Tromey <tromey@redhat.com>
12088
12089 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12090 gdb.target_charset.
12091 (pp_ns.to_string): Likewise.
12092
12093 2010-03-04 Keith Seitz <keiths@redhat.com>
12094
12095 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12096 can be quoted. Test that both the filename and function/line
12097 portions can be quoted at the same time.
12098
12099 2010-03-04 Pedro Alves <pedro@codesourcery.com>
12100
12101 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12102
12103 2010-03-03 Doug Evans <dje@google.com>
12104
12105 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12106 libc contains libpthread.
12107
12108 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12109 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12110 of gdb_compile. Add another pattern to match android backtrace.
12111
12112 2010-03-03 Tom Tromey <tromey@redhat.com>
12113
12114 PR gdb/11345:
12115 * gdb.base/printcmds.exp (test_printf): Add test.
12116
12117 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12118
12119 * gdb.arch/amd64-byte.exp: New.
12120 * gdb.arch/amd64-dword.exp: Likewise.
12121 * gdb.arch/amd64-pseudo.c: Likewise.
12122 * gdb.arch/amd64-word.exp: Likewise.
12123 * gdb.arch/i386-byte.exp: Likewise.
12124 * gdb.arch/i386-pseudo.c: Likewise.
12125 * gdb.arch/i386-word.exp: Likewise.
12126
12127 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12128
12129 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12130 types. Add structreg, bitfields, and flags registers.
12131 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12132 registers.
12133
12134 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12135
12136 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12137 (load_description): Set architecture if defined.
12138
12139 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12140
12141 * gdb.python/py-frame.exp: Add read_var block tests.
12142 * gdb.python/py-frame.c (block): New function.
12143
12144 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12145 Daniel Jacobowitz <dan@codesourcery.com>
12146
12147 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12148
12149 2010-02-25 David S. Miller <davem@davemloft.net>
12150
12151 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12152 fix logic for setting all_syscalls_numbers.
12153
12154 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12155
12156 * Makefile.in: Add py-block and py-symbol.
12157 * gdb.python/py-symbol.exp: New File.
12158 * gdb.python/py-symtab.exp: New File.
12159 * gdb.python/py-block.exp: New File.
12160 * gdb.python/py-symbol.c: New File.
12161 * gdb.python/py-block.c: New File.
12162
12163 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12164
12165 PR python/11314
12166 * lib/gdb.exp (skip_python_tests): New function.
12167 * gdb.python/py-cmd.exp: Use skip_python_tests.
12168 * gdb.python/py-frame.exp: Likewise.
12169 * gdb.python/py-function.exp: Likewise.
12170 * gdb.python/py-prettyprint.exp: Likewise.
12171 * gdb.python/py-template.exp: Likewise.
12172 * gdb.python/py-type.exp: Likewise.
12173 * gdb.python/py-value.exp: Likewise.
12174
12175 2010-02-22 Pedro Alves <pedro@codesourcery.com>
12176
12177 PR9605
12178
12179 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12180
12181 2010-02-19 Tom Tromey <tromey@redhat.com>
12182
12183 PR c++/8693, PR c++/9496:
12184 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12185 regression tests.
12186
12187 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12188
12189 Fix compatibility with m68k as.
12190 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12191 Use only /* comments */.
12192
12193 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12194
12195 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12196 * configure: Regenerate.
12197
12198 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12199
12200 * gdb.python/py-type.exp: Check for Python support.
12201
12202 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12203
12204 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12205 `regsub' syntax available.
12206
12207 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12208
12209 * gdb.base/shmain.c (main): Remove printf call.
12210 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12211 * gdb.base/unload.c (main): Make format of fprintf a string
12212 literal. Add missing endlines to prints to stderr.
12213 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12214
12215 2010-02-17 Tom Tromey <tromey@redhat.com>
12216
12217 * gdb.java/jprint.java (jprint.props): New field.
12218 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12219
12220 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12221
12222 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12223 available.
12224
12225 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12226
12227 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12228 creation to support remote host testing.
12229
12230 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12231
12232 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12233 Recognize "command not found".
12234
12235 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12236
12237 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12238 single-stepping.
12239
12240 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12241
12242 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12243 if arguments are not supported.
12244
12245 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12246
12247 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12248 be const or non-const.
12249
12250 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12251
12252 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12253 mi_send_resuming_command to send -exec-continue.
12254
12255 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12256
12257 * gdb.base/list.exp (test_list_filename_and_function): Add test
12258 with single quotes.
12259 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12260 matching.
12261 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12262 Add KFAIL'd tests for PR gdb/11289.
12263
12264 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12265
12266 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12267
12268 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12269
12270 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12271 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12272 a temporary directory.
12273
12274 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12275
12276 * gdb.base/charset.exp: Use a single regular expression to match
12277 show host-charset and show target-charset output.
12278
12279 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12280
12281 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12282 "Illegal process-id" expect string more exact.
12283 (attach to digits-starting nonsense is prohibited): New.
12284
12285 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12286
12287 * gdb.base/prelink.exp (set verbose on): New.
12288
12289 2010-02-12 Tomas Holmberg <th@virtutech.com>
12290
12291 * mi-reverse.exp: New file. Test for reverse option to the
12292 following MI commands: exec-continue, exec-finish, exec-next,
12293 exec-step, exec-next-instruction, exec-step-instruction.
12294
12295 2010-02-09 Joel Brobecker <brobecker@adacore.com>
12296
12297 * gdb.ada/ptype_tagged_param: New testcase.
12298
12299 2010-02-08 Tom Tromey <tromey@redhat.com>
12300
12301 PR c++/8017:
12302 * gdb.cp/overload.exp: Add tests.
12303 * gdb.cp/overload.cc (struct K): New.
12304 (namespace N): New.
12305 (main): Call new functions.
12306 (K::staticoverload): Define.
12307
12308 2010-02-08 Chris Moller <moller@mollerware.com>
12309
12310 PR gdb/10728
12311 * gdb.cp/pr10728-x.h: New file.
12312 * gdb.cp/pr10728-x.cc: New file.
12313 * gdb.cp/pr10728-y.cc: New file.
12314 * gdb.cp/pr10728.exp: New file.
12315 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12316
12317 2010-02-08 Chris Moller <moller@mollerware.com>
12318
12319 PR gdb/9067
12320 * gdb.cp/pr9067.exp: New
12321 * gdb.cp/pr9067.cc: New
12322 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12323
12324 2010-02-08 Joel Brobecker <brobecker@adacore.com>
12325
12326 * lib/gdb.exp (gdb_test_timeout): New global variable.
12327 Set it to timeout if not already set.
12328 (gdb_init): Reset the value of timeout to gdb_test_timeout.
12329
12330 2010-02-05 Doug Evans <dje@google.com>
12331
12332 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12333 user.
12334
12335 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
12336
12337 PR c++/7935:
12338 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12339
12340 2010-02-04 Tom Tromey <tromey@redhat.com>
12341
12342 * gdb.cp/virtbase.exp: Make test case names unique.
12343
12344 2010-02-02 Tom Tromey <tromey@redhat.com>
12345
12346 * gdb.cp/virtbase.exp: Add regression tests.
12347 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12348 (main): Instantiate RHC.
12349
12350 2010-02-02 Tom Tromey <tromey@redhat.com>
12351
12352 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12353 type-printing change.
12354
12355 2010-02-02 Tom Tromey <tromey@redhat.com>
12356
12357 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12358 * gdb.cp/virtbase.cc: New file.
12359 * gdb.cp/virtbase.exp: New file.
12360 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12361
12362 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12363
12364 PR libc/11214:
12365 * gdb.threads/current-lwp-dead.c: Include features.h.
12366 (HAS_NOMMU): New.
12367 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12368
12369 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12370
12371 * gdb.base/symbol-without-target_section.exp,
12372 gdb.base/symbol-without-target_section.c: New.
12373
12374 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12375
12376 * gdb.base/bigcore.exp: Reset increased timeout.
12377 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12378
12379 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12380
12381 * gdb.base/gcore.exp (capture_command_output): Use
12382 gdb_test_multiple.
12383
12384 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12385
12386 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12387 * gdb.arch/thumb2-it.exp (test_it_break): New function.
12388 (Top level): Call it.
12389
12390 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12391
12392 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12393
12394 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12395
12396 * gdb.base/call-strs.exp, gdb.base/default.exp,
12397 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12398 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12399 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12400 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12401 gdb.base/watchpoint-solib.exp: Save and restore timeout.
12402 * gdb.base/ending-run.exp: Correct restore of timeout.
12403 * gdb.base/page.exp: Remove unnecessary timeout setting.
12404
12405 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12406
12407 * gdb.ada/rec_return: New testcase.
12408
12409 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12410
12411 * gdb.ada/call_pn: New testcase.
12412
12413 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12414
12415 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12416 (Top level): Use it to resume.
12417 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12418 the Thumb mode displaced stepping error as unsupported.
12419
12420 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
12421
12422 * gdb.cp/nsusing.exp: Added more tests.
12423 * gdb.cp/nsrecurs.exp: Ditto.
12424 * gdb.cp/nsusing.cc: Added test functions.
12425 * gdb.cp/nsrecurs.cc: Ditto.
12426
12427 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12428
12429 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12430 absolute directory pathnames in gdb.sum file.
12431
12432 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
12433
12434 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12435 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12436
12437 2010-01-26 Tom Tromey <tromey@redhat.com>
12438
12439 PR exp/7643:
12440 * gdb.base/printcmds.exp (test_print_string_constants): Remove
12441 setup_kfail.
12442
12443 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
12444
12445 * gdb.cp/nsrecurs.exp: New test.
12446 * gdb.cp/nsrecurs.cc: New test program.
12447 * gdb.cp/nsstress.exp: New test.
12448 * gdb.cp/nsstress.cc: New test program.
12449 * gdb.cp/nsdecl.exp: New test.
12450 * gdb.cp/nsdecl.cc: New test program.
12451
12452 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
12453
12454 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12455 imported into file scope.
12456 Marked test as xfail.
12457 * gdb.cp/namespace-using.cc (marker5): New function.
12458 * gdb.cp/shadow.exp: New test.
12459 * gdb.cp/shadow.cc: New test program.
12460 * gdb.cp/nsimport.exp: New test.
12461 * gdb.cp/nsimport.cc: New test program.
12462
12463 2010-01-25 Tom Tromey <tromey@redhat.com>
12464
12465 PR gdb/11049:
12466 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
12467 with "set print null-stop on".
12468
12469 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12470
12471 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
12472 Adjust it for DISASSEMBLY_OMIT_FNAME.
12473
12474 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12475
12476 PR symtab/11199:
12477 * gdb.dwarf2/member-ptr-forwardref.exp,
12478 gdb.dwarf2/member-ptr-forwardref.S: New.
12479
12480 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12481
12482 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
12483 (thread1_func): Protect thread1_tid with thread1_tid_cond by
12484 thread1_tid_mutex. Remove gdbstop_mutex handling.
12485 (thread2_func): Protect thread2_tid with thread2_tid_cond by
12486 thread2_tid_mutex. Remove gdbstop_mutex handling.
12487 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
12488 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
12489 pthread_cond_wait conditionalizations by while loops.
12490
12491 2010-01-20 Tom Tromey <tromey@redhat.com>
12492
12493 PR backtrace/10770:
12494 * gdb.dwarf2/pr10770.exp: New file.
12495 * gdb.dwarf2/pr10770.c: New file.
12496 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
12497
12498 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
12499
12500 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
12501 that target was removed, and the test always runs native anyway.
12502
12503 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12504
12505 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
12506 gdb.base/watchpoint-cond-gone-stripped.c: New.
12507
12508 2010-01-19 Tom Tromey <tromey@redhat.com>
12509
12510 PR c++/8000:
12511 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
12512 existing tests.
12513 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
12514 (main): Use AAA::SomeEnum.
12515
12516 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12517
12518 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
12519 (test_ignore_count): Declare line_callme_body global.
12520 (run to breakpoint with ignore count): Use line_callme_body.
12521 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
12522 (set line_main_hello, set line_main_return): Reindent.
12523 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
12524 New.
12525 (continue to callee4): Use line_callee4_body.
12526 (check *stopped from CLI command): Use line_callee4_next.
12527 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
12528 (set line_main_hello, set line_main_return): Reindent.
12529 (set line_callee4_head, set line_callee4_body): New.
12530 (continue to callee4): Use line_callee4_body.
12531
12532 2010-01-18 Tom Tromey <tromey@redhat.com>
12533
12534 PR c++/9680:
12535 * gdb.cp/casts.cc: Add new classes and variables.
12536 * gdb.cp/casts.exp: Test new operators.
12537
12538 2010-01-18 Tom Tromey <tromey@redhat.com>
12539 Thiago Jung Bauermann <bauerman@br.ibm.com>
12540
12541 * gdb.python/source2.py: New file.
12542 * gdb.python/source1: New file.
12543 * gdb.python/python.exp: Test "source" command.
12544
12545 2010-01-15 Stan Shebs <stan@codesourcery.com>
12546
12547 * gdb.trace/tfile.c: New file.
12548 * gdb.trace/tfile.exp: New file.
12549
12550 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12551
12552 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
12553
12554 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12555
12556 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
12557
12558 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12559
12560 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
12561 (libfunc): New parameter action. Implement also selectable "sleep".
12562 * gdb.base/break-interp-main.c: Include assert.h.
12563 (libfunc): New parameter action.
12564 (main): New parameters argc and argv. Assert argc. Pass argv.
12565 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
12566 (test_attach): New proc.
12567 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
12568 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
12569
12570 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12571
12572 * gdb.base/break-interp.exp (test_core): New proc.
12573 (test_ld): Call it.
12574
12575 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12576
12577 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
12578 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
12579 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
12580 and gdb_compile_shlib. Use new -Wl compiler options.
12581 (dl bt, main bt): New tests.
12582
12583 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12584
12585 Support PIEs with no symfile_objfile.
12586 * gdb.base/break-interp.exp: New argument at the test_ld calls.
12587 (test_ld): New parameter trynosym.
12588 (test_ld <$trynosym>): New block.
12589
12590 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12591
12592 * gdb.base/break-interp.exp: New file.
12593
12594 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
12595
12596 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
12597 * gdb.python/py-prettyprint.py (pp_ls): New printer.
12598 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
12599 test.
12600 * gdb.python/py-prettyprint.c: Define lazystring test structure.
12601 * gdb.python/py-mi.exp: Add lazy string test.
12602
12603 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
12604
12605 * lib/mi-support.exp (mi_check_thread_states): Handle
12606 core number in thread listing.
12607
12608 2010-01-12 Joel Brobecker <brobecker@adacore.com>
12609
12610 * gdb.base/maint.exp: Adjust the expected output for the
12611 "maint print type" test. Use gdb_test_multiple instead of
12612 gdb_sent/gdb_expect.
12613
12614 2010-01-11 Doug Evans <dje@google.com>
12615
12616 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
12617 from gdbserver_download. All callers updated.
12618
12619 * gdb.server/ext-run.exp: "info os processes" requires xml support.
12620
12621 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12622
12623 Implement binary numbers parsing.
12624 * gdb.base/printcmds.exp (test_integer_literals_accepted)
12625 (test_integer_literals_rejected): New binary tests.
12626
12627 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12628
12629 * gdb.cell/configure: Regenerate.
12630
12631 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12632
12633 * gdb.base/corefile.exp: Move the core finding block out and call it as
12634 core_find, new variable $corefile, replace corefile by $corefile and
12635 [file tail $corefile] for usage vs. test names resp.
12636 * lib/gdb.exp (core_find): Move it as a new function here. New
12637 parameter binfile and deletefiles. New variable $destcore. Pre-delete
12638 $destcore. Return "" on error.
12639
12640 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12641
12642 Workaround PR binutils/10802.
12643 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
12644 (twice).
12645
12646 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12647
12648 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
12649
12650 2010-01-08 Joel Brobecker <brobecker@adacore.com>
12651
12652 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
12653 call, to avoid interruption.
12654
12655 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12656
12657 * gdb.stabs/weird.def (args93): New.
12658
12659 2010-01-07 Doug Evans <dje@google.com>
12660
12661 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
12662
12663 2010-01-07 Tom Tromey <tromey@redhat.com>
12664
12665 * gdb.base/source.exp: Use correct line number.
12666
12667 2010-01-05 Stan Shebs <stan@codesourcery.com>
12668
12669 * gdb.trace/tracecmd.exp: Test ftrace.
12670
12671 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12672
12673 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
12674
12675 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12676
12677 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
12678 "uint_for_mi_testing".
12679
12680 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12681
12682 Test indented comment in file being sourced.
12683 * gdb.base/commands.exp: Test indented comment in file being sourced.
12684
12685 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12686
12687 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12688 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12689 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12690 notice.
12691
12692 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12693
12694 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12695 notice.
12696
12697 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12698
12699 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12700 missing $after_stopped and comma (,) expectation.
12701
12702 2009-12-31 Stan Shebs <stan@codesourcery.com>
12703
12704 * gdb.trace/actions.exp: Test teval action.
12705
12706 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12707
12708 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12709 (top level): Call test_watchpoint_in_big_blob.
12710 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12711 watchpoints.
12712 (func3): Write to buf.
12713
12714 2009-12-29 Stan Shebs <stan@codesourcery.com>
12715
12716 * gdb.trace/actions.exp: Test default-collect.
12717
12718 2009-12-28 Stan Shebs <stan@codesourcery.com>
12719
12720 * gdb.trace/tsv.exp: New file.
12721 * gdb.base/completion.exp: Update ambiguous info output.
12722
12723 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
12724
12725 * gdb.base/find.c (main): Reference search buffers.
12726 * gdb.base/included.c (main): Reference integer.
12727 * gdb.base/ptype.c (charfoo): Declare.
12728 (intfoo): Call charfoo.
12729 * gdb.base/scope0.c (useitp): New function.
12730 (usestatics): Use useitp.
12731 (useit): Add a type for val.
12732 * gdb.base/scope1.c (useit1): Take a pointer argument.
12733 (usestatics1): Update calls to useit1.
12734 * gdb.cp/call-c.cc: Declare foo.
12735 (main): Call foo.
12736 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12737 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12738 (main): Call C::ensureRefs and ensureOtherRefs.
12739 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12740 variables.
12741 (ensureOtherRefs): New function.
12742 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12743 * gdb.cp/templates.cc (main): Call t5i.value.
12744
12745 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12746
12747 Fix compatibility with G++-4.5.
12748 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12749 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12750 (uncaught return): Remove.
12751
12752 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12753 Phil Muldoon <pmuldoon@redhat.com>
12754
12755 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12756 (bp_location13, bp_location14, bp_location17, bp_location18)
12757 (marker3_proto, marker4_proto): New variables.
12758 (breakpoint info): Update output.
12759 (run until breakpoint at marker3, run until breakpoint at marker4): New
12760 tests.
12761
12762 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12763
12764 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12765 Replace the printf call of Y by provided "y-set-1" label. New block
12766 for the second shared library.
12767 * gdb.base/unload.exp: Compile also the second library, call
12768 gdb_load_shlibs also for it. Use now gdb_breakpoint.
12769 (single pending breakpoint info): Rename to ...
12770 (pending breakpoint info before run): ... this extended test.
12771 (libfile2, libname2, libsrcfile2, libsrc2)
12772 (lib_sl2): New variables.
12773 (exec_opts): Set also SHLIB_NAME2.
12774 (pending breakpoint info on first run at shrfunc1)
12775 (pending breakpoint info on second run at shrfunc1)
12776 (pending breakpoint info on second run at shrfunc2)
12777 (print y from libfile, print y from libfile2): New tests.
12778 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12779 * gdb.base/unloadshr2.c: New.
12780
12781 2009-12-22 Hui Zhu <teawater@gmail.com>
12782
12783 * gdb.reverse/sigall-reverse.exp: Adjust.
12784
12785 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
12786
12787 PR gdb/10884
12788
12789 * gdb.mi/var-cmd.c (do_bitfield_tests): New
12790 (main): Call do_bitfield_tests.
12791 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
12792
12793 2009-12-20 Joel Brobecker <brobecker@adacore.com>
12794
12795 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12796 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12797 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12798 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12799 gdb.modula2/unbounded1.c: Update copyright header.
12800
12801 2009-12-10 Chris Moller <moller@mollerware.com>
12802
12803 PR gdb/9399
12804 * gdb.cp/virtfunc2.exp: New tests
12805 * gdb.cp/virtfunc2.cc: New tests
12806 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12807
12808 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
12809
12810 * gdb.reverse/i387-env-reverse.c: New file.
12811 * gdb.reverse/i387-env-reverse.exp: New file.
12812 * gdb.reverse/i387-stack-reverse.c: New file.
12813 * gdb.reverse/i387-stack-reverse.exp: New file.
12814
12815 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
12816
12817 * gdb.python/py-type.exp (test_range): New test.
12818
12819 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
12820
12821 PR python/10805
12822
12823 * gdb.python/py-type.exp: New file.
12824 * gdb.python/py-type.c: New file.
12825 * Makefile.in: Add py-type.
12826
12827 2009-12-03 Tom Tromey <tromey@redhat.com>
12828
12829 * gdb.python/py-value.exp (test_parse_and_eval): New
12830 function.
12831
12832 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12833
12834 PR gdb/11022
12835
12836 * gdb.base/pr11022.exp: New test.
12837 * gdb.base/pr11022.c: New test.
12838
12839 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12840
12841 Fix spurious false FAILs.
12842 * gdb.base/structs.c (chartest): New.
12843 (main): Fill-in chartest.
12844 * gdb.base/structs.exp (anychar_re, first): New.
12845 (start_structs_test): Import global anychar_re and first.
12846 New gdb_test call "set print elements 300; ${testfile}"
12847 (start_structs_test <$first>): New block.
12848 (any): Import global anychar_re. New variable ac. Use ${ac}.
12849
12850 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12851
12852 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
12853
12854 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12855
12856 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
12857 Force $srcfile file.
12858 * gdb.base/foll-fork.c (callee): Comment out the printf call.
12859
12860 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12861
12862 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
12863 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
12864 * gdb.threads/watchthreads-reorder.exp: Likewise.
12865
12866 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
12867
12868 PR gdb/8704
12869
12870 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
12871 "if", and "thread". Correct matching in the previous test.
12872
12873 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
12874
12875 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
12876
12877 2009-11-23 Michael Snyder <msnyder@vmware.com>
12878
12879 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
12880 * gdb.reverse-watch-precsave.exp: Ditto.
12881
12882 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
12883
12884 * gdb.asm/asm-source.exp: Adjust.
12885 * gdb.base/help.exp: Adjust.
12886
12887 2009-11-22 Pedro Alves <pedro@codesourcery.com>
12888
12889 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
12890 (do_syscall_tests_without_xml): Set data-directory to
12891 /the/path/to/nowhere.
12892
12893 2009-11-21 Pedro Alves <pedro@codesourcery.com>
12894
12895 * gdb.threads/local-watch-wrong-thread.c,
12896 gdb.threads/local-watch-wrong-thread.exp: New files.
12897
12898 2009-11-21 Pedro Alves <pedro@codesourcery.com>
12899
12900 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
12901 assume new `regsub' syntax available.
12902
12903 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12904
12905 * gdb.base/watchpoint-hw-hit-once.exp,
12906 gdb.base/watchpoint-hw-hit-once.c: New.
12907
12908 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12909
12910 * gdb.threads/watchthreads-reorder.exp,
12911 gdb.threads/watchthreads-reorder.c: New.
12912
12913 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
12914
12915 * gdb.xml/tdesc-regs.exp: Use for m68k.
12916
12917 2009-11-15 Pedro Alves <pedro@codesourcery.com>
12918
12919 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
12920
12921 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12922
12923 * lib/gdb.exp (current_target_name): New procedure.
12924 (gdb_wrapper_target): New variable.
12925 (gdb_wrapper_init): Set gdb_wrapper_target.
12926 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
12927 wrapper.
12928
12929 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12930
12931 * gdb.base/remote.exp: Delete the slowest load test.
12932 Do not load with fixed packet sizes.
12933
12934 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12935
12936 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
12937
12938 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12939
12940 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
12941 srcfile when setting a breakpoint.
12942
12943 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
12944
12945 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
12946 macros.
12947
12948 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12949
12950 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
12951 to be in memory.
12952 * gdb.base/display.c (force_mem): New.
12953 (do_loops): Use it. Add breakpoint comments.
12954 (do_vars): Add a breakpoint comment.
12955 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
12956 line numbers.
12957
12958 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
12959
12960 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
12961 instead of a bare "run".
12962
12963 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12964
12965 * gdb.python/py-prettyprint.exp: Adjust.
12966
12967 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12968
12969 * lib/cell.exp (skip_cell_tests): Clean up test files before
12970 returning.
12971
12972 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12973
12974 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
12975 and the breakpoint menu. Do not call perror if a prompt is seen.
12976 Consume the following GDB prompt.
12977 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
12978 * gdb.cp/namespace.exp: Use gdb_test.
12979 * gdb.cp/templates.exp: Use gdb_test.
12980 (test_template_breakpoints): Use gdb_test_multiple.
12981
12982 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12983
12984 * gdb.base/break1.c (struct some_struct, values): Move earlier.
12985 (marker4): Reference values.
12986
12987 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12988
12989 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
12990 is missing.
12991
12992 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12993
12994 * gdb.base/break.c (need_malloc): New.
12995 * gdb.base/constvars.c (main): Reference crass and crisp.
12996 * gdb.base/gdb1821.c (main): Reference bar.
12997 * gdb.cp/gdb1355.cc (main): Reference s1.
12998 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
12999 (main): Call them.
13000 * gdb.cp/hang2.cc (dummy2): Define.
13001 * gdb.cp/hang3.cc (dummy3): Define.
13002 * gdb.cp/m-data.cc (main): Reference shadow.
13003
13004 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13005 Nathan Froyd <froydnj@codesourcery.com>
13006
13007 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13008 remote host.
13009
13010 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13011
13012 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13013 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13014 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13015 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13016 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13017 * gdb.dwarf2/dw2-producer.exp: Likewise.
13018 * gdb.dwarf2/mac-fileno.exp: Likewise.
13019 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13020 py-prettyprint.py to the remote host.
13021 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13022
13023 2009-11-11 Keith Seitz <keiths@redhat.com>
13024
13025 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13026 use it instead of "Foo".
13027 * gdb.cp/classes.exp (do_tests): Add a test to access
13028 a method through a typedef'd class name.
13029
13030 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13031
13032 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13033 exponents.
13034 * gdb.base/pointers.exp: Likewise.
13035 * gdb.cp/ref-types.exp: Likewise.
13036
13037 2009-11-11 Keith Seitz <keiths@redhat.com>
13038
13039 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13040 new[] and delete[].
13041 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13042 "void".
13043 (probe_demangler): Remove all single-quoting of
13044 method and variable names.
13045 (info_func_regexp): Remove the word "void" from any
13046 occurrence of "(void)".
13047 (print_addr_2): Remove all single-quoting of
13048 method names.
13049 (print_addr_2_kfail): Likewise.
13050 (print_addr): Single-quote C function names before
13051 passing to print_addr_2.
13052 (test_paddr_operator_functions): Remove single-quoting
13053 for method names.
13054 Add tests for operator new[] and operator delete[].
13055
13056 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13057
13058 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13059
13060 2009-11-09 Keith Seitz <keiths@redhat.com>
13061
13062 * gdb.cp/overload.exp: Add tests for resolving overloaded
13063 methods in expression parsing/evaluation.
13064
13065 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13066
13067 * lib/gdb.exp (default_gdb_version): Use --version instead of
13068 --command.
13069
13070 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13071
13072 * lib/gdb.exp (gdb_compile_test): New.
13073 (skip_ada_tests, skip_java_tests): New.
13074 (gdb_compile): Use gdb_compile_test for f77.
13075 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13076 * lib/java.exp (compile_java_from_source): Remove runtests check,
13077 use gdb_compile_test to record result.
13078 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13079 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13080 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13081 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13082 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13083 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13084 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13085 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13086 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13087 adjust gdb_compile invocations.
13088
13089 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13090
13091 * Makefile.in (abs_builddir): New.
13092 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13093 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13094 `$(abs_builddir)/site.exp'.
13095
13096 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13097
13098 * config/m68k-emc.exp, lib/emc-support.exp,
13099 gdb.trace/gdb_c_test.c: Delete.
13100 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13101 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13102 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13103 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13104 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13105 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13106 casing for m68k-*-elf.
13107
13108 2009-11-03 Pedro Alves <pedro@codesourcery.com>
13109
13110 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13111 * gdb.arch/i386-prologue.exp: Likewise.
13112 * gdb.arch/i386-unwind.exp: Likewise.
13113
13114 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13115
13116 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13117
13118 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13119
13120 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13121
13122 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13123
13124 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13125
13126 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13127
13128 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13129
13130 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13131
13132 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13133 * gdb.base/sepdebug2.c: New file.
13134
13135 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13136
13137 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13138 the modified warnings for catch syscall. Verify if GDB was compiled
13139 with support for lib expat, and choose which tests to run depending
13140 on this.
13141
13142 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13143
13144 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13145 that composite commands are parsed OK. And also test
13146 that breakpoint commands do work.
13147
13148 2009-10-23 Michael Snyder <msnyder@vmware.com>
13149
13150 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13151 to allow for new disassembly style.
13152
13153 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13154
13155 * gdb.asm/asm-source.exp: Adjust.
13156
13157 2009-10-22 Michael Snyder <msnyder@vmware.com>
13158
13159 * gdb.reverse/break-precsave.exp: New test.
13160 * gdb.reverse/consecutive-precsave.exp: Ditto.
13161 * gdb.reverse/finish-precsave.exp: Ditto.
13162 * gdb.reverse/i386-precsave.exp: Ditto.
13163 * gdb.reverse/machinestate-precsave.exp: Ditto.
13164 * gdb.reverse/sigall-precsave.exp: Ditto.
13165 * gdb.reverse/solilb-precsave.exp: Ditto.
13166 * gdb.reverse/step-precsave.exp: Ditto.
13167 * gdb.reverse/until-precsave.exp: Ditto.
13168 * gdb.reverse/watch-precsave.exp: Ditto.
13169
13170 2009-10-22 Michael Snyder <msnyder@vmware.com>
13171
13172 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13173 for gdb_expect. Adjust one test's expect strings for the new
13174 format of disassemble.
13175 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13176 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13177 gdb_test_multiple.
13178 * gdb.reverse/step-reverse.exp: Delete 'return'.
13179 * gdb.reverse/until-reverse.exp: Delete blank lines.
13180 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13181
13182 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13183
13184 * gdb.base/consecutive.exp: Adjust.
13185 * gdb.base/display.exp: Likewise.
13186 * gdb.base/pc-fp.exp: Likewise.
13187 * gdb.base/sigbpt.exp: Likewise.
13188
13189 2009-10-19 Michael Snyder <msnyder@vmware.com>
13190
13191 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13192 * gdb.reverse/finish-reverse.c: Ditto.
13193 * gdb.reverse/sigall-reverse.c: Ditto.
13194 * gdb.reverse/solib-reverse.c: Ditto.
13195 * gdb.reverse/step-reverse.c: Ditto.
13196 * gdb.reverse/watch-reverse.c: Ditto.
13197
13198 2009-10-19 Pedro Alves <pedro@codesourcery.com>
13199 Stan Shebs <stan@codesourcery.com>
13200
13201 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13202 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13203 "Executing new program".
13204 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13205 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13206 left listed after having been killed.
13207 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13208 * gdb.base/maint.exp: Adjust test.
13209
13210 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13211 * gdb.multi/Makefile.in: New.
13212 * gdb.multi/base.exp: New.
13213 * gdb.multi/goodbye.c: New.
13214 * gdb.multi/hangout.c: New.
13215 * gdb.multi/hello.c: New.
13216 * gdb.multi/bkpt-multi-exec.c: New.
13217 * gdb.multi/bkpt-multi-exec.exp: New.
13218 * gdb.multi/crashme.c: New.
13219
13220 2009-10-13 Tristan Gingold <gingold@adacore.com>
13221
13222 * gdb.base/sepdebug.exp: Check debug info are found.
13223
13224 2009-10-08 Pedro Alves <pedro@codesourcery.com>
13225
13226 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13227 bits.
13228
13229 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13230
13231 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13232
13233 2009-10-07 Joel Brobecker <brobecker@adacore.com>
13234
13235 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13236 of the comments.
13237
13238 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13239
13240 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13241 * gdb.base/annota3.exp: Idem.
13242 * gdb.base/maint.exp: Idem.
13243
13244 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13245
13246 * lib/gdb.exp (default_gdb_init): Set current value of match_max
13247 to default.
13248
13249 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13250
13251 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
13252 mingw and cygwin targets.
13253
13254 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13255 Pedro Alves <pedro@codesourcery.com>
13256
13257 * lib/gdb.exp (gdb_compile): Avoid adding
13258 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13259
13260 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13261
13262 * gdb.base/shr1.c: Use %p in format string.
13263 * gdb.base/unload.c: Avoid warning in fprintf.
13264 * gdb.base/watchpoint-solib.c: Idem.
13265
13266 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13267
13268 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13269 long type.
13270 (test_unlink): Correct printf string.
13271 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13272 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13273
13274 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13275
13276 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13277 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13278 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13279
13280 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13281
13282 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13283 * gdb.objc/nondebug.exp: Likewise.
13284
13285 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13286
13287 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13288 target_info setting.
13289
13290 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13291 that detect new threads during "info threads".
13292
13293 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13294
13295 * gdb.threads/manythreads.c (main): Increase thread stack size
13296 to 2*PTHREAD_STACK_MIN.
13297 * gdb.threads/multi-create.c (main): Likewise.
13298 (create_function): Likewise.
13299
13300 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13301
13302 * gdb.base/dump.exp: Pass difference of pointer types instead
13303 of integer types as offset to restore in intarr3.srec case.
13304
13305 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13306
13307 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13308
13309 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13310
13311 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13312
13313 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
13314
13315 New test for two watchpoints, with disabling of
13316 the first inserted.
13317 * testsuite/gdb.base/watchpoints.c: New file.
13318 * testsuite/gdb.base/watchpoints.exp: New file.
13319
13320 2009-09-25 Tom Tromey <tromey@redhat.com>
13321
13322 * gdb.base/charset.exp: Test utf-16 strings with Python.
13323
13324 2009-09-25 Tom Tromey <tromey@redhat.com>
13325
13326 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13327 UCS-4.
13328 * gdb.base/charset.c (utf_32_string): Rename.
13329 (init_utf32): Rename.
13330 (main): Update.
13331
13332 2009-09-22 Tom Tromey <tromey@redhat.com>
13333
13334 * gdb.python/py-function.exp: Add regression tests.
13335
13336 2009-09-21 Keith Seitz <keiths@redhat.com>
13337
13338 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13339 with invalid operator.
13340
13341 2009-09-21 Keith Seitz <keiths@redhat.com>
13342
13343 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13344 and destructor using typedef name of class.
13345 * gdb.cp/classes.cc (class Base1): Add a destructor.
13346 (base1): New typedef.
13347 (use_methods): Instanitate an object of type base1.
13348 * gdb.cp/templates.exp (test_template_typedef): New procedure.
13349 (do_tests): Call test_template_typedef.
13350 * gdb.cp/templates.cc (Baz::~Baz): New method.
13351 (intBazOne): New typedef.
13352 (main): Instantiate intBazOne.
13353
13354 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13355
13356 PR python/10633
13357
13358 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13359 Function.
13360 (run_lang_tests): Add print elements test.
13361
13362 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13363
13364 * gdb.python/py-value.exp (test_subscript_regression): New
13365 function. Test for invalid subscripts.
13366 * gdb.python/py-value.c (main): Add test array, and pointer to it.
13367 (ptr_ref): New function.
13368
13369 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13370
13371 * gdb.base/default.exp: Fix "show convenience".
13372
13373 2009-09-15 Tom Tromey <tromey@redhat.com>
13374
13375 * lib/mi-support.exp (mi_create_varobj): Update.
13376 (mi_create_floating_varobj): Likewise.
13377 (mi_create_dynamic_varobj): New proc.
13378 (mi_varobj_update): Update.
13379 (mi_varobj_update_with_type_change): Likewise.
13380 (mi_varobj_update_kv_helper): New proc.
13381 (mi_varobj_update_dynamic_helper): Rewrite.
13382 (mi_varobj_update_dynamic): New proc.
13383 (mi_list_varobj_children): Update.
13384 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13385 * gdb.python/python-prettyprint.py (pp_outer): New class.
13386 (pp_nullstr): Likewise.
13387 (lookup_function): Register new printers.
13388 * gdb.python/python-prettyprint.c (struct substruct): New type.
13389 (struct outerstruct): Likewise.
13390 (substruct_test): New function.
13391 (struct nullstr): New type.
13392 (string_1, string_2): New globals.
13393 (main): Add new tests.
13394 * gdb.python/python-mi.exp: Added regression tests.
13395 * gdb.mi/mi2-var-display.exp: Update.
13396 * gdb.mi/mi2-var-cmd.exp: Update.
13397 * gdb.mi/mi2-var-child.exp: Update.
13398 * gdb.mi/mi2-var-block.exp: Update.
13399 * gdb.mi/mi-var-invalidate.exp: Update.
13400 * gdb.mi/mi-var-display.exp: Update.
13401 * gdb.mi/mi-var-cmd.exp: Update.
13402 * gdb.mi/mi-var-child.exp: Update.
13403 * gdb.mi/mi-var-block.exp: Update.
13404 * gdb.mi/mi-break.exp: Update.
13405 * gdb.mi/gdb701.exp: Update.
13406
13407 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13408
13409 * Makefile.in: Inclusion of catch-syscall object.
13410 * gdb.base/catch-syscall.c: New file.
13411 * gdb.base/catch-syscall.exp: New file.
13412
13413 2009-09-12 Michael Snyder <msnyder@vmware.com>
13414
13415 * gdb.reverse/step-reverse.exp: Explicitly check for targets
13416 that can support reverse debuggnig.
13417
13418 2009-09-11 Tom Tromey <tromey@redhat.com>
13419
13420 * gdb.dwarf2/valop.S: New file.
13421 * gdb.dwarf2/valop.exp: New file.
13422
13423 2009-09-11 Mark Kettenis <kettenis@gnu.org>
13424
13425 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13426
13427 2009-09-10 Doug Evans <dje@google.com>
13428
13429 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13430 Add $gdb_prompt to second breakpoint regexp.
13431
13432 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
13433
13434 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13435 names, add missing ones.
13436 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13437 * gdb.python/py-frame.c: Rename from python-frame.c.
13438 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
13439 testfile name.
13440 * gdb.python/py-function.exp: Rename from python-function.exp.
13441 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
13442 testfile name.
13443 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13444 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13445 Adjust testfile name.
13446 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13447 * gdb.python/py-template.cc: Rename from python-template.cc.
13448 * gdb.python/py-template.exp: Rename from python-template.exp.
13449 Adjust testfile name.
13450 * gdb.python/py-value.c: Rename from python-value.c.
13451 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
13452 testfile name.
13453
13454 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13455
13456 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13457 $bpt2address.
13458 (Second breakpoint address is valid on ia64)
13459 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
13460
13461 2009-09-03 Joseph Myers <joseph@codesourcery.com>
13462
13463 * gdb.base/ending-run.exp: Restrict regular expression matching
13464 line number to require closing brace following.
13465
13466 2009-09-03 Doug Evans <dje@google.com>
13467
13468 * gdb.base/store.exp (check_set): Fix typo in expected value message.
13469
13470 2009-09-02 Tom Tromey <tromey@redhat.com>
13471
13472 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
13473
13474 2009-09-02 Tom Tromey <tromey@redhat.com>
13475
13476 * gdb.dwarf2/callframecfa.exp: New file.
13477 * gdb.dwarf2/callframecfa.S: New file.
13478
13479 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13480
13481 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
13482 gdb.base/solib-overlap-main.c: New.
13483
13484 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
13485
13486 PR gdb/10565
13487
13488 * gdb.base/bitfields.c (struct container, container): New.
13489 (main): Initialize it and call break5.
13490 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
13491
13492 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13493
13494 Support constant DW_AT_data_member_location by GCC PR debug/40659.
13495 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
13496
13497 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13498
13499 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
13500
13501 2009-08-26 Michael Snyder <msnyder@vmware.com>
13502
13503 * gdb.base/i386-reverse.c: New file.
13504 * gdb.base/i386-reverse.exp: New file.
13505 * gdb.base/Makefile.in: Add new files to be removed.
13506
13507 2009-08-26 Joseph Myers <joseph@codesourcery.com>
13508
13509 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
13510 environment-pwd for remote host.
13511 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
13512
13513 2009-08-24 Keith Seitz <keiths@redhat.com>
13514
13515 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
13516 Add two new C++ completer tests which limit the output to a
13517 given class.
13518
13519 2009-08-24 Michael Snyder <msnyder@vmware.com>
13520
13521 * gdb.base/del.exp: Fix typo in comment.
13522 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
13523
13524 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13525
13526 * configure: Regenerate.
13527 * gdb.hp/configure: Likewise.
13528 * gdb.hp/gdb.aCC/configure: Likewise.
13529 * gdb.hp/gdb.base-hp/configure: Likewise.
13530 * gdb.hp/gdb.compat/configure: Likewise.
13531 * gdb.hp/gdb.defects/configure: Likewise.
13532 * gdb.hp/gdb.objdbg/configure: Likewise.
13533 * gdb.stabs/configure: Likewise.
13534
13535 2009-08-19 Doug Evans <dje@google.com>
13536
13537 * gdb.base/gdbvars.c: New file.
13538 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
13539
13540 2009-08-14 Pedro Alves <pedro@codesourcery.com>
13541
13542 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13543 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
13544
13545 2009-08-13 Pedro Alves <pedro@codesourcery.com>
13546
13547 * gdb.base/default.exp: Adjust "set language test": it's now an
13548 enum command. Larger help string moved to "help set language".
13549 * gdb.base/help.exp: Adjust "help set language" expected output,
13550 now lists all known languages.
13551
13552 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
13553
13554 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
13555 all frame arguments.
13556 * gdb.arch/altivec-regs.exp: Likewise.
13557
13558 2009-08-07 Tom Tromey <tromey@redhat.com>
13559
13560 * gdb.base/setshow.exp: Add tests for changes to set language, set
13561 check range, and set check type.
13562
13563 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
13564
13565 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
13566 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
13567 Call it.
13568
13569 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13570
13571 * configure.ac: Run gdb.cell tests when appropriate.
13572 * configure: Regenerate.
13573 * lib/cell.exp: New file.
13574 * gdb.cell: New directory.
13575 * gdb.cell/configure.ac: New file.
13576 * gdb.cell/configure: New file.
13577 * gdb.cell/Makefile.in: New file.
13578 * gdb.cell/arch.exp: New file.
13579 * gdb.cell/break.c: New file.
13580 * gdb.cell/break.exp: New file.
13581 * gdb.cell/break-spu.c: New file.
13582 * gdb.cell/bt.c: New file.
13583 * gdb.cell/bt2-spu.c: New file.
13584 * gdb.cell/bt-spu.c: New file.
13585 * gdb.cell/bt.exp: New file.
13586 * gdb.cell/coremaker.c: New file.
13587 * gdb.cell/coremaker-spu.c: New file.
13588 * gdb.cell/core.exp: New file.
13589 * gdb.cell/gcore.exp: New file.
13590 * gdb.cell/data.c: New file.
13591 * gdb.cell/data.exp: New file.
13592 * gdb.cell/data-spu.c: New file.
13593 * gdb.cell/ea-cache.exp: New file.
13594 * gdb.cell/ea-cache.c: New file.
13595 * gdb.cell/ea-cache-spu.c: New file.
13596 * gdb.cell/ea-standalone.c: New file.
13597 * gdb.cell/ea-standalone.exp: New file.
13598 * gdb.cell/ea-test.c: New file.
13599 * gdb.cell/ea-test.exp: New file.
13600 * gdb.cell/f-regs.exp: New file.
13601 * gdb.cell/mem-access.c: New file.
13602 * gdb.cell/mem-access.exp: New file.
13603 * gdb.cell/mem-access-spu.c: New file.
13604 * gdb.cell/ptype.exp: New file.
13605 * gdb.cell/registers.exp: New file.
13606 * gdb.cell/size.c: New file.
13607 * gdb.cell/sizeof.exp: New file.
13608 * gdb.cell/size-spu.c: New file.
13609 * gdb.cell/solib.exp: New file.
13610 * gdb.cell/solib-symbol.exp: New file.
13611
13612 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13613
13614 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
13615
13616 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
13617
13618 * gdb.base/float.exp: Handle VFP registers.
13619
13620 2009-07-14 Michael Snyder <msnyder@vmware.com>
13621
13622 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
13623 to bring gdb to the beginning of the calling line.
13624
13625 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
13626 confusing the i386 epilogue unwinder.
13627
13628 2009-07-14 Stan Shebs <stan@codesourcery.com>
13629
13630 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
13631
13632 2009-07-14 Michael Snyder <msnyder@vmware.com>
13633
13634 * gdb.reverse/step-reverse.exp (stepi into function call):
13635 Call instruction may not be first instruction in the line.
13636 (reverse stepi from a function call): Used wrong line number.
13637
13638 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13639
13640 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
13641
13642 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13643
13644 Fix gdb.base/macscp.exp when using custom inputrc.
13645 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
13646 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
13647 env(TERM) set.
13648 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
13649 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
13650
13651 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13652
13653 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
13654 * gdb.base/annota1.exp (thread_test): Import global $testfile.
13655 Change the compilation target to match the testcase name.
13656 * gdb.base/sect-cmd.exp: Change the compilation target to match the
13657 testcase name.
13658 * a2-run.exp: Use for setup prepare_for_testing. Change the
13659 compilation target to match the testcase name.
13660 * gdb.base/commands.exp: Likewise.
13661 * gdb.base/finish.exp: Likewise.
13662 * gdb.base/float.exp: Likewise.
13663 * gdb.base/info-target.exp: Likewise.
13664 * gdb.base/relational.exp: Likewise.
13665 * gdb.base/term.exp: Likewise.
13666 * gdb.base/until.exp: Likewise.
13667 * gdb.base/volatile.exp: Likewise.
13668 * gdb.base/whatis-exp.exp: Likewise.
13669
13670 2009-07-11 Hui Zhu <teawater@gmail.com>
13671
13672 * gdb.base/help.exp (disassemble): Update expected help text.
13673
13674 2009-07-09 Tom Tromey <tromey@redhat.com>
13675
13676 * lib/gdb.exp: Handle TRANSCRIPT.
13677 (remote_spawn, remote_close, send_gdb): New procs.
13678
13679 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
13680
13681 * gdb.python/python-prettyprint.c: Add counted null string
13682 structure.
13683 * gdb.python/python-prettyprint.exp: Print null string. Test for
13684 embedded nulls.
13685 * gdb.python/python-prettyprint.py (pp_ns): New Function.
13686 * gdb.python/python-value.exp (test_value_in_inferior): Add
13687 variable length string fetch tests.
13688 * gdb.python/python-value.c (main): Add strings for string fetch tests.
13689
13690 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13691
13692 * gdb.base/dump.exp (inaccessible memory is reported): New test.
13693
13694 2009-07-07 Tom Tromey <tromey@redhat.com>
13695
13696 * gdb.base/call-rt-st.exp: Update for change to escape output.
13697 * gdb.base/callfuncs.exp: Likewise.
13698 * gdb.base/charset.exp: Likewise.
13699 * gdb.base/constvars.exp: Likewise.
13700 * gdb.base/long_long.exp: Likewise.
13701 * gdb.base/pointers.exp: Likewise.
13702 * gdb.base/printcmds.exp: Likewise.
13703 * gdb.base/setvar.exp: Likewise.
13704 * gdb.base/store.exp: Likewise.
13705 * gdb.cp/ref-types.exp: Likewise.
13706 * gdb.mi/mi-var-child.exp: Likewise.
13707 * gdb.mi/mi-var-display.exp: Likewise.
13708 * gdb.mi/mi2-var-display.exp: Likewise.
13709 * gdb.base/charset.exp: Test octal escape sequence length.
13710 Update for change to escape output.
13711
13712 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13713
13714 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13715
13716 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
13717
13718 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13719
13720 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13721
13722 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13723 gdbserver increasing $portnum if "Can't bind address" has been seen.
13724
13725 2009-07-05 Pedro Alves <pedro@codesourcery.com>
13726
13727 * gdb.base/ending-run.exp: Add "step out of main" pattern for
13728 mingw32ce.
13729
13730 2009-07-05 Pedro Alves <pedro@codesourcery.com>
13731
13732 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13733 VFP format.
13734
13735 2009-07-02 Pedro Alves <pedro@codesourcery.com>
13736
13737 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13738 linux. Adjust to use "inferior", "info inferiors", "detach
13739 inferior" and "kill inferior" instead of "restart", "info fork",
13740 "detach fork" and "delete fork".
13741 * gdb.base/ending-run.exp: Spell out "info".
13742 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13743 the "kill" command.
13744
13745 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13746
13747 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13748 change to prefix TLS offset in hex with 0x.
13749
13750 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13751
13752 * gdb.base/default.exp: Update test case for "x" changes.
13753
13754 2009-07-01 Tristan Gingold <gingold@adacore.com>
13755
13756 * gdb.base/bigcore.exp: Make darwin untested.
13757
13758 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13759
13760 * gdb.base/completion.exp (directory completion): Create the directory.
13761 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13762 escapeuniquesub.
13763 (directory completion 2): Expect now ${escapeuniquesub}.
13764 (Glob remaining of directory test): Remove one excessive newline.
13765 Expect the real output.
13766
13767 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13768
13769 Fix `make check//%' target after `make check' has been ran.
13770 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
13771 a mkdir call.
13772 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13773 (%/.dir): Remove.
13774
13775 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13776
13777 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13778 the expected result record.
13779
13780 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13781
13782 Remove racy FAILs relying just on the timeouts.
13783 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13784 (annotation_level 2): Remove racy FAILs.
13785
13786 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13787
13788 gdb/10275
13789 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13790
13791 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
13792
13793 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13794
13795 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
13796
13797 * gdb.mi/mi-stack.exp: Testing symbolic options
13798 to -stack-list-locals and -stack-list-arguments.
13799
13800 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13801
13802 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13803
13804 2009-06-29 Tom Tromey <tromey@redhat.com>
13805
13806 * dg-extract-results.sh: New file.
13807 * Makefile.in (FORCE_PARALLEL): New variable.
13808 (CHECK_TARGET): New conditional variable.
13809 (check): Use CHECK_TARGET.
13810 (DO_RUNTEST): New variable.
13811 (check-single): New target.
13812 (TEST_DIRS): New variable.
13813 (TEST_TARGETS): Likewise.
13814 (check-parallel): New target.
13815 (check-gdb.%): New pattern.
13816 (BASE1_FILES): New variable.
13817 (BASE2_FILES): Likewise.
13818 (check-gdb.base%): New pattern.
13819 (%/.dir): New pattern.
13820 * configure: Rebuild.
13821 * aclocal.m4 (AM_CONDITIONAL): New defun.
13822 * configure.ac: Check whether user is using GNU make.
13823 (GMAKE): New conditional.
13824
13825 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
13826
13827 * gdb.cp/namespace-nested-import.cc: New test.
13828 * gdb.cp/namespace-nested-import.exp: New test.
13829
13830 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
13831
13832 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13833 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13834 * gdb.opt/Makefile.in (EXECUTABLES): Update.
13835 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13836 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13837 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13838 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13839 gdb.opt/inline-markers.c: New files.
13840 * lib/gdb.exp (skip_inline_frame_tests): New function.
13841 (skip_inline_var_tests): New function.
13842
13843 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
13844
13845 * gdb.cp/exception.exp: Don't require $hex before inner frame in
13846 backtrace.
13847
13848 2009-06-27 Michael Snyder <msnyder@vmware.com>
13849
13850 * gdb.reverse: New directory.
13851 * gdb.reverse/break-reverse.c: New test.
13852 * gdb.reverse/break-reverse.exp: New test.
13853 * gdb.reverse/consecutive-reverse.c: New test.
13854 * gdb.reverse/consecutive-reverse.exp: New test.
13855 * gdb.reverse/finish-reverse.c: New test.
13856 * gdb.reverse/finish-reverse.exp: New test.
13857 * gdb.reverse/machinestate.c: New test.
13858 * gdb.reverse/ms1.c: New test.
13859 * gdb.reverse/machinestate.exp: New test.
13860 * gdb.reverse/Makefile.in: New file.
13861 * gdb.reverse/shr2.c: New test.
13862 * gdb.reverse/solib-reverse.c: New test.
13863 * gdb.reverse/solib-reverse.exp: New test.
13864 * gdb.reverse/step-reverse.c: New test.
13865 * gdb.reverse/step-reverse.exp: New test.
13866 * gdb.reverse/until-reverse.c: New test.
13867 * gdb.reverse/ur1.c: New test.
13868 * gdb.reverse/until-reverse.exp: New test.
13869 * gdb.reverse/watch-reverse.c: New test.
13870 * gdb.reverse/watch-reverse.exp: New test.
13871 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
13872 * configure: Regenerate.
13873
13874 2009-06-26 Doug Evans <dje@google.com>
13875
13876 * gdb.base/psymtab.exp: Turn off pending breakpoints.
13877
13878 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
13879
13880 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
13881 windows problem for 'file delete $binfile'.
13882
13883 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
13884
13885 * gdb.cp/namespace-using.exp: New test.
13886 * gdb.cp/namespace-using.cc: New test.
13887
13888 2009-05-20 Joel Brobecker <brobecker@adacore.com>
13889
13890 * gdb.ada/variant_record_packed_array: New testcase.
13891
13892 2009-06-23 Tom Tromey <tromey@redhat.com>
13893
13894 * gdb.base/charset.exp (test_combination): Regression test.
13895 * gdb.base/charset.c (my_wchar_t): New typedef.
13896 (myvar): New global.
13897 (main): Set myvar.
13898
13899 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
13900
13901 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
13902 target.
13903
13904 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13905
13906 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
13907
13908 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13909
13910 * gdb.mi/gdb680.exp: Update test for error message.
13911
13912 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13913
13914 * gdb.base/annota1.exp: Allow multiple occurrences of the
13915 frames-invalid annotation.
13916 * gdb.cp/annota2.exp: Likewise.
13917
13918 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
13919
13920 * gdb.cp/gdb2495.cc: New file.
13921 * gdb.cp/gdb2495.exp: New file.
13922
13923 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13924
13925 Report error on GDB crash during runto.
13926 * lib/gdb.exp (runto <eof>): New.
13927
13928 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
13929
13930 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
13931 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
13932 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
13933 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
13934 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
13935 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
13936 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
13937 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
13938 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
13939 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
13940 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
13941 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
13942 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13943 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
13944 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
13945 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
13946 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
13947 gdb.server/server-mon.exp, gdb.server/server-run.exp,
13948 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13949 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
13950 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
13951 gdb.trace/passcount.exp, gdb.trace/report.exp,
13952 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
13953 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
13954 gdb.trace/while-stepping.exp: Use a unique name for the compiled
13955 executable.
13956
13957 2009-06-07 Pedro Alves <pedro@codesourcery.com>
13958
13959 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
13960 defined before referencing it.
13961
13962 2009-06-03 Doug Evans <dje@google.com>
13963
13964 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
13965 * gdb.arch/i386-see.c: Ditto.
13966
13967 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
13968
13969 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
13970 (check_macro): Return 1 if undefined.
13971 If first test fails, check if macro debug information is available,
13972 and report unsupported test if no macro information is found.
13973
13974 2009-05-29 Doug Evans <dje@google.com>
13975
13976 * gdb.threads/hand-call-in-threads.exp: New.
13977 * gdb.threads/hand-call-in-threads.c: New.
13978
13979 2009-05-29 Michael Snyder <msnyder@vmware.com>
13980
13981 * gdb.base/break-always.exp: Change "1" to "on".
13982 Add confirmation check.
13983
13984 2009-05-28 Pedro Alves <pedro@codesourcery.com>
13985
13986 * gdb.threads/threxit-hop-specific.c: New.
13987 * gdb.threads/threxit-hop-specific.exp: New.
13988 * gdb.threads/thread-execl.c: New.
13989 * gdb.threads/thread-execl.exp: New.
13990
13991 2009-05-27 Tom Tromey <tromey@redhat.com>
13992 Thiago Jung Bauermann <bauerman@br.ibm.com>
13993
13994 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
13995 (mi_child_regexp): Likewise.
13996 (mi_list_varobj_children_range): Likewise.
13997 (mi_get_features): Likewise.
13998 (mi_list_varobj_children): Rewrite.
13999 * gdb.python/python-mi.exp: New file.
14000
14001 2009-05-27 Tom Tromey <tromey@redhat.com>
14002 Thiago Jung Bauermann <bauerman@br.ibm.com>
14003 Phil Muldoon <pmuldoon@redhat.com>
14004 Paul Pluzhnikov <ppluzhnikov@google.com>
14005
14006 * gdb.python/python-prettyprint.exp: New file.
14007 * gdb.python/python-prettyprint.c: New file.
14008 * gdb.python/python-prettyprint.py: New file.
14009 * gdb.base/display.exp: print/r is now valid.
14010
14011 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14012 Tom Tromey <tromey@redhat.com>
14013 Pedro Alves <pedro@codesourcery.com>
14014 Paul Pluzhnikov <ppluzhnikov@google.com>
14015
14016 * gdb.python/python-template.exp: New file.
14017 * gdb.python/python-template.cc: New file.
14018 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14019 tests.
14020 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14021 Call it.
14022 (test_value_after_death): New proc.
14023 * gdb.python/python-value.c (PTR): New typedef.
14024 (main): New variable 'x'.
14025
14026 2009-05-27 Tom Tromey <tromey@redhat.com>
14027
14028 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14029 tests.
14030 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14031 Call it.
14032
14033 2009-05-27 Pedro Alves <pedro@codesourcery.com>
14034
14035 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14036
14037 2009-05-24 Pedro Alves <pedro@codesourcery.com>
14038
14039 * gdb.threads/fork-thread-pending.c: New.
14040 * gdb.threads/fork-thread-pending.exp: New.
14041
14042 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14043
14044 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14045 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14046
14047 2009-05-18 Jon Beniston <jon@beniston.com>
14048
14049 * gdb.asm/asm-source.exp: Add lm32 target.
14050
14051 2009-05-17 Pedro Alves <pedro@codesourcery.com>
14052
14053 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14054 `gdb_get_line_number'. Call `callee' in both parent and child.
14055 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14056 `gdb_get_line_number' instead of hardcoding line numbers.
14057 (catch_fork_unpatch_child): New procedure to test detaching
14058 breakpoints from child fork.
14059 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14060 hardcoding line numbers.
14061 (do_fork_tests): Run `catch_fork_unpatch_child'.
14062
14063 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14064
14065 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14066 of structure type enters or leaves the scope, it
14067 is reported by -var-update.
14068
14069 2009-05-11 Doug Evans <dje@sebabeach.org>
14070
14071 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
14072 * gdb.threads/pending-step.c (main): Fix off-by-one error.
14073 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14074
14075 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14076
14077 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14078
14079 2009-04-30 Doug Evans <dje@google.com>
14080
14081 * gdb.threads/watchthreads2.exp: New testcase.
14082 * gdb.threads/watchthreads2.c: New testcase.
14083
14084 2009-04-29 Doug Evans <dje@google.com>
14085
14086 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14087 * gdb.cp/mb-ctor.cc: Ditto.
14088 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14089 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14090 * gdb.cp/mb-inline1.cc: Call it.
14091 * gdb.cp/mb-inline2.cc: Ditto.
14092 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14093 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14094
14095 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14096
14097 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14098 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14099 Replace all uses of `decimal' by `nonzero'.
14100 (info macro FROM_COMMANDLINE): New test.
14101
14102 2009-04-27 Tom Tromey <tromey@redhat.com>
14103
14104 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14105
14106 2009-04-27 Doug Evans <dje@google.com>
14107
14108 * gdb.threads/watchthreads.c (main): Initialize args before starting
14109 the threads. Plus formatting cleanup.
14110 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14111 biased scheduling of one thread.
14112
14113 2009-04-27 Jerome Guitton <guitton@adacore.com>
14114
14115 * gdb.cp/templates.cc (GetMax): New template.
14116 (main): Declare two instances of GetMax.
14117 * gdb.cp/templates.exp: Add new test.
14118
14119 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14120
14121 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14122
14123 2009-04-22 Joseph Myers <joseph@codesourcery.com>
14124
14125 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14126
14127 2009-04-15 Tom Tromey <tromey@redhat.com>
14128
14129 * gdb.base/charset.exp: Add regression test.
14130
14131 2009-04-14 Joel Brobecker <brobecker@adacore.com>
14132
14133 * gdb.base/exe-lock.exp: New testcase.
14134
14135 2009-04-13 Tom Tromey <tromey@redhat.com>
14136
14137 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14138 operator on Frame.
14139
14140 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14141
14142 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14143 * gdb.server/ext-attach.exp: Likewise.
14144
14145 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14146
14147 Eliminate some sleep usage.
14148
14149 * gdb.mi/basics.c (do_nothing): New.
14150 (main): Use do_nothing instead of printf, so that
14151 not to introduce race condition between output of
14152 inferiour and output of gdb. Do not use sleep as it
14153 is not generally available on embedded targets.
14154
14155 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14156
14157 * gdb.server/ext-attach.exp: Expect an optional process id after
14158 "Detached from remote process".
14159
14160 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14161
14162 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14163 gdb.dwarf2/dw2-unresolved.exp: New.
14164
14165 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14166
14167 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14168 mi_run_to_main.
14169
14170 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14171
14172 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14173 mi_run_to_main. Skip thread exit test on remote targets.
14174 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14175 mi_run_to_main.
14176 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14177 mi_run_to_main.
14178 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14179 when expecting ^connected. Detect when the target doesn't support
14180 non-stop mode.
14181 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14182 supported. Return -1 on error, 0 on success.
14183 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14184 (mi_runto): Return mi_runto_helper's result explicitly.
14185
14186 2009-04-01 Pedro Alves <pedro@codesourcery.com>
14187
14188 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14189
14190 2009-04-01 Tom Tromey <tromey@redhat.com>
14191
14192 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14193 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14194 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14195 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14196
14197 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14198 Jan Kratochvil <jan.kratochvil@redhat.com>
14199
14200 PR gdb/931
14201 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14202 output.
14203 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14204 for gdb/931.
14205 * dw2-strp.S (DW_AT_language): Change to C++.
14206 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14207
14208 2009-03-31 Joel Brobecker <brobecker@adacore.com>
14209
14210 * gdb.ada/tasks: New testcase.
14211
14212 2009-03-30 Stan Shebs <stan@codesourcery.com>
14213
14214 * gdb.trace/actions.exp: Update to match new info trace format.
14215 * gdb.trace/deltrace.exp: Ditto.
14216 * gdb.trace/infotrace.exp: Ditto.
14217 * gdb.trace/passcount.exp: Ditto.
14218 * gdb.trace/save-trace.exp: Ditto.
14219 * gdb.trace/while-stepping.exp: Ditto.
14220 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14221
14222 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14223
14224 * gdb.python/python-frame.c: New file.
14225 * gdb.python/python-frame.exp: New file.
14226
14227 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14228
14229 * gdb.python/python-value.exp: Add tests for the address
14230 attribute.
14231
14232 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14233
14234 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14235
14236 2009-03-26 Doug Evans <dje@google.com>
14237
14238 * gdb.mi/mi-nonstop-exit.exp: New file.
14239 * gdb.mi/non-stop-exit.c: New file.
14240
14241 2009-03-26 Tom Tromey <tromey@redhat.com>
14242
14243 Update for change to prologue skipping:
14244 * gdb.mi/mi2-simplerun.exp: Update.
14245 * gdb.mi/mi2-break.exp: Update.
14246 * gdb.mi/mi-simplerun.exp: Update.
14247 * gdb.mi/mi-break.exp: Update.
14248 * gdb.base/ending-run.exp: Update.
14249
14250 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14251
14252 * gdb.python/python-value.exp (test_value_in_inferior): Test
14253 gdb.Value.is_optimized_out attribute.
14254
14255 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14256
14257 * gdb.dwarf2/dw2-noloc-main.c: New file.
14258 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14259 (.text): Remove.
14260 (.data): New.
14261 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14262 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14263 (DW_TAG_subprogram func_cu1, noloc): Remove.
14264 (main): New.
14265 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14266 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14267 (file_symbols): New procedure.
14268
14269 2009-03-25 Tom Tromey <tromey@redhat.com>
14270
14271 * gdb.base/charset.exp (valid_target_charset): New proc.
14272 Use it to skip tests on invalid charsets.
14273
14274 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14275
14276 * gdb.base/completion.exp: Add a test for directory completion.
14277
14278 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14279
14280 Fix a racy FAIL.
14281 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14282 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14283
14284 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14285
14286 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14287 * gdb.python/python-function.exp: Add test for function returning
14288 a GDB value.
14289
14290 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14291
14292 * gdb.python/python-function.exp: New file.
14293
14294 2009-03-20 Tom Tromey <tromey@redhat.com>
14295
14296 * gdb.base/store.exp: Update for change to escape output.
14297 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14298 to escape output.
14299 * gdb.base/pointers.exp: Update for change to escape output.
14300 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14301 to escape output.
14302 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14303 escape output.
14304 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14305 to escape output.
14306 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14307 escape output.
14308 * gdb.base/setvar.exp: Update for change to escape output.
14309 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14310 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14311 to escape output.
14312 (test_print_string_constants): Likewise.
14313 * gdb.base/charset.exp (valid_host_charset): Check size of
14314 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
14315 cases. Handle "auto"-related output.
14316 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14317 (uvar, Uvar): New globals.
14318
14319 2009-03-19 Jerome Guitton <guitton@adacore.com>
14320
14321 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14322 deltas.
14323 * gdb.ada/fixed_points.exp: Ditto.
14324
14325 2009-03-18 Pedro Alves <pedro@codesourcery.com>
14326
14327 * return-nodebug.c: Don't include stdio.h.
14328 (init): Delete.
14329 (func): Delete definition and provide extern declaration.
14330 (t): New.
14331 (main): Don't call printf. Call func and store its result in t.
14332 * return-nodebug1.c: New.
14333 * return-nodebug.exp: Don't expect stdio output. Instead, print
14334 the global variable t. Drop printf formatters and cast types from
14335 foreach loop. Don't use prepare_for_testing. Compile
14336 return-nodebug.c and return-nodebug1.c in separate steps. Don't
14337 define FORMAT or CAST.
14338
14339 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14340
14341 * gdb.base/solib-display.exp: Disable test for remote targers.
14342
14343 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14344
14345 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14346
14347 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14348
14349 Fix a racy FAIL.
14350 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14351 code from `follow parent, print pids'.
14352 (`follow child, print pids', `follow parent, print pids'): Call it.
14353 Replace `gdb_test "break..."' by gdb_breakpoint.
14354
14355 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
14356
14357 * gdb.mi/mi-cli.exp: Adjust for output difference in
14358 sync and async modes.
14359
14360 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14361
14362 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14363 that was checked in by mistake. Remove loading of ada.exp, since
14364 this is not necessary in this case.
14365
14366 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14367
14368 * gdb.ada/ptype_arith_binop.exp: New testcase.
14369
14370 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14371
14372 * gdb.ada/mod_from_name: New testcase.
14373
14374 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14375
14376 * gdb.ada/tick_last_segv: New testcase.
14377
14378 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14379
14380 * gdb.mi/mi-cli.exp: Remove debug print.
14381
14382 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14383
14384 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14385 include the token in ^running and frame info in *stopped.
14386
14387 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14388
14389 * solib-display.exp: New file.
14390 * solib-display-main.c: New file.
14391 * solib-display-lib.c: New file.
14392
14393 2009-03-05 Pedro Alves <pedro@codesourcery.com>
14394
14395 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14396
14397 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14398
14399 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14400 (list_and_check_macro): Use more specific test name.
14401 (next to definition): Make the test names unique.
14402
14403 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
14404
14405 * gdb.pascal/floats.exp: Accept approximate results everywhere.
14406
14407 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14408
14409 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14410 notifications.
14411 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14412 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14413 * lib/mi-support.exp (library_loaded_re): New.
14414 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14415
14416 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14417
14418 * gdb.gdb/observer.exp: Use test_notification observer, not
14419 normal_stop, everywhere.
14420 (test_normal_stop_notifications): Rename to...
14421 (test_notifications): ...this.
14422 (test_observer_normal_stop): Rename to...
14423 (test_observer): ...this.
14424
14425 2009-02-16 Doug Evans <dje@google.com>
14426
14427 * gdb.arch/amd64-disp-step.S (test_int3): New test.
14428 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14429 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14430 (test_prefixed_syscall,test_int3): New tests.
14431 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14432 (test_prefixed_syscall,test_int3): New tests.
14433
14434 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
14435
14436 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14437 (mi_expect_interrupt): Likewise.
14438 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14439 response.
14440
14441 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14442
14443 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14444 * gdb.base/pc-fp.exp (get_valueofx): Remove.
14445 Replace calls to get_valueofx by get_hexadecimal_valueof.
14446
14447 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14448
14449 * lib/gdb.exp (get_valueof): Accept anything as a return value.
14450 (get_integer_valueof): New procedure.
14451 (get_sizeof): Use new get_integer_value_of.
14452 * gdb.base/sizeof.exp: Replace all uses of get_valueof
14453 by get_integer_valueof.
14454
14455 2009-02-13 Tom Tromey <tromey@redhat.com>
14456
14457 * gdb.base/remote.exp (get_sizeof): Remove.
14458 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
14459 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
14460 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
14461 * lib/gdb.exp (get_valueof): Move from long_long.exp.
14462 (get_sizeof): Likewise.
14463
14464 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14465
14466 PR fortran/9806
14467 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
14468
14469 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14470
14471 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
14472
14473 2009-02-06 Pedro Alves <pedro@codesourcery.com>
14474
14475 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
14476
14477 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14478
14479 * gdb.python/python-cmd.exp: New file.
14480
14481 2009-02-06 Tristan Gingold <gingold@adacore.com>
14482
14483 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
14484
14485 2009-02-05 Tristan Gingold <gingold@adacore.com>
14486
14487 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
14488 pointer is dereferenced and use this signal name in regexp.
14489 * gdb.base/signull.exp: Ditto.
14490 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
14491 * gdb.base/signull.c (main): Ditto.
14492
14493 2009-02-04 Tom Tromey <tromey@redhat.com>
14494 Thiago Jung Bauermann <bauerman@br.ibm.com>
14495
14496 * gdb.python/python-value.exp: Use `gdb.history' instead of
14497 `gdb.value_from_history'.
14498 (test_value_numeric_ops): Add test for conversion of enum constant.
14499 * gdb.python/python-value.c (enum e): New type.
14500 (evalue): New global.
14501 (main): Use argv.
14502
14503 2009-02-04 Jerome Guitton <guitton@adacore.com>
14504
14505 * gdb.ada/uninitialized_vars: New test program.
14506 * gdb.ada/uninitialized_vars.exp: New testcase.
14507
14508 2009-02-02 Tom Tromey <tromey@redhat.com>
14509
14510 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
14511 * gdb.cp/pr2489.cc: Rename...
14512 * gdb.cp/pr9594.cc: ... to this.
14513
14514 2009-02-02 Tom Tromey <tromey@redhat.com>
14515
14516 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
14517 * gdb.cp/pr2489.cc: New file.
14518 * gdb.cp/cpcompletion.exp: New file.
14519
14520 2009-02-02 Tom Tromey <tromey@redhat.com>
14521
14522 PR exp/9059:
14523 * gdb.cp/call-c.exp: Add regression test.
14524 * gdb.cp/call-c.cc (FooHandle): New typedef.
14525 (main): New variable 'handle'.
14526
14527 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14528
14529 * lib/mi-support.exp (et_mi_thread_list)
14530 (check_mi_and_console_threads): Adjust for current thread in
14531 -thread-list-ids output.
14532
14533 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14534
14535 * gdb.mi/mi-break.exp (test_disabled_creation): New.
14536 Call it.
14537
14538 2009-01-28 Doug Evans <dje@google.com>
14539
14540 * gdb.arch/amd64-disp-step.S: New file.
14541 * gdb.arch/amd64-disp-step.exp: New file.
14542 * gdb.arch/i386-disp-step.S: New file.
14543 * gdb.arch/i386-disp-step.exp: New file.
14544
14545 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
14546
14547 * gdb.base/find.exp: Set newline variable
14548 using quotes instead of braces to fix cygwin failures.
14549
14550 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14551
14552 * gdb.base/radix.exp: Add tests to ensure that that set
14553 input-radix 0 and set output-radix 0 are really rejected.
14554
14555 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14556
14557 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
14558 copyright years.
14559
14560 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14561
14562 PR gdb/9664:
14563 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
14564
14565 2009-01-22 Pedro Alves <pedro@codesourcery.com>
14566
14567 PR c++/9631:
14568 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
14569
14570 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
14571
14572 * gdb.server/file-transfer.exp: Use EXEEXT variable for
14573 binfile definition to fix Windows OS failure.
14574
14575 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14576
14577 PR gdb/9346
14578 * gdb.base/interrupt.c (sigint_handler): New.
14579 (main): Install a SIGINT handler if SIGNALS is defined. Exit
14580 on error.
14581 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
14582 Test "signal SIGINT".
14583
14584 2009-01-19 Doug Evans <dje@google.com>
14585
14586 * gdb.base/break.exp: Update expected gdb output.
14587 * gdb.base/sepdebug.exp: Ditto.
14588 * gdb.mi/mi-syn-frame.exp: Ditto.
14589 * gdb.mi/mi2-syn-frame.exp: Ditto.
14590 * gdb.base/call-signal-resume.exp: New file.
14591 * gdb.base/call-signals.c: New file.
14592 * gdb.base/unwindonsignal.exp: New file.
14593 * gdb.base/unwindonsignal.c: New file.
14594 * gdb.threads/interrupted-hand-call.exp: New file.
14595 * gdb.threads/interrupted-hand-call.c: New file.
14596 * gdb.threads/thread-unwindonsignal.exp: New file.
14597
14598 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
14599
14600 * gdb.base/define.exp: Test defining and hooking prefix commands.
14601 * gdb.python/python.exp: Update test for "show user" output.
14602
14603 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14604
14605 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
14606 now the output exactly, using less wildcards. Expect also the output
14607 of gfortran-4.3. Update for the f-valprint.c modification from
14608 2008-04-22.
14609 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
14610 Remove gdb_test test names where matching the command.
14611
14612 2009-01-01 Pedro Alves <pedro@codesourcery.com>
14613
14614 PR breakpoints/9681:
14615 * gdb.base/watchpoint.exp: Add regression test.
14616
14617 2008-12-31 Pedro Alves <pedro@codesourcery.com>
14618
14619 * gdb.threads/attach-into-signal.exp: Don't use
14620 gdb_suppress_entire_file.
14621 * gdb.threads/attach-stopped.exp: Ditto.
14622 * gdb.threads/attachstop-mt.exp: Ditto.
14623
14624 2008-12-31 Pedro Alves <pedro@codesourcery.com>
14625
14626 PR gdb/8812:
14627 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
14628
14629 2008-12-29 Pedro Alves <pedro@codesourcery.com>
14630
14631 PR gdb/7536:
14632 * gdb.base/radix.exp: Add tests to ensure invalid input radices
14633 and unsupported output radices are really rejected.
14634
14635 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14636
14637 * gdb.cp/punctuator.exp: Backslash the '$' signs.
14638
14639 2008-12-22 Tom Tromey <tromey@redhat.com>
14640
14641 * gdb.cp/punctuator.exp: New file.
14642
14643 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14644
14645 * gdb.base/completion.exp (Completing non-existing component): New test.
14646
14647 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14648
14649 Fix for PR gdb/8648.
14650 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
14651 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
14652 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
14653 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
14654
14655 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14656
14657 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
14658
14659 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
14660
14661 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
14662 compiler actually generate code at the expected line number.
14663
14664 2008-12-15 Jie Zhang <jie.zhang@analog.com>
14665
14666 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
14667
14668 2008-12-12 Tom Tromey <tromey@redhat.com>
14669
14670 * gdb.base/commands.exp (redefine_hook_test): New proc.
14671 Call it.
14672
14673 2008-12-11 Tom Tromey <tromey@redhat.com>
14674
14675 * gdb.base/macscp.exp: New regression test.
14676
14677 2008-12-11 Tom Tromey <tromey@redhat.com>
14678
14679 * gdb.base/macscp.exp: Print "address.addr".
14680 * gdb.base/macscp1.c (struct outer): New struct.
14681 (address): New global.
14682
14683 2008-12-09 Tom Tromey <tromey@redhat.com>
14684
14685 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14686 Call it.
14687
14688 2008-12-04 Doug Evans <dje@google.com>
14689
14690 * gdb.server/ext-run.exp: Relax regexp for init program.
14691
14692 2008-12-03 Tristan Gingold <gingold@adacore.com>
14693
14694 * gdb.base/macscp.exp: Generate an object file during compilation
14695 to work around Darwin dsymutil limitations.
14696
14697 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14698
14699 Test resolving external references to TLS variables.
14700 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14701 FILE2_THREAD_LOCAL.
14702 (testfile2, srcfile2): New variables.
14703 * gdb.threads/tls.c (file2_thread_local)
14704 (function_referencing_file2_thread_local): New.
14705 * gdb.threads/tls2.c: New file.
14706
14707 2008-11-28 Joel Brobecker <brobecker@adacore.com>
14708
14709 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
14710 rather than integer, as integer might not be big enough when
14711 on 64bit targets.
14712
14713 2008-11-27 Jerome Guitton <guitton@adacore.com>
14714
14715 * gdb.cp/formatted-ref.exp: Add equality test.
14716 * gdb.ada/formatted_ref.exp: Ditto.
14717
14718 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14719
14720 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14721 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14722
14723 2008-11-20 Andreas Schwab <schwab@suse.de>
14724
14725 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14726 matching syscall entry point.
14727 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14728 (tcatch_vfork_then_child_follow): Likewise. Finish through
14729 vfork even if we stopped at the syscall trampoline.
14730
14731 2008-11-20 Doug Evans <dje@google.com>
14732
14733 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14734
14735 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
14736
14737 * gdb.arch/ppc-dfp.exp: New file.
14738 * gdb.arch/ppc-dfp.c: New file.
14739
14740 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14741
14742 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
14743
14744 2008-11-17 Doug Evans <dje@google.com>
14745
14746 * gdb.mi/mi-syn-frame.exp: Update expected output.
14747 * gdb.mi/mi2-syn-frame.exp: Update expected output.
14748
14749 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14750
14751 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
14752 "thread N" results in =thread-selected.
14753 * lib/mi-support (mi_run_cmd, mi_expect_stop)
14754 (mi_send_resuming_command_raw): Be prepared for
14755 =thread-selected.
14756
14757 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14758
14759 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14760 * lib/mi-support.exp: Likewise.
14761
14762 2008-11-16 Joel Brobecker <brobecker@adacore.com>
14763
14764 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14765 commands from the expected output for "help catch".
14766
14767 2008-11-15 Joel Brobecker <brobecker@adacore.com>
14768
14769 * gdb.ada/int_deref.exp: New testcase.
14770
14771 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
14772
14773 * gdb.mi/gdb2549.exp: New file.
14774
14775 2008-11-11 Doug Evans <dje@google.com>
14776
14777 * gdb.base/callexit.exp: New file.
14778 * gdb.base/callexit.c: New file.
14779
14780 2008-11-10 Doug Evans <dje@google.com>
14781
14782 * lib/gdb.exp (GDBFLAGS): Move -nx ...
14783 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
14784 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14785 (default_gdb_start,default_gdb_exit): Ditto.
14786 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14787 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14788 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14789 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14790 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14791 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14792
14793 2008-11-03 Andreas Schwab <schwab@suse.de>
14794
14795 * gdb.base/hashline2.exp: Fix typo.
14796 * gdb.base/hashline3.exp: Likewise.
14797
14798 2008-10-30 Tom Tromey <tromey@redhat.com>
14799
14800 * gdb.base/pointers.exp: Add test.
14801 * gdb.base/pointers.c (k, S): New typedefs.
14802 (instance): New global.
14803
14804 2008-10-30 Andreas Schwab <schwab@suse.de>
14805
14806 * gdb.base/args.exp: Add tests for newlines.
14807
14808 2008-10-30 Joel Brobecker <brobecker@adacore.com>
14809
14810 gdb.base/foll-exec.exp: Update the expected output of a couple
14811 of "info breakpoints" tests.
14812
14813 2008-10-28 Tom Tromey <tromey@redhat.com>
14814
14815 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14816
14817 2008-10-24 Pedro Alves <pedro@codesourcery.com>
14818
14819 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14820 gdb_start_cmd.
14821 Use runto_main before any test that requires execution.
14822
14823 2008-10-23 Pedro Alves <pedro@codesourcery.com>
14824
14825 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14826 instead of SIGINT.
14827
14828 2008-10-22 Joel Brobecker <brobecker@adacore.com>
14829
14830 * gdb.base/completion.exp: Update expected output following
14831 the addition of the "info tasks" command.
14832
14833 2008-10-22 Tom Tromey <tromey@redhat.com>
14834
14835 * gdb.base/exprs.exp (test_expr): Add test for string
14836 concatenation.
14837
14838 2008-10-19 Pedro Alves <pedro@codesourcery.com>
14839
14840 * configure.ac: Output gdb.python/Makefile.
14841 * configure: Regenerate.
14842 * gdb.python/Makefile.in: New.
14843
14844 2008-10-16 Joel Brobecker <brobecker@adacore.com>
14845
14846 * gdb.base/foll-fork.exp: Adjust the expected output to match
14847 the new description for fork/vfork catchpoints in the "info
14848 breakpoints" output.
14849
14850 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14851
14852 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
14853
14854 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14855
14856 * gdb.python/python-value.c: New file.
14857 * gdb.python/python-value.exp: New file.
14858
14859 2008-10-15 Pedro Alves <pedro@codesourcery.com>
14860
14861 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
14862
14863 2008-10-15 Denis Pilat <denis.pilat@st.com>
14864
14865 * gdb.cp/mb-ctor.exp: Fix a typo.
14866
14867 2008-10-09 Tom Tromey <tromey@redhat.com>
14868
14869 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
14870 'fprintf' and 'stderr'.
14871
14872 2008-10-07 Joel Brobecker <brobecker@adacore.com>
14873
14874 * gdb.ada/ref_tick_size.exp: New testcase.
14875
14876 2008-10-06 Doug Evans <dje@google.com>
14877
14878 * gdb.dwarf2/dw2-cu-size.exp: New file.
14879 * gdb.dwarf2/dw2-cu-size.S: New file.
14880
14881 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
14882 .Ltype_int for clarity.
14883
14884 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14885
14886 PR gdb/2384:
14887 * gdb.cp/gdb2384.exp: Extended to test more cases.
14888 * gdb.cp/gdb2384.cc: Likewise.
14889 * gdb.cp/gdb2384-base.h: Likewise.
14890 * gdb.cp/gdb2384-base.cc: Likewise.
14891
14892 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14893
14894 * gdb.base/maint.exp (maint print type): Remove printing
14895 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
14896
14897 2008-09-30 Tom Tromey <tromey@redhat.com>
14898
14899 * gdb.base/macscp.exp: Add completion tests.
14900 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
14901 (TWENTY_THREE): Likewise.
14902 (FORTY_EIGHT): Likewise.
14903
14904 2008-09-30 Tom Tromey <tromey@redhat.com>
14905
14906 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
14907 everywhere.
14908 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
14909
14910 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14911
14912 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
14913 testcase is derived from. Fix racy dependency on an expected PID
14914 number. No longer support the testcase on Linux kernel 2.4.x.
14915
14916 2008-09-27 Tom Tromey <tromey@redhat.com>
14917
14918 * gdb.base/macscp.exp: Add tests for stringification, splicing,
14919 and varargs.
14920
14921 2008-09-22 Pedro Alves <pedro@codesourcery.com>
14922
14923 * lib/mi-support.exp (mi_expect_interrupt): New.
14924 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
14925 from gdb.mi/mi-nonstop.exp.
14926 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
14927 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
14928 lib/mi-support.exp.
14929 Use mi_check_thread_states throughout. Avoid ".*" and do not
14930 require an anchor after -exec-run.
14931
14932 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
14933
14934 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
14935 stop is pending. Avoid ".*" when two stops are pending.
14936 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
14937 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
14938 newlines in fullnames.
14939 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
14940 (mi_expect_stop): Update comments. Only anchor in sync mode.
14941 Do not match newlines.
14942 (mi_send_resuming_command_raw): Always return status.
14943 (mi_get_stop_line): Do not match more than one line by accident.
14944 Only anchor in sync mode.
14945 (mi_run_inline_test): If -exec-next fails, give up.
14946
14947 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14948
14949 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
14950 on SPU.
14951
14952 2008-09-10 Joel Brobecker <brobecker@adacore.com>
14953
14954 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
14955
14956 2008-09-10 Joel Brobecker <brobecker@adacore.com>
14957
14958 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
14959 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
14960 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
14961 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
14962 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
14963 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
14964 gdb.ada/interface.exp, gdb.ada/null_array.exp,
14965 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
14966 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
14967 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
14968 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
14969 Include the "= " sequence in the expected output of print tests.
14970
14971 2008-09-10 Joel Brobecker <brobecker@adacore.com>
14972
14973 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
14974 description for boolean types.
14975
14976 2008-09-09 Pedro Alves <pedro@codesourcery.com>
14977
14978 * gdb.base/hook-stop-continue.c: New.
14979 * gdb.base/hook-stop-continue.exp: New.
14980
14981 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
14982
14983 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
14984
14985 2008-09-08 Jerome Guitton <guitton@adacore.com>
14986
14987 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
14988 (stack_check_probe_2, stack_check_probe_loop_1)
14989 (stack_check_probe_loop_2): New functions.
14990 (main): Add call to these new functions.
14991 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
14992 functions, check that the breakpoint is inserted at the appropriate
14993 location.
14994 (insert_breakpoint): Slightly refine this procedure so that it can
14995 be called several times in the test.
14996
14997 2008-09-08 Jerome Guitton <guitton@adacore.com>
14998
14999 * gdb.base/stack-checking.c: New file.
15000 * gdb.base/stack-checking.exp: New file.
15001
15002 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15003
15004 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15005 * gdb.arch/altivec-regs.exp: Likewise.
15006 * gdb.arch/vsx-regs.exp: Likewise.
15007
15008 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15009
15010 * gdb.arch/ppc-fp.exp: New file.
15011 * gdb.arch/ppc-fp.c: New file.
15012
15013 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15014
15015 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15016 lest gcc-4.3.1 optimizes the whole thing away.
15017
15018 2008-09-04 Michael Snyder <msnyder@vmware.com>
15019
15020 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15021 as "at" (for non-debug functions such as _start).
15022
15023 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15024
15025 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15026 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15027 software watchpoints.
15028 * gdb.base/watch_thread_num.exp: Likewise.
15029
15030 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15031
15032 * gdb.arch/i386-bp_permanent.exp: New test.
15033
15034 2008-08-24 Tom Tromey <tromey@redhat.com>
15035
15036 * gdb.base/maint.exp: Update "maint print type".
15037
15038 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15039
15040 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15041 support. Adjust the order of "*running" notifications.
15042 * gdb.mi/non-stop.c: Don't cast from int to void* and
15043 back.
15044
15045 2008-08-20 Mark Kettenis <kettenis@gnu.org>
15046
15047 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15048 expect to find it in the "info frame" output.
15049
15050 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15051
15052 * gdb.base/interp.exp: Always consume both prompts.
15053
15054 2008-08-20 Pedro Alves <pedro@codesourcery.com>
15055
15056 * gdb.base/pending.exp: Test pending breakpoints without symbols
15057 loaded.
15058
15059 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15060
15061 * lib/mi-support.exp (mi_expect_stop): Produce
15062 more details on failures.
15063 * gdb.mi/mi-nonstop.exp: New.
15064 * gdb.mi/non-stop.c: New.
15065
15066 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15067
15068 * gdb.mi/mi-async.exp: Use 'set target-async'.
15069 * lib/mi-support.exp: Use 'set/show target-async'.
15070
15071 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15072
15073 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15074
15075 2008-08-17 Tom Tromey <tromey@redhat.com>
15076
15077 * gdb.base/help.exp (help catch): Rewrite.
15078
15079 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15080
15081 * gdb.base/define.exp: Test indented command documentation.
15082 * gdb.python/python.exp: Test indented multi-line command.
15083
15084 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
15085
15086 * testsuite/gdb.arch/vsx-regs.c: New source file.
15087 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15088 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15089
15090 2008-08-14 Tom Tromey <tromey@redhat.com>
15091
15092 * gdb.base/macscp.exp: Add regression test for "macro define" or
15093 "macro undef" with no arguments.
15094
15095 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15096
15097 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
15098
15099 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15100
15101 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15102
15103 2008-08-06 Tom Tromey <tromey@redhat.com>
15104
15105 * gdb.python/python.exp: New file.
15106
15107 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15108
15109 Fix for PR gdb/1543.
15110 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15111 $LOCATION.
15112 (location): New variable.
15113 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15114 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15115 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15116 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15117 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15118 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15119 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15120 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15121 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15122 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15123 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15124 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15125 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15126 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15127 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15128 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15129 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15130 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15131 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15132 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15133 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15134 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15135 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15136 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15137 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15138 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15139 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15140 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15141 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15142 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15143 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15144 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15145 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15146 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15147 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15148 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15149 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15150 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15151 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15152 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15153 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15154 gdb.base/type-opaque.exp, gdb.base/until.exp,
15155 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15156 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15157 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15158 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15159 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15160 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15161 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15162 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15163 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15164 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15165 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15166 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15167 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15168 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15169 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15170 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15171 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15172 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15173 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15174 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15175 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15176 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15177 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15178 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15179 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15180 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15181 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15182 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15183 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15184 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15185 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15186 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15187 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15188 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15189 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15190 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15191 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15192 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15193 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15194 to bug-gdb@prep.ai.mit.edu .
15195
15196 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15197
15198 * lib/mi-support.exp (mi_load_shlibs): New.
15199 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15200
15201 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15202
15203 * lib/mi-support.exp (get_mi_thread_list)
15204 (check_mi_and_console_threads): New, moved from ...
15205 * gdb.mi/mi-pthread.exp: ...here.
15206 * gdb.mi/gdb669.exp (get_mi_thread_list)
15207 (check_mi_and_console_threads): Delete.
15208 * gdb.mi/mi2-pthread.exp: Likewise.
15209
15210 2008-07-28 Tom Tromey <tromey@redhat.com>
15211
15212 * Makefile.in (just-check): Remove. Move body to...
15213 (check): ... here.
15214
15215 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15216
15217 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15218 Add a test for duplicated SIGINTs.
15219
15220 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15221
15222 * gdb.threads/schedlock.exp (get_args): Update to work for any
15223 value of NUM.
15224 (Top level): Report the number of threads that did not resume.
15225
15226 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15227
15228 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15229
15230 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15231
15232 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15233 non-MI prompt.
15234
15235 2008-07-26 Tom Tromey <tromey@redhat.com>
15236
15237 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15238 (function_struct, function_struct_ptr): New globals.
15239 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15240 function pointer in a struct.
15241
15242 2008-07-26 Tom Tromey <tromey@redhat.com>
15243
15244 * gdb.base/macscp.exp: Add test for macro lexing bug.
15245
15246 2008-07-18 Tom Tromey <tromey@redhat.com>
15247
15248 * gdb.base/macscp.exp: Add macro tests.
15249
15250 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15251
15252 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15253
15254 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15255
15256 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15257
15258 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15259
15260 * gdb.cp/class2.exp: fix for failure on spu-elf
15261
15262 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15263
15264 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
15265
15266 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15267
15268 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15269
15270 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15271
15272 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15273
15274 2008-07-11 Kevin Buettner <kevinb@redhat.com>
15275
15276 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15277 of regexp to account for changes made to GDB in the printing of
15278 byte vectors.
15279
15280 2008-07-11 Tom Tromey <tromey@redhat.com>
15281
15282 * gdb.base/completion.exp: Add 'help' completion test.
15283
15284 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15285
15286 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15287
15288 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15289
15290 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15291
15292 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15293
15294 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15295
15296 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15297
15298 * gdb.base/fullname.exp: Restore pwd if compiling failed.
15299
15300 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15301
15302 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15303
15304 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15305
15306 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15307 previous commit. Add a comment.
15308
15309 2008-06-28 Pedro Alves <pedro@codesourcery.com>
15310
15311 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15312
15313 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15314
15315 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15316
15317 2008-06-27 Pedro Alves <pedro@codesourcery.com>
15318
15319 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15320 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15321 compiling an executable, link in an object that forces unbuffered
15322 output.
15323 * lib/set_unbuffered_mode.c: New file.
15324
15325 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15326
15327 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15328
15329 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
15330
15331 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15332 mi_expect_stop.
15333 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15334 Demand that *running is output.
15335 (detect_async): Perform checking every time.
15336 (mi_send_resuming_command): Extract everything into...
15337 (mi_send_resuming_command_raw): ...this.
15338 (mi_expect_stop): Don't accept any output before *stopped.
15339
15340 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
15341
15342 Robustify mi-simplerun.
15343 * gdb.mi/basics.c (main): Add a call to sleep.
15344 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15345 * gdb.mi/mi2-cli.exp: Likewise.
15346 * gdb.mi/mi-break.exp: Likewise.
15347
15348 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
15349
15350 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15351
15352 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15353
15354 * gdb.mi/mi-console.exp: Adjust.
15355 * gdb.mi/mi-syn-frame.exp: Adjust.
15356 * gdb.mi/mi2-console.exp: Adjust.
15357 * gdb.mi/mi2-syn-frame.exp: Adjust.
15358 * lib/mi-support.exp (mi_run_cmd): Adjust.
15359 (mi_send_resuming_command): Adjust.
15360
15361 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15362
15363 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
15364 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15365 testing of stopped.
15366 * gdb.mi/mi2-syn-frame.exp: Likewise.
15367 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15368 (async, detect_async): New.
15369 (mi_expect_stop, mi_continue_to_line): Adjust expectation
15370 depending on if we're running in sync or async mode.
15371
15372 2008-06-09 Tom Tromey <tromey@redhat.com>
15373
15374 * gdb.base/completion.exp: New tests for field name completion
15375 with spaces, and field name completion with '->'.
15376
15377 2008-06-06 Tom Tromey <tromey@redhat.com>
15378
15379 * gdb.base/break1.c (struct some_struct): New struct.
15380 (values): New global.
15381 * gdb.base/completion.exp: Add field name completion test.
15382
15383 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15384
15385 * gdb.cp/call-c.exp: Test for incorrect handling of reference
15386 to pointer.
15387 * gdb.cp/call-c.cc: Likewise.
15388
15389 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
15390
15391 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15392 annotation.
15393
15394 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15395 Pedro Alves <pedro@codesourcery.com>
15396
15397 * gdb.threads/execl.c, gdb.threads/execl1.c,
15398 gdb.threads/execl.exp: New tests.
15399
15400 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
15401 Daniel Jacobowitz <dan@codesourcery.com>
15402
15403 * gdb.cp/exception.exp: Activate test, make it work with pending
15404 catchpoints.
15405
15406 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15407
15408 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15409
15410 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
15411
15412 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15413 now printed.
15414 * gdb.mi/mi2-var-cmd.exp: Likewise.
15415
15416 2008-05-27 Andreas Schwab <schwab@suse.de>
15417
15418 * gdb.base/frame-args.exp: Handle arguments that are optimized
15419 out.
15420
15421 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
15422
15423 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15424 quiet for ppc32 and group options into a single variable.
15425
15426 2008-05-23 Joel Brobecker <brobecker@adacore.com>
15427
15428 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15429 of zero-size elements.
15430 * gdb.ada/null_array.exp: Test printing this new array.
15431
15432 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15433
15434 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15435
15436 2008-05-21 Joel Brobecker <brobecker@adacore.com>
15437
15438 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15439 of the "finish" command.
15440
15441 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
15442
15443 * gdb.base/annota1.exp: Test for new annotation.
15444
15445 2008-05-16 Pedro Alves <pedro@codesourcery.com>
15446
15447 * gdb.base/fixsection.exp: New file.
15448 * gdb.base/fixsection0.c: New file.
15449 * gdb.base/fixsection1.c: New file.
15450
15451 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15452
15453 * gdb.base/annota1.exp: Accept printf@... in place of printf.
15454 * gdb.base/annota3.exp: Likewise.
15455
15456 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
15457
15458 * gdb.base/watch_thread_num.exp: Don't run tests that require
15459 watchpoints if the target doesn't support them.
15460
15461 2008-05-12 Doug Evans <dje@google.com>
15462
15463 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
15464
15465 2008-05-09 Joel Brobecker <brobecker@adacore.com>
15466
15467 * gdb.ada/assign_1.exp: New testcase.
15468
15469 2008-05-09 Doug Evans <dje@google.com>
15470
15471 * gdb.base/find.exp: New file.
15472 * gdb.base/find.c: New file.
15473
15474 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
15475
15476 * gdb.base/commands.exp (watchpoint_command_test): Handle
15477 gdb,no_hardware_watchpoints.
15478 * gdb.base/float.exp: Allow ARM targets without floating point.
15479 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
15480
15481 2008-05-06 Jerome Guitton <guitton@adacore.com>
15482 Joel Brobecker <brobecker@adacore.com>
15483
15484 * gdb.ada/lang_switch: New test program.
15485 * gdb.ada/lang_switch.exp: New testcase.
15486
15487 2008-05-05 Doug Evans <dje@google.com>
15488
15489 * gdb.base/help.exp (disassemble): Update expected help text.
15490
15491 2008-05-04 Pedro Alves <pedro@codesourcery.com>
15492
15493 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
15494
15495 2008-05-04 Pedro Alves <pedro@codesourcery.com>
15496
15497 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
15498 different times.
15499
15500 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15501
15502 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
15503 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
15504 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
15505 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
15506
15507 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
15508
15509 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
15510 notification to appear.
15511
15512 2008-05-04 Daniel Jacobowitz <dan@debian.org>
15513
15514 * gdb.base/fullname.c: New file.
15515 * gdb.base/fullname.exp: New file.
15516 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
15517
15518 2008-05-03 Pedro Alves <pedro@codesourcery.com>
15519
15520 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
15521 expressions with macros.
15522
15523 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15524
15525 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
15526
15527 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
15528
15529 * gdb.base/completion.exp: Handle lack of other symbols beginning
15530 with "a".
15531
15532 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
15533
15534 2008-05-02 Jim Blandy <jimb@codesourcery.com>
15535
15536 * gdb.asm/asmsrc1.s: Add scratch space.
15537
15538 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15539 Daniel Jacobowitz <dan@codesourcery.com>
15540
15541 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
15542 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
15543 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
15544
15545 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
15546
15547 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
15548
15549 2008-05-01 Joel Brobecker <brobecker@adacore.com>
15550
15551 * gdb.base/info-target.exp: New testcase.
15552
15553 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15554
15555 * gdb.cp/hang.exp: Use .cc instead of .C.
15556 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
15557 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
15558
15559 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15560
15561 * gdb.base/gdb1250.exp: Remove perror.
15562 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
15563
15564 2008-04-30 Pedro Alves <pedro@codesourcery.com>
15565
15566 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
15567 .2byte.
15568
15569 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
15570
15571 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
15572 (maybe_kfail): New.
15573
15574 2008-04-25 Pedro Alves <pedro@codesourcery.com>
15575
15576 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
15577
15578 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15579
15580 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
15581 * gdb.mi/mi2-syn-frame.exp: Likewise.
15582 * lib/mi-support.exp: Likewise.
15583
15584 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15585
15586 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
15587 to specify regexp for the location to stop at.
15588 * gdb.base/break-always.c: New.
15589 * gdb.base/break-always.exp: New.
15590
15591 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15592
15593 * lib/mi-support.exp (mi_runto_helper): Adjust
15594 for the original-location field.
15595 (mi_create_breakpoint, mi_list_breakpoints): New.
15596 * gdb.mi/mi-break.exp: Adjust.
15597 * gdb.mi/mi2-break.exp: Adjust.
15598 * gdb.mi/mi-pending.exp: Adjust.
15599 * gdb.mi/mi-simplerun.exp: Adjust.
15600 * gdb.mi/mi2-simplerun.exp: Adjust.
15601 * gdb.mi/mi-syn-frame.exp: Adjust.
15602 * gdb.mi/mi2-syn-frame.exp: Adjust.
15603 * gdb.mi/mi-until.exp: Adjust.
15604 * gdb.mi/mi2-until.exp: Adjust.
15605 * gdb.mi/mi-var-display.exp: Adjust.
15606 * gdb.mi/mi2-var-display.exp: Adjust.
15607 * gdb.mi/mi-watch.exp: Adjust.
15608 * gdb.mi/mi2-watch.exp: Adjust.
15609
15610 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
15611
15612 * aclocal.m4: Add override.m4.
15613 * configure: Regenerate.
15614
15615 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
15616
15617 * gdb.mi/var-cmd.c (do_at_tests): Verify that
15618 '-var-update --all-values' reports new value even the type
15619 of a variable object has changed.
15620
15621 2008-04-18 Craig Silverstein <csilvers@google.com>
15622
15623 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
15624 files.
15625
15626 2008-04-18 Joel Brobecker <brobecker@adacore.com>
15627
15628 * gdb.ada/atomic_enum: New test program.
15629 * gdb.ada/atomic_enum.exp: New testcase.
15630
15631 2008-04-17 Doug Evans <dje@google.com>
15632
15633 * gdb.opt/Makefile.in: Fix whitespace.
15634
15635 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
15636
15637 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
15638
15639 2008-04-17 Doug Evans <dje@google.com>
15640
15641 * gdb.base/hashline1.exp: New testcase.
15642 * gdb.base/hashline2.exp: New testcase.
15643 * gdb.base/hashline2.exp: New testcase.
15644
15645 2008-04-17 Pedro Alves <pedro@codesourcery.com>
15646
15647 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
15648
15649 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
15650
15651 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
15652 temporary breakpoint to match "Temporary breakpoint".
15653 * gdb.base/break.exp (delete_breakpoints): Likewise.
15654 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
15655 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
15656 * gdb.base/display.exp: Likewise.
15657 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
15658 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
15659 * gdb.base/restore.exp (restore_tests): Likewise.
15660 * gdb.base/sepdebug.exp: Likewise.
15661 * gdb.base/watchpoint.exp: Likewise.
15662 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
15663 * gdb.mi/mi-pending.exp: Likewise.
15664 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
15665 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
15666 * gdb.mi/mi-var-cmd.exp: Likewise.
15667 * gdb.mi/mi-var-display.exp: Likewise.
15668 * gdb.mi/mi2-cli.exp: Likewise.
15669 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
15670 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
15671 * gdb.mi/mi2-var-display.exp: Likewise.
15672 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
15673 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
15674 new "disp" field.
15675 (mi_expect_stop): Move after_reason argument to be really after
15676 reason. This is to support fix for PR2424.
15677
15678 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15679
15680 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
15681
15682 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
15683
15684 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
15685 field. Add more floating varobj tests.
15686 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
15687 field.
15688 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15689 (main): Call do_at_tests.
15690 * lib/mi-support.exp (mi_create_floating_varobj)
15691 (mi_varobj_update_with_type_change): New.
15692
15693 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
15694
15695 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15696 option of -var-evaluate-expression.
15697 * gdb.mi/mi2-var-display.exp: Likewise.
15698
15699 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
15700
15701 Introduce test setup helpers.
15702 * lib/gdb.exp (build_executable, clean_restart)
15703 (prepare_for_testing): New.
15704 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15705 * gdb.base/return.exp: Likewise.
15706 * gdb.base/ending-run.exp: Likewise.
15707
15708 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
15709
15710 * gdb.mi/mi-async.exp: New test for asynchronous Machine
15711 Interface (MI) responses.
15712
15713 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
15714
15715 * gdb.cp/breakpoint.cc: New code to test conditions involving
15716 member variables.
15717 * gdb.cp/breakpoint.exp: Test condition involving member
15718 variables.
15719
15720 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
15721
15722 * lib/mi-support.exp (mi_expect_stop): New.
15723 (mi_run_cmd): Change the
15724 token. Use mi_send_resuming_command, use
15725 mi_expect_stop.
15726 (mi_execute_to_helper): Rename to mi_execute_to.
15727 (mi_send_resuming_command): Add more error patterns.
15728 (mi_wait_for_stop): Renamed to...
15729 (mi_get_stop_line): ...this.
15730 (mi_run_inline_test): Adjust.
15731
15732 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15733 * gdb.mi/mi-console.exp: Likewise.
15734 * gdb.mi/mi-pending.exp: Likewise.
15735 * gdb.mi/mi-simplerun.exp: Likewise.
15736 * gdb.mi/mi-stack.exp: Likewise.
15737 * gdb.mi/mi-stepi.exp: Likewise.
15738 * gdb.mi/mi-syn-frame.exp: Add comment.
15739 * gdb.mi/mi-until.exp: Likewise.
15740 * gdb.mi/mi-var-display.exp: Likewise.
15741 * gdb.mi/mi-watch.exp: Likewise.
15742 * gdb.mi/mi2-cli.exp: Likewise.
15743 * gdb.mi/mi2-console.exp: Likewise.
15744 * gdb.mi/mi2-simplerun.exp: Likewise.
15745 * gdb.mi/mi2-stack.exp: Likewise.
15746 * gdb.mi/mi2-stepi.exp: Likewise.
15747 * gdb.mi/mi2-until.exp: Likewise.
15748 * gdb.mi/mi2-var-display.exp: Likewise.
15749 * gdb.mi/mi2-watch.exp: Likewise.
15750
15751 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15752
15753 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15754
15755 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15756
15757 2008-04-04 Pedro Alves <pedro@codesourcery.com>
15758
15759 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15760 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15761 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15762 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15763 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15764 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15765 expect an mi error duplicated in stderr.
15766
15767 2008-04-03 Joel Brobecker <brobecker@adacore.com>
15768
15769 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15770 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15771 Add a couple of tests that verify the behavior when the new setting
15772 is set to "cancel" and "all".
15773 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15774 "ask" before we start the testing.
15775
15776 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
15777
15778 * gdb.cp/casts.cc: Add class reference variables.
15779 * gdb.cp/casts.exp: New test cases for up/down casting references.
15780
15781 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
15782
15783 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15784 instead of beginning to make an extra test pass.
15785 * gdb.mi/mi2-var-display.exp: Likewise.
15786
15787 2008-03-31 Maciej W. Rozycki <macro@mips.com>
15788
15789 * gdb.base/break.exp: Mark failures as such. Fix formatting.
15790
15791 2008-03-31 Markus Deuling <deuling@de.ibm.com>
15792 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15793
15794 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15795 value. Add xfail for older kernels.
15796
15797 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
15798
15799 Bring mi-support in line with gdb.exp.
15800 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15801 (mi_gdb_start): New function.
15802
15803 2008-03-28 Maciej W. Rozycki <macro@mips.com>
15804
15805 * gdb.mi/mi-var-cmd.exp: Fix a typo.
15806
15807 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15808
15809 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15810 * gdb.mi/mi2-var-display.exp: Likewise.
15811
15812 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15813
15814 * lib/mi-support.exp (mi_create_varobj_checked): New.
15815 (mi_list_varobj_children): Allow to check for a
15816 value.
15817 (mi_list_array_varobj_children): New.
15818
15819 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15820 and mi_list_varobj_children, as opposed to hardcoding
15821 expected strings.
15822 * gdb.mi/gdb701.exp: Likewise.
15823 * gdb.mi/gdb792.exp: Likewise.
15824 * gdb.mi/mi-var-block.exp: Likewise.
15825 * gdb.mi/mi-var-cmd.exp: Likewise.
15826 * gdb.mi/mi-var-invalidate.exp: Likewise.
15827 * gdb.mi/mi2-var-block.exp: Likewise.
15828 * gdb.mi/mi2-var-child.exp: Likewise.
15829 * gdb.mi/mi2-var-cmd.exp: Likewise.
15830 * gdb.mi/mi2-var-display.exp: Likewise.
15831
15832 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15833
15834 Fix random false FAILs on i386.
15835 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15836
15837 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15838
15839 PR gdb/544
15840 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15841
15842 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15843
15844 PR gdb/544
15845 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15846
15847 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15848
15849 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
15850 fixed PR gdb/544.
15851
15852 2008-03-21 Pedro Alves <pedro@codesourcery.com>
15853
15854 * gdb.threads/fork-child-threads.exp: Test next over fork.
15855
15856 2008-03-21 Chris Demetriou <cgd@google.com>
15857
15858 * gdb.base/break.exp (rbreak junk): New test for rbreak
15859 "Junk at end of arguments" issue.
15860
15861 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15862
15863 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
15864 *& to work on created array elements.
15865 (Top level): Test print $pc with a file. Test string operations
15866 without a target.
15867 * gdb.base/ptype.exp: Do not expect *& to work on created array
15868 elements.
15869
15870 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15871
15872 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15873 gdb.threads/staticthreads.exp: Update exit query.
15874
15875 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
15876
15877 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
15878
15879 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
15880
15881 * gdb.base/watchpoint.c (global_ptr, func4): New.
15882 (main): Call func4.
15883 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
15884 (test_inaccessible_watchpoint): New.
15885
15886 2008-02-29 Maciej W. Rozycki <macro@mips.com>
15887
15888 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
15889 select the largest.
15890
15891 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15892
15893 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
15894 frames-invalid annotations.
15895
15896 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
15897
15898 * gdb.base/assign.exp: avoid same output for different tests.
15899
15900 2008-02-27 Doug Evans <dje@google.com>
15901
15902 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
15903 for bug 1738.
15904 (breakpoint_to_handler_entry): Ditto.
15905
15906 2008-02-27 Joel Brobecker <brobecker@adacore.com>
15907
15908 * gdb.base/ending-run.exp: Use the first line of code inside
15909 function body to test breakpoints.
15910 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
15911 location where the breakpoint is inserted when using the line
15912 where a function is declared. Fix typo in the description of
15913 one of the tests.
15914 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
15915
15916 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15917
15918 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
15919 tests.
15920
15921 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15922
15923 * gdb.base/args.exp: avoid same output for tests
15924 with single quotes.
15925
15926 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
15927
15928 * gdb.base/annota1.exp: Adjust for 'info break'
15929 format changes.
15930 * gdb.base/annota3.exp: Likewise.
15931 * gdb.base/break.exp: Likewise.
15932 * gdb.base/condbreak.exp: Likewise.
15933 * gdb.base/pending.exp: Likewise.
15934 * gdb.base/sepdebug.exp: Likewise.
15935 * gdb.base/unload.exp: Likewise.
15936 * gdb.cp/ovldbreak.exp: Likewise.
15937 * gdb.mi/mi-pending.exp: Likewise.
15938
15939 2008-02-07 Doug Evans <dje@google.com>
15940
15941 * gdb.cp/mb-inline.exp: New.
15942 * gdb.cp/mb-inline.h: New.
15943 * gdb.cp/mb-inline1.cc: New.
15944 * gdb.cp/mb-inline2.cc: New.
15945
15946 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
15947
15948 * gdb.pascal/floats.pas: New test program.
15949 * gdb.pascal/floats.exp: New testcase.
15950
15951 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15952
15953 * gdb.base/callfuncs.c (t_float_many_args): New function.
15954 (t_double_many_args): New function.
15955 * gdb.base/callfuncs.exp: Add tests for exceeding float
15956 and double parameters passed through the stack.
15957
15958 2008-02-05 Joel Brobecker <brobecker@adacore.com>
15959
15960 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
15961 gdb.ada/complete/foo.adb: New files.
15962 * gdb.ada/complete.exp: New testcase.
15963
15964 2008-02-03 Doug Evans <dje@google.com>
15965
15966 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
15967
15968 * gdb.cp/gdb2384.exp: New file.
15969 * gdb.cp/gdb2384.cc: New file.
15970 * gdb.cp/gdb2384-base.h: New file.
15971 * gdb.cp/gdb2384-base.cc: New file.
15972
15973 2008-02-02 Doug Evans <dje@google.com>
15974
15975 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
15976
15977 2007-02-01 Joel Brobecker <brobecker@adacore.com>
15978
15979 * gdb.ada/sym_print_name: New test program.
15980 * gdb.ada/sym_print_name.exp: New testcase.
15981
15982 2007-02-01 Joel Brobecker <brobecker@adacore.com>
15983
15984 * gdb.ada/nested/hello.adb: New file.
15985 * gdb.ada/nested.exp: New testcase.
15986 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15987
15988 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
15989
15990 * gdb.mi/basic.c (return_1): New function.
15991 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
15992 don't cause future evaluations of function to report
15993 creation of internal breakpoints.
15994
15995 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
15996
15997 * gdb.mi/mi-break.exp (test_error): New.
15998 Call it.
15999
16000 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
16001
16002 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16003 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16004
16005 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16006
16007 * gdb.pascal/integers.pas: New test program.
16008 * gdb.pascal/integers.exp: New testcase.
16009
16010 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16011
16012 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16013
16014 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
16015
16016 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16017 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16018
16019 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16020
16021 * gdb.ada/formatted_ref: New test program.
16022 * gdb.ada/formatted_ref.exp: New testcase.
16023
16024 * gdb.cp/formatted-ref.cc: New file.
16025 * gdb.cp/formatted-ref.exp: New testcase.
16026
16027 2008-01-30 Joel Brobecker <brobecker@adacore.com>
16028
16029 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16030
16031 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
16032
16033 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16034 (test_file_list_exec_source_file): Update to new macro-info field.
16035
16036 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16037
16038 * gdb.ada/exprs: New test program.
16039 * gdb.ada/exprs.exp: New testcase.
16040
16041 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16042
16043 * dfp-test.c (DELTA, DELTA_B): New definitions.
16044 (double_val1, double_val2, double_val3, double_val4, double_val5,
16045 double_val6, double_val7, double_val8, double_val9, double_val10,
16046 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16047 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16048 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16049 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16050 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16051 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16052 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16053 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16054 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16055 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16056 dec128_val16): New global variables.
16057 (decimal_dec128_align): New function.
16058 (decimal_mixed): Likewise.
16059 (decimal_many_args_dec32): Likewise.
16060 (decimal_many_args_dec64): Likewise.
16061 (decimal_many_args_dec128): Likewise.
16062 (decimal_many_args_mixed): Likewise.
16063 * dfp-test.exp: Add tests calling new inferior functions.
16064
16065 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16066
16067 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16068 gdb.server/ext-run.exp: New files.
16069 * lib/gdbserver-support.exp (gdbserver_download): New.
16070 (gdbserver_start): New. Update gdbserver expected
16071 output.
16072 (gdbserver_spawn): Use them.
16073 (gdbserver_start_extended): New.
16074
16075 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16076
16077 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16078 Run on GNU/Linux.
16079 (do_exec_tests): Check for systems which do not support catchpoints.
16080 Do not match START.
16081 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16082 Run on GNU/Linux. Enable verbose output.
16083 (check_fork_catchpoints): New.
16084 (explicit_fork_child_follow, catch_fork_child_follow)
16085 (tcatch_fork_parent_follow): Update expected messages.
16086 (do_fork_tests): Use check_fork_catchpoints.
16087 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16088 Run on GNU/Linux. Enable verbose output.
16089 (check_vfork_catchpoints): New.
16090 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16091 expected messages.
16092 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16093
16094 2008-01-29 Jim Blandy <jimb@red-bean.com>
16095
16096 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16097 host' errors.
16098 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16099
16100 2008-01-29 Jim Blandy <jimb@red-bean.com>
16101
16102 * gdb.threads/sigthread.c: Use barriers to ensure that
16103 child_thread and child_thread_two are always initialized before we
16104 start to use them.
16105
16106 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16107
16108 * gdb.base/watchpoint-solib.exp: New.
16109 * gdb.base/watchpoint-solib.c: New.
16110 * gdb.base/watchpoint-solib-shr.c: New.
16111
16112 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16113
16114 * gdb.base/gdb1056.exp: Add unsigned integer test.
16115
16116 2008-01-28 Doug Evans <dje@google.com>
16117
16118 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16119
16120 2008-01-27 Jim Blandy <jimb@codesourcery.com>
16121
16122 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16123
16124 * gdb.base/expand-psymtabs.exp: Doc fix.
16125
16126 2008-01-26 Mark Kettenis <kettenis@gnu.org>
16127
16128 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16129
16130 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
16131
16132 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
16133 -var-set-format.
16134
16135 2008-01-23 Chris Demetriou <cgd@google.com>
16136
16137 * gdb.threads/thread_events.c: New testcase source file.
16138 * gdb.threads/thread_events.exp: New testcase expect file.
16139
16140 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
16141
16142 * lib/gdb.exp: Add the variable octal.
16143
16144 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
16145 -var-set-format.
16146
16147 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16148 Vladimir Prus <vladimir@codesourcery.com>
16149
16150 * gdb.base/float.exp: Allow missing floating point for m68k and
16151 PowerPC.
16152
16153 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16154
16155 * gdb.mi/basics.c: Setup for testing breakpoints
16156 ignore count.
16157 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16158 * gdb.mi/mi-cli.exp: Adjust.
16159 * gdb.mi/mi2-cli.exp: Adjust.
16160
16161 2008-01-17 Pedro Alves <pedro@codesourcery.com>
16162
16163 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16164 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16165 with dummy_ptr's address.
16166 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16167 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16168 all targets.
16169 * gdb.mi/mi2-var-child.exp: Likewise.
16170
16171 2008-01-09 Joel Brobecker <brobecker@adacore.com>
16172
16173 * gdb.ada/null_array: New test program.
16174 * gdb.ada/null_array.exp: New testcase.
16175
16176 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
16177
16178 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16179 with required float modifiers.
16180
16181 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16182
16183 * gdb.ada/funcall_param: New test program.
16184 * gdb.ada/funcall_param.exp: New testcase.
16185
16186 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16187
16188 * gdb.ada/arrayparam: New test program.
16189 * gdb.ada/arrayparam.exp: New testcase.
16190
16191 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16192
16193 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16194 landed. Should also fix random failures in the test following it.
16195
16196 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16197
16198 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16199 for expressions with decimal float values.
16200 (test_dfp_conversions): New function to test casts to and from
16201 decimal float types.
16202 Call test_dfp_conversions.
16203 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16204 elements.
16205 (main): Initialize ds.float4 and ds.double8 elements.
16206 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16207 string to new error message.
16208 (d64_set_tests): Likewise.
16209 (d128_set_tests): Likewise.
16210 Add tests for expressions with decimal float variables. Add tests for
16211 conversions to and from decimal float types.
16212
16213 2008-01-05 Joel Brobecker <brobecker@adacore.com>
16214
16215 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16216 * gdb.ada/packed_tagged.exp: New testcase.
16217
16218 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16219
16220 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16221 gdb.ada/homonym/homonym_main.adb: New files.
16222 * gdb.ada/homonym.exp: New testcase.
16223
16224 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16225
16226 * gdb.ada/packed_array.exp: Add testing of references to
16227 a packed array.
16228
16229 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16230
16231 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16232 New files.
16233 * gdb.ada/type_coercion.exp: New testcase.
16234
16235 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16236
16237 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16238 gdb.ada/tagged/foo.adb: New file.
16239 * gdb.ada/tagged.exp: New testcase.
16240
16241 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16242
16243 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16244 gdb.ada/ptype_field/foo.adb: New files.
16245 * gdb.ada/ptype_field.exp: New testcase.
16246
16247 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16248
16249 * gdb.ada/print_pc.exp: New testcase.
16250
16251 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16252
16253 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16254 gdb.ada/taft_type/p.adb: New files.
16255 * gdb.ada/taft_type.exp: New testcase.
16256
16257 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16258
16259 * gdb.ada/array_bounds/bar.adb: New file.
16260 * gdb.ada/array_bounds.exp: New testcase.
16261
16262 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16263
16264 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16265 gdb.ada/arrayptr/foo.adb: New files.
16266 * gdb.ada/arrayptr.exp: New testcase.
16267
16268 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16269
16270 * gdb.base/set-lang-auto.exp: New testcase.
16271
16272 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16273
16274 * gdb.ada/fun_addr/foo.adb: New file.
16275 * gdb.ada/fun_addr.exp: New testcase.
16276
16277 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16278
16279 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16280 New files
16281
16282 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16283
16284 * array_subscript_addr/p.adb: New file.
16285 * array_subscript_addr.exp: New testcase.
16286
16287 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16288
16289 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
16290 New files.
16291 * gdb.ada/str_cmp_ref.exp: New testcase.
16292
16293 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16294
16295 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16296 gdb.ada/fun_in_declare/foo.adb: New files.
16297 * gdb.ada/fun_in_declare.exp: New testcase.
16298
16299 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16300
16301 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16302 gdb.ada/ref_param/pck.ads: New files.
16303 * gdb.ada/ref_param.exp: New testcase.
16304
16305 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16306
16307 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16308 gdb.ada/interface/foo.adb: New files.
16309 * gdb.ada/interface.exp: New testcase.
16310
16311 2007-12-31 Jim Blandy <jimb@codesourcery.com>
16312
16313 * gdb.base/multi-forks.exp: Consume all output from child
16314 processes before proceeding to next test.
16315
16316 2007-12-29 Jim Blandy <jimb@codesourcery.com>
16317
16318 * configure: Regenerated.
16319
16320 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16321
16322 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16323 gdb.ada/fixed_cmp/fixed.adb: New files.
16324 * gdb.ada/fixed_cmp.exp: New testcase.
16325
16326 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16327
16328 * gdb.ada/boolean_expr.exp: New testcase.
16329
16330 2007-12-26 Jim Blandy <jimb@codesourcery.com>
16331
16332 * gdb.base/multi-forks.exp: Doc fix.
16333
16334 2007-12-26 Joel Brobecker <brobecker@adacore.com>
16335
16336 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16337 * gdb.ada/char_param.exp: Do not compile our test program with
16338 -gnata, this is unnecessary.
16339 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16340
16341 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16342
16343 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16344 gdb.ada/print_chars/foo.adb: New files.
16345 * gdb.ada/print_chars.exp: New testcase.
16346
16347 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16348
16349 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16350 gdb.ada/char_param/foo.adb: New files.
16351 * gdb.ada/char_param.exp: New testcase.
16352
16353 2007-12-22 Jim Blandy <jimb@codesourcery.com>
16354
16355 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16356 hard-coding source line numbers into the test.
16357 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16358 gdb_get_line_number to find.
16359
16360 2007-12-22 Joel Brobecker <brobecker@adacore.com>
16361
16362 * gdb.base/ptype.c (highest): New struct type.
16363 (the_highest): New variable of that type.
16364 (main): Add dummy assignment to a field of variable the_highest.
16365 * gdb.base/ptype.exp: Test type printing of our new variable.
16366
16367 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
16368
16369 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
16370 and record first explicitly generated thread number.
16371 Use that thread number for thread specific watchpoint test.
16372 Add iteration number to repetitive tests.
16373
16374 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16375 Jim Blandy <jimb@codesourcery.com>
16376
16377 * gdb.base/expand-psymtabs.c: New testcase
16378 source file.
16379 * gdb.base/expand-psymtabs.exp: New testcase
16380 expect file.
16381
16382 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
16383
16384 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16385 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16386
16387 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16388
16389 * gdb.ada/frame_args/foo.adb: New file.
16390 * gdb.ada/frame_args/pck.ads: New file.
16391 * gdb.ada/frame_args/pck.adb: New file.
16392 * gdb.ada/frame_args.exp: New testcase.
16393
16394 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16395
16396 * gdb.base/frame-args.c: New file.
16397 * gdb.base/frame-args.exp: New testcase.
16398
16399 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
16400 Joseph Myers <joseph@codesourcery.com>
16401
16402 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16403
16404 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
16405
16406 * gdb.mi/mi-pending.exp: New.
16407 * gdb.mi/mi-pending.c: New.
16408 * gdb.mi/mi-pendshr.c: New.
16409
16410 2007-12-06 Jim Blandy <jimb@codesourcery.com>
16411
16412 * gdb.base/default.exp: Update expected output for 'info catch'.
16413
16414 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16415
16416 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16417 must be set to binary.
16418
16419 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
16420
16421 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16422
16423 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
16424
16425 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16426 gdb.mi/mi-file-transfer.exp: New.
16427
16428 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16429
16430 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16431
16432 2007-11-22 Maciej W. Rozycki <macro@mips.com>
16433
16434 * gdb.trace/backtrace.exp: Fix a typo.
16435 * gdb.trace/circ.exp: Likewise.
16436 * gdb.trace/collection.exp: Likewise.
16437 * gdb.trace/limits.exp: Likewise.
16438 * gdb.trace/report.exp: Likewise.
16439 * gdb.trace/tfind.exp: Likewise.
16440 * gdb.trace/while-dyn.exp: Likewise.
16441
16442 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
16443
16444 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16445 objects of pointers that can't be dereferenced are now
16446 "noneditable".
16447
16448 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16449
16450 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16451 (target_cpu): Remove.
16452
16453 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
16454
16455 * gdb.base/ending-run.exp: Expect the list of cleared
16456 breakpoint to come in natural order, not the reversed one.
16457
16458 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
16459
16460 * gdb.mi/mi-var-child.c (do_child_deletion): New.
16461 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
16462
16463 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
16464
16465 * gdb.base/printcmds.exp: New function
16466 test_printf_with_dfp.
16467
16468 2007-11-02 Doug Evans <dje@google.com>
16469
16470 * gdb.disasm/t01_mov.s: Remove carriage returns.
16471 * gdb.disasm/t02_mova.s: Ditto.
16472 * gdb.disasm/t03_add.s: Ditto.
16473 * gdb.disasm/t04_sub.s: Ditto.
16474 * gdb.disasm/t05_cmp.s: Ditto.
16475 * gdb.disasm/t06_ari2.s: Ditto.
16476 * gdb.disasm/t07_ari3.s: Ditto.
16477 * gdb.disasm/t08_or.s: Ditto.
16478 * gdb.disasm/t09_xor.s: Ditto.
16479 * gdb.disasm/t10_and.s: Ditto.
16480 * gdb.disasm/t11_logs.s: Ditto.
16481 * gdb.disasm/t12_bit.s: Ditto.
16482 * gdb.disasm/t13_otr.s: Ditto.
16483
16484 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16485
16486 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
16487
16488 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16489
16490 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
16491 provide DFP support.
16492
16493 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
16494
16495 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
16496 Test "set powerpc vector-abi". Skip auto-detection tests for old
16497 toolchains.
16498
16499 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16500
16501 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
16502 with [string compare].
16503
16504 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16505
16506 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
16507 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
16508
16509 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
16510
16511 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
16512 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
16513 * gdb.opt/Makefile.in: New makefile.
16514 * Makefile.in: Create new directory "gdb.opt".
16515 * configure.ac: Add "gdb.opt" directory.
16516 * configure: Regenerated.
16517
16518 2007-10-25 Doug Evans <dje@google.com>
16519
16520 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
16521 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
16522
16523 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
16524 Thiago Jung Bauermann <bauerman@br.ibm.com>
16525
16526 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
16527 Floating Point expressions.
16528 * gdb.base/dfp-test.exp: new file adding tests for Decimal
16529 Floating Point variables.
16530 * gdb.base/dfp-test.c: new file containing program with Decimal
16531 Floating variables, used by gdb.base/dfp-test.exp.
16532
16533 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
16534
16535 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
16536
16537 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16538
16539 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
16540 compiling test case with GCC.
16541 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
16542
16543 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16544
16545 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16546 format changes.
16547
16548 2007-10-18 Michael Snyder <msnyder@specifix.com>
16549
16550 * gdb.base/dbx.exp: Add missing "-re " operator.
16551
16552 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
16553
16554 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
16555 * configure.ac: Removed trailing spaces after backslash.
16556 * gdb.modula2: New directory.
16557 * gdb.modula2/Makefile.in: New file.
16558 * gdb.modula2/unbounded-array.exp: New file.
16559 * gdb.modula2/unbounded1.c: New file.
16560
16561 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
16562
16563 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
16564
16565 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
16566
16567 * gdb.base/sigstep.c (main): Add checks for
16568 return values for setitimer call.
16569 Call setitimer again with itimer = ITIMER_REAL
16570 if first call to setitimer fails.
16571
16572 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
16573
16574 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
16575 of $timeout.
16576
16577 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16578
16579 * gdb.server/server-run.exp: Test for dynamic linker symbols.
16580
16581 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
16582
16583 * lib/gdb.exp (gdb_run_cmd): Move comment outside
16584 of gdb_expect call, to avoid interruption.
16585
16586 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
16587
16588 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
16589 (v_unsigned_long_long, v_long_long_array)
16590 (v_signed_long_long_array, v_unsigned_long_long_array)
16591 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
16592 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
16593 [!NO_LONG_LONG]: New.
16594 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
16595 v_long_long_member.
16596
16597 (v_long_long_func, v_signed_long_long_func)
16598 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
16599 (main) [!NO_LONG_LONG]: Initialize long long variants.
16600
16601 * gdb.base/whatis.exp: If board file requests no_long_long, build
16602 test with NO_LONG_LONG defined. Test long long, signed long long,
16603 and unsigned long long variants but only if board file doesn't
16604 disable it.
16605
16606 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
16607 Daniel Jacobowitz <dan@codesourcery.com>
16608
16609 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
16610 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
16611 * configure: Regenerated.
16612 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
16613 gdb.pascal/types.exp, lib/pascal.exp: New files.
16614
16615 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
16616
16617 * gdb.cp/classes.exp (do_tests): Always step to the line after the
16618 call.
16619 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
16620 to return to the call.
16621 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
16622 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
16623 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
16624 * gdb.mi/mi-until.exp (test_until): Likewise.
16625 * gdb.mi/mi2-until.exp (test_until): Likewise.
16626
16627 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
16628
16629 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
16630 two-char array.
16631 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
16632
16633 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
16634
16635 * gdb.threads/watchthreads.c (thread_function): Sleep between
16636 iterations.
16637 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
16638 at once for S/390. Generate matching fails and passes.
16639
16640 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
16641
16642 * gdb.mi/var-cmd.c (do_children_tests): Initialize
16643 the 'struct_declarations' variable to zeros.
16644
16645 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
16646
16647 * gdb.cp/mb-ctor.cc: New.
16648 * gdb.cp/mb-ctor.exp: New.
16649 * gdb.cp/mb-templates.cc: New.
16650 * gdb.cp/mb-templates.exp: New.
16651
16652 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
16653
16654 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
16655
16656 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
16657
16658 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
16659 targets.
16660 * configure: Regenerate.
16661
16662 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
16663
16664 * gdb.base/annota1.exp: Adjust for 'info break'
16665 format changes.
16666 * gdb.base/annota3.exp: Likewise.
16667 * gdb.base/break.exp: Likewise.
16668 * gdb.base/condbreak.exp: Likewise.
16669 * gdb.base/pending.exp: Likewise.
16670 * gdb.base/sepdebug.exp: Likewise.
16671 * gdb.base/unload.exp: Likewise.
16672 * gdb.base/ovldbreak.exp: Likewise.
16673
16674 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
16675
16676 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
16677 messages.
16678 * gdb.base/chng-syms.exp: Likewise.
16679 * gdb.base/unload.exp: Likewise.
16680
16681 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
16682
16683 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
16684
16685 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
16686
16687 * schedlock.c (NUM): Change to 1.
16688 (main): Use args[0] for the main thread.
16689 * schedlock.exp: Only expect two threads. Only issue one pass or fail
16690 regardless of the number of threads.
16691
16692 2007-09-14 Maciej W. Rozycki <macro@mips.com>
16693
16694 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16695 type down.
16696 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16697 test.
16698 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16699 watchpoint type down.
16700 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16701 test.
16702
16703 2007-09-14 Maciej W. Rozycki <macro@mips.com>
16704
16705 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16706 Move all the tests here and run them twice, once using software
16707 watchpoints and once using hardware watchpoints.
16708 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16709
16710 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
16711
16712 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16713 test.
16714
16715 2007-09-10 Mark Kettenis <kettenis@gnu.org>
16716
16717 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16718 build-id.
16719
16720 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16721 know about $ORIGIN. Calculate output dir from $dest instead of
16722 using ${objdir}/{$subdir}.
16723
16724 2007-09-09 Mark Kettenis <kettenis@gnu.org>
16725
16726 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16727 gcore, before continuing with the test.
16728
16729 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
16730
16731 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16732 * gdb.mi/mi-watch.exp: Likewise.
16733
16734 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16735 Jim Blandy <jimb@codesourcery.com>
16736
16737 * gdb.arch/i386-sse.exp: Do not expect character constants.
16738 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16739 * gdb.base/display.exp: Allow print/s.
16740 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16741 and unsigned char array changes.
16742
16743 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16744
16745 * gdb.base/display.exp: Add tests for printf %p.
16746
16747 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
16748
16749 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16750 the dll name to unicode.
16751
16752 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16753
16754 * gdb.base/default.exp (show version): Update the version text.
16755 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16756
16757 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16758
16759 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16760 New files.
16761
16762 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16763
16764 * lib/gdb.exp (build_id_debug_filename_get): New function.
16765 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16766 Remove the generate DEBUG file for the future testcase runs.
16767 New testcase for the NT_GNU_BUILD_ID retrieval.
16768 Move the final testing step to ...
16769 (test_different_dir): ... a new function.
16770 New parameter XFAIL to XFAIL all the tests performed.
16771 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16772 New parameter TYPE to PF_PREFIX all the tests performed.
16773
16774 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
16775
16776 * gdb.mi/mi-var-cp.cc (path_expression): New
16777 function.
16778 * gdb.mi/mi-var-cp.exp: Run path exression tests.
16779
16780 2007-08-27 Markus Deuling <deuling@de.ibm.com>
16781
16782 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16783 to fit into SPU Local Store memory.
16784
16785 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16786
16787 * gdb.base/default.exp: Adjust the expected output of "info
16788 warranty" after the switch to GPLv3.
16789
16790 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16791
16792 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16793 to 30000 (from 20000).
16794
16795 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16796
16797 Switch the license of all .exp files to GPLv3.
16798 Switch the license of all .f and .f90 files to GPLv3.
16799 Switch the license of all .s and .S files to GPLv3.
16800
16801 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16802
16803 * configure.ac: Switch license to GPLv3.
16804
16805 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16806
16807 Switch the licensing to GPLv3 for all .ads and .adb files.
16808
16809 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
16810
16811 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16812 and t_int_double.
16813 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16814
16815 2007-08-17 Joel Brobecker <brobecker@adacore.com>
16816
16817 * gdb.base/step-line.c: Switch license to GPL version 3, and
16818 update copyright year.
16819 * gdb.base/step-line.inp: Likewise.
16820
16821 2007-08-17 Joel Brobecker <brobecker@adacore.com>
16822
16823 * gdb.base/gdb1555.exp: Make expected output immune to formatting
16824 changes inside gdb1555.c.
16825 * gdb.base/pending.exp: Likewise.
16826
16827 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
16828
16829 * config/default.exp: New file.
16830
16831 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16832
16833 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16834 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16835
16836 2007-07-30 Maciej W. Rozycki <macro@mips.com>
16837
16838 * gdb.base/dump.exp: Force the correct endianness for binary
16839 formats not carrying this information.
16840
16841 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16842
16843 * gdb.threads/staticthreads.exp: Match .*sem_post.
16844
16845 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16846
16847 * gdb.base/readline.exp (operate_and_get_next): Match the final
16848 prompt.
16849
16850 2007-07-23 Kevin Buettner <kevinb@redhat.com>
16851
16852 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
16853 to restarting SID.
16854
16855 2007-07-18 Kevin Buettner <kevinb@redhat.com>
16856
16857 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
16858 prior to `gdb_start'.
16859
16860 2007-07-18 Kevin Buettner <kevinb@redhat.com>
16861
16862 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
16863 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
16864 Remove call to gdb_unload.
16865
16866 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
16867 Daniel Jacobowitz <dan@codesourcery.com>
16868
16869 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16870 for __WIN32__.
16871 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
16872 * gdb.base/unload.exp: Use shared library test routines.
16873
16874 2007-07-03 Markus Deuling <deuling@de.ibm.com>
16875
16876 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
16877 * gdb.base/solib-symbol-lib.c: Likewise.
16878 * gdb.base/solib-symbol-main.c: Likewise.
16879
16880 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
16881
16882 * config/gdbserver.exp (gdb_reconnect): New.
16883 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
16884 gdb.base/solib-disc.exp: New files.
16885 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
16886 remote debugging".
16887 (gdb_compile): Add shlib_load flag.
16888 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
16889 port.
16890 (gdbserver_reconnect): New.
16891
16892 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
16893 Daniel Jacobowitz <dan@codesourcery.com>
16894
16895 * gdb.base/annota3.exp: Test for if construct.
16896
16897 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
16898
16899 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
16900
16901 2007-06-21 Chris Dearman <chris@mips.com>
16902 Maciej W. Rozycki <macro@mips.com>
16903
16904 * gdb.base/display.exp: Allow a newline after display/i.
16905 * gdb.base/pc-fp.exp: Likewise.
16906 * gdb.base/sigbpt.exp: Likewise.
16907
16908 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
16909
16910 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
16911 required features to be included.
16912
16913 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
16914
16915 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
16916 in info threads output.
16917
16918 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16919 Markus Deuling <deuling@de.ibm.com>
16920
16921 * gdb.arch/spu-info.exp: New testcase.
16922 * gdb.arch/spu-info.c: New file.
16923
16924 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
16925
16926 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
16927 tpcs_offset. Restore lr after the call.
16928 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
16929
16930 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
16931
16932 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
16933 (gdbserver_run): Kill any running gdbserver.
16934 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
16935
16936 2007-05-17 Maciej W. Rozycki <macro@mips.com>
16937
16938 * gdb.base/sigbpt.exp: Preset segv_addr.
16939
16940 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
16941
16942 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
16943 (gdb_compile_shlib): Likewise.
16944 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
16945 (default_gdb_init): Clear cleanfiles.
16946 (gdb_finish): Delete recorded cleanfiles.
16947 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
16948
16949 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
16950 Do not use isnative.
16951 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
16952 gdb.base/so-impl-ld.exp: Likewise.
16953 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
16954 * gdb.base/unload.exp: Likewise. Do not pass empty option to
16955 gdb_compile.
16956
16957 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
16958
16959 * config/unknown.exp: Remove.
16960
16961 2007-05-15 Markus Deuling <deuling@de.ibm.com>
16962
16963 * gdb.base/info-proc.exp: Check is_remote.
16964
16965 2007-05-14 Markus Deuling <deuling@de.ibm.com>
16966
16967 * gdb.base/gcore.exp: Initialize variable core_supported.
16968
16969 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16970
16971 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
16972
16973 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16974
16975 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
16976 * gdb.threads/print-threads.exp (test_all_threads): Allow
16977 negative and hexadecimal thread IDs.
16978
16979 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16980
16981 * gdb.java/jprint.java (public): Avoid invalid call to static
16982 method.
16983
16984 2007-05-14 Denis Pilat <denis.pilat@st.com>
16985
16986 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
16987 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
16988 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16989 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
16990 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
16991
16992 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16993
16994 * gdb.base/overlays.exp: Add support for targets with only code
16995 overlay support, not data overlay. Support spu-*-* target in
16996 this mode.
16997 * gdb.base/ovlymgr.c: Provide stubs for spu target.
16998 * gdb.base/spu.ld: New file.
16999
17000 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17001
17002 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17003
17004 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17005
17006 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17007
17008 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17009
17010 * gdb.java/jmain.exp: Handle demangled names with and without method
17011 signatures.
17012
17013 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17014
17015 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17016 (have_a_very_merry_interrupt): Remove calls to puts.
17017 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17018 inferior output.
17019 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17020 test names.
17021
17022 2007-04-29 Markus Deuling <deuling@de.ibm.com>
17023 Daniel Jacobowitz <dan@codesourcery.com>
17024
17025 * gdb.base/auxv.exp (core_works): Also check is_remote.
17026 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17027
17028 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
17029
17030 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17031 message, not the undefined 'module' variable.
17032 * gdb.base/siginfo.exp: Likewise.
17033 * gdb.base/sigstep.exp: Likewise.
17034 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17035 serialport.
17036 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17037
17038 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
17039
17040 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17041 target sim fails. Return 0 otherwise.
17042 (gdb_load): Return prematurely if gdb_target_sim fails.
17043
17044 2007-04-16 Denis Pilat <denis.pilat@st.com>
17045
17046 * gdb.base/setshow.exp: Reset height after having set it to 100.
17047
17048 2007-04-16 Denis Pilat <denis.pilat@st.com>
17049
17050 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17051
17052 2007-04-16 Denis Pilat <denis.pilat@st.com>
17053
17054 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17055
17056 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17057
17058 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17059 tests. Run the frozen varobjs test.
17060 * gdb.mi/var-cmd.c (do_frozen_tests): New.
17061 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
17062
17063 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17064
17065 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17066 gdb.base/type-opaque.exp: New files.
17067
17068 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
17069
17070 * gdb.mi/mi-var-child.c
17071 (do_children_tests): User char[2] instead of
17072 char so that automatic printing of pointers to char
17073 don't give unpredicable result.
17074 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17075 local variables.
17076 * gdb.mi/mi-var-child.exp: Step to right line
17077 of do_children_tests.
17078 * gdb.mi/mi2-var-child.exp: Likewise.
17079 * gdb.mi/mi-var-cmd.exp: Step to right line of
17080 do_locals_tests.
17081 (do_children_tests): User char[2] instead of
17082 char so that automatic printing of pointers to char
17083 don't give unpredicable result.
17084 * gdb.mi/mi2-var-cmd.exp: Likewise.
17085 * lib/mi-support.exp (mi_continue_to_line):
17086 Pass test name to mi_wait_for_stop.
17087
17088 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17089
17090 * gdb.asm/asm-source.exp: Remove d10v case.
17091 * lib/gdb.exp (skip_cplus_tests): Likewise.
17092 * gdb.asm/d10v.inc: Deleted.
17093
17094 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17095
17096 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17097
17098 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17099
17100 * config/netware.exp: Delete file.
17101
17102 2007-03-29 Joel Brobecker <brobecker@adacore.com>
17103
17104 * gdb.dwarf2/dw2-noloc.S: New file.
17105 * gdb.dwarf2/dw2-noloc.exp: New file.
17106
17107 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17108
17109 * gdb.cp/method2.cc: New test.
17110 * gdb.cp/method2.exp: New test.
17111 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17112
17113 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17114
17115 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17116
17117 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17118
17119 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17120
17121 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17122
17123 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17124 (gdb_load): Delete, replace with...
17125 (gdb_reload): ...this.
17126 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17127 * gdb.server/server-mon.exp: Likewise.
17128 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17129 (gdb_start_cmd): New.
17130 (gdb_file_cmd): Save the last loaded file.
17131 (gdb_reload): New.
17132 (gdb_gnu_strip_debug): Use transform.
17133 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17134 support here. Use new $last_loaded_file. Check mtime.
17135 (gdb_target_cmd): Handle ObjC failure case.
17136 (infer_host_exec): Delete.
17137 (gdbserver_load): Rename to...
17138 (gdbserver_run): ...this. Simplify.
17139 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17140 (mi_gdb_load): Move most contents to a new function...
17141 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17142 (mi_run_cmd): Use mi_gdb_target_load.
17143 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17144 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17145 Use gdb_run_cmd.
17146 * gdb.base/charsign.exp: Remove incorrect comment.
17147 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17148 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17149 gdb.base/start.exp: Use gdb_start_cmd.
17150
17151 2007-03-23 Nigel Stephens <nigel@mips.com>
17152 Maciej W. Rozycki <macro@mips.com>
17153
17154 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17155 * gdb.base/signull.exp: Similarly.
17156
17157 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17158
17159 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17160 messages available to test cases (like chng-sym.exp).
17161
17162 2007-03-14 Andreas Schwab <schwab@suse.de>
17163
17164 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17165 format changes.
17166
17167 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17168
17169 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17170 (optimized_1): New.
17171 (main): Call optimized_1.
17172 (gdb2029): Correct typos. Call gdb2029_marker.
17173 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17174 for gdb2029.
17175
17176 2007-03-12 Mark Kettenis <kettenis@gnu.org>
17177
17178 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17179 as tabs. Remove redundant test pattern.
17180
17181 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17182
17183 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17184 for /a format output.
17185
17186 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17187
17188 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17189 collect output incrementally.
17190
17191 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17192
17193 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17194 for -var-create lpcharacter test.
17195 * gdb.mi/mi2-var-cmd.exp: Likewise.
17196
17197 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17198
17199 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17200 pass on targets where address zero is readable.
17201
17202 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17203
17204 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17205 just a single architecture.
17206
17207 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17208
17209 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17210 (fetch_all_registers): New function, uses gdb_test_multiple and
17211 exp_continue to fetch inferior output line-by-line.
17212 Replace all uses of do_get_all_registers by fetch_all_registers.
17213
17214 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17215
17216 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17217 in target_info.
17218
17219 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17220
17221 * gdb.threads/manythreads.exp: Use $message string for
17222 consistancy; add a default (timeout) case.
17223
17224 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17225
17226 * gdb.base/watchpoint.exp: Fix truncated comment.
17227
17228 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17229
17230 * Makefile.in: Remove spurious single-quotes from sed command.
17231
17232 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17233
17234 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17235 func.
17236 * gdb.mi/mi2-var-cmd.exp: Likewise.
17237
17238 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17239
17240 * gdb.dwarf2/dw2-producer.S: New file.
17241 * gdb.dwarf2/dw2-producer.exp: New testcase.
17242
17243 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
17244
17245 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17246 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17247 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17248 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17249 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17250 Revert tests to use mi_gdb_test and include value field in output
17251 of -var-create.
17252
17253 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17254
17255 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17256
17257 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17258
17259 * gdb.base/maint.exp: Remove full paths from test names.
17260 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17261 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17262
17263 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17264
17265 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17266
17267 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17268
17269 * gdb.server/server-mon.exp: New test.
17270
17271 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17272
17273 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17274
17275 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17276
17277 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17278 register capitalization.
17279
17280 2007-02-13 Denis Pilat <denis.pilat@st.com>
17281
17282 * gdb.mi/mi-var-invalidate.exp: New file.
17283
17284 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17285
17286 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17287
17288 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17289
17290 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17291
17292 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17293
17294 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17295 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17296
17297 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
17298
17299 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17300 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17301 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17302 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17303 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17304 * gdb.mi/gdb792.exp, lib/mi-support.exp:
17305 Update tests to include value field in output of -var-create.
17306
17307 2007-02-08 Andreas Schwab <schwab@suse.de>
17308
17309 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17310
17311 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
17312
17313 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17314 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17315
17316 2007-02-02 Denis Pilat <denis.pilat@st.com>
17317
17318 * gdb.threads/threadapply.exp: check that frame is not changed by
17319 the thread apply all command.
17320
17321 2007-01-31 Andreas Schwab <schwab@suse.de>
17322
17323 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17324
17325 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17326 in the dwarf sections.
17327 * gdb.dwarf2/mac-fileno.S: Likewise.
17328
17329 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17330 bspstore register on ia64.
17331
17332 2007-01-29 Andreas Schwab <schwab@suse.de>
17333
17334 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17335 "frame-begin" annotation.
17336
17337 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17338 number of "frames-invalid" annotations.
17339
17340 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17341
17342 * gdb.base/commands.exp: Call if_commands_test.
17343 (gdb_test_no_prompt, if_commands_test): New.
17344
17345 2007-01-28 Mark Kettenis <kettenis@gnu.org>
17346
17347 * gdb.threads/sigthread.c (NSIGS): Make bigger.
17348
17349 2007-01-27 Andreas Schwab <schwab@suse.de>
17350
17351 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17352 .short/.int/.quad in the dwarf sections.
17353 * gdb.dwarf2/dw2-intercu.S: Likewise.
17354 * gdb.dwarf2/dw2-intermix.S: Likewise.
17355
17356 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17357
17358 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
17359 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17360 array.
17361 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17362 * gdb.base/setvar.exp: Likewise.
17363
17364 2007-01-26 Andreas Schwab <schwab@suse.de>
17365
17366 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17367 test.
17368
17369 * gdb.base/multi-forks.exp ("restart $i"): Also match
17370 __kernel_syscall_via_break.
17371
17372 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
17373
17374 * lib/mi-support.exp (mi_delete_varobj): New.
17375 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17376 testcase.
17377 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17378 (main): Call the above.
17379 (reference_update_test, base_in_reference_test)
17380 (reference_to_pointer): Delete the created varobjs.
17381
17382 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
17383
17384 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17385 * configure: Regenerated.
17386 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17387 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17388 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17389 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17390 * lib/gdb.exp (gdb_skip_xml_test): New function.
17391
17392 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
17393
17394 * gdb.base/sigrepeat.exp: Correct error message.
17395
17396 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17397 Daniel Jacobowitz <dan@codesourcery.com>
17398
17399 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17400 gdb.arch/i386-gnu-cfi-asm.S: New files.
17401
17402 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17403
17404 * lib/gdb.exp: Abort on missing `site.exp'.
17405
17406 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17407 Daniel Jacobowitz <dan@codesourcery.com>
17408
17409 * gdb.base/included.c, gdb.base/included.exp,
17410 gdb.base/included.h: New files.
17411
17412 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17413
17414 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17415 (maximize_rlimit): Reduce limits on 64-bit systems.
17416
17417 2007-01-19 Mark Kettenis <kettenis@gnu.org>
17418
17419 From Marcus Deuling <deuling@de.ibm.com>:
17420 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17421 every case.
17422
17423 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
17424
17425 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17426 (test_path_specification): Use objdir instead of srcdir to always
17427 get an absolute filename.
17428
17429 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
17430
17431 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17432
17433 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
17434
17435 * gdb.mi/mi-var-cp.cc (reference_update_tests):
17436 Make sure the variable we're using is in scope.
17437 (reference_to_pointer): Likewise.
17438
17439 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17440
17441 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17442 has no debug information.
17443
17444 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17445
17446 * gdb.base/annota1.exp: Remove extra send_gdb.
17447
17448 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17449
17450 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17451
17452 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17453
17454 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17455
17456 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
17457 Daniel Jacobowitz <dan@codesourcery.com>
17458
17459 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
17460 lcharacter or linteger change. Correct duplicated test name.
17461 * gdb.mi/mi2-var-cmd.exp: Likewise.
17462
17463 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
17464
17465 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
17466
17467 2007-01-05 Joel Brobecker <brobecker@adacore.com>
17468
17469 * gdb.base/nofield.c: New file.
17470 * gdb.base/nofield.exp: New testcase.
17471
17472 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
17473
17474 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
17475
17476 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
17477 test.
17478
17479 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17480
17481 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
17482
17483 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17484
17485 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
17486 when continuing.
17487
17488 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17489
17490 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
17491 Expect ".exe" extension.
17492
17493 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17494
17495 * gdb.base/charset.exp: Add explicit filename to break.
17496 * gdb.base/dbx.exp: Add explicit filename to breaks.
17497
17498 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17499
17500 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
17501 * gdb.mi/mi2-file.exp: Likewise.
17502
17503 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17504
17505 Implement specification of MI tests as comments
17506 in C and C++ sources.
17507 * lib/mi-support.exp (mi_autotest_data): New variable.
17508 (mi_autotest_source): New variable.
17509 (count_newlines, mi_prepare_inline_tests)
17510 (mi_get_inline_test, mi_continue_to_line)
17511 (mi_run_inline_test, mi_tbreak)
17512 (mi_send_resuming_command, mi_wait_for_stop): New functions.
17513 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
17514 Run inline tests.
17515 * gdb.mi/mi-var-cp.cc: Define tests here.
17516
17517 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17518
17519 Simplify usage of mi_continue_to.
17520 * lib/mi-support.exp (mi_runto_helper): Renamed
17521 from mi_runto, added new parameter 'run_or_continue'.
17522 (mi_runto): Use mi_runto_helper.
17523 (mi_continue_to): Accept just function name as parameter.
17524 Use mi_runto_helper.
17525 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
17526 * gdb.mi/mi2-var-cmd.exp: Likewise.
17527
17528 2006-01-04 Joel Brobecker <brobecker@adacore.com>
17529
17530 Make this testcase a bit more realistic. The current code
17531 is too simplistic, and allows the compiler to optimize out
17532 some of the entities we need for this testcase.
17533 * gdb.ada/null_record/bar.ads (Void_Star): New type.
17534 (Do_Nothing): Add extra parameter.
17535 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
17536 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
17537 by using a variable of type Void_Star.
17538
17539 2006-01-04 Joel Brobecker <brobecker@adacore.com>
17540
17541 * gdb.ada/catch_ex/foo.adb: New file.
17542 * gdb.ada/catch_ex.exp: New testcase.
17543
17544 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
17545
17546 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
17547 pass --image-base to linker.
17548
17549 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17550 Daniel Jacobowitz <dan@codesourcery.com>
17551
17552 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
17553 secondary prompts.
17554
17555 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17556
17557 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
17558 output. Test the types of members and member pointers.
17559 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
17560 gdb/2092.
17561 * gdb.cp/member-ptr.exp: Search for a comment instead of a
17562 statement. Enable for GCC. Update expected output for some tests
17563 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
17564 layout.
17565 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
17566 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
17567 (Diamond::vget_base): New.
17568 (main): Add new tests.
17569 * gdb.cp/printmethod.exp: Update expected output for member functions.
17570 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
17571 print pEe->D::vg().
17572
17573 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17574
17575 * gdb.threads/tls.exp: Allow stops in sem_post.
17576
17577 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
17578
17579 * gdb.base/annota1.exp: Allow .*printf in backtraces.
17580 * gdb.base/annota3.exp: Likewise.
17581 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
17582 again (instead of timing out).
17583 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
17584 GCC bug 26475.
17585 * gdb.java/jmisc.exp: Adjust to work with method signatures including
17586 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
17587 test from jmisc1.exp.
17588 * gdb.java/jmisc1.exp: Delete.
17589 * gdb.java/jprint.exp: Adjust to work with method signatures including
17590 return types.
17591 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
17592 * gdb.threads/linux-dp.exp: Don't be confused by program output.
17593 * lib/java.exp (compile_java_from_source): Pass the correct type
17594 to target_compile.
17595
17596 2006-12-31 Joel Brobecker <brobecker@adacore.com>
17597
17598 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
17599 (stack_align_edx): New function.
17600 (stack_align_eax): New function.
17601 (main): Add calls to stack_align_edx and stack_align_eax.
17602 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
17603 Add testing for the cases where the register used during a stack
17604 realignment is edx. Same for eax.
17605
17606 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
17607
17608 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
17609 and generic PE targets.
17610
17611 2006-12-29 Joel Brobecker <brobecker@adacore.com>
17612
17613 * gdb.ada/array_return.exp: Update copyright date list.
17614
17615 2006-12-27 Joel Brobecker <brobecker@adacore.com>
17616
17617 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
17618 (Create_Small_Float_Vector): New function.
17619 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
17620 function body.
17621 * gdb.ada/array_return/p.adb: Use new type and function from
17622 package Pck.
17623 * gdb.ada/array_return.exp: Add a test verifying that GDB is
17624 able to print the value returned by a function returning an
17625 array of float.
17626
17627 2006-12-20 Joel Brobecker <brobecker@adacore.com>
17628
17629 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
17630 The associated tests should be PASSing.
17631
17632 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17633
17634 Test for base in references.
17635 * gdb.mi/mi-var-cp.cc: Add test code.
17636 * gdb.mi/mi-var-cp.exp: Test for bases in references.
17637 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
17638 * gdb.mi/mi2-watch.exp: Likewise.
17639 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
17640 (mi_list_varobj_children): New function.
17641
17642 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17643
17644 * lib/mi-support.exp
17645 (mi_runto): Accept "()" after function name.
17646 (mi_create_varobj): New function.
17647 (mi_varobj_update): New function.
17648 (mi_Check_varobj_value): New function.
17649 * gdb.mi/mi-var-cp.exp: New file.
17650 * gdb.mi/mi-var-cp.cc: New file.
17651
17652 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
17653
17654 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
17655 gdb.base/weaklib2.c: New files.
17656
17657 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
17658
17659 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
17660 info. Adjust test names.
17661
17662 * gdb.base/break.c (main): Move position of malloc.
17663 * gdb.base/break.exp: Revert mistaken checkin.
17664
17665 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
17666
17667 * gdb.mi/mi-var-cmd.exp: Check -var-update after
17668 assignement of arrays and function pointers.
17669 * gdb.mi/var-cmd.c: Add declaration necessary for above
17670 tests.
17671
17672 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17673
17674 * gdb.base/break.c (main): Call malloc.
17675
17676 * gdb.threads/linux-dp.exp: Read thread table before and after
17677 creating each philosopher and verify it.
17678
17679 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17680 Paul Brook <paul@codesourcery.com>
17681 Daniel Jacobowitz <dan@codesourcery.com>
17682
17683 * gdb.base/ending-run.exp: Flatten expect script stepping out of
17684 main to remove duplication. Add start function of the form
17685 '_*start[1-9]*'. Add RVDS start function.
17686
17687 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17688
17689 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17690
17691 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17692
17693 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17694 * gdb.asm/spu.inc: New file.
17695 * gdb.base/term.exp: Disable if [target_info exists noargs].
17696 * gdb.gdb/complaints.exp: Disable if ![isnative].
17697 * gdb.gdb/selftest.exp: Likewise.
17698 * gdb.gdb/observer.exp: Likewise.
17699 * gdb.gdb/xfullpath.exp: Likewise.
17700 * gdb.base/attach.exp: Disable on SPU target.
17701 * gdb.cp/bs145503.exp: Likewise.
17702 * gdb.cp/exception.exp: Likewise.
17703 * gdb.cp/userdef.exp: Likewise.
17704
17705 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17706
17707 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17708
17709 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
17710
17711 * gdb.base/completion.exp: Fix completion tests for
17712 'info' and 'info '.
17713 * gdb.base/help.exp (help_test_raw, test_class_help)
17714 (test_prefix_command_help): Move...
17715 * lib/gdb.exp: Here.
17716 * gdb.base/main.exp: Adjust.
17717 * gdb.cp/maint.exp: Adjust.
17718 * gdb.trace/tracecmd.exp: Use test_help_class.
17719
17720 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17721
17722 * gdb.stabs/weird.exp (print_weird_var): Use
17723 gdb_test_multiple instead of gdb_expect.
17724
17725 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17726
17727 * gdb.base/help.exp (help_test_raw): New.
17728 (test_class_help): New.
17729 (test_prefix_command_help): New.
17730 Adjust testcases.
17731
17732 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
17733
17734 * gdb.base/constvars.c (main): Write to crass and crips, so that
17735 they are allocated by the compiler.
17736
17737 2006-10-27 Andreas Schwab <schwab@suse.de>
17738
17739 * gdb.base/multi-forks.exp: Use "detach fork" instead of
17740 "detach-fork".
17741
17742 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
17743
17744 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17745 of patterns.
17746
17747 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17748
17749 * gdb.base/sepdebug.exp: Remove debug format test.
17750 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17751 Handle no-symtab.
17752 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17753
17754 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17755
17756 * gdb.threads/manythreads.c (thread_function, main): Don't cast
17757 int to pointer or pointer to int.
17758 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17759
17760 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
17761
17762 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17763
17764 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17765
17766 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17767
17768 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17769
17770 PR c++/2116
17771 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17772
17773 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17774
17775 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17776 the corresponding bug has been fixed in GDB (PR/2018).
17777
17778 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17779
17780 * gdb.base/subst.exp: New testcase.
17781
17782 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17783
17784 * gdb.ada/array_return/pck.ads: Add copyright notice.
17785 * gdb.ada/array_return/pck.adb: Likewise.
17786 * gdb.ada/array_return/p.adb: Likewise.
17787 * gdb.ada/exec_changed/first.adb: Likewise.
17788 * gdb.ada/exec_changed/second.adb: Likewise.
17789
17790 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17791
17792 * gdb.ada/watch_arg/watch.adb: New file.
17793 * gdb.ada/watch_arg.exp: New testcase.
17794
17795 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
17796
17797 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
17798 via string_to_regexp.
17799 * gdb.mi/mi2-basics.exp: Likewise.
17800
17801 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
17802
17803 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17804 Remove unused / obsolete files.
17805
17806 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
17807
17808 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17809
17810 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
17811
17812 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17813 HIGH_FRAME argument to -stack-list-arguments can be larger than
17814 the number of frames.
17815
17816 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
17817
17818 * gdb.base/args.c (main): Add breakpoint marker.
17819 * gdb.base/args.exp: Use args_test for tests. Add new tests which
17820 really test empty arguments.
17821 (args_load): Delete.
17822 (args_test): New.
17823
17824 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
17825
17826 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
17827 check for one file.
17828
17829 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
17830
17831 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17832 HIGH_FRAME argument to -stack-list-locals can be larger than
17833 the number of frames.
17834
17835 2006-08-18 Fred Fish <fnf@specifix.com>
17836
17837 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17838 '$' in front of skip_vmx_tests_saved when setting that.
17839
17840 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
17841
17842 * gdb.base/trace-commands.exp: New file.
17843
17844 2006-08-10 Joel Brobecker <brobecker@adacore.com>
17845 Daniel Jacobowitz <dan@codesourcery.com>
17846
17847 * gdb.base/step-bt.exp: Make hexadecimal address optional in
17848 expected output of the backtrace commands.
17849
17850 2006-08-09 Joel Brobecker <brobecker@adacore.com>
17851
17852 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
17853 untested followed by return combination.
17854 * gdb.arch/altivec-regs.exp: Likewise.
17855 * gdb.arch/e500-abi.exp: Likewise.
17856 * gdb.arch/e500-regs.exp: Likewise.
17857 * gdb.arch/gdb1291.exp: Likewise.
17858 * gdb.arch/gdb1431.exp: Likewise.
17859 * gdb.arch/gdb1558.exp: Likewise.
17860 * gdb.arch/i386-prologue.exp: Likewise.
17861 * gdb.arch/i386-unwind.exp: Likewise.
17862 * gdb.asm/asm-source.exp: Likewise.
17863 * gdb.base/a2-run.exp: Likewise.
17864 * gdb.base/advance.exp: Likewise.
17865 * gdb.base/all-bin.exp: Likewise.
17866 * gdb.base/annota1.exp: Likewise.
17867 * gdb.base/annota3.exp: Likewise.
17868 * gdb.base/args.exp: Likewise.
17869 * gdb.base/arithmet.exp: Likewise.
17870 * gdb.base/assign.exp: Likewise.
17871 * gdb.base/async.exp: Likewise.
17872 * gdb.base/attach.exp: Likewise.
17873 * gdb.base/bang.exp: Likewise.
17874 * gdb.base/bigcore.exp: Likewise.
17875 * gdb.base/bitfields.exp: Likewise.
17876 * gdb.base/bitfields2.exp: Likewise.
17877 * gdb.base/break.exp: Likewise.
17878 * gdb.base/call-sc.exp: Likewise.
17879 * gdb.base/call-strs.exp: Likewise.
17880 * gdb.base/callfuncs.exp: Likewise.
17881 * gdb.base/checkpoint.exp: Likewise.
17882 * gdb.base/chng-syms.exp: Likewise.
17883 * gdb.base/code-expr.exp: Likewise.
17884 * gdb.base/commands.exp: Likewise.
17885 * gdb.base/completion.exp: Likewise.
17886 * gdb.base/cond-expr.exp: Likewise.
17887 * gdb.base/condbreak.exp: Likewise.
17888 * gdb.base/consecutive.exp: Likewise.
17889 * gdb.base/constvars.exp: Likewise.
17890 * gdb.base/corefile.exp: Likewise.
17891 * gdb.base/cvexpr.exp: Likewise.
17892 * gdb.base/dbx.exp: Likewise.
17893 * gdb.base/define.exp: Likewise.
17894 * gdb.base/detach.exp: Likewise.
17895 * gdb.base/display.exp: Likewise.
17896 * gdb.base/dump.exp: Likewise.
17897 * gdb.base/ena-dis-br.exp: Likewise.
17898 * gdb.base/ending-run.exp: Likewise.
17899 * gdb.base/environ.exp: Likewise.
17900 * gdb.base/eval-skip.exp: Likewise.
17901 * gdb.base/exprs.exp: Likewise.
17902 * gdb.base/fileio.exp: Likewise.
17903 * gdb.base/finish.exp: Likewise.
17904 * gdb.base/float.exp: Likewise.
17905 * gdb.base/foll-exec.exp: Likewise.
17906 * gdb.base/foll-fork.exp: Likewise.
17907 * gdb.base/foll-vfork.exp: Likewise.
17908 * gdb.base/freebpcmd.exp: Likewise.
17909 * gdb.base/funcargs.exp: Likewise.
17910 * gdb.base/gcore.exp: Likewise.
17911 * gdb.base/gdb1090.exp: Likewise.
17912 * gdb.base/gdb1250.exp: Likewise.
17913 * gdb.base/huge.exp: Likewise.
17914 * gdb.base/info-proc.exp: Likewise.
17915 * gdb.base/interrupt.exp: Likewise.
17916 * gdb.base/jump.exp: Likewise.
17917 * gdb.base/langs.exp: Likewise.
17918 * gdb.base/lineinc.exp: Likewise.
17919 * gdb.base/list.exp: Likewise.
17920 * gdb.base/logical.exp: Likewise.
17921 * gdb.base/long_long.exp: Likewise.
17922 * gdb.base/macscp.exp: Likewise.
17923 * gdb.base/maint.exp: Likewise.
17924 * gdb.base/mips_pro.exp: Likewise.
17925 * gdb.base/miscexprs.exp: Likewise.
17926 * gdb.base/multi-forks.exp: Likewise.
17927 * gdb.base/opaque.exp: Likewise.
17928 * gdb.base/overlays.exp: Likewise.
17929 * gdb.base/pc-fp.exp: Likewise.
17930 * gdb.base/pointers.exp: Likewise.
17931 * gdb.base/printcmds.exp: Likewise.
17932 * gdb.base/psymtab.exp: Likewise.
17933 * gdb.base/ptype.exp: Likewise.
17934 * gdb.base/recurse.exp: Likewise.
17935 * gdb.base/relational.exp: Likewise.
17936 * gdb.base/relocate.exp: Likewise.
17937 * gdb.base/remote.exp: Likewise.
17938 * gdb.base/reread.exp: Likewise.
17939 * gdb.base/restore.exp: Likewise.
17940 * gdb.base/return.exp: Likewise.
17941 * gdb.base/return2.exp: Likewise.
17942 * gdb.base/scope.exp: Likewise.
17943 * gdb.base/sect-cmd.exp: Likewise.
17944 * gdb.base/sep.exp: Likewise.
17945 * gdb.base/sepdebug.exp: Likewise.
17946 * gdb.base/setshow.exp: Likewise.
17947 * gdb.base/setvar.exp: Likewise.
17948 * gdb.base/sigall.exp: Likewise.
17949 * gdb.base/sigbpt.exp: Likewise.
17950 * gdb.base/signals.exp: Likewise.
17951 * gdb.base/signull.exp: Likewise.
17952 * gdb.base/sizeof.exp: Likewise.
17953 * gdb.base/solib.exp: Likewise.
17954 * gdb.base/step-line.exp: Likewise.
17955 * gdb.base/step-test.exp: Likewise.
17956 * gdb.base/structs.exp: Likewise.
17957 * gdb.base/structs2.exp: Likewise.
17958 * gdb.base/term.exp: Likewise.
17959 * gdb.base/twice.exp: Likewise.
17960 * gdb.base/until.exp: Likewise.
17961 * gdb.base/varargs.exp: Likewise.
17962 * gdb.base/volatile.exp: Likewise.
17963 * gdb.base/watchpoint.exp: Likewise.
17964 * gdb.base/whatis-exp.exp: Likewise.
17965 * gdb.base/whatis.exp: Likewise.
17966 * gdb.cp/ambiguous.exp: Likewise.
17967 * gdb.cp/annota2.exp: Likewise.
17968 * gdb.cp/annota3.exp: Likewise.
17969 * gdb.cp/bool.exp: Likewise.
17970 * gdb.cp/breakpoint.exp: Likewise.
17971 * gdb.cp/casts.exp: Likewise.
17972 * gdb.cp/class2.exp: Likewise.
17973 * gdb.cp/classes.exp: Likewise.
17974 * gdb.cp/cplusfuncs.exp: Likewise.
17975 * gdb.cp/ctti.exp: Likewise.
17976 * gdb.cp/derivation.exp: Likewise.
17977 * gdb.cp/exception.exp: Likewise.
17978 * gdb.cp/gdb1355.exp: Likewise.
17979 * gdb.cp/hang.exp: Likewise.
17980 * gdb.cp/inherit.exp: Likewise.
17981 * gdb.cp/local.exp: Likewise.
17982 * gdb.cp/m-data.exp: Likewise.
17983 * gdb.cp/m-static.exp: Likewise.
17984 * gdb.cp/member-ptr.exp: Likewise.
17985 * gdb.cp/method.exp: Likewise.
17986 * gdb.cp/misc.exp: Likewise.
17987 * gdb.cp/namespace.exp: Likewise.
17988 * gdb.cp/overload.exp: Likewise.
17989 * gdb.cp/ovldbreak.exp: Likewise.
17990 * gdb.cp/pr-1023.exp: Likewise.
17991 * gdb.cp/pr-1210.exp: Likewise.
17992 * gdb.cp/pr-574.exp: Likewise.
17993 * gdb.cp/printmethod.exp: Likewise.
17994 * gdb.cp/psmang.exp: Likewise.
17995 * gdb.cp/ref-params.exp: Likewise.
17996 * gdb.cp/ref-types.exp: Likewise.
17997 * gdb.cp/rtti.exp: Likewise.
17998 * gdb.cp/templates.exp: Likewise.
17999 * gdb.cp/try_catch.exp: Likewise.
18000 * gdb.cp/userdef.exp: Likewise.
18001 * gdb.cp/virtfunc.exp: Likewise.
18002 * gdb.disasm/am33.exp: Likewise.
18003 * gdb.disasm/h8300s.exp: Likewise.
18004 * gdb.disasm/mn10300.exp: Likewise.
18005 * gdb.disasm/sh3.exp: Likewise.
18006 * gdb.disasm/t01_mov.exp: Likewise.
18007 * gdb.disasm/t02_mova.exp: Likewise.
18008 * gdb.disasm/t03_add.exp: Likewise.
18009 * gdb.disasm/t04_sub.exp: Likewise.
18010 * gdb.disasm/t05_cmp.exp: Likewise.
18011 * gdb.disasm/t06_ari2.exp: Likewise.
18012 * gdb.disasm/t07_ari3.exp: Likewise.
18013 * gdb.disasm/t08_or.exp: Likewise.
18014 * gdb.disasm/t09_xor.exp: Likewise.
18015 * gdb.disasm/t10_and.exp: Likewise.
18016 * gdb.disasm/t11_logs.exp: Likewise.
18017 * gdb.disasm/t12_bit.exp: Likewise.
18018 * gdb.disasm/t13_otr.exp: Likewise.
18019 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18020 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18021 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18022 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18023 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18024 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18025 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18026 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18027 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18028 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18029 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18030 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18031 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18032 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18033 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18034 * gdb.mi/gdb701.exp: Likewise.
18035 * gdb.mi/gdb792.exp: Likewise.
18036 * gdb.mi/mi-basics.exp: Likewise.
18037 * gdb.mi/mi-break.exp: Likewise.
18038 * gdb.mi/mi-cli.exp: Likewise.
18039 * gdb.mi/mi-console.exp: Likewise.
18040 * gdb.mi/mi-disassemble.exp: Likewise.
18041 * gdb.mi/mi-eval.exp: Likewise.
18042 * gdb.mi/mi-file.exp: Likewise.
18043 * gdb.mi/mi-read-memory.exp: Likewise.
18044 * gdb.mi/mi-regs.exp: Likewise.
18045 * gdb.mi/mi-return.exp: Likewise.
18046 * gdb.mi/mi-simplerun.exp: Likewise.
18047 * gdb.mi/mi-stack.exp: Likewise.
18048 * gdb.mi/mi-stepi.exp: Likewise.
18049 * gdb.mi/mi-syn-frame.exp: Likewise.
18050 * gdb.mi/mi-until.exp: Likewise.
18051 * gdb.mi/mi-var-block.exp: Likewise.
18052 * gdb.mi/mi-var-child.exp: Likewise.
18053 * gdb.mi/mi-var-cmd.exp: Likewise.
18054 * gdb.mi/mi-var-display.exp: Likewise.
18055 * gdb.mi/mi-watch.exp: Likewise.
18056 * gdb.mi/mi2-basics.exp: Likewise.
18057 * gdb.mi/mi2-break.exp: Likewise.
18058 * gdb.mi/mi2-cli.exp: Likewise.
18059 * gdb.mi/mi2-console.exp: Likewise.
18060 * gdb.mi/mi2-disassemble.exp: Likewise.
18061 * gdb.mi/mi2-eval.exp: Likewise.
18062 * gdb.mi/mi2-file.exp: Likewise.
18063 * gdb.mi/mi2-read-memory.exp: Likewise.
18064 * gdb.mi/mi2-regs.exp: Likewise.
18065 * gdb.mi/mi2-return.exp: Likewise.
18066 * gdb.mi/mi2-simplerun.exp: Likewise.
18067 * gdb.mi/mi2-stack.exp: Likewise.
18068 * gdb.mi/mi2-stepi.exp: Likewise.
18069 * gdb.mi/mi2-syn-frame.exp: Likewise.
18070 * gdb.mi/mi2-until.exp: Likewise.
18071 * gdb.mi/mi2-var-block.exp: Likewise.
18072 * gdb.mi/mi2-var-child.exp: Likewise.
18073 * gdb.mi/mi2-var-cmd.exp: Likewise.
18074 * gdb.mi/mi2-var-display.exp: Likewise.
18075 * gdb.mi/mi2-watch.exp: Likewise.
18076 * gdb.stabs/exclfwd.exp: Likewise.
18077 * gdb.stabs/weird.exp: Likewise.
18078 * gdb.threads/gcore-thread.exp: Likewise.
18079 * gdb.trace/actions.exp: Likewise.
18080 * gdb.trace/backtrace.exp: Likewise.
18081 * gdb.trace/circ.exp: Likewise.
18082 * gdb.trace/collection.exp: Likewise.
18083 * gdb.trace/deltrace.exp: Likewise.
18084 * gdb.trace/infotrace.exp: Likewise.
18085 * gdb.trace/limits.exp: Likewise.
18086 * gdb.trace/packetlen.exp: Likewise.
18087 * gdb.trace/passc-dyn.exp: Likewise.
18088 * gdb.trace/passcount.exp: Likewise.
18089 * gdb.trace/report.exp: Likewise.
18090 * gdb.trace/save-trace.exp: Likewise.
18091 * gdb.trace/tfind.exp: Likewise.
18092 * gdb.trace/tracecmd.exp: Likewise.
18093 * gdb.trace/while-dyn.exp: Likewise.
18094 * gdb.trace/while-stepping.exp: Likewise.
18095
18096 2006-08-08 Joel Brobecker <brobecker@adacore.com>
18097
18098 * gdb.base/step-bt.c: New file.
18099 * gdb.base/step-bt.exp: New testcase.
18100
18101 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18102
18103 * config/monitor.exp (gdb_load): Remove support for obsolete
18104 download-write-size.
18105 * gdb.base/remote.exp: Likewise. Update all callers of
18106 gdb_timed_load.
18107
18108 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18109
18110 * cursal.exp: Pass binfile to gdb_load.
18111
18112 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18113
18114 * gdb.base/cursal.exp: Add "" to gdb_load call.
18115
18116 2006-07-29 Mark Kettenis <kettenis@gnu.org>
18117
18118 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18119 NetBSD/ELF targets.
18120
18121 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18122
18123 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18124 operator*.
18125
18126 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18127
18128 * gdb.base/completion.exp: Update for change in "file" behavior.
18129 * gdb.stabs/weird.exp: Likewise.
18130 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18131 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18132
18133 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18134
18135 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18136 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18137
18138 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18139
18140 * gdb.base/default.exp: Update source command error message.
18141 * gdb.base/help.exp: Update 'help source' message.
18142
18143 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18144
18145 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18146 test.
18147
18148 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18149
18150 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18151
18152 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18153
18154 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18155
18156 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18157
18158 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18159
18160 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18161
18162 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18163 *-*-openbsd* from targets for wich we expect ARM FPA floating
18164 point format.
18165
18166 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
18167
18168 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18169
18170 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18171
18172 * gdb.base/annota3.exp: Expect frame-begin annotation.
18173
18174 2006-07-14 Joel Brobecker <brobecker@adacore.com>
18175
18176 * gdb.base/help.exp: Adjust "help unset" test to accept
18177 any list of unset commands.
18178
18179 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18180 Daniel Jacobowitz <dan@codesourcery.com>
18181
18182 * gdb.cp/ref-params.exp: New test.
18183 * gdb.cp/ref-params.cc: New source file.
18184 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18185
18186 2006-07-08 Mark Kettenis <kettenis@gnu.org>
18187
18188 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18189 spaces/tabs in regular expressions since they might not be there.
18190
18191 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18192
18193 * gdb.base/ifelse.exp: New file.
18194
18195 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18196
18197 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18198 line.
18199 * gdb.base/huge.exp: Loop over compilation to find a size that
18200 is acceptable.
18201 * gdb.base/remote.exp: Correct expected strings.
18202 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18203
18204 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18205
18206 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18207
18208 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18209
18210 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18211 native.
18212
18213 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18214
18215 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18216 enable stabs testing.
18217
18218 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18219
18220 * gdb.base/auxv.exp: Intercept undefined command messages before
18221 gdb_test_multiple does.
18222
18223 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18224
18225 * Makefile.in (host_alias): Remove.
18226 (target_alias): Use @target_noncanonical@.
18227 (site.exp): Don't set host_alias.
18228 * aclocal.m4: Remove contents. Include acx.m4.
18229 * configure: Regenerated.
18230 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18231
18232 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18233
18234 * lib/gdb.exp (gdb_load_cmd): New.
18235
18236 * gdb.base/fileio.c: Add system(NULL) test.
18237 * gdb.base/fileio.exp: Check it.
18238
18239 * gdb.base/break.c: Add 10a breakpoint at }
18240 * gdb.base/break.exp: Add test for breakpoint at }
18241 * gdb.cp/anon-union.cc: Add code at end of function.
18242 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18243 * gdb.mi/var-cmd.c: Add code at end of function.
18244 * gdb.mi/mi-var-display.exp: Adjust end of next.
18245 * gdb.mi/mi2-var-display.exp: Likewise.
18246 * gdb.base/fileio.c: Add stop function and insert calls at
18247 stopping places.
18248 * gdb.base/fileio.exp: Breakpoint stop function and remove
18249 explicit line number references.
18250
18251 2006-05-19 Joel Brobecker <brobecker@adacore.com>
18252
18253 * gdb.base/del.exp (test_delete_alias): New function.
18254 Now check that both "del" and "d" work as aliases for "delete".
18255
18256 2006-05-18 Fred Fish <fnf@specifix.com>
18257
18258 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18259 required. Check for spurious output after program exits normally.
18260
18261 2006-05-17 Fred Fish <fnf@specifix.com>
18262
18263 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18264 gdb_load, so it works in the simulator.
18265
18266 2006-05-11 Fred Fish <fnf@specifix.com>
18267
18268 * gdb.base/bang.exp: Ignore unexpected output between the
18269 "program exited normally" and the gdb prompt, as many other
18270 tests do.
18271
18272 2006-05-07 Mark Kettenis <kettenis@gnu.org>
18273
18274 * gdb.base/help.exp: Make "delete checkpoint" part option for
18275 "help d" and "help delete" tests.
18276
18277 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18278
18279 * gdb.mi/mi-basics.exp: Add missing serial number to
18280 expected output in some mi_gdb_test statements.
18281 * gdb.mi/mi2-basics.exp: Likewise.
18282
18283 2006-05-05 Joel Brobecker <brobecker@adacore.com>
18284
18285 * gdb.base/del.c: New file.
18286 * gdb.base/del.exp: New testcase.
18287
18288 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
18289
18290 * gdb.base/break.exp: Do not assume a breakpoint on
18291 main will actually be in $srcfile when optimizing.
18292 * gdb.base/savedregs.exp: Do not require that the dummy
18293 frame location match up to a symbol and source file location.
18294 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18295 will get printed without a mi_cmd_data_list_register_values prefix.
18296 (*-data-list-register-*): Correct regular expressions to expect the new
18297 pseudo d? floating point registers.
18298 * gdb.mi/mi2-regs.exp: Likewise.
18299
18300 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
18301
18302 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18303 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18304 is allocated by the compiler.
18305 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18306 anons, e, anone to force their allocation by the compiler.
18307
18308 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
18309
18310 * gdb.base/help.exp: Update expected text for help d and
18311 help delete.
18312
18313 2006-05-02 Mark Kettenis <kettenis@gnu.org>
18314
18315 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18316 NetBSD/ELF targets.
18317
18318 2006-04-30 Mark Kettenis <kettenis@gnu.org>
18319
18320 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18321 single-step breakpoint fails; make this a KFAIL on
18322 sparc*-*-openbsd*.
18323 * gdb.base/siginfo.exp: Likewise.
18324 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18325
18326 2006-04-26 Michael Snyder <msnyder@redhat.com>
18327
18328 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18329 which may have to consume output from other forks.
18330 Add tests to make sure that "delete fork" succeeded.
18331
18332 2006-04-20 Michael Snyder <msnyder@redhat.com>
18333
18334 * 2006-03-22 Jim Blandy <jimb@redhat.com>
18335 Add support for the Renesas M32C and M16C.
18336
18337 * gdb.asm/asm-source.exp: Add m32c target.
18338 * gdb.asm/m32c.inc: Support for m32c target.
18339
18340 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
18341
18342 * gdb.base/commands.exp (recursive_source_test): New test.
18343
18344 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
18345
18346 * gdb.base/float.exp: Add pattern for sparc targets.
18347
18348 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18349
18350 * gdb.base/commands.exp (stray_arg0_test): New test.
18351
18352 2006-03-30 Paul Brook <paul@codesourcery.com>
18353
18354 * gdb.mi/mi-until.exp: kfail broken until command.
18355 * gdb.mi/mi2-until.exp: Ditto.
18356
18357 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
18358
18359 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18360
18361 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
18362
18363 * gdb.base/prelink.exp: Anchor tested-for regular expression
18364 on gdb prompt.
18365
18366 2006-03-07 Paul Brook <paul@codesourcery.com>
18367
18368 * gdb.base/assign.exp: Correct fail message.
18369
18370 2006-03-07 Paul Brook <paul@codesourcery.com>
18371
18372 * lib/compiler.c: Extract armcc version number.
18373 * lib/compiler.cc: Ditto.
18374
18375 2006-03-07 Paul Brook <paul@codesourcery.com>
18376
18377 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18378 additional_flags=-w.
18379 * gdb.arch/altivec-regs.exp: Ditto.
18380 * gdb.arch/e500-abi.exp: Ditto.
18381 * gdb.arch/e500-regs.exp: Ditto.
18382 * gdb.base/all-bin.exp: Ditto.
18383 * gdb.base/annota1.exp: Ditto.
18384 * gdb.base/annota3.exp: Ditto.
18385 * gdb.base/args.exp: Ditto.
18386 * gdb.base/arithmet.exp: Ditto.
18387 * gdb.base/assign.exp: Ditto.
18388 * gdb.base/async.exp: Ditto.
18389 * gdb.base/bang.exp: Ditto.
18390 * gdb.base/break.exp: Ditto.
18391 * gdb.base/call-rt-st.exp: Ditto.
18392 * gdb.base/completion.exp: Ditto.
18393 * gdb.base/cond-expr.exp: Ditto.
18394 * gdb.base/condbreak.exp: Ditto.
18395 * gdb.base/consecutive.exp: Ditto.
18396 * gdb.base/define.exp: Ditto.
18397 * gdb.base/display.exp: Ditto.
18398 * gdb.base/ena-dis-br.exp: Ditto.
18399 * gdb.base/environ.exp: Ditto.
18400 * gdb.base/eval-skip.exp: Ditto.
18401 * gdb.base/info-proc.exp: Ditto.
18402 * gdb.base/jump.exp: Ditto.
18403 * gdb.base/logical.exp: Ditto.
18404 * gdb.base/long_long.exp: Ditto.
18405 * gdb.base/maint.exp: Ditto.
18406 * gdb.base/miscexprs.exp: Ditto.
18407 * gdb.base/pc-fp.exp: Ditto.
18408 * gdb.base/pointers.exp: Ditto.
18409 * gdb.base/relational.exp: Ditto.
18410 * gdb.base/reread.exp: Ditto.
18411 * gdb.base/sect-cmd.exp: Ditto.
18412 * gdb.base/sep.exp: Ditto.
18413 * gdb.base/sepdebug.exp: Ditto.
18414 * gdb.base/until.exp: Ditto.
18415 * gdb.base/whatis-exp.exp: Ditto.
18416 * gdb.cp/annota2.exp: Ditto.
18417 * gdb.cp/annota3.exp: Ditto.
18418 * gdb.trace/actions.exp: Ditto.
18419 * gdb.trace/backtrace.exp: Ditto.
18420 * gdb.trace/circ.exp: Ditto.
18421 * gdb.trace/collection.exp: Ditto.
18422 * gdb.trace/deltrace.exp: Ditto.
18423 * gdb.trace/infotrace.exp: Ditto.
18424 * gdb.trace/limits.exp: Ditto.
18425 * gdb.trace/packetlen.exp: Ditto.
18426 * gdb.trace/passc-dyn.exp: Ditto.
18427 * gdb.trace/passcount.exp: Ditto.
18428 * gdb.trace/report.exp: Ditto.
18429 * gdb.trace/save-trace.exp: Ditto.
18430 * gdb.trace/tfind.exp: Ditto.
18431 * gdb.trace/tracecmd.exp: Ditto.
18432 * gdb.trace/while-dyn.exp: Ditto.
18433 * gdb.trace/while-stepping.exp: Ditto.
18434 * lib/gdb.exp: Ditto.
18435 (gdb_compile): Handle nowarning option.
18436
18437 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
18438
18439 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18440 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
18441 Rename executable to prelinkt. Don't re-prelink if we didn't
18442 get a core file. Test prelink -u exit status to tell whether
18443 prelinking failed. Use gdb_test_multiple.
18444
18445 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
18446
18447 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18448 (do_tests): Call it.
18449
18450 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
18451
18452 * gdb.base/prelink.exp: New test.
18453 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18454
18455 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
18456
18457 * gdb.fortran/derived-type.f90: New file.
18458 * gdb.fortran/derived-type.exp: New testcase.
18459
18460 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
18461
18462 * gdb.base/default.exp: Allow ';' as a directory separator.
18463
18464 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18465
18466 * gdb.base/help.exp (help add-symbol-file): Update.
18467
18468 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18469
18470 * gdb.base/help.exp (help load): Update expected results.
18471
18472 2006-02-19 Fred Fish <fnf@specifix.com>
18473
18474 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
18475 specifix hex value as part of results.
18476 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
18477
18478 2006-02-16 Fred Fish <fnf@specifix.com>
18479
18480 * gdb.base/whatis.c: Define variables using typedefs char_addr,
18481 ushort_addr, and slong_addr, so the typedefs are not optimized
18482 away.
18483 * gdb.base/whatis.exp: Add tests using type name for struct type,
18484 union type, enum type, and typedef.
18485
18486 2006-02-13 Mark Kettenis <kettenis@gnu.org>
18487
18488 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
18489
18490 2006-02-13 Jim Blandy <jimb@redhat.com>
18491
18492 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
18493 case where it takes two "next" commands to skip past the init
18494 call.
18495
18496 2006-02-12 Fred Fish <fnf@specifix.com>
18497
18498 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
18499 to handle cases where it takes two "next" commands to skip
18500 past the init call.
18501
18502 2006-02-07 Joel Brobecker <brobecker@adacore.com>
18503
18504 * gdb.ada/array_return.exp: Mark the last test as expected to fail
18505 on hppa32 targets.
18506
18507 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
18508
18509 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
18510 field.
18511
18512 2006-01-29 Mark Kettenis <kettenis@gnu.org>
18513
18514 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
18515
18516 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
18517
18518 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
18519 files.
18520
18521 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18522
18523 * gdb.cp/maint.exp: Set complaints to a positive value.
18524
18525 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18526
18527 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
18528 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
18529 function name.
18530
18531 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18532
18533 * gdb.base/checkpoint.c: Update copyright notice. Include
18534 <stdlib.h>.
18535
18536 2006-01-04 Jim Blandy <jimb@redhat.com>
18537
18538 * gdb.asm/asm-source.exp: Independently provide default values for
18539 asm-flags and debug-flags. Use 'string equal' to do the
18540 comparison, not the implicit expr's '==' operator. Remove
18541 now-unneeded assignments to asm-flags. In h8300 case, place
18542 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
18543
18544 2006-01-04 Michael Snyder <msnyder@redhat.com>
18545
18546 * gdb.base/checkpoint.c: New file.
18547 * gdb.base/checkpoint.exp: New file.
18548 * gdb.base/multi-fork.c: New file.
18549 * gdb.base/multi-fork.exp: New file.
18550 * gdb.base/pi.txt: New file (data for checkpoint.c test).
18551
18552 2006-01-04 Fred Fish <fnf@specifix.com>
18553
18554 * gdb.base/ptype.c (foo): Add typedef.
18555 (intfoo): Add function.
18556 * gdb.base/ptype1.c: New file.
18557 * gdb.base/ptype.exp: Handle compilation and linking with two
18558 source files. Test that proper type for "foo" is found based
18559 on source context rather than first match found in symtabs.
18560
18561 2005-12-28 Mark Kettenis <kettenis@gnu.org>
18562
18563 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
18564 * gdb.asm/openbsd.inc: Indent commands.
18565
18566 2005-12-26 Mark Kettenis <kettenis@gnu.org>
18567
18568 * gdb.base/freebpcmd.exp: Increase timeout.
18569
18570 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
18571
18572 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
18573
18574 * gdb.base/default.exp: Update check for "show version".
18575
18576 2005-12-09 Randolph Chung <tausq@debian.org>
18577
18578 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
18579 * gdb.asm/pa64.inc: New file.
18580
18581 2005-12-09 Randolph Chung <tausq@debian.org>
18582
18583 * gdb.asm/common.inc: Indent commands.
18584 * gdb.asm/asmsrc1.s: Likewise.
18585 * gdb.asm/asmsrc2.s: Likewise.
18586
18587 2005-12-09 Randolph Chung <tausq@debian.org>
18588
18589 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
18590 (get_addr_of_sym): Remove duplicate print.
18591 (gen_core): xfail hppa*-*-hpux*, update expected output.
18592 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
18593 * gdb.arch/pa64-nullify.s: New file.
18594
18595 2005-12-09 Randolph Chung <tausq@debian.org>
18596
18597 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
18598
18599 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
18600
18601 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
18602 code generation for these functions.
18603 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
18604 error message.
18605
18606 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
18607
18608 * gdb.base/help.exp (help b, help br, help bre, help brea)
18609 (help break): Update the expected message.
18610
18611 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
18612
18613 * gdb.asm/m68hc11.inc: Setup the data section.
18614 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
18615 script for this test.
18616 (m6812-*-*): Likewise.
18617
18618 2005-11-09 Randolph Chung <tausq@debian.org>
18619
18620 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
18621
18622 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
18623
18624 * gdb.base/break.exp: Fix a comment typo.
18625
18626 2005-11-03 Jim Blandy <jimb@redhat.com>
18627
18628 Checked in by Elena Zannoni <ezannoni@redhat.com>
18629
18630 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
18631
18632 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
18633
18634 * gdb.arch/gdb1558.c: Include stdio.h.
18635
18636 2005-10-31 Mark Kettenis <kettenis@gnu.org>
18637
18638 * gdb.asm/asm-source.exp: Use -e instead of --entry.
18639
18640 2005-10-31 Mark Kettenis <kettenis@gnu.org>
18641
18642 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
18643
18644 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
18645
18646 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18647 vscr" tests to better match output.
18648
18649 2005-10-12 Jim Blandy <jimb@redhat.com>
18650
18651 * gdb.base/structs.exp (any): New function.
18652 (test_struct_returns): Don't make any assumptions at all about
18653 what value the function returns when GDB can't set the return
18654 value.
18655
18656 2005-10-09 Joel Brobecker <brobecker@adacore.com>
18657
18658 * gdb.ada/arrayidx/p.adb: New file.
18659 * gdb.ada/arrayidx.exp: New testcase
18660
18661 2005-10-09 Joel Brobecker <brobecker@adacore.com>
18662
18663 * gdb.ada/array_return/pck.ads: New file.
18664 * gdb.ada/array_return/pck.adb: New file.
18665 * gdb.ada/array_return/p.adb: New file.
18666 * gdb.ada/array_return.exp: New testcase.
18667
18668 2005-10-03 Joel Brobecker <brobecker@adacore.com>
18669
18670 * gdb.base/arrayidx.c: New file.
18671 * gdb.base/arrayidx.exp: New testcase.
18672
18673 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
18674
18675 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
18676 frames-invalid and breakpoints-invalid are no longer generated
18677 with level 3 so don't expect them in the output.
18678
18679 2005-09-27 Bob Rossi <bob@brasko.net>
18680
18681 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
18682 from test. Escape the | in mi_gdb_test call.
18683 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
18684 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
18685 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18686 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18687 expected regex's in mi_gdb_test calls.
18688 * lib/mi-support.exp: Remove arbitrary .* from tests.
18689 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18690 Fully anchor GDB/MI expected results in mi_gdb_test.
18691 * lib/gdb.exp (string_to_regexp): Escape the ] character.
18692 * gdb.base/sizeof.exp: Remove escape character. Correct test.
18693
18694 2005-09-26 Paul Brook <paul@codesourcery.com>
18695
18696 * long_long.exp: Exclude eabi targets from arm FPA float format test.
18697
18698 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18699
18700 * bfp-test.c: New file.
18701 * bfp-test.exp: New testcase.
18702
18703 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18704
18705 * gdb.fortran/subarray.exp: New testcase to test the evaluation
18706 of subarray and substring variable.
18707 * gdb.fortran/subarray.f: New source file for the test of subarray
18708 and substring variable evaluation.
18709 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18710 of string constant.
18711
18712 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
18713
18714 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18715 copyright dates.
18716
18717 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
18718
18719 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18720 powerpc altivec' test with an almost identical 'info vector' test.
18721
18722 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18723
18724 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18725 vscr" tests to match output.
18726
18727 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18728
18729 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18730 output.
18731
18732 2005-09-11 Bob Rossi <bob@brasko.net>
18733
18734 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18735 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18736 commands that return an MI output command and an asyncronous MI output
18737 command.
18738 * gdb.mi/mi-console.exp: Ditto.
18739
18740 2005-09-11 Bob Rossi <bob@brasko.net>
18741
18742 * gdb.mi/mi-var-child.c: Include <string.h>.
18743
18744 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
18745
18746 * killed.exp: Correct gdb_expect syntax.
18747
18748 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
18749
18750 * lib/mi-support.exp (mi_gdb_load): Fix typo.
18751
18752 2005-08-02 Bob Rossi <bob@brasko.net>
18753
18754 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18755 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18756 Change tests to inferior-tty-set/show.
18757 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18758 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18759 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18760 inferior. Use mi_gdb_test to get GDB and Inferior output.
18761 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18762 descriptor.
18763 (mi_inferior_tty_name): Add inferior PTY file name.
18764 (mi_gdb_start): Add INFERIOR_PTY parameter.
18765 (mi_gdb_test): Add IPATTERN parameter.
18766
18767 2005-08-02 Bob Rossi <bob@brasko.net>
18768
18769 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18770 parameter to mi_gdb_test.
18771 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18772
18773 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18774
18775 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18776 struct_declarations.
18777 * gdb.mi/mi-var-child.exp: Step over the initialization of
18778 struct_declarations.
18779
18780 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18781
18782 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18783 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18784 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18785 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18786 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18787 file.
18788
18789 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
18790
18791 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18792 (do_children_tests): Assign values to the extra elements.
18793
18794 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18795 them for tests for "-var-update --no-values" and
18796 "-var-update --all-values".
18797 Add test for "-var-list-children --simple-values".
18798
18799 * gdb.mi/basics.c (callee4): Add integer array D[3]...
18800
18801 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18802 "-stack-list-locals --simple-values" Improve doc strings and
18803 comments.
18804
18805 2005-07-18 Mark Kettenis <kettenis@gnu.org>
18806
18807 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18808 *-*-openbsd*.
18809 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18810
18811 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18812 sigaltsatck'.
18813
18814 2005-07-14 Bob Rossi <bob@brasko.net>
18815
18816 * gdb.base/default.exp (tty): Changed output of command.
18817 * gdb.base/help.exp (help tty): Ditto.
18818
18819 2005-07-12 Mark Kettenis <kettenis@gnu.org>
18820
18821 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18822
18823 2005-07-10 Mark Kettenis <kettenis@gnu.org>
18824
18825 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18826 -stack-select-frame without arguments.
18827 (test_stack_frame_listing): Add test for newly implemented command
18828 -stack-info-frame.
18829
18830 2005-07-06 Bob Rossi <bob@brasko.net>
18831
18832 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18833 command.
18834 (Copyright): Update copyright.
18835
18836 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
18837
18838 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18839 tests to evaluate exponentiation expression.
18840
18841 2005-06-29 Andreas Schwab <schwab@suse.de>
18842
18843 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18844 main to avoid warnings.
18845
18846 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
18847
18848 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
18849
18850 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
18851 -stack-select-frame without arguments.
18852 (test_stack_frame_listing): Add test for newly implemented command
18853 -stack-info-frame.
18854
18855 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
18856
18857 * gdb.fortran/array-element.f: New file.
18858 * gdb.fortran/array-element.exp: New testcase.
18859
18860 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18861
18862 * gdb.base/bigcore.exp: Correct checks for systems which can
18863 not dump a large core file.
18864
18865 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18866
18867 * gdb.base/relocate.c: Add a copyright notice.
18868 (dummy): Remove.
18869 * gdb.base/relocate.exp: Test printing the values of variables
18870 from a relocatable file.
18871
18872 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18873
18874 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
18875 excess MI output after an error.
18876
18877 2005-05-29 Joel Brobecker <brobecker@adacore.com>
18878
18879 * gdb.arch/alpha-step.c: New file.
18880 * gdb.arch/alpha-step.exp: New testcase.
18881
18882 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
18883 Dennis Brueni <dennis@slickedit.com>
18884
18885 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
18886 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
18887 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
18888 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
18889 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
18890 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
18891 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
18892
18893 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
18894 Wu Zhou <woodzltc@cn.ibm.com>
18895
18896 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
18897 IBM's xlc compiler.
18898 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
18899 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
18900
18901 2005-05-13 Jim Blandy <jimb@redhat.com>
18902
18903 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
18904 calling gdb_suppress_entire_file.
18905 * gdb.base/charset.exp: Same.
18906 * gdb.base/call-rt-st.exp: Same.
18907
18908 2005-05-05 Bob Rossi <bob_rossi@cox.net>
18909
18910 * lib/gdb.exp (fullname_syntax): Added global regex.
18911 (fullname_syntax_POSIX): Ditto.
18912 (fullname_syntax_UNC): Ditto.
18913 (fullname_syntax_DOS_CASE): Ditto.
18914 (fullname_syntax_DOS): Ditto.
18915 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
18916 fullname_syntax variable to scope and use it.
18917 (test_file_list_exec_source_files): Ditto.
18918 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
18919
18920 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
18921
18922 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
18923
18924 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
18925
18926 * lib/gdb.exp (skip_altivec_tests): New function, based on
18927 check_vmx_hw_available from the GCC testsuite.
18928 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
18929 * lib/gdb.arch/altivec-regs.exp: Likewise.
18930
18931 2005-05-02 Jim Blandy <jimb@redhat.com>
18932
18933 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
18934 calling gdb_suppress_entire_file.
18935
18936 2005-04-30 Randolph Chung <tausq@debian.org>
18937
18938 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
18939 Slightly relax "sem_post" name checking.
18940
18941 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
18942
18943 * gdb.base/unload.exp: Use new shared library infrastructure.
18944
18945 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
18946
18947 * gdb.base/so-impl-ld.exp: Use new shared library
18948 infrastructure.
18949
18950 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
18951
18952 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
18953 * gdb.asm/h8300.inc: New file.
18954
18955 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18956
18957 * gdb.base/shlib-call.exp: Change to use new shared library
18958 infrastructure.
18959
18960 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18961
18962 * gdb.base/pending.exp: Change to use new shared library
18963 infrastructure.
18964
18965 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18966
18967 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
18968 use test_compiler_info instead of gcc_compiled, and update copyright.
18969
18970 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
18971
18972 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
18973 shared objects being adjusted and update copyright years.
18974
18975 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
18976
18977 * ChangeLog: Correct some 2003-01-13 dates.
18978 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
18979 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
18980 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
18981 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
18982 gdb.trace/tfind.exp: Update copyright years.
18983
18984 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
18985 Daniel Jacobowitz <dan@codesourcery.com>
18986
18987 * lib/gdb.exp (gdb_compile): Handle shlib=.
18988 (gdb_compile_shlib): New function.
18989
18990 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
18991
18992 * lib/gdb.exp (test_compiler_info): Give argument a default value.
18993
18994 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
18995
18996 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
18997 gdb.server.
18998 * configure.ac: Likewise.
18999 * configure: Regenerated.
19000 * gdb.gdbserver/Makefile.in: Moved to...
19001 * gdb.server/Makefile.in: ... here.
19002 * gdb.gdbserver/server.c: Moved to...
19003 * gdb.server/server.c: ... here.
19004 * gdb.gdbserver/server-run.exp: Moved to...
19005 * gdb.server/server-run.exp: ... here.
19006
19007 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19008
19009 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19010 * configure.ac: Create gdb.gdbserver/Makefile.
19011 * configure: Regenerated.
19012 * lib/gdbserver-support.exp: New file, derived from
19013 config/gdbserver.exp.
19014 * config/gdbserver.exp: Use gdbserver-support.exp.
19015 * gdb.gdbserver/Makefile.in: New file.
19016 * gdb.gdbserver/server.c: New file.
19017 * gdb.gdbserver/server-run.exp: New file.
19018
19019 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19020
19021 * lib/gdb.exp (test_compiler_info): Return compiler_info
19022 if no arguments are given.
19023
19024 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19025
19026 * gdb.arch/altivec-abi.exp: Check for compiler and set
19027 use altivec' flag accordingly.
19028 * gdb.arch/altivec-regs.exp: Likewise.
19029
19030 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19031
19032 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19033
19034 2005-03-27 Andreas Schwab <schwab@suse.de>
19035
19036 * gdb.base/bigcore.c (main): Add missing mode argument in open
19037 call.
19038
19039 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19040
19041 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19042 downloads.
19043 * config/gdbserver.exp (gdb_load): Likewise.
19044
19045 2005-03-14 Paul Brook <paul@codesourcery.com>
19046
19047 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19048 targets.
19049
19050 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19051
19052 * gdb.dwarf2/dup-psym.S: New file.
19053 * gdb.dwarf2/dup-psym.exp: New testcase.
19054
19055 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19056
19057 * gdb.ada/exec_changed/first.adb: New file.
19058 * gdb.ada/exec_changed/second.adb: New file.
19059 * gdb.ada/exec_changed.exp: New testcase.
19060
19061 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19062
19063 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19064 (A2): New class.
19065 (main): Test operator+.
19066 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19067 breakpoint test.
19068
19069 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19070 * gdb.base/signull.exp: Disable if gdb,nosignals.
19071 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19072 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19073 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19074 * gdb.mi/mi2-console.exp: Likewise.
19075 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19076 continue output at start.
19077 (gdb_collect_locals_test): Robustify regexp.
19078 * gdb.trace/passc-dyn.exp: Fix comment typo.
19079 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19080
19081 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
19082
19083 * gdb.asm/asm-source.exp: Add iq2000 case.
19084 * gdb.asm/iq2000.inc: New file.
19085
19086 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
19087
19088 * gdb.base/command.exp: Change hardcoded value to regular expression.
19089 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19090
19091 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19092
19093 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19094 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19095 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19096 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19097 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19098
19099 2005-03-05 Mark Kettenis <kettenis@gnu.org>
19100
19101 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19102 changes.
19103
19104 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19105
19106 * lib/compiler.c: Add test for IBM's xlc compiler.
19107 * lib/compiler.cc: Likewise.
19108
19109 2004-02-24 Joel Brobecker <brobecker@adacore.com>
19110
19111 * gdb.ada/fixed_points.exp: Create compilation object directory
19112 before running the test.
19113 * gdb.ada/null_record.exp: Likewise.
19114 * gdb.ada/packed_array.exp: Likewise.
19115 * gdb.ada/start.exp: Likewise.
19116
19117 2005-02-15 Joel Brobecker <brobecker@adacore.com>
19118
19119 * gdb.ada/packed_array/pa.adb: New file.
19120 * gdb.ada/packed_array.exp: New testcase.
19121
19122 2005-02-10 Mark Kettenis <kettenis@gnu.org>
19123
19124 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19125 files.
19126
19127 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19128 on *-*-openbsd*. Correctly match whitespace in regukar
19129 expressions.
19130
19131 2005-02-10 Daniel Jacobowitz <dan@debian.org>
19132
19133 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19134 PR exp/1821
19135 * gdb.base/gdb1821.c: New test file.
19136 * gdb.base/gdb1821.exp: New test file.
19137
19138 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19139
19140 * gdb.base/start.c: New file.
19141 * gdb.base/start.exp: New testcase.
19142
19143 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19144
19145 * gdb.ada/start/dummy.adb: New file.
19146 * gdb.ada/start.exp: New testcase.
19147
19148 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
19149
19150 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19151 for printing symbols and statistics.
19152 Add test for using relative pathnames in "maint print msymbols" test.
19153 Mark "maint info sections DATA" XFAIL on Cygwin.
19154 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19155 tests.
19156
19157 2005-02-09 Andreas Schwab <schwab@suse.de>
19158
19159 Committed by Andrew Cagney <cagney@gnu.org>
19160 * gdb.base/remotetimeout.exp: New file.
19161
19162 2005-02-07 Mark Kettenis <kettenis@gnu.org>
19163
19164 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19165
19166 2005-02-03 Joel Brobecker <brobecker@adacore.com>
19167
19168 * gdb.ada/gnat_ada.gpr: New file.
19169 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19170 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19171 * configure.ac: No longer generate gnat_ada.gpr.
19172 * configure: Regenerate.
19173 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19174 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19175 * gdb.ada/null_record/bar.ads: Likewise.
19176 * gdb.ada/null_record/bar.adb: Likewise.
19177 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19178 * gdb.ada/null_record.exp (testdir): New variable.
19179 (testfile): executable is now in testdir subdirectory.
19180 (srcfile): Use full path to the main compilation unit.
19181 * gdb.ada/fixed_points.exp: Same changes as above.
19182
19183 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
19184
19185 * gdb.base/interp.exp: New test.
19186
19187 2005-01-24 Andrew Cagney <cagney@gnu.org>
19188
19189 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19190
19191 2005-01-19 Andrew Cagney <cagney@gnu.org>
19192
19193 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19194 configure.ac not configure.in.
19195
19196 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19197 of powerpc*-*-*.
19198 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
19199 * gdb.base/list.exp (test_list_function)
19200 (test_list_filename_and_function): Ditto.
19201 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19202
19203 2005-01-16 Andrew Cagney <cagney@gnu.org>
19204
19205 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19206
19207 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19208
19209 2005-01-14 Andrew Cagney <cagney@gnu.org>
19210
19211 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19212 * gdb.mi/mi2-var-cmd.exp: Ditto.
19213
19214 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
19215
19216 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19217
19218 2005-01-07 Andrew Cagney <cagney@gnu.org>
19219
19220 * configure.ac: Rename configure.in, require autoconf 2.59.
19221 * configure: Re-generate.
19222 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19223 * gdb.stabs/configure: Re-generate.
19224 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19225 * gdb.hp/configure: Re-generate.
19226 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19227 autoconf 2.59.
19228 * gdb.hp/gdb.objdbg/configure: Re-generate.
19229 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19230 autoconf 2.59.
19231 * gdb.hp/gdb.defects/configure: Re-generate.
19232 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19233 autoconf 2.59.
19234 * gdb.hp/gdb.compat/configure: Re-generate.
19235 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19236 autoconf 2.59.
19237 * gdb.hp/gdb.base-hp/configure: Re-generate.
19238 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19239 autoconf 2.59.
19240 * gdb.hp/gdb.aCC/configure: Re-generate.
19241
19242 2004-12-15 Jim Blandy <jimb@redhat.com>
19243
19244 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19245 under NPTL when there is debugging info available for libpthread.
19246
19247 2004-12-13 Jerome Guitton <guitton@gnat.com>
19248
19249 * gdb.ada/fixed_points.c: New file.
19250 * gdb.ada/fixed_points.exp: New file.
19251
19252 2004-12-03 Randolph Chung <tausq@debian.org>
19253
19254 * gdb.arch/pa-nullify.exp: New file.
19255 * gdb.arch/pa-nullify.s: New file.
19256
19257 2004-11-30 Randolph Chung <tausq@debian.org>
19258
19259 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19260 instead of "tbug". Fix regexp to work properly with gdb_test.
19261
19262 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19263
19264 * gdb.base/bitfields2.exp: New test.
19265 * gdb.base/bitfields2.c: New file.
19266
19267 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
19268
19269 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19270
19271 2004-11-16 Randolph Chung <tausq@debian.org>
19272
19273 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19274
19275 2004-11-14 Daniel Jacobowitz <dan@debian.org>
19276
19277 * gdb.threads/threadapply.exp: Correct "macro details" test.
19278
19279 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19280
19281 * gdb.threads/threadapply.exp: New test.
19282 * gdb.threads/threadapply.c: New file.
19283
19284 2004-11-07 Mark Kettenis <kettenis@gnu.org>
19285
19286 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19287 frames.
19288
19289 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
19290
19291 * gdb.base/cursal.exp: New file.
19292 * gdb.base/cursal.c: New file.
19293
19294 2004-11-03 Andrew Cagney <cagney@gnu.org>
19295
19296 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19297
19298 2004-10-30 Mark Kettenis <kettenis@gnu.org>
19299
19300 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19301 NetBSD/ELF targets.
19302
19303 2004-10-29 Joel Brobecker <brobecker@gnat.com>
19304
19305 * gdb.threads/bp_in_thread.c: New file, copied from
19306 pthread_cond_wait.c.
19307 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19308 file, rather than reusing the .c file from another testcase.
19309
19310 2004-10-20 Joel Brobecker <brobecker@gnat.com>
19311
19312 * gdb.ada/null_record.exp: Check where we stopped after
19313 sending the start command, instead of where the associated
19314 temporary breakpoint was inserted.
19315
19316 2004-10-14 Andrew Cagney <cagney@gnu.org>
19317
19318 * gdb.mi/gdb701.c (main): Return 0.
19319
19320 2004-10-13 Daniel Jacobowitz <dan@debian.org>
19321
19322 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
19323
19324 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
19325
19326 * gdb.threads/schedlock.c: Add comment markers to use to find
19327 line numbers.
19328 * gdb.threads/schedlock.exp: Adjust regex to handle the new
19329 comments.
19330 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19331 breakpoint lines.
19332
19333 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19334
19335 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19336
19337 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19338
19339 * configure.in: Add gdb.dwarf2.
19340 * configure: Regenerated.
19341 * Makefile.in: Add gdb.dwarf2.
19342 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19343 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19344 gdb.dwarf2/file1.txt: New files.
19345
19346 2004-10-11 Orjan Friberg <orjanf@axis.com>
19347
19348 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
19349 of "run", since the latter doesn't work with remote targets. Adjust
19350 the breakpoint numbering accordingly.
19351 * gdb.threads/pthread_cond_wait.exp: Ditto.
19352
19353 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
19354
19355 * gdb.base/overlays.exp: Update copyright years.
19356
19357 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
19358
19359 * gdb.base/overlays.exp: Disable if target is Linux.
19360
19361 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
19362
19363 * config/gdbserver.exp (gdb_load): Use right filename on remote.
19364
19365 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
19366
19367 * gdb.asm/asm-source.exp: Add m32r-linux target.
19368 * gdb.asm/m32r-linux.inc: New file.
19369
19370 2004-09-24 Andrew Cagney <cagney@redhat.com>
19371 David Anderson <anderson@redhat.com>
19372
19373 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19374 command fails, assume things will work.
19375 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19376 (_GNU_SOURCE): Define.
19377 (print_unsigned, print_hex): Change parameter to "long long".
19378 (print_byte_count): New function, use to print byte counts.
19379 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19380 O_LARGEFILE.
19381 (main): Compute an upper bound on a corefile in max_core_size.
19382 Limit memory chunk size to max_core_size. Limit total memory
19383 allocated to max_core_size.
19384
19385 2004-09-23 Andrew Cagney <cagney@gnu.org>
19386
19387 * gdb.base/bigcore.exp: Replace the code that creates a corefile
19388 from a separate process with code that creates a corefile by
19389 making the inferior dump core.
19390
19391 2004-09-23 Mark Kettenis <kettenis@gnu.org>
19392
19393 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19394 block.
19395
19396 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
19397
19398 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19399 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
19400 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19401 Likewise.
19402
19403 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
19404
19405 * gdb.java/jprint.exp: New test case for java inferior call.
19406 * gdb.java/jprint.java: Ditto.
19407
19408 2004-09-15 Joel Brobecker <brobecker@gnat.com>
19409
19410 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19411
19412 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19413
19414 * gdb.threads/killed.c: Include <stdlib.h>.
19415 * gdb.threads/pthreads.c: Likewise.
19416
19417 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19418
19419 * gdb.threads/killed.c: Add copyright notice.
19420
19421 2004-09-10 Jason Molenda (jmolenda@apple.com)
19422
19423 * gdb.base/define.exp: Two new tests to verify zero space chars
19424 after 'if' and 'while' commands in a user-defined command is correctly
19425 parsed.
19426
19427 2004-09-08 Andrew Cagney <cagney@gnu.org>
19428
19429 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
19430 delivery test with duplicate at end of file.
19431
19432 2004-09-06 Mark Kettenis <kettenis@jive.nl>
19433
19434 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19435
19436 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19437
19438 * config/hppro.exp: Removed.
19439
19440 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19441
19442 * config/sparclet.exp: Removed.
19443
19444 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19445
19446 * config/udi.exp: Removed.
19447
19448 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
19449
19450 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19451 of "exp_continue".
19452 (advancei): Likewise.
19453
19454 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19455
19456 * gdb.base/unload.exp: Fix so messages aren't duplicated.
19457
19458 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
19459
19460 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
19461 to check for nodebug in executable.
19462 * gdb.gdb/observer.exp (setup_test): Likewise.
19463 * gdb.gdb/selftest.exp (test_with_self): Likewise.
19464 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
19465
19466 2004-09-01 Andrew Cagney <cagney@gnu.org>
19467
19468 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19469 files.
19470
19471 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19472
19473 * gdb.base/unload.exp: Fix expected warning message to match
19474 latest format.
19475
19476 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
19477
19478 * gdb.base/call-rt-st.exp: Fix typos.
19479
19480 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
19481
19482 * gdb.threads/thread_check.exp: New testcase.
19483 * gdb.threads/thread_check.c: New testcase.
19484
19485 2004-08-31 Andrew Cagney <cagney@gnu.org>
19486
19487 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
19488 (skip_to_handler_entry): New procedures. Test stepping into a
19489 handler when the breakpoint is at the handler's entry point.
19490
19491 2004-08-30 Andrew Cagney <cagney@gnu.org>
19492
19493 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
19494 gdb/1757.
19495
19496 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19497
19498 With code from Manoj Iyer <manjo@austin.ibm.com>:
19499 * lib/gdb.exp (gdb_file_cmd): Return more information in the
19500 return value. Add an arm for "no debugging symbols found".
19501 Change a stray "error" to "perror".
19502 (gdb_run_cmd): Adapt to new return value.
19503 * gdb.base/remote.exp: Adapt to new return value.
19504 * gdb.gdb/complaints.exp: Likewise.
19505 * gdb.gdb/observer.exp: Likewise.
19506 * gdb.gdb/selftest.exp: Likewise.
19507 * gdb.gdb/xfullpath.exp: Likewise.
19508
19509 2004-08-27 Joel Brobecker <brobecker@gnat.com>
19510
19511 * gdb.threads/bp_in_thread.exp: New testcase.
19512
19513 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19514
19515 Fix PR testsuite/1735.
19516 * gdb.threads/schedlock.c (thread_function): Add a cast
19517 to suppress a gcc warning.
19518 * gdb.threads/thread-specific.c (thread_function): Likewise.
19519
19520 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19521
19522 * gdb.base/unload.c: Include <stdlib.h>.
19523
19524 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19525
19526 From Paul Gilliam <pgilliam@us.ibm.com>:
19527 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
19528 synchronized after the "return".
19529
19530 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19531
19532 * gdb.mi/basics.c: Include <stdio.h>.
19533 * gdb.mi/pthreads.c: Include <stdlib.h>.
19534 * gdb.mi/var-cmd.c: Include <stdlib.h>.
19535
19536 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19537
19538 * gdb.threads/schedlock.c: Add copyright notice.
19539
19540 2004-08-25 Andrew Cagney <cagney@gnu.org>
19541
19542 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
19543 (skip_over_handler, breakpoint_over_hander): New test procedures.
19544 (advance, advancei): Add a proper prefix, do not use
19545 rerun_to_main.
19546 * gdb.base/sigstep.c (main): Change to use an infinite loop.
19547
19548 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
19549
19550 * gdb.mi/basics.c: Add copyright notice.
19551 * gdb.mi/var-cmd.c: Add copyright notice.
19552
19553 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19554
19555 * lib/gdb.exp: Remove signed_keyword_not_used.
19556 * lib/compiler.c: Likewise.
19557 * lib/compiler.cc: Likewise.
19558
19559 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19560
19561 * gdb.base/whatis.c: Remove conditional disabling of "signed".
19562 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
19563
19564 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19565
19566 * gdb.base/whatis.c: Add copyright notice.
19567
19568 2004-08-20 Mark Kettenis <kettenis@gnu.org>
19569
19570 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
19571 it to skip the breakpoints encoded in the inline assembly.
19572
19573 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19574
19575 * Makefile.in: Add gdb.fortran.
19576
19577 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19578
19579 * gdb.base/call-sc.exp (test_scalar_returns):
19580 Fix cut-and-paste glitch in "Make fun return now".
19581
19582 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19583
19584 * configure.in: Add gdb.fortran.
19585 * configure: Regenerate.
19586 * gdb.fortran/Makefile.in: New file.
19587 * lib/gdb.exp (skip_fortran_tests): New procedure.
19588
19589 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19590
19591 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
19592 reference to bug-gnu@prep.ai.mit.edu.
19593 * gdb.mi/mi-var-child.exp: Likewise.
19594 * gdb.mi/mi-var-cmd.exp: Likewise.
19595 * gdb.mi/mi-var-display.exp: Likewise.
19596 * gdb.mi/mi2-var-block.exp: Likewise.
19597 * gdb.mi/mi2-var-child.exp: Likewise.
19598 * gdb.mi/mi2-var-cmd.exp: Likewise.
19599 * gdb.mi/mi2-var-display.exp: Likewise.
19600
19601 2004-08-15 Mark Kettenis <kettenis@gnu.org>
19602
19603 * gdb.base/unload.c (main): Make local variable msg const.
19604
19605 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19606
19607 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
19608 to bug-gnu@prep.ai.mit.edu.
19609 * gdb.mi/mi-disassemble.exp: Likewise.
19610 * gdb.mi/mi-eval.exp: Likewise.
19611 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
19612 default line number.
19613 * gdb.mi/mi-return.exp: Likewise.
19614 * gdb.mi/mi-simplerun.exp: Likewise.
19615 * gdb.mi/mi-stack.exp: Likewise.
19616 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
19617 number with explicit range test.
19618 * gdb.mi/mi-watch.exp: Likewise.
19619 * gdb.mi/mi2-break.exp: Likewise.
19620 * gdb.mi/mi2-cli.exp: Likewise.
19621 * gdb.mi/mi2-disassemble.exp: Likewise.
19622 * gdb.mi/mi2-eval.exp: Likewise.
19623 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
19624 default line number.
19625 * gdb.mi/mi2-return.exp: Likewise.
19626 * gdb.mi/mi2-simplerun.exp: Likewise.
19627 * gdb.mi/mi2-stack.exp: Likewise.
19628 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
19629 number with explicit range test.
19630 * gdb.mi/mi2-watch.exp: Likewise.
19631
19632 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19633
19634 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
19635 * gdb.cp/m-static.exp: Likewise.
19636 * gdb.cp/rtti.exp: Likewise.
19637
19638 2004-08-14 Mark Kettenis <kettenis@gnu.org>
19639
19640 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
19641
19642 2004-08-14 Eli Zaretskii <eliz@gnu.org>
19643
19644 * ChangeLog: Prefix Local Variables with semi-colons and indent
19645 the reference to older ChangeLog files, to fix fontification in
19646 Emacs.
19647
19648 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19649
19650 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
19651 * gdb.mi/mi2-break.exp: Likewise.
19652
19653 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19654
19655 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
19656
19657 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19658
19659 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
19660
19661 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19662
19663 * gdb.cp/classes.exp: Remove unused declarations. Just let
19664 test names default instead of providing special names. Remove
19665 extraneous demangler test.
19666
19667 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
19668
19669 * gdb.base/unload.exp: New test for breakpoints in dynamically
19670 loaded libraries.
19671 * gdb.base/unload.c: Ditto.
19672 * gdb.base/unloadshr.c: Ditto.
19673
19674 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
19675
19676 * gdb.cp/classes.exp (test_ptype_class_objects): Call
19677 cp_test_ptype_class.
19678 (test_enums): Likewise.
19679
19680 2004-08-10 Andrew Cagney <cagney@gnu.org>
19681
19682 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19683 files.
19684
19685 2004-08-10 Andrew Cagney <cagney@gnu.org>
19686
19687 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19688 init_malloc call.
19689
19690 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
19691
19692 * ChangeLog: Add copyright notice. The notice is copied
19693 from emacs 21.3 top level ChangeLog.
19694
19695 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19696
19697 * lib/cp-support.exp: New file.
19698 * lib/cp-support.exp (cp_test_type_class): New function.
19699 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19700 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19701 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19702 cp_test_ptype_class.
19703
19704 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19705
19706 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19707 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19708 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19709 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19710 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19711 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19712 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19713 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19714 gdb.mi/mi2-watch.exp: Update copyright years.
19715
19716 2004-08-09 Mark Kettenis <kettenis@gnu.org>
19717
19718 * gdb.base/sigaltstack.exp: Provide proper anchoring.
19719
19720 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19721
19722 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19723 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19724 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19725 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19726 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19727 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19728 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19729 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19730 gdb.mi/mi-watch.exp: Update copyright years.
19731
19732 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19733
19734 PR gdb/1738
19735 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19736 from a breakpoint with a pending signal.
19737
19738 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19739
19740 PR gdb/1736
19741 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19742 * gdb.base/sigaltstack.exp (finish_test): Consume output until
19743 the prompt.
19744 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19745
19746 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19747
19748 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19749
19750 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19751
19752 PR gdb/1736
19753 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
19754 for i?86-*-linux*.
19755
19756 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19757
19758 * gdb.arch/i386-prologue.exp: Compile without debug information.
19759
19760 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
19761
19762 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19763 rather than asking gdb to search.
19764
19765 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19766
19767 * gdb.base/gcore.c: Include <string.h>.
19768
19769 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19770
19771 * gdb.base/gcore.c: Add copyright notice.
19772
19773 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19774
19775 * gdb.base/freebpcmd.c: Include <stdio.h>.
19776 * gdb.base/long_long.c: Include <string.h>.
19777 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19778 * gdb.base/siginfo.c: Include <string.h>.
19779 * gdb.base/sigstep.c: Include <string.h>.
19780
19781 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19782
19783 * gdb.base/complex.c: Include <stdlib.h>.
19784
19785 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19786
19787 * gdb.base/complex.c: Add copyright notice.
19788
19789 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19790
19791 * gdb.base/charset.c: Include <stdlib.h>.
19792
19793 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19794
19795 * gdb.base/auxv.c: Include <stdlib.h>.
19796
19797 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19798
19799 * gdb.base/auxv.c: Add copyright notice.
19800
19801 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19802
19803 * gdb.base/coremaker.c: Add copyright notice.
19804 * gdb.base/coremaker2.c: Add copyright notice.
19805
19806 2004-08-04 Andrew Cagney <cagney@gnu.org>
19807
19808 * gdb.base/store.exp: Update copyright.
19809 (check_set, up_set, check_struct, up_struct): Add a prefix to test
19810 names, do not import gdb_prompt.
19811
19812 2004-08-01 Andrew Cagney <cagney@gnu.org>
19813
19814 Fix PR testsuite/1729.
19815 * gdb.base/dump.exp: Add test name to callers of capture_value, do
19816 not use capture_value with value 4.
19817 (capture_value): Add optional test name parameter.
19818 (test_reload_saved_value, test_restore_saved_value): Use $msg as
19819 the prefix, pass to capture_value.
19820
19821 2004-08-01 Mark Kettenis <kettenis@gnu.org>
19822
19823 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19824 * gdb.arch/i386-prologue.c (standard): New prototype and function.
19825 (main): Call new function.
19826
19827 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19828
19829 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19830
19831 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19832
19833 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19834
19835 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19836
19837 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
19838 Accept more values of vtbl pointer. Remove some messages
19839 about "obsolete gcc or gdb".
19840
19841 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19842
19843 * gdb.cp/classes.exp: Accept more varieties of ptype output.
19844
19845 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19846
19847 * gdb.base/asm-source.exp: Properly convert target board
19848 debug flags from gcc format to binutils format.
19849
19850 2004-07-28 Mark Kettenis <kettenis@gnu.org>
19851
19852 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19853 gdb1718". PR backtrace/1718 partially fixed.
19854
19855 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
19856
19857 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
19858
19859 2004-07-26 Nick Clifton <nickc@redhat.com>
19860
19861 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
19862 good default value for a specific architecture is available then
19863 set it to that value. Otherwise default to the -gstabs switch.
19864 Remove the -g... switches from the asm-flags variable. Allow the
19865 target board info to override the value if it wants to. Pass the
19866 switch on the assembler command line.
19867
19868 2004-07-23 Mark Kettenis <kettenis@gnu.org>
19869
19870 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
19871 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
19872 (main): Call new function.
19873
19874 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
19875
19876 Test for PR exp/1715.
19877 * gdb.base/radix.exp: Refactor common procedures. Make all
19878 test names unique. Change XFAIL to KFAIL.
19879
19880 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
19881
19882 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
19883 * gdb.ada/gnat_ada.gin: ... to here.
19884 * configure.in: Use gnat_ada.gin.
19885 * configure: Regenerate.
19886
19887 2004-07-20 Andrew Cagney <cagney@gnu.org>
19888
19889 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
19890 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
19891 XFAILs. Clean up test messages and comments. Check backtraces.
19892 Delete re-sync code.
19893
19894 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19895
19896 Fix PR cli/740.
19897 * gdb.base/annota1.exp: Honor gdb,nosignals.
19898 * gdb.base/annota3.exp: Likewise.
19899
19900 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19901
19902 * lib/java.exp: Update copyright notice.
19903
19904 2004-07-19 Andrew Cagney <cagney@gnu.org>
19905
19906 * gdb.base/selftest.exp: Copy file from here ...
19907 * gdb.gdb/selftest.exp: ... to here.
19908
19909 2004-07-16 Andrew Cagney <cagney@redhat.com>
19910
19911 * lib/insight-support.exp: Delete file.
19912 * lib/java.exp (java_init): Fix copyright.
19913
19914 2004-07-16 Andrew Cagney <cagney@gnu.org>
19915
19916 * gdb.base/restore.c: Append "prologue" to comments marking the a
19917 function's prologue.
19918 * gdb.base/restore.exp: Update copyright, re-indent.
19919 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
19920 callerN" prefix where needed. Update patterns that match a
19921 function's prologue.
19922
19923 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
19924
19925 * gdb.base/restore.c: Add copyright notice.
19926
19927 2004-07-16 Andrew Cagney <cagney@gnu.org>
19928
19929 * gdb.base/logical.exp: Update copyright.
19930 (evaluate): New procedure. Use to re-implement tests using
19931 several tables.
19932
19933 2004-07-14 Martin Hunt <hunt@redhat.com>
19934
19935 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
19936 which fixes some problems where init.tcl was not found.
19937
19938 2004-07-13 Andrew Cagney <cagney@gnu.org>
19939
19940 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
19941 (check_sizeof, check_valueof): Do not include the output in the
19942 test name. Use gdb_test.
19943 (get_valueof): Use gdb_test_multiple.
19944
19945 * gdb.base/step-test.exp: Update copyright. Use
19946 gdb_test_multiple. Ensure that test names do not include
19947 architecture dependent output.
19948
19949 * gdb.gdb/observer.exp: Update copyright.
19950 (setup_test): Use gdb_test_multiple.
19951 (attach_first_observer, attach_second_observer)
19952 (attach_third_observer, detach_first_observer)
19953 (detach_second_observer, detach_third_observer)
19954 (reset_counters, check_counters): Make $message a prefix.
19955 (test_normal_stop_notifications): Add "args" parameter - a list of
19956 init functions to be called. Make $message a prefix,
19957 (test_observer_normal_stop): Change the message prefixes so that
19958 they are unique, pass the attach / detach procedures to
19959 test_normal_stop_notifications.
19960
19961 * gdb.base/signull.exp (test_segv): Prefix all tests with
19962 "${name}". Clean up test messages.
19963
19964 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
19965
19966 * gdb.base/ena-dis-br.exp: Update copyright.
19967 (break_at): New function. Replace send_gdb with gdb_test,
19968 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
19969 ignore count, not stopped at bpt", with KFAIL.
19970
19971 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
19972
19973 * gdb.base/attach.exp: Remove cleanupfile handling.
19974
19975 2004-07-12 Andrew Cagney <cagney@gnu.org>
19976
19977 * gdb.base/annota1.exp: Cleanup corefile test name.
19978 * gdb.base/annota3.exp: Ditto.
19979
19980 2004-07-12 Andrew Cagney <cagney@gnu.org>
19981
19982 * gdb.base/signals.exp: Clean up copyright, re-indent.
19983
19984 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
19985 gdb_test and gdb_test_multiple.
19986
19987 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
19988
19989 * gdb.java/jmain.exp: Fix expected line number for main to
19990 break at. Set XFAIL for break at main test since gcj does not
19991 provide line number info for first statement in main.
19992
19993 2004-07-08 Andrew Cagney <cagney@gnu.org>
19994
19995 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
19996
19997 * gdb.base/sigbpt.exp: Make the common part of each test name a
19998 prefix instead of suffix.
19999
20000 2004-07-07 Bob Rossi <bob_rossi@cox.net>
20001
20002 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20003 test from test_tbreak_creation_and_listing to
20004 test_file_list_exec_source_file
20005 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20006 Changed name of test from test_tbreak_creation_and_listing to
20007 test_file_list_exec_source_file
20008
20009 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20010
20011 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20012 the jmisc() constructor instead of <init>.
20013 * gdb.java/jmisc1.exp: Ditto.
20014
20015 2004-07-07 Andrew Cagney <cagney@gnu.org>
20016
20017 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20018 corrupting the PC.
20019
20020 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20021
20022 * gdb.cp/templates.exp: Accept whitespace change in demangler
20023 output.
20024
20025 2004-07-06 Andrew Cagney <cagney@gnu.org>
20026
20027 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20028
20029 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20030
20031 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20032 * lib/compiler.cc: Likewise.
20033
20034 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20035
20036 * lib/compiler.cc: Work around string preprocessing problem
20037 with old hp c++ compiler.
20038 * lib/compiler.c: Likewise.
20039
20040 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20041
20042 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20043 directives to conditionalize symbol prefixing.
20044 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20045 additional_flags handling. Add underscore prefix for Cygwin.
20046 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20047 conditionalize symbol prefixing.
20048 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20049 additional_flags handling. Add underscore prefix for Cygwin.
20050
20051 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20052
20053 * gdb.base/bigcore.exp: Skip test on Cygwin.
20054
20055 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20056
20057 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20058 formats for "info register". Use gdb_test_multiple. Fix
20059 the "invalid register" test.
20060
20061 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
20062
20063 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20064 PID for Cygwin. Add Cygwin specific strings to check for in some
20065 tests.
20066 (do_attach_tests): Add a test for user interaction when attaching
20067 to a process with no matching symbol table already loaded.
20068
20069 2004-06-26 Andrew Cagney <cagney@gnu.org>
20070
20071 Test PR java/1567 and PR java/1565.
20072 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20073 * gdb.java/jmisc2.exp: Delete file.
20074
20075 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20076
20077 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20078
20079 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
20080
20081 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20082 attach process.
20083
20084 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20085
20086 * gdb.cp/pr-1553.exp: Remove.
20087
20088 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20089
20090 * gdb.cp/pr-1553.cc: Remove.
20091 * gdb.cp/pr-1553.exp: Disable this test.
20092
20093 2004-06-20 Jim Blandy <jimb@redhat.com>
20094
20095 Fix PR testsuite/1680.
20096 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20097 regular expressions.
20098
20099 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20100
20101 Fix PR testsuite/1679.
20102 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20103 Issue an UNSUPPORTED result instead.
20104
20105 2004-06-18 Jim Blandy <jimb@redhat.com>
20106
20107 * gdb.base/charset.exp: Only send a control-C if we see a new
20108 prompt and incomplete command.
20109
20110 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20111
20112 * gdb.cp/pr-574.cc: Add copyright notice.
20113
20114 2004-06-17 Jim Blandy <jimb@redhat.com>
20115
20116 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20117 cases where the regexp has no groups; this grabs random text from
20118 the previous test suite, whatever that was.
20119
20120 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20121
20122 * gdb.cp/printmethod.cc: Add copyright notice.
20123
20124 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20125
20126 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20127
20128 2004-06-16 Andrew Cagney <cagney@gnu.org>
20129
20130 * gdb.base/signull.c: Update copyright. Include <string.h>.
20131 (bowler): Replace data_pointer with data_read
20132 and data_write cases. Add code_descriptor case.
20133 (zero, desc): New array and pointer.
20134 (data, code): Change to simple pointers.
20135 * gdb.base/signull.exp: Fix probe pattern matching a function
20136 descriptor SIGSEGV. Replace data_pointer with data_read and
20137 data_write tests.
20138
20139 2004-06-16 Andrew Cagney <cagney@gnu.org>
20140
20141 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20142
20143 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20144
20145 * gdb.base/long_long.c: Add copyright notice.
20146
20147 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20148
20149 * gdb.base/long_long.exp: Remove reference to
20150 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20151 to gdb_breakpoint and gdb_continue_to_breakpoint.
20152
20153 2004-06-14 Jim Blandy <jimb@redhat.com>
20154
20155 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20156 endian case.
20157
20158 2004-06-14 Andrew Cagney <cagney@gnu.org>
20159
20160 * gdb.base/gcore.exp (capture_command_output): Delete the always
20161 passing tests containing inferior values.
20162 * gdb.base/ending-run.exp: Do not include the breakpoint address
20163 in the test message. Update copyright.
20164 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20165 size in the test name, use gdb_test_multiple. Update copyright.
20166
20167 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20168
20169 * gdb.cp/ref-types.cc: Add copyright notice.
20170
20171 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20172
20173 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20174 hp_aCC_compiler.
20175 * lib/compiler.cc: Likewise.
20176 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20177 'set' commands. Log diagnostics for other lines. Set
20178 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20179
20180 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20181
20182 * gdb.cp/try_catch.cc: Add copyright notice.
20183
20184 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20185
20186 * gdb.cp/userdef.cc: Add copyright notice.
20187
20188 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20189
20190 * gdb.cp/virtfunc.cc: Add copyright notice.
20191
20192 2004-06-11 Randolph Chung <tausq@debian.org>
20193
20194 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20195 problem.
20196
20197 2004-06-10 Andrew Cagney <cagney@gnu.org>
20198
20199 * lib/compiler.cc, lib/compiler.c: Append either
20200 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20201 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20202 instead of gcc-3-3.
20203
20204 2004-06-09 Andrew Cagney <cagney@gnu.org>
20205
20206 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20207 gdb/1455, bug is specific to "long long" and "double".
20208
20209 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20210 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20211 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20212 fixed.
20213
20214 2004-06-09 Andrew Cagney <cagney@gnu.org>
20215
20216 * gdb.base/structs.exp (test_struct_returns): Replace
20217 "return_value_unknown" and "finish_value_unknown" by
20218 "return_value_known" and "finish_value_known". Instead of
20219 "return_value_unknown" iff "finish_value_unknown", check
20220 "return_value_known" implies "finish_value_known".
20221
20222 2004-06-08 Martin Hunt <hunt@redhat.com>
20223
20224 * gdb.base/float.exp: Add pattern for mips targets.
20225
20226 2004-06-08 Randolph Chung <tausq@debian.org>
20227
20228 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20229 message for unknown architectures more clear.
20230
20231 2004-06-08 Joel Brobecker <brobecker@gnat.com>
20232
20233 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20234 start the execution of the program.
20235
20236 2004-06-07 Jim Blandy <jimb@redhat.com>
20237
20238 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20239 * gdb.arch/i386-cpuid.h: New helper file.
20240
20241 2004-06-07 Randolph Chung <tausq@debian.org>
20242
20243 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20244 has started.
20245
20246 2004-06-04 Roland McGrath <roland@redhat.com>
20247
20248 Fix PR gdb/1647.
20249 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20250 differently to be robust to output buffering differences.
20251
20252 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20253
20254 * gdb.threads/pthreads.exp: Update copyright years.
20255 (check_control_c): Change asynchronous 'after' to synchronous.
20256
20257 2004-06-04 Roland McGrath <roland@redhat.com>
20258
20259 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20260 next gdb prompt.
20261
20262 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20263
20264 Fix PR gdb/1636.
20265 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20266 calls to synchronous.
20267
20268 2004-05-26 Jim Blandy <jimb@redhat.com>
20269
20270 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20271
20272 2004-05-24 Randolph Chung <tausq@debian.org>
20273
20274 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20275 * gdb.asm/pa.inc: New file.
20276
20277 2004-05-22 Mark Kettenis <kettenis@gnu.org>
20278
20279 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20280
20281 2004-05-21 Joel Brobecker <brobecker@gnat.com>
20282 Daniel Jacobowitz <drow@mvista.com>
20283
20284 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20285 GDB prompt.
20286
20287 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20288
20289 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
20290 setjmp/longjmp. Use sigaction instead of signal.
20291
20292 2004-05-19 J. Brobecker <brobecker@gnat.com>
20293 Michael Snyder <msnyder@redhat.com>
20294
20295 * gdb.threads/pthread_cond_wait.c: New file.
20296 * gdb.threads/pthread_cond_wait.exp: New testcase.
20297
20298 2004-05-13 Andrew Cagney <cagney@redhat.com>
20299
20300 * gdb.base/signull.exp, gdb.base/signull.c: New files.
20301 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20302
20303 2004-05-11 Andrew Cagney <cagney@redhat.com>
20304
20305 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
20306 fixed but revealed gdb/1639.
20307
20308 2004-05-10 Andrew Cagney <cagney@redhat.com>
20309
20310 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20311 func1" and "next to 2nd alarm", kernel bug avoided.
20312
20313 2004-05-10 Daniel Jacobowitz <dan@debian.org>
20314
20315 PR external/1568
20316 * gdb.base/bigcore.exp: Check the size of the dumped core file.
20317 XFAIL if it is smaller than bytes_allocated.
20318 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20319 (main): Make chunks_allocated unsigned. Correct comment.
20320
20321 2004-05-07 Joel Brobecker <brobecker@gnat.com>
20322
20323 * gdb.arch/powerpc-aix-prologue.c: New file.
20324 * gdb.arch/powerpc-aix-prologue.exp: New file.
20325
20326 2004-05-07 Jim Blandy <jimb@redhat.com>
20327
20328 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20329 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20330
20331 2004-05-06 Joel Brobecker <brobecker@gnat.com>
20332
20333 * gdb.base/sep.exp: No longer setup_kfail when the program was
20334 built with dwarf2.
20335
20336 2004-05-05 Jim Ingham <jingham@apple.com>
20337
20338 * gdb.base/pending.exp: Make sure pending breakpoints
20339 preserve the ignore count.
20340
20341 2004-04-27 Jerome Guitton <guitton@gnat.com>
20342
20343 * i386-prologue.exp: Add testcase for jump instruction as first
20344 instruction of the real code.
20345 * i386-prologue.c (jump_at_beginning): New function.
20346
20347 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20348
20349 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20350 x86_64-*-*.
20351
20352 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20353
20354 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20355 i*86-*-*.
20356
20357 2004-04-25 Mark Kettenis <kettenis@gnu.org>
20358
20359 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20360 expression that checks the return type.
20361
20362 2004-04-23 Andrew Cagney <cagney@redhat.com>
20363
20364 * gdb.base/call-sc.exp: New test of scalar call/return values.
20365 * gdb.base/call-sc.c: Ditto.
20366
20367 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20368
20369 * gdb.threads/manythreads.c: Reduce thread stack size.
20370
20371 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
20372
20373 * gdb.threads/manythreads.c: Add copyright notice.
20374
20375 2004-04-23 Andrew Cagney <cagney@redhat.com>
20376
20377 * gdb.base/siginfo.exp: Better handle step out of signal.
20378 * gdb.base/sigstep.exp: Ditto.
20379
20380 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
20381 Daniel Jacobowitz <drow@mvista.com>
20382
20383 * gdb.threads/manythreads.c: New testcase.
20384 * gdb.threads/manythreads.exp: Ditto.
20385
20386 2004-04-22 Jim Blandy <jimb@redhat.com>
20387
20388 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20389 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20390
20391 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
20392
20393 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20394
20395 2004-04-21 Andrew Cagney <cagney@redhat.com>
20396
20397 * gdb.base/sigstep.c: New file.
20398 * gdb.base/sigstep.exp: New file.
20399
20400 2004-04-16 Joel Brobecker <brobecker@gnat.com>
20401
20402 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20403 call to observer_notify_normal_stop.
20404
20405 2004-04-15 Andrew Cagney <cagney@redhat.com>
20406
20407 * gdb.base/siginfo.c: New file.
20408 * gdb.base/siginfo.exp: New file.
20409
20410 2004-04-12 J. Brobecker <brobecker@gnat.com>
20411
20412 * gdb.base/sep.exp: Fix typo in comment.
20413
20414 2004-04-12 J. Brobecker <brobecker@gnat.com>
20415
20416 * gdb.base/sep.c: New file.
20417 * gdb.base/sep-proc.c: New file.
20418 * gdb.base/sep.exp: New testcase.
20419
20420 2004-04-09 Mark Kettenis <kettenis@gnu.org>
20421
20422 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20423 support.
20424
20425 2004-04-05 Andrew Cagney <cagney@redhat.com>
20426
20427 * gdb.base/sigaltstack.c: New file.
20428 * gdb.base/sigaltstack.exp: New file.
20429
20430 2004-04-04 Joel Brobecker <brobecker@gnat.com>
20431
20432 * gdb.base/foll-fork.exp: Update the expected output for
20433 "help set follow-fork-mode", to match a change that was made
20434 to the help of this variable on 2004-01-13.
20435
20436 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20437
20438 * lib/ada.exp: Add copyright notice.
20439 * bar.ads: Likewise.
20440 * bar.adb: Likewise.
20441 * null_record.adb: Likewise.
20442 * null_record.exp: Likewise.
20443 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20444
20445 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20446
20447 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20448 * configure: Regenerate.
20449
20450 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20451
20452 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20453 to build the application. Remove the message printed when in
20454 verbose mode, redundant with the UNSUPPORTED message above.
20455
20456 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20457
20458 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
20459 * gdb.ada (null_record.exp): New testcase.
20460
20461 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20462
20463 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20464
20465 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20466
20467 * gdb.ada: New subdirectory.
20468 * gdb.ada/Makefile.in: New file.
20469 * gdb.ada/gnat_ada.gpr.in: New file.
20470
20471 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20472
20473 * lib/ada.exp: New file.
20474
20475 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
20476
20477 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
20478 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
20479
20480 2004-03-22 Andrew Cagney <cagney@redhat.com>
20481
20482 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
20483 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20484 Problem identified by Ulrich Weigand.
20485
20486 2004-03-17 David Carlton <carlton@kealia.com>
20487
20488 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
20489 PR c++/826.
20490
20491 2004-03-16 Roland McGrath <roland@redhat.com>
20492
20493 * gdb.base/auxv.exp: New file.
20494 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
20495
20496 2004-03-12 David Carlton <carlton@kealia.com>
20497
20498 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
20499 * gdb.cp/pr-1553.cc: Ditto.
20500 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
20501 pass branch.
20502
20503 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
20504
20505 * gdb.cp/templates.exp: Accept more template types.
20506
20507 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20508
20509 From Corinna Vinschen with modifications.
20510 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
20511 local variable obj_with_enum.
20512 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
20513 results with obj_with_enum.
20514
20515 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20516
20517 * gdb.cp/classes.cc: New file, copied from misc.cc.
20518 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
20519
20520 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20521
20522 * gdb.cp/misc.cc: Add copyright notice.
20523
20524 2004-03-05 David Carlton <carlton@kealia.com>
20525
20526 * gdb.cp/rtti.exp: Add 'print *obj3' test.
20527 * gdb.cp/rtti.h: Update copyright.
20528 (namespace n2::n3): New.
20529 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
20530 (n2::n3::func3): New.
20531 (main): Call n2::n3::func3.
20532 * gdb.cp/rtti2.cc: Update copyright.
20533 (n2::create3): New.
20534
20535 2004-03-04 Mark Kettenis <kettenis@gnu.org>
20536
20537 * gdb.asm/openbsd.inc: Fix typo.
20538
20539 2004-03-03 Fred Fish <fnf@redhat.com>
20540
20541 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
20542 "val" instead of unused "size". Update copyright year.
20543
20544 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
20545
20546 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
20547 to use unsigned char.
20548 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
20549 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
20550
20551 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
20552
20553 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
20554 line of output.
20555
20556 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
20557
20558 * gdb.base/relocate.c (dummy): Initialize.
20559
20560 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
20561
20562 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
20563 a breakpoint at exit.
20564
20565 2004-02-27 Fred Fish <fnf@redhat.com>
20566
20567 * gdb.base/chng-syms.exp: Add expect condition to match failing
20568 case that isn't a timeout.
20569
20570 2004-02-27 Andrew Cagney <cagney@redhat.com>
20571
20572 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
20573 support.
20574
20575 2004-02-26 Fred Fish <fnf@redhat.com>
20576
20577 * gdb.arch/gdb1431.c: Remove.
20578 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
20579 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
20580 of "until" incorrectly.
20581
20582 2004-02-26 J. Brobecker <brobecker@gnat.com>
20583
20584 * gdb.cp/class2.cc (empty): New class.
20585 (refer): New function.
20586 (main): Declare an object of type empty and use it.
20587 * gdb.cp/class2.exp: Print the value of an object of type empty.
20588
20589 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
20590
20591 * gdb.base/langs.exp: Update query string to match the
20592 new nquery format used for pending breakpoints.
20593
20594 2004-02-26 Andrew Cagney <cagney@redhat.com>
20595
20596 Fix PR i18n/1570.
20597 * gdb.base/charset.c: Update copyright notice.
20598 (main, init_string): Remove the escape character '\e' tests.
20599 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
20600 * gdb.base/charset.exp (valid_host_charset): Ditto.
20601 * gdb.base/setvar.exp: Ditto.
20602
20603 2004-02-24 Andrew Cagney <cagney@redhat.com>
20604
20605 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
20606 mmapped data in core file" PASS and FAIL messages consistent.
20607
20608 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
20609 setting a breakpoint. Work around PR java/1565.
20610
20611 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
20612
20613 * lib/gdb.exp (gdb_breakpoint): Update query string to match
20614 new nquery format.
20615 * gdb.base/pending.exp: Ditto.
20616
20617 2004-02-22 Mark Kettenis <kettenis@gnu.org>
20618
20619 * configure.in: Run stabs tests on *BSD.
20620 * configure: Regenerated.
20621
20622 2004-02-21 Mark Kettenis <kettenis@gnu.org>
20623
20624 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
20625
20626 2004-02-20 Fred Fish <fnf@redhat.com>
20627
20628 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
20629 blank in test for "returns short", for consistency with other
20630 "returns xxx" tests. Update copyright year.
20631
20632 2004-02-19 Fred Fish <fnf@redhat.com>
20633
20634 New testcase for PR breakpoint/1558.
20635 * gdb.arch/gdb1558.exp: New file.
20636 * gdb.arch/gdb1558.c: New file.
20637
20638 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
20639
20640 * gdb.base/nodebug.exp: Fix typo.
20641
20642 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20643
20644 Committed by Jim Blandy <jimb@redhat.com>.
20645
20646 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
20647
20648 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
20649
20650 * gdb.base/float.exp: Support s390*-*-* targets.
20651
20652 2004-02-17 Adam Fedor <fedor@gnu.org>
20653
20654 * gdb.base/gdb1555.exp: New file.
20655 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
20656
20657 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
20658
20659 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
20660
20661 2004-02-16 Fred Fish <fnf@redhat.com>
20662
20663 * gdb.arch/gdb1291.c: Remove
20664 * gdb.arch/gdb1291.s: New test input file.
20665 * gdb.arch/gdb1291.exp: Expand test to check case that should not
20666 fail. Test for correct result, known incorrect result, other
20667 failures and timeouts.
20668
20669 2004-02-16 Andrew Cagney <cagney@redhat.com>
20670
20671 * gdb.base/bigcore.exp: New file.
20672 * gdb.base/bigcore.c: New file.
20673
20674 2004-02-13 Andrew Cagney <cagney@redhat.com>
20675
20676 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
20677 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
20678 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
20679 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
20680 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
20681 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
20682 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
20683 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
20684 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
20685 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20686
20687 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
20688
20689 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20690 executed is an alloc instruction.
20691
20692 2004-02-11 David Carlton <carlton@kealia.com>
20693
20694 * gdb.cp/breakpoint.exp: New.
20695 * gdb.cp/breakpoint.cc: New.
20696
20697 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
20698
20699 Partial fix for PR gdb/1543.
20700 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20701 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20702 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20703 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20704 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20705 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20706 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20707 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20708 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20709 to bug-gdb@prep.ai.mit.edu .
20710 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20711 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20712 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20713 Likewise.
20714
20715 2004-02-10 Andrew Cagney <cagney@redhat.com>
20716
20717 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20718 using gdb_internal_error_resync.
20719
20720 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
20721
20722 * gdb.threads/thread-specific.exp: Stop early if no threads are
20723 found.
20724
20725 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
20726
20727 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20728
20729 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
20730
20731 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20732 breakpoints.
20733
20734 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
20735
20736 * config/sim.exp (gdb_load): Handle $arg == "".
20737 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20738 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20739
20740 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
20741
20742 * gdb.base/maint.exp: Update test to reflect
20743 obstack changes.
20744
20745 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
20746
20747 * gdb.base/pendshr.c (pendfunc): New function that calls
20748 pendfunc1.
20749 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20750
20751 2004-02-04 Fred Fish <fnf@redhat.com>
20752
20753 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20754 function symbols and update copyright years.
20755 * gdb.arch/gdb1291.c: Ditto.
20756
20757 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20758
20759 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20760
20761 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20762
20763 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20764
20765 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20766
20767 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20768
20769 2004-02-02 Fred Fish <fnf@redhat.com>
20770
20771 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20772 remote targets. Update copyright years.
20773
20774 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
20775
20776 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20777 support.
20778 * gdb.base/langs.exp: Fix test which attempts to create
20779 breakpoint on non-existent function to handle new pending
20780 support.
20781 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20782 a breakpoint.
20783 * gdb.base/pending.exp: New test.
20784 * gdb.base/pending.c: New file.
20785 * gdb.base/pendshr.c: Ditto.
20786
20787 2004-02-02 David Carlton <carlton@kealia.com>
20788
20789 * gdb.cp/overload.exp: Add overloadNamespace tests.
20790 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20791 (overloadNamespace, XXX): New.
20792 (main): Call XXX::marker2.
20793
20794 2004-02-01 Fred Fish <fnf@redhat.com>
20795
20796 * gdb.base/dump.exp: Use runto_main instead of "runto main".
20797 * gdb.base/finish.exp: Ditto.
20798 * gdb.base/gcore.exp: Ditto.
20799 * gdb.base/huge.exp: Ditto.
20800 * gdb.base/info-proc.exp: Ditto.
20801 * gdb.base/return2.exp: Ditto.
20802 * gdb.threads/gcore-thread.exp: Ditto.
20803
20804 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20805
20806 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20807
20808 2004-02-01 Mark Kettenis <kettenis@gnu.org>
20809
20810 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20811 that opening the file succeeds on OpenBSD.
20812
20813 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20814
20815 * gdb.threads/thread-specific.c: New file.
20816 * gdb.threads/threads-specific.exp: New test script.
20817 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20818 to expect_out.
20819
20820 2004-02-01 Mark Kettenis <kettenis@gnu.org>
20821
20822 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
20823 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20824 only on the "print_small_structs from print_long_arg_list" test.
20825
20826 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20827
20828 * gdb.base/completion.exp: Kill a stray backslash.
20829
20830 From Jim Ingham <jingham@apple.com>:
20831 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20832 agrees with the result from sending a tab.
20833
20834 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
20835
20836 * gdb.base/chng-syms.exp: Remove stray newline.
20837
20838 2004-01-31 Mark Kettenis <kettenis@gnu.org>
20839
20840 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20841 *-*-openbsd*.
20842 * gdb.asm/openbsd.inc: New file.
20843
20844 2004-01-30 Mark Kettenis <kettenis@gnu.org>
20845
20846 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
20847 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
20848 *-*solaris2*. Remove commented out default settings for
20849 asm-flags. Replace gdb_compile with target_link.
20850
20851 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
20852
20853 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
20854 for all tests. Remove old hp-ux and cygnus xfail cases.
20855
20856 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
20857
20858 * gdb.base/chng-syms.exp: New file.
20859 * gdb.base/chng-syms.c: New file.
20860
20861 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20862
20863 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
20864 Provide arms for current output in all my configurations.
20865
20866 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20867
20868 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
20869 * lib/compiler.cc: Likewise.
20870 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
20871 get the right preprocessor. Eval the output directly. Remove
20872 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
20873 hp_f77_compiler and hp_f90_compiler completely.
20874 (gdb_preprocess): Delete.
20875 (get_compiler): Delete.
20876
20877 2004-01-24 Mark Kettenis <kettenis@gnu.org>
20878
20879 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
20880 <string.h>.
20881
20882 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
20883
20884 * gdb.mi/mi-stack.exp: Update copyright.
20885
20886 2004-01-23 David Carlton <carlton@kealia.com>
20887
20888 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
20889 test for cp_lookup_transparent_type.
20890 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
20891 call them.
20892
20893 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
20894
20895 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
20896 after -var-update.
20897
20898 2004-01-23 David Carlton <carlton@kealia.com>
20899
20900 * gdb.cp/namespace.cc (C::ensureRefs): New.
20901 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
20902
20903 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
20904
20905 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
20906 case "-stack-list-locals 2".
20907 * gdb.mi/mi-var-child.exp: Test for case
20908 "-var-list-children --all-values NAME".
20909
20910 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
20911
20912 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
20913
20914 2004-01-18 Mark Kettenis <kettenis@gnu.org>
20915
20916 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
20917 used with gdb_test_multiple.
20918
20919 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
20920 read at address 0. This fixes PR testsuite/1504.
20921
20922 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
20923
20924 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
20925 Remove downloading, guessing the host executable, the calls to
20926 gdb_file_cmd and gdb_target_cmd, and "load" support.
20927 (infer_host_exec): New function broken out from gdb_load.
20928 (gdb_load): New wrapper for gdbserver_gdb_load.
20929 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
20930 gdb_target_cmd. Use -target-select.
20931 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
20932 Download binaries to the host. Clear last_mi_remote_file when
20933 we load a new binary.
20934 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
20935 call gdbserver_gdb_load and mi_gdb_target_cmd.
20936
20937 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
20938
20939 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
20940 type patterns.
20941
20942 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
20943
20944 * gdb.cp/templates.exp: Fix typo in test name of
20945 "print Foo<volatile char*>::foo".
20946
20947 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
20948
20949 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
20950
20951 2004-01-16 Ben Elliston <bje@wasabisystems.com>
20952
20953 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
20954 (clean mostlyclean): Remove empty rm.
20955
20956 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
20957
20958 * gdb.base/setvar.exp: Add copyright years.
20959
20960 2004-01-14 David Carlton <carlton@bactrian.org>
20961
20962 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
20963 PR c++/1511 and update coment.
20964 * gdb.cp/templates.exp: Update patterns to match current output.
20965 If changes involve something other than whitespace, KFAIL
20966 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
20967
20968 2004-01-14 David Carlton <carlton@kealia.com>
20969
20970 * gdb.cp/namespace.exp: Add tests involving classes defined within
20971 namespaces.
20972 * gdb.cp/namespace.cc (C::CClass): New.
20973 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
20974
20975 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
20976
20977 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
20978 what debug info we have. Print a better message if something goes
20979 wrong while producing the separate debug info file.
20980
20981 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
20982
20983 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
20984
20985 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
20986
20987 * gdb.base/callfuncs.c: Add copyright notice.
20988
20989 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
20990
20991 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
20992 inheritance. PR gdb/1498, PR gcc/13539.
20993
20994 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
20995
20996 * gdb.threads/gcore-thread.exp: Prefix name of binary with
20997 test specific name.
20998 * gdb.mi/gdb669.exp: Ditto.
20999 * gdb.mi/mi-pthreads.exp: Ditto.
21000 * gdb.mi/mi1-pthreads.exp: Ditto.
21001 * gdb.mi/mi2-pthreads.exp: Ditto.
21002
21003 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21004
21005 * gdb.cp/member-ptr.cc: Add copyright notice.
21006
21007 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21008
21009 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21010 some patterns for recent versions of gcc and hpacc. Delete
21011 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21012 Delete tests that access a NULL pointer-to-member-data. This
21013 script is still disabled for gcc.
21014
21015 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21016
21017 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
21018 escaped correctly.
21019
21020 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21021
21022 * gdb.base/sepdebug.exp: New file.
21023 * gdb.base/sepdebug.c: New file.
21024 * lib/gdb.exp (separate_debug_filename): New procedure.
21025 (gdb_gnu_strip_debug): New procedure.
21026
21027 2004-01-12 Andrew Cagney <cagney@redhat.com>
21028
21029 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21030 * gdb.mi/ChangeLog-1999-2003: New file.
21031
21032 2004-01-12 Andrew Cagney <cagney@redhat.com>
21033
21034 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21035 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21036 or EEXIST", treat EBUSY as an XFAIL.
21037
21038 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21039
21040 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21041 hp_cc_compiler.
21042
21043 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21044
21045 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21046 decorations.
21047
21048 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21049
21050 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21051 and "(aCC)" decorations. Remove obsolete doco about old
21052 test results.
21053
21054 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21055
21056 * gdb.cp/exception.exp: Fix typo in doco.
21057
21058 2004-01-09 Mark Kettenis <kettenis@gnu.org>
21059
21060 * gdb.base/gdb1476.exp: Fix typo.
21061
21062 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21063
21064 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21065 file.
21066
21067 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21068
21069 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21070 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21071 Use gdb_compile. Remove restriction on gcc. Add some patterns
21072 for recent version of gdb. Delete second half, which was a copy
21073 of the first half with different build flags. This test is
21074 still disabled because it is still not ready for production.
21075
21076 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21077
21078 * gdb.cp/exception.cc: Add copyright notice.
21079 * gdb.cp/exception.exp: Add a notice that this file is broken
21080 because of line number changes caused by addition of copyright
21081 notice.
21082
21083 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21084
21085 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21086 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21087
21088 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21089
21090 * gdb.cp/classes.exp: Accept gnu abi 2.
21091 * gdb.cp/derivation.exp: Likewise.
21092 * gdb.cp/overload.exp: Likewise.
21093 * gdb.cp/virtfunc.exp: Likewise.
21094
21095 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21096
21097 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21098 semicolon after end of function.
21099
21100 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21101
21102 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21103 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21104 boilerplate code for compiling and running the program under
21105 test. Add some string method tests.
21106
21107 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21108
21109 * gdb.cp/bs15503.cc: Add copyright notice.
21110 * gdb.cp/bs15503.exp: Adjust line number.
21111
21112 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21113
21114 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21115 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21116
21117 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21118
21119 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21120 hp_cc_compiler.
21121
21122 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21123
21124 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21125 * gdb.cp/ctti.exp: Use the marker instead of "next".
21126 With gcc, run further before bailing.
21127
21128 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21129
21130 * gdb.cp/cttiadd.cc: Add copyright notice.
21131 * gdb.cp/cttiadd1.cc: Likewise.
21132 * gdb.cp/cttiadd2.cc: Likewise.
21133 * gdb.cp/cttiadd3.cc: Likewise.
21134
21135 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21136
21137 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21138 Use gdb_test, gdb_test_multiple. Use floating-point values that
21139 have exact representations in IEEE-ish formats.
21140
21141 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21142
21143 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21144 compilers. Delete duplicate call to get_compiler_info.
21145 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21146 * gdb.base/volatile.exp: Likewise.
21147
21148 2004-01-07 Mark Kettenis <kettenis@gnu.org>
21149
21150 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21151 memory at address 0.
21152
21153 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21154
21155 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21156 to test for hp-ux assembler. Fix copyright years.
21157
21158 2004-01-07 Andrew Cagney <cagney@redhat.com>
21159
21160 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21161
21162 2004-01-07 Andrew Cagney <cagney@redhat.com>
21163
21164 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21165 when creating the read-only file. From analysis by Roland McGrath
21166 and Elena Zannoni.
21167
21168 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21169
21170 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21171
21172 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21173
21174 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21175 data pointers.
21176
21177 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21178
21179 * gdb.cp/m-static.exp: Compile one source file at a time.
21180 Delete unused call to get_compiler_info.
21181
21182 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21183
21184 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21185 * gdb.base/call-rt-st.exp: Likewise.
21186 * gdb.base/nodebug.exp: Likewise.
21187 * gdb.base/volatile.exp: Likewise.
21188 * gdb.cp/ref-types.exp: Likewise.
21189 * gdb.cp/templates.exp: Likewise.
21190
21191 2004-01-05 Mark Kettenis <kettenis@gnu.org>
21192
21193 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21194
21195 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21196
21197 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21198 hppa*-hp-hpux*.
21199
21200 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21201
21202 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21203 x86_64-*-*.
21204
21205 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21206 sparc64-*-* and sparc*-solaris2*.
21207
21208 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21209
21210 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21211 return ${tests}" test. The ${tests} already mentions the
21212 filename.
21213
21214 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21215
21216 * gdb.cp/local.exp: Accept gcc abi 2.
21217
21218 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21219
21220 * gdb.cp/templates.exp: Accept gcc abi 2.
21221
21222 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21223
21224 * lib/compiler.cc: Remove supports_template_debugging.
21225 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21226
21227 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21228
21229 * gdb.cp/namespace.exp: Accept gcc abi 2.
21230
21231 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21232
21233 * gdb.cp/method.exp: Accept gcc abi 2.
21234
21235 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21236
21237 * gdb.cp/classes.exp: Generate identical results as old version.
21238 * gdb.cp/derivation.exp: Likewise.
21239 * gdb.cp/overload.exp: Likewise.
21240 * gdb.cp/virtfunc.exp: Likewise.
21241
21242 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21243
21244 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21245 mysterious bug with sourceware version of expect.
21246
21247 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21248
21249 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21250 current versions of gcc, including gcc abi 2. Remove gratuitous
21251 restart of test program. Use gdb_test_multiple and gdb_test for
21252 all tests. Add patterns to xfail missing "const" in "const char *"
21253 and kfail PR gdb/1155.
21254
21255 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21256
21257 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21258 current versions of gcc, including gcc abi 2. Remove gratuitous
21259 restart of test program. Use gdb_test_multiple and gdb_test for
21260 all tests. Add patterns to kfail PR gdb/1498.
21261
21262 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21263
21264 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21265 current versions of gcc, including gcc abi 2. Use "breakpoint"
21266 and "continue" instead of restarting the target program. Use
21267 gdb_test_multiple and gdb_test for all tests.
21268
21269 2004-01-01 Mark Kettenis <kettenis@gnu.org>
21270
21271 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21272 for *-*-solaris2*.
21273
21274 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21275
21276 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21277 current versions of gcc, including gcc abi 2. Use "breakpoint"
21278 and "continue" instead of restarting the target program several
21279 times. Use gdb_test_multiple and gdb_test for all tests.
21280
21281 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21282
21283 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21284 source files.
21285
21286 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21287
21288 * gdb.base/environ.exp: Handle compiling test case from multiple
21289 source files.
21290
21291 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21292
21293 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21294
21295 2003-12-17 Jim Blandy <jimb@redhat.com>
21296
21297 * gdb.base/freebpcmd.c: Add copyright notice.
21298
21299 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21300
21301 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21302
21303 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21304
21305 2003-12-13 Jim Blandy <jimb@redhat.com>
21306
21307 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21308
21309 2003-12-12 Kevin Buettner <kevinb@redhat.com>
21310
21311 * gdb.asm/frv.inc: New file.
21312 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21313
21314 2003-12-09 Fred Fish <fnf@redhat.com>
21315
21316 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21317 functions to break1.c and leave prototypes behind. Add more
21318 "set breakpoint NN here" comments.
21319 * gdb.base/break1.c: New file.
21320
21321 * gdb.base/break.exp: Handle compiling test case from multiple
21322 source files and change source file references as needed.
21323 * gdb.base/completion.exp: Ditto.
21324 * gdb.base/condbreak.exp: Ditto.
21325 * gdb.base/define.exp: Ditto.
21326 * gdb.base/ena-dis-br.exp: Ditto.
21327 * gdb.base/info-proc.exp: Ditto.
21328 * gdb.base/maint.exp: Ditto.
21329 * gdb.base/until.exp: Ditto.
21330
21331 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21332 hardcoded line numbers.
21333 * gdb.base/define.exp: Ditto.
21334 * gdb.base/ena-dis-br.exp: Ditto.
21335 * gdb.base/maint.exp: Ditto.
21336 * gdb.base/until.exp: Ditto.
21337
21338 * gdb.base/completion.exp: Use "break1" for completion tests since
21339 "break" is no longer a unique prefix.
21340
21341 2003-12-06 Andrew Cagney <cagney@redhat.com>
21342
21343 * gdb.base/structs.exp (test_struct_returns): When applicable, set
21344 "return_value_unimplemented". When an unimplemented struct return
21345 architecture, report incorrect values as a KFAIL
21346
21347 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21348
21349 * gdb.cp/rtti.exp: Accept new wording of warning from
21350 cp_lookup_rtti_type.
21351
21352 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21353
21354 Partial fix for PR testsuite/1456.
21355 * gdb.base/scope.exp (test_at_main): Replace references to
21356 gcc_compiled with calls to test_compiler_info.
21357 (test_at_foo): Likewise.
21358 (test_at_bar): Likewise.
21359
21360 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
21361
21362 Partial fix for PR testsuite/1456.
21363 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21364 to test_compiler_info.
21365
21366 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
21367
21368 * gdb.base/so-impl-ld.exp: Update copyright notice.
21369
21370 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
21371
21372 Partial fix for PR testsuite/1456.
21373 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21374 to test_compiler_info.
21375
21376 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21377
21378 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21379 from current versions of gdb. Clean up regular expressions.
21380 Delete redundant timeout case.
21381
21382 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21383
21384 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21385 from current versions of gdb. Clean up regular expressions.
21386 Delete redundant timeout case.
21387
21388 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
21389
21390 Partial fix for PR testsuite/1456.
21391 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21392 gcc_compiled with call to test_compiler_info.
21393
21394 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
21395
21396 Partial fix for PR testsuite/1456.
21397 * gdb.base/list.exp (test_list_function): Delete unused declaration
21398 of gcc_compiled.
21399
21400 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
21401
21402 Partial fix for PR testsuite/1456.
21403 * gdb.base/complex.exp: Replace reference to gcc_compiled with
21404 call to test_compiler_info.
21405
21406 2003-11-29 Mark Kettenis <kettenis@gnu.org>
21407
21408 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
21409 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
21410 it to create the appropriate note.inc.
21411 * gdb.asm/asmsrc1.s: Include "note.inc".
21412 * gdb.asm/netbsd.inc: New file.
21413 * gdb.asm/empty.inc: New file.
21414
21415 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21416
21417 Partial fix for PR testsuite/1456.
21418 * gdb.base/constvars.exp: Replace references to gcc_compiled with
21419 calls to test_compiler_info.
21420
21421 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
21422
21423 Partial fix for PR testsuite/1456.
21424 * gdb.base/volatile.exp: Replace references to gcc_compiled with
21425 calls to test_compiler_info.
21426
21427 2003-11-27 Mark Kettenis <kettenis@gnu.org>
21428
21429 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21430 pattern for the KFAILs.
21431
21432 2003-11-25 Adam Fedor <fedor@gnu.org>
21433
21434 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21435 * gdb.objc/objcdecode.m: New file.
21436
21437 2003-11-25 Adam Fedor <fedor@gnu.org>
21438
21439 * gdb.objc/nondebug.exp: Test for PR objc/1236.
21440 * gdb.objc/nondebug.m: New file.
21441
21442 2003-11-26 Ben Elliston <bje@wasabisystems.com>
21443
21444 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21445 NetBSD as it does on FreeBSD. Modelled on a similar change by
21446 Mark Kettenis on 2003-05-30.
21447 (link-flags): Set to "--entry _start" regardless of target.
21448 Special linker flags are to be appended to $link-flags.
21449 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21450
21451 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21452
21453 * gdb.cp/method.exp: Accept output of new demangler.
21454
21455 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21456
21457 * gdb/class2.exp: New file.
21458 * gdb/class2.cc: New file.
21459
21460 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21461
21462 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
21463 of new demangler.
21464
21465 2003-11-23 Mark Kettenis <kettenis@gnu.org>
21466
21467 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
21468 of gdb_test "run".
21469
21470 2003-11-23 Mark Kettenis <kettenis@gnu.org>
21471
21472 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
21473 "continue" into "run".
21474
21475 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21476
21477 Partial fix for PR testsuite/1456.
21478 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
21479 call to test_compiler_info.
21480 * gdb.cp/ctti.exp: Likewise.
21481 * gdb.cp/derivation.exp: Likewise.
21482 * gdb.cp/member-ptr.exp: Likewise.
21483 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
21484 reference to gcc_compiled.
21485
21486 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21487
21488 Fix PR testsuite/1463.
21489 * gdb.base/structs.exp (start_structs_test): Call
21490 get_debug_format before using the debug format.
21491
21492 2003-11-22 Andrew Cagney <cagney@redhat.com>
21493
21494 * lib/gdb.exp (gdb_test_multiple): Add simple example.
21495 * gdb.base/structs.exp: Use gdb_test_multiple.
21496
21497 2003-11-20 Andrew Cagney <cagney@redhat.com>
21498
21499 * gdb.base/structs.exp: Handle and recover from internal errors.
21500 Replace "foo${n}" with "foo<n>" in test messages.
21501
21502 * gdb.base/structs.exp: Update copyright. Rewrite.
21503 * gdb.base/structs.c: Update copyright. Rewrite.
21504
21505 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
21506 resync count exceeded.
21507
21508 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
21509 from the internal error.
21510 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
21511 Original from Jim Blandy.
21512 (gdb_test_multiple): Use gdb_internal_error_resync.
21513
21514 2003-11-19 Andrew Cagney <cagney@redhat.com>
21515
21516 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
21517 KFAIL.
21518
21519 2003-11-17 Mark Kettenis <kettenis@gnu.org>
21520
21521 New testcase for PR backtrace/1435.
21522 * gdb.arch/i386-unwind.exp: New file.
21523 * gdb.arch/i386-unwind.c: New file.
21524
21525 2003-11-17 Andrew Cagney <cagney@redhat.com>
21526
21527 * lib/gdb.exp (compiler_info): New global.
21528 (test_compiler_info): New function.
21529 (get_compiler_info): Set compiler_info.
21530 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
21531 "compiler_info" to gcc-<major>-<minor>.
21532
21533 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
21534
21535 * gdb.trace/configure: Remove.
21536
21537 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
21538
21539 * gdb.base/break.c: Add comments to aid finding line numbers for
21540 breakpoints.
21541 * gdb.base/break.exp: Remove all references to explicit line
21542 numbers.
21543
21544 2003-11-11 Nick Clifton <nickc@redhat.com>
21545
21546 * gdb.base/shreloc.exp: Do not run for targets which do not
21547 support shared objects.
21548
21549 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
21550
21551 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
21552 Don't run tests if nofileio flag is given.
21553
21554 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
21555
21556 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
21557 as well as 'Watchpoint'.
21558
21559 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
21560
21561 Reported by Jim Ingham <jingham@apple.com>:
21562 * gdb.base/annota1.exp: Match at least one occurrence of the
21563 signal handler annotation.
21564
21565 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
21566
21567 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
21568 as well as 'Watchpoint'.
21569
21570 2003-11-05 Michael Chastain <mec@shout.net>
21571
21572 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
21573
21574 2003-11-03 Kris Warkentin <kewarken@qnx.com>
21575
21576 * gdb.arch/gdb1291.c: New test file.
21577 * gdb.arch/gdb1291.exp: New test script.
21578 * gdb.arch/gdb1431.c: New test file.
21579 * gdb.arch/gdb1431.exp: New test script.
21580
21581 2003-10-22 Michael Chastain <mec@shout.net>
21582
21583 * gdb.mi/pthreads.c: Add copyright notice.
21584
21585 2003-10-22 Michael Chastain <mec@shout.net>
21586
21587 * gdb.threads/pthreads.c: Add copyright notice.
21588
21589 2003-10-20 Michael Chastain <mec@shout.net>
21590
21591 * gdb.base/gdb1056.exp: New test script.
21592
21593 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
21594
21595 * gdb.threads/killed.exp: Use gdb_run_cmd.
21596
21597 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
21598
21599 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
21600 create a core file.
21601 * gdb.threads/gcore-thread.exp: Likewise.
21602
21603 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
21604
21605 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
21606 type, based on char type.
21607 (struct bit_flags_short_t): New bitfield type, based on short type.
21608 (init_bit_flags_char): New fuction.
21609 (init_bit_flags_short): Ditto.
21610 (print_bit_flags_char): Ditto.
21611 (print_bit_flags_short): Ditto.
21612 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
21613
21614 2003-10-11 Michael Chastain <mec@shout.net>
21615
21616 * gdb.base/call-rt-st.exp: Update copyright year.
21617
21618 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
21619
21620 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
21621 * gdb.disasm/sh3.s: Ditto.
21622
21623 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
21624
21625 * gdb.threads/switch-threads.exp: New test.
21626 * gdb.threads/switch-threads.c: New source file.
21627
21628 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
21629
21630 * gdb.base/ending-run.exp: Add sh specific case.
21631
21632 2003-10-06 Andrew Cagney <cagney@redhat.com>
21633
21634 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
21635 * gdb.disasm/mn10200.exp: Delete obsolete file.
21636
21637 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
21638
21639 * ChangeLog: Correct an entry command.exp -> commands.exp.
21640 * gdb.base/commands.exp (bp_deleted_in_command_test)
21641 (temporary_breakpoint_commands): Check noargs.
21642
21643 2003-09-25 David Carlton <carlton@kealia.com>
21644
21645 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
21646 of some print tests, where appropriate. Add tests for C::D::cd,
21647 E::ce, F::cXfX, G::XgX.
21648 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
21649
21650 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
21651
21652 * lib/java.exp (java_init): Import target_alias before using it.
21653
21654 2003-09-25 David Carlton <carlton@kealia.com>
21655
21656 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
21657
21658 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
21659
21660 * gdb.base/selftest.exp: Accomodate more instruction reordering
21661 weirdness.
21662
21663 2003-09-17 Michael Chastain <mec@shout.net>
21664
21665 * gdb.cp/gdb1355.exp: New file.
21666 * gdb.cp/gdb1355.c: New file.
21667
21668 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
21669
21670 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
21671 * gdb.asm/sh.inc: New file.
21672
21673 2003-09-11 David Carlton <carlton@kealia.com>
21674
21675 * gdb.cp/namespace.exp: Add tests for namespace types.
21676 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
21677 (test_namespace): New.
21678
21679 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
21680
21681 * gdb.base/relocate.exp: Handle new gdb output at startup.
21682 * gdb.stabs/weird.exp: Ditto.
21683
21684 2003-09-08 Michael Chastain <mec@shout.net>
21685
21686 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21687
21688 2003-09-07 Michael Chastain <mec@shout.net>
21689
21690 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21691 'parse error'.
21692
21693 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
21694
21695 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21696
21697 2003-08-30 Michael Chastain <mec@shout.net>
21698
21699 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21700 * gdb.gdb/observer.exp: Ditto.
21701 * gdb.gdb/xfullpath.exp: Ditto.
21702
21703 2003-08-29 Mark Kettenis <kettenis@gnu.org>
21704
21705 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21706 *-*-*bsd*.
21707
21708 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
21709
21710 * gdb.base/dump.exp: Skip for ia64.
21711
21712 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
21713
21714 * gdb.asm/asm-source.exp: Add ia64 support.
21715 * gdb.asm/ia64.inc: New file.
21716
21717 2003-08-22 Michael Chastain <mec@shout.net>
21718
21719 * gdb.cp: New directory.
21720 * gdb.cp/*: Copy from gdb.c++/*.
21721 * gdb.c++/*: Remove.
21722 * Makefile.in: Change gdb.c++ to gdb.cp.
21723 * configure.in: Ditto.
21724 * configure: Regnerate.
21725
21726 2003-08-18 Mark Kettenis <kettenis@gnu.org>
21727
21728 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21729 * gdb.arch/i386-prologue.c (gdb1338): Add function.
21730
21731 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
21732
21733 * mi-var-display.exp (-var-list-children weird): Accept function
21734 pointers with argument types.
21735 * mi1-var-display.exp (-var-list-children weird): Likewise.
21736 * mi2-var-display.exp (-var-list-children weird): Likewise.
21737
21738 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
21739
21740 * gdb.base/annota3.exp: Add missing newline.
21741
21742 2003-08-06 Michael Chastain <mec@shout.net>
21743
21744 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21745
21746 2003-08-12 Michael Snyder <msnyder@redhat.com>
21747
21748 * gdb.base/float.exp: Add test for SH.
21749
21750 2003-08-10 Mark Kettenis <kettenis@gnu.org>
21751
21752 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21753
21754 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21755
21756 * gdb.base/completion.exp: Remove reduntant completion test
21757 on filename.
21758
21759 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21760
21761 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21762 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21763 gdb.trace/save-trace.exp: Make sure that full pathnames are
21764 escaped correctly.
21765
21766 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21767
21768 * configure.in: Don't generate config.h from config.hin.
21769 * configure: Regenerate.
21770 * config.hin: Remove file.
21771 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21772 * gdb.threads/pthreads.c: Ditto.
21773
21774 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
21775
21776 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21777 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21778 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21779 Replace ld24 with seth/add3.
21780
21781 2003-08-02 Andrew Cagney <cagney@redhat.com>
21782
21783 * gdb.base/annota3.exp: New file.
21784 * gdb.base/annota3.c: New file.
21785 * gdb.c++/annota3.exp: New file.
21786 * gdb.c++/annota3.cc: New file.
21787
21788 2003-07-29 Michael Chastain <mec@shout.net>
21789
21790 * gdb.threads/tls.c (spin): Check errno only if sem_wait
21791 actually failed.
21792 (do_pass): Likewise.
21793 * gdb.threads/tls.exp: Always initialize no_of_threads.
21794
21795 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
21796
21797 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21798 pattern.
21799 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21800 * gdb.threads/tls.exp: Recognize one case of the host library not
21801 supporting TLS.
21802
21803 2003-07-27 Andrew Cagney <cagney@redhat.com>
21804
21805 * gdb.base/fileio.exp: Use SH when running commands using
21806 remote_exec.
21807
21808 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
21809
21810 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21811 * gdb.base/relocate.c (dummy): New padding array.
21812
21813 2003-07-22 Michael Snyder <msnyder@redhat.com>
21814
21815 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
21816
21817 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21818 patterns to be more general, accepting old and new output.
21819 Some output chars (such as '+') also must be quoted.
21820 Some addresses are displayed numerically instead of
21821 symbolically.
21822
21823 2003-07-23 Michael Snyder <msnyder@redhat.com>
21824
21825 * gdb.base/return2.exp: Don't test long-long return.
21826
21827 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21828 * gdb.disasm/t01_mov.exp: Ditto.
21829 * gdb.disasm/t02_mova.s: Ditto.
21830 * gdb.disasm/t02_mova.exp: Ditto.
21831 * gdb.disasm/t03_add.s: Ditto.
21832 * gdb.disasm/t03_add.exp: Ditto.
21833 * gdb.disasm/t04_sub.s: Ditto.
21834 * gdb.disasm/t04_sub.exp: Ditto.
21835 * gdb.disasm/t05_cmp.s: Ditto.
21836 * gdb.disasm/t05_cmp.exp: Ditto.
21837 * gdb.disasm/t06_ari2.s: Ditto.
21838 * gdb.disasm/t06_ari2.exp: Ditto.
21839 * gdb.disasm/t07_ari3.s: Ditto.
21840 * gdb.disasm/t07_ari3.exp: Ditto.
21841 * gdb.disasm/t08_or.s: Ditto.
21842 * gdb.disasm/t08_or.exp: Ditto.
21843 * gdb.disasm/t09_xor.s: Ditto.
21844 * gdb.disasm/t09_xor.exp: Ditto.
21845 * gdb.disasm/t10_and.s: Ditto.
21846 * gdb.disasm/t10_and.exp: Ditto.
21847 * gdb.disasm/t11_logs.s: Ditto.
21848 * gdb.disasm/t11_logs.exp: Ditto.
21849 * gdb.disasm/t12_bit.s: Ditto.
21850 * gdb.disasm/t12_bit.exp: Ditto.
21851 * gdb.disasm/t13_otr.s: Ditto.
21852 * gdb.disasm/t13_otr.exp: Ditto.
21853
21854 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
21855
21856 * gdb.threads/tls.exp :Add kfail for 'info address' case.
21857
21858 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
21859
21860 * gdb.threads/tls.c : New file.
21861 * gdb.threads/tls.exp : New file.
21862 * gdb.threads/tls-main.c : New file.
21863 * gdb.threads/tls-shared.c : New file.
21864 * gdb.threads/tls-shared.exp : New file.
21865
21866 2003-07-22 Andreas Schwab <schwab@suse.de>
21867
21868 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
21869
21870 2003-07-20 Andreas Schwab <schwab@suse.de>
21871
21872 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
21873 due to insn reordering.
21874
21875 2003-07-15 Andrew Cagney <cagney@redhat.com>
21876
21877 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
21878
21879 2003-07-15 Michael Chastain <mec@shout.net>
21880
21881 * gdb.base/gdb1250.exp: New file.
21882 * gdb.base/gdb1250.c: New file.
21883
21884 2003-07-09 Michal Ludvig <mludvig@suse.cz>
21885
21886 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
21887 expansion of size_t to 'unsigned long', not only to 'unsigned'.
21888
21889 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
21890
21891 * gdb.threads/tls.c: New file.
21892 * gdb.threads/tls.exp: New file.
21893 * gdb.threads/tls-main.c: New file.
21894 * gdb.threads/tls-shared.c: New file.
21895 * gdb.threads/tls-shared.exp: New file.
21896
21897 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
21898
21899 * gdb.base/annota1.exp: Make sure that we properly escape the
21900 full path of the source file. Xfail more permissive patterns,
21901 due to a compiler debug info problem.
21902
21903 2003-07-07 Andreas Schwab <schwab@suse.de>
21904
21905 * gdb.asm/m68k.inc: New file.
21906 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
21907
21908 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
21909 arguments"): Also match negative number.
21910
21911 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
21912
21913 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
21914
21915 * gdb.base/store.c (charest): New typedef.
21916 (add_char): Rename to add_charest, update.
21917 (wack_char): Rename to wack_charest, update types. Return l + r
21918 to keep r live across the call.
21919 (wack_short, wack_int, wack_long, wack_longest, wack_float)
21920 (wack_double, wack_doublest): Return l + r to keep r live across
21921 the call.
21922 * gdb.base/store.exp: Accomodate store.c changes.
21923
21924 2003-06-30 David Carlton <carlton@kealia.com>
21925
21926 * gdb.c++/maint.exp (test_invalid_name): New.
21927 (test_first_component): Add tests for invalid names.
21928
21929 2003-06-29 Michael Chastain <mec@shout.net>
21930
21931 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
21932 output of '<VTT for class>' for virtual base classes.
21933
21934 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
21935
21936 * gdb.base/completion.exp: Tab-complete "complet" instead of
21937 "compl".
21938 * gdb.base/complex.exp, gdb.base/complex.c: New files.
21939
21940 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
21941
21942 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
21943 * gdb.base/volatile.exp: Likewise.
21944
21945 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
21946
21947 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
21948 gdb/1265.
21949
21950 2003-06-28 Michael Chastain <mec@shout.net>
21951 Daniel Jacobowitz <drow@mvista.com>
21952
21953 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
21954 initial line count of 'captured_main' from 26 to 32.
21955 (test_with_self): Allow xmalloc call to be interleaved with the
21956 preceding two lines.
21957
21958 2003-06-24 Joel Brobecker <brobecker@gnat.com>
21959
21960 * gdb.base/bang.exp: New testcase.
21961
21962 2003-06-23 Joel Brobecker <brobecker@gnat.com>
21963
21964 * gdb.base/langs.exp: Add some tests for the "minimal" language
21965 support.
21966
21967 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
21968
21969 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
21970 the testcase.
21971
21972 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
21973
21974 * gdb.base/relocate.exp: Test add-symbol-file with a variable
21975 offset.
21976
21977 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
21978
21979 * gdb.c++/pr-1210.cc: New file.
21980 * gdb.c++/pr-1210.exp: New file.
21981
21982 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
21983
21984 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
21985 000-exec-continue.
21986
21987 2003-06-15 Mark Kettenis <kettenis@gnu.org>
21988
21989 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
21990 on *-*-*bsd* instead of *-*-freebsd*.
21991
21992 2003-06-14 Andrew Cagney <cagney@redhat.com>
21993
21994 * gdb.base/store.exp: Test longest and doublest. Test all
21995 parameters. Weaken return statement match.
21996 * gdb.base/store.c: Add longest and doublest - aka long long and
21997 long double functions. Put all parameters into local register
21998 variables. Use negative values.
21999
22000 2003-06-14 Andrew Cagney <cagney@redhat.com>
22001
22002 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22003 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22004 exit status.
22005 * gdb.base/fileio.exp: Disable target when nointerrupts and
22006 noinferiorio, instead of limiting it to remote. Use remote_exec
22007 instead of system.
22008
22009 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22010
22011 * gdb.base/float.exp: Add ia64 support.
22012
22013 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
22014
22015 * gdb.base/fileio.exp: Run only on remote targets.
22016
22017 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
22018
22019 * gdb.base/fileio.c: New file, testing File-I/O.
22020 * gdb.base/fileio.exp: Ditto.
22021
22022 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22023
22024 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22025 shared objects after relocation at load time (gdb PR/1132).
22026 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
22027 as above, part of the shared object relocation test.
22028
22029 2003-06-08 Mark Kettenis <kettenis@gnu.org>
22030
22031 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22032 fully filled history list.
22033 * gdb.base/gdb_history: New file.
22034
22035 * gdb.base/signals.exp: XFAIL "continue to func1" on
22036 i*86-*-freebsd*.
22037
22038 * gdb.base/attach.exp: When trying to attach to a nonexistent
22039 process, make it possible to specify the PID based on the target,
22040 and do so for *-*-freebsd*.
22041
22042 2003-06-02 Richard Henderson <rth@redhat.com>
22043
22044 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22045
22046 2003-06-02 Richard Henderson <rth@redhat.com>
22047
22048 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22049
22050 2003-06-02 Richard Henderson <rth@redhat.com>
22051
22052 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22053
22054 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
22055
22056 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22057 of globalvar.
22058
22059 2003-06-01 Mark Kettenis <kettenis@gnu.org>
22060
22061 * gdb.asm/asm-source.exp: Check for memory read errors in
22062 disassembler test on *BSD too.
22063
22064 2003-06-01 Richard Henderson <rth@redhat.com>
22065
22066 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22067 for .frame.
22068 (gdbasm_call): Lose ldgp.
22069 (gdbasm_startup): Add frame information.
22070 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22071
22072 2003-05-31 Mark Kettenis <kettenis@gnu.org>
22073
22074 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22075 i?86-*-*.
22076
22077 2003-05-30 Mark Kettenis <kettenis@gnu.org>
22078
22079 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22080 FreeBSD.
22081
22082 2003-05-29 Richard Henderson <rth@redhat.com>
22083
22084 * gdb.asm/alpha.inc: New file.
22085 * gdb.asm/asm-source.exp: Use it.
22086
22087 2003-05-29 Jim Blandy <jimb@redhat.com>
22088
22089 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22090 'core.PID'.
22091
22092 2003-05-22 Jim Blandy <jimb@redhat.com>
22093
22094 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22095 backtrace.
22096
22097 2003-05-20 David Carlton <carlton@math.stanford.edu>
22098
22099 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22100 this time.
22101
22102 2003-05-19 David Carlton <carlton@bactrian.org>
22103
22104 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22105 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22106
22107 2003-05-19 David Carlton <carlton@bactrian.org>
22108
22109 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22110 namespace tests.
22111 Bump copyright date.
22112 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22113 (main): Call C::D::marker2.
22114 * gdb.c++/namespace1.cc: New file.
22115
22116 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22117
22118 Roland McGrath <roland@redhat.com>
22119 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
22120 there is no manager thread.
22121
22122 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22123
22124 * gdb.threads/schedlock.exp: Remove assumption that all threads
22125 will run in a particular small time slice. Also ensure we break
22126 in one of the child threads rather than the main thread.
22127
22128 2003-05-07 Jim Blandy <jimb@redhat.com>
22129
22130 Add support for assembly source testing on the s390x.
22131 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22132 architecture.
22133 * gdb.asm/s390x.inc: New file.
22134
22135 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22136 succession of 'if' statements.
22137
22138 2003-05-05 Andrew Cagney <cagney@redhat.com>
22139
22140 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22141
22142 2003-05-05 Andrew Cagney <cagney@redhat.com>
22143
22144 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22145 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22146
22147 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
22148
22149 * gdb.base/charset.exp: Update based on new behavior of set/show
22150 charset commands.
22151
22152 2003-05-01 Andrew Cagney <cagney@redhat.com>
22153
22154 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22155 variable do not give memory errors.
22156
22157 2003-04-30 Adam Fedor <fedor@gnu.org>
22158
22159 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22160 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22161 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22162 gdb.objc/basicclass.m: : New files
22163
22164 * lib/gdb.exp (gdb_compile_objc): New procedure.
22165
22166 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
22167
22168 * gdb.base/signals.exp: Make backtrace tests more specific.
22169
22170 2003-04-23 David Carlton <carlton@bactrian.org>
22171
22172 * gdb.c++/maint.exp (test_first_component): Add tests for
22173 'operator' in more locations.
22174
22175 2003-04-16 Kevin Buettner <kevinb@redhat.com>
22176
22177 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22178
22179 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
22180
22181 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
22182 func marke' instead. Update test name.
22183
22184 2003-04-15 David Carlton <carlton@math.stanford.edu>
22185
22186 * gdb.c++/maint.exp: New file.
22187
22188 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22189
22190 * gdb.threads/schedlock.c: Change type of thread function argument
22191 to long, to avoid warnings on 64-bit platforms.
22192
22193 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22194
22195 * gdb.base/attach.exp: Add new message from ptrace in case of
22196 attaching to nonexistent process.
22197
22198 2003-04-11 Jim Blandy <jimb@redhat.com>
22199
22200 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22201 gdb.c++/userdef.cc: Place comments on the lines to which the
22202 marker function might return.
22203 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22204 gdb.c++/userdef.exp: Look for those comments to check that we've
22205 returned to the right place, instead of checking line numbers.
22206
22207 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
22208
22209 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22210 match on sourcefile name, instead of directory name.
22211
22212 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
22213
22214 * gdb.base/completion.exp: Use string_to_regexp to match the
22215 working directory name.
22216
22217 2003-04-09 Jim Blandy <jimb@redhat.com>
22218
22219 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22220 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22221 after an inferior function call, report the failure, but allow the
22222 test to continue.
22223
22224 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22225
22226 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22227 with -DPROTOTYPES.
22228
22229 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22230
22231 * gdb.base/break.exp: Revert last patch.
22232
22233 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22234
22235 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22236 with -DPROTOTYPES.
22237
22238 2003-04-02 Andrew Cagney <cagney@redhat.com>
22239
22240 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22241 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22242 matching directories by the name breakpoint.
22243 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22244 Make "continue to marker1" consistent.
22245 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22246 message consistent.
22247 * lib/gdb.exp: Put "the program is no longer running", and "the
22248 program exited" in parenthesis.
22249 * lib/mi-support.exp: Ditto.
22250
22251 2003-04-02 Bob Rossi <bob_rossi@cox.net>
22252
22253 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22254
22255 2003-03-29 Andrew Cagney <cagney@redhat.com>
22256
22257 * gdb.base/sizeof.c (main): Print the value of '\377'.
22258 * gdb.base/sizeof.exp: Check the sign of '\377'.
22259
22260 2003-03-27 Michael Chastain <mec@shout.net>
22261
22262 * gdb.base/gdb1090.exp: New file.
22263 * gdb.base/gdb1090.cc: New file.
22264
22265 2003-03-27 J. Brobecker <brobecker@gnat.com>
22266
22267 * gdb.gdb/observer.exp: New regression test.
22268
22269 2003-03-27 Michael Chastain <mec@shout.net>
22270
22271 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22272 * gdb.base/ptype.exp: Likewise.
22273
22274 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
22275
22276 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22277
22278 2003-03-26 Michael Chastain <mec@shout.net>
22279
22280 * gdb.base/ptype.exp: Actually use some typedef'd types.
22281
22282 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22283
22284 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22285 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22286
22287 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22288
22289 * gdb.base/default.exp: Fix regular expression.
22290
22291 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22292
22293 * gdb.base/args.exp: Fix regular expression.
22294
22295 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22296
22297 * gdb.base/help.exp: Allow Win32 child process.
22298
22299 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22300
22301 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22302 when stepping out of main().
22303
22304 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22305
22306 * gdb.base/default.exp: Check for win32 specific message when calling
22307 "run" without executable.
22308
22309 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22310
22311 * gdb.base/args.exp: Expect .exe in output.
22312
22313 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22314
22315 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22316 Cygwin native.
22317
22318 2003-03-17 Andrew Cagney <cagney@redhat.com>
22319
22320 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
22321 vector registes.
22322 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22323 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22324
22325 2003-03-17 David Carlton <carlton@math.stanford.edu>
22326
22327 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22328 test, for PR breakpoints/38.
22329 Call test_watchpoint_and_breakpoint.
22330 * gdb.base/watchpoint.c (func3): New function.
22331 (main): Call func3.
22332
22333 2003-03-04 David Carlton <carlton@math.stanford.edu>
22334
22335 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22336 Garply<Garply<char> >:: garply".
22337 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22338 with respect to PR c++/1111; note also PR c++/1113.
22339 (test_template_breakpoints): KFAIL "constructor breakpoint" with
22340 respect to PR c++/1062.
22341 KFAIL "destructor breakpoint" with respect to PR c++/1112.
22342
22343 2003-03-03 David Carlton <carlton@math.stanford.edu>
22344
22345 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22346 with respect to PR c++/57.
22347 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22348 c++/826.
22349 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22350 respect to PR c++/57.
22351
22352 2003-03-03 David Carlton <carlton@math.stanford.edu>
22353
22354 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22355 respect to PR c++/33 into FAILs.
22356
22357 2003-03-03 Michael Chastain <mec@shout.net>
22358
22359 * configure.in: Update copyright years.
22360
22361 2003-03-03 Michael Chastain <mec@shout.net>
22362
22363 * Makefile.in: Update copyright years.
22364
22365 2003-02-28 David Carlton <carlton@math.stanford.edu>
22366
22367 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22368 print class instead of struct and/or superfluous protection
22369 specifiers, as long as the resulting output is equivalent to the
22370 source code.
22371 Delete FIXME from end of messages on tests that don't need
22372 fixing.
22373
22374 2003-02-28 David Carlton <carlton@math.stanford.edu>
22375
22376 * gdb.c++/templates.exp (do_tests): Allow const in the two
22377 Foo<volatile char *>::foo tests.
22378
22379 2003-02-27 Michael Snyder <msnyder@redhat.com>
22380
22381 * gdb.base/restore.c (main): Return zero, so exit code
22382 will be consistant.
22383
22384 2003-02-26 David Carlton <carlton@math.stanford.edu>
22385
22386 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22387 char *>::foo" test with respect to PR c++/33. Create a new test
22388 which is identical to that one except that it doesn't put the
22389 space between the "char" and the "*"; KFAIL it, too.
22390
22391 2003-02-26 David Carlton <carlton@math.stanford.edu>
22392
22393 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22394 template types into either PASSes or KFAILs (corresponding to PR
22395 c++/57). Tweak indentation. Update copyright.
22396
22397 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
22398
22399 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22400
22401 2003-02-13 Michael Chastain <mec@shout.net>
22402
22403 * gdb.base/exprs.exp: Remove i960 remnants.
22404 * gdb.base/funcargs.exp: Likewise.
22405 * gdb.base/list.exp: Likewise.
22406 * gdb.base/ptype.exp: Likewise.
22407
22408 2003-02-14 David Carlton <carlton@math.stanford.edu>
22409
22410 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22411 pEe->D::vg()" from XFAIL to KFAIL.
22412
22413 2003-02-13 Jason Molenda (jmolenda@apple.com)
22414
22415 * gdb.base/maint.exp: Update maint print statistics regexp to include
22416 new entries.
22417
22418 2003-02-13 Michael Chastain <mec@shout.net>
22419
22420 * gdb.c++/inherit.exp: Remove call to get_debug_format.
22421
22422 2003-02-12 Michael Chastain <mec@shout.net>
22423
22424 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22425 * gdb.c++/inherit.exp: Likewise.
22426 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22427 * gdb.c++/templates.exp: Likewise.
22428 * gdb.c++/virtfunc.exp: Likewise.
22429
22430 2003-02-06 Jason Molenda (jason-cl@molenda.com)
22431
22432 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22433 why the code is written that way.
22434
22435 2003-02-05 Michael Chastain <mec@shout.net>
22436
22437 * gdb.base/dump.exp: Add missing copyright line.
22438
22439 2003-02-05 Jason Molenda (jason-cl@molenda.com)
22440
22441 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
22442 at the beginning so the breakpoint doesn't get set on the loop.
22443
22444 2003-02-05 Michael Chastain <mec@shout.net>
22445
22446 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22447 output for configurations with gcc 2.95.3.
22448
22449 2003-02-05 Keith Seitz <keiths@redhat.com>
22450 Andrew Cagney <ac131313@redhat.com>
22451
22452 * gdb.mi/mi-cli.exp: New file.
22453
22454 2003-02-04 Michael Chastain <mec@shout.net>
22455
22456 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22457 Call perror and then continue.
22458
22459 2003-02-03 Michael Chastain <mec@shout.net>
22460
22461 * gdb.c++/pr-1023.cc: New file.
22462 * gdb.c++/pr-1023.exp: New file.
22463
22464 2003-02-05 Jim Blandy <jimb@redhat.com>
22465
22466 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
22467 it's local to foobar. Check for it there, and check that it's not
22468 present in main.
22469 * gdb.c++/local.cc (marker2): New function.
22470 (foobar): Call marker1.
22471 (main): Call marker2 instead of marker1.
22472
22473 2003-02-04 Andrew Cagney <ac131313@redhat.com>
22474
22475 * gdb.disasm/mn10200.exp: Obsolete file.
22476 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
22477 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
22478 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
22479
22480 2003-02-04 David Carlton <carlton@math.stanford.edu>
22481
22482 * gdb.c++/overload.exp: Test intToChar(1).
22483 * gdb.c++/overload.cc (intToChar): New.
22484 (main): Call intToChar.
22485
22486 2003-02-03 David Carlton <carlton@math.stanford.edu>
22487
22488 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
22489 'might_kfail' arg.
22490 KFAIL some of the continue_to_bp_overloaded calls, according to
22491 PR c++/1025.
22492
22493 2003-02-01 Michael Chastain <mec@shout.net>
22494
22495 * gdb.base/advance.c (marker1): New marker function.
22496 * gdb.base/advance.exp: When the 'advance' command lands on the
22497 return breakpoint, it can legitimately stop on either the
22498 current line or the next line. Accommodate both outcomes.
22499 * gdb.base/until.exp: Likewise.
22500
22501 2003-02-02 Andrew Cagney <ac131313@redhat.com>
22502
22503 2002-11-10 Jason Molenda (jason-cl@molenda.com):
22504 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
22505 now a list, not a tuple.
22506 * gdb.mi/mi-var-display.exp: Ditto.
22507 * gdb.mi/gdb792.exp: Ditto.
22508
22509 2003-02-01 Andrew Cagney <ac131313@redhat.com>
22510
22511 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
22512 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
22513 stack backtraces.
22514 * gdb.mi/mi-syn-frame.c: Part of same.
22515
22516 2003-02-01 Mark Kettenis <kettenis@gnu.org>
22517
22518 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22519 gdb.mi/mi1-pthreads.exp: Return instead of calling
22520 gdb_suppress_entire_file.
22521
22522 2003-02-01 Mark Salter <msalter@redhat.com>
22523
22524 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
22525
22526 2003-01-31 Mark Salter <msalter@redhat.com>
22527
22528 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
22529 Support empty arg.
22530
22531 2003-01-30 Michael Chastain <mec@shout.net>
22532
22533 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
22534 This was a workaround for a UTF-8 bug in readline 4.3. The bug
22535 has been fixed in gdb/readline on 2003-01-09.
22536
22537 2003-01-29 Michael Snyder <msnyder@redhat.com>
22538
22539 * gdb.base/maint.exp: Allow for leading underscore in symbol.
22540 * gdb.base/display.exp: Allow for leading underscore in symbol.
22541 * gdb.base/args.exp: Skip if target does not support args passing.
22542
22543 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
22544
22545 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
22546 gdb_test. Accept a list of expect arguments as the third
22547 parameter.
22548 (gdb_test): Use it.
22549
22550 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
22551
22552 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
22553 allow for different test tree configurations. Update some
22554 tescases accordingly.
22555 * gdb.arch/altivec-regs.exp: Ditto.
22556 * gdb.asm/asm-source.exp: Ditto.
22557 * gdb.base/advance.exp: Ditto.
22558 * gdb.base/display.exp: Ditto.
22559 * gdb.base/long_long.exp: Ditto.
22560 * gdb.base/mips_pro.exp: Ditto.
22561 * gdb.base/overlays.exp: Ditto.
22562 * gdb.base/relocate.exp: Ditto.
22563 * gdb.base/setshow.exp: Ditto.
22564 * gdb.base/step-line.exp: Ditto.
22565 * gdb.base/step-test.exp: Ditto.
22566 * gdb.base/until.exp: Ditto.
22567 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
22568
22569 2003-01-17 David Carlton <carlton@math.stanford.edu>
22570
22571 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
22572 corresponding to PR c++/945.
22573 Update copyright.
22574
22575 2003-01-17 David Carlton <carlton@math.stanford.edu>
22576
22577 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
22578 corresponding to PR c++/68.
22579
22580 2003-01-17 David Carlton <carlton@math.stanford.edu>
22581
22582 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
22583 (test_paddr_hairy_functions): Call print_addr_2_kfail for
22584 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
22585
22586 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
22587
22588 * gdb.base/break.exp: Fix change of default location, because of
22589 removal of until tests.
22590 * gdb.base/help.exp: Update test for new 'until' help message.
22591 Add test for help on 'advance'.
22592 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
22593
22594 2003-01-15 Mark Kettenis <kettenis@gnu.org>
22595
22596 * gdb.base/default.exp: Adapt "info float" test for recent changes
22597 to that command. Add test for "info vector".
22598 * gdb.base/float.exp: New file. Add test for "info float" that
22599 resembles the old test in gdb.base/default.exp.
22600
22601 2003-01-15 David Carlton <carlton@math.stanford.edu>
22602
22603 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
22604
22605 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
22606
22607 * gdb.base/break.exp: Move the tests of until command from here...
22608 * gdb.base/until.exp: ... to here. New file. Add other tests.
22609 * gdb.base/advance.c: New file.
22610 * gdb.base/advance.exp: New file.
22611
22612 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
22613
22614 * gdb.base/args.c: New file.
22615 * gdb.base/args.exp: New file.
22616
22617 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22618
22619 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
22620
22621 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22622
22623 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
22624
22625 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22626
22627 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
22628 dates.
22629
22630 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22631
22632 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
22633
22634 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22635
22636 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
22637 (ptype &*"foo").
22638 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
22639
22640 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22641
22642 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
22643 * gdb.mi/mi1-console.exp: Likewise.
22644
22645 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22646
22647 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
22648 * gdb.mi/mi1-console.exp: Likewise.
22649
22650 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22651
22652 * gdb.c++/overload.exp: Remove some fixed XFAILs.
22653
22654 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
22655
22656 * gdb.base/detach.exp: New test.
22657
22658 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
22659
22660 * Makefile.in (ALL_SUBDIRS): New variable.
22661 (subdirs, clean, distclean): Use it.
22662 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
22663 regenerating Makefile, since it is generated from the top level.
22664 * gdb.asm/Makefile.in: Likewise.
22665 * gdb.base/Makefile.in: Likewise.
22666 * gdb.c++/Makefile.in: Likewise.
22667 * gdb.disasm/Makefile.in: Likewise.
22668 * gdb.java/Makefile.in: Likewise.
22669 * gdb.mi/Makefile.in: Likewise.
22670 * gdb.threads/Makefile.in: Likewise.
22671 * gdb.trace/Makefile.in: Likewise.
22672
22673 2003-01-09 David Carlton <carlton@math.stanford.edu>
22674
22675 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
22676 Add copyright year 2003.
22677
22678 2003-01-06 Michael Chastain <mec@shout.net>
22679
22680 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
22681 When selecting a thread, 'line' and 'file' are optional.
22682 * gdb.mi/mi1-pthreads.exp: Likewise.
22683
22684 2003-01-06 Andreas Schwab <schwab@suse.de>
22685
22686 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22687 failures.
22688
22689 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22690
22691 Fix PR gdb/844
22692 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22693 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22694
22695 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
22696 instead of calling gdb_suppress_entire_file.
22697 * gdb.threads/print-threads.exp: Likewise.
22698 * gdb.threads/schedlock.exp: Likewise.
22699
22700 * gdb.threads/killed.exp: Return instead of calling
22701 gdb_suppress_entire_file.
22702 * gdb.threads/linux-dp.exp: Likewise.
22703 * gdb.threads/pthreads.exp: Likewise.
22704
22705 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22706
22707 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22708 stabs.
22709 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22710 * gdb.base/whatis.exp: Always allow (void) after function names.
22711
22712 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22713
22714 * gdb.c++/casts.exp: Correct regexp.
22715
22716 2003-01-04 Mark Kettenis <kettenis@gnu.org>
22717
22718 * configure.in: Call AC_CONFIG_HEADER. Don't call
22719 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22720 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
22721 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
22722 aforementioned directories in the AC_OUPUT call.
22723 * config.hin: New file.
22724 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22725 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22726 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22727 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22728 pass -I$objdir instead of -I$objdir/$subdir in compilation.
22729 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22730 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22731 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22732 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22733 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22734 gdb.threads/configure.in, gdb.threads/configure,
22735 gdb.threads/config.in, gdb.trace/configure.in,
22736 gdb.trace/configure: Removed.
22737
22738 2003-01-03 Michael Chastain <mec@shout.net>
22739
22740 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22741 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22742
22743 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
22744
22745 * gdb.base/store.exp: Fix regular expressions.
22746
22747 2002-12-28 Mark Kettenis <kettenis@gnu.org>
22748
22749 * configure.in: Rewrite.
22750 * configure: Regenerated.
22751
22752 2003-01-03 David Carlton <carlton@math.stanford.edu>
22753
22754 * gdb.base/psymtab.exp: New file.
22755 * gdb.base/psymtab1.c: Ditto.
22756 * gdb.base/psymtab2.c: Ditto.
22757
22758 2002-12-23 Adam Fedor <fedor@gnu.org>
22759
22760 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22761
22762 2002-12-23 David Carlton <carlton@math.stanford.edu>
22763
22764 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22765 and current_directory initialization.
22766
22767 2002-12-22 Jim Blandy <jimb@redhat.com>
22768
22769 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22770 rather than as part of the output file name.
22771
22772 * gdb.base/attach.exp: There's no need to copy the test program to
22773 /tmp; that was only ever necessary on HP/UX, and this test is
22774 entirely disabled there anyway.
22775
22776 2002-12-21 Jim Blandy <jimb@redhat.com>
22777
22778 * gdb.c++/psmang.exp: Doc fix.
22779
22780 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22781 test.
22782
22783 2002-12-20 David Carlton <carlton@math.stanford.edu>
22784
22785 * gdb.c++/annota2.exp: KFAIL annotate-quit.
22786
22787 2002-12-18 Michael Chastain <mec@shout.net>
22788
22789 * gdb.c++/annota2.exp: Add copyright year 2002.
22790
22791 2002-12-17 David Carlton <carlton@math.stanford.edu>
22792
22793 * gdb.c++/try_catch.cc: Add marker comments.
22794 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22795 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22796 * gdb.c++/m-static.cc: Ditto.
22797 * gdb.c++/m-static1.cc: Ditto.
22798 * gdb.c++/try_catch.cc: Ditto.
22799
22800 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
22801
22802 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22803 to see whether we are using the new -environment-directory
22804 command which resets via -r or the old version of the command
22805 which may prompt the user. Part of fix for gdb/741.
22806
22807 2002-12-13 Andrew Cagney <ac131313@redhat.com>
22808
22809 * gdb.fortran/types.exp: Update obsolete comment.
22810 * gdb.fortran/exprs.exp: Ditto.
22811 * lib/gdb.exp: Delete obsolete code.
22812 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22813 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22814 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22815 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22816 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22817 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22818 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22819 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22820 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22821 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22822 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22823 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22824 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22825 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22826 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22827 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22828 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22829 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22830 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22831 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22832 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22833 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22834 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22835 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22836 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22837 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22838 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22839 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22840 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22841 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22842 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22843 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22844 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22845 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22846 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
22847 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
22848 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
22849
22850 2002-12-11 David Carlton <carlton@math.stanford.edu>
22851
22852 * gdb.c++/m-data.exp: Add test for members that shadow global
22853 variables: see PR gdb/804.
22854 * gdb.c++/m-data.cc: Ditto.
22855
22856 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
22857
22858 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
22859
22860 2002-12-06 David Carlton <carlton@math.stanford.edu>
22861
22862 * gdb.base/store.c: Don't declare functions static.
22863
22864 2002-12-04 Andrew Cagney <ac131313@redhat.com>
22865
22866 * gdb.base/store.exp, gdb.base/store.c: New files.
22867
22868 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
22869
22870 * gdb.base/selftest.exp: Update for current gdb.
22871
22872 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
22873
22874 * gdb.base/maint.exp: Only dump symbols from one source file
22875 or objfile.
22876
22877 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
22878
22879 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
22880 function call.
22881
22882 2002-11-25 Jim Blandy <jimb@redhat.com>
22883
22884 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
22885 function appearing in error message.
22886
22887 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
22888
22889 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
22890
22891 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
22892
22893 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
22894 for mi1 and current mi is in correct format. New mi startup message
22895 should be in mi console format. This is part of fix for PR gdb/604.
22896
22897 2002-09-18 Fernando Nasser <fnasser@redhat.com>
22898
22899 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
22900 which explicitly prints the zero offset as "+0".
22901
22902 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
22903
22904 * gdb.threads/schedlock.c (args): Make unsigned.
22905
22906 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
22907
22908 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
22909 numbers. Allow "foo2|selected stack frame".
22910 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
22911 * gdb.asm/asmsrc2.s: Likewise.
22912 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
22913 comments.
22914 * gdb.asm/mips.inc: New file.
22915
22916 2002-10-18 Adam Fedor <fedor@gnu.org>
22917
22918 * gdb.base/default.exp: Update expected output to include 'ObjC'.
22919 * gdb.base/help.exp: Likewise.
22920
22921 2002-10-17 Kevin Buettner <kevinb@redhat.com>
22922
22923 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
22924 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
22925
22926 2002-10-02 Jim Blandy <jimb@redhat.com>
22927
22928 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
22929
22930 2002-10-01 Andrew Cagney <ac131313@redhat.com>
22931
22932 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
22933 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
22934 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
22935 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
22936 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
22937 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
22938 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
22939
22940 2002-09-29 Andrew Cagney <ac131313@redhat.com>
22941
22942 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
22943 * mi0-disassemble.exp, mi0-eval.exp: Delete.
22944 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
22945 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
22946 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
22947 * mi0-var-block.exp, mi0-var-child.exp: Delete.
22948 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
22949
22950 2002-09-27 Kevin Buettner <kevinb@redhat.com>
22951
22952 * gdb.base/annota1.exp (info break): Make directory components of
22953 path optional since not all compilers emit this debug information.
22954
22955 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
22956 step ends up stepping out of the function instead of stopping on
22957 the epilogue.
22958
22959 2002-09-26 Keith Seitz <keiths@redhat.com>
22960
22961 * lib/insight-support.exp (gdbtk_start): Figure out where
22962 the insight executable is based on where gdb is. Use this
22963 executable to start insight instead of gdb.
22964
22965 2002-09-25 Andrew Cagney <cagney@redhat.com>
22966
22967 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
22968
22969 2002-09-24 Andrew Cagney <ac131313@redhat.com>
22970
22971 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
22972 test_isolated_complaints.
22973 (test_empty_complaint): New function.
22974 (test_empty_complaints): New function. Check no output when no
22975 complaints.
22976
22977 2002-09-19 Jim Blandy <jimb@redhat.com>
22978
22979 * gdb.base/charset.exp, gdb.base/charset.c: New files.
22980
22981 2002-09-19 Andrew Cagney <ac131313@redhat.com>
22982
22983 * gdb.gdb/complaints.exp: New file.
22984
22985 2002-09-18 Andrew Cagney <ac131313@redhat.com>
22986
22987 * gdb.base/maint.exp: Check `help maint internal-warning'.
22988
22989 2002-09-18 David Carlton <carlton@math.stanford.edu>
22990
22991 * gdb.c++/m-static.exp: Remove breakpoints depending on line
22992 numbers, and replace them by a single breakpoint after the
22993 constructors are all finished.
22994 Add test 4.
22995 * gdb.c++/m-static.cc: Add test 4.
22996 * gdb.c++/m-static.h: New file.
22997 * gdb.c++/m-static1.cc: New file.
22998
22999 * gdb.c++/printmethod.exp: New file.
23000 * gdb.c++/printmethod.cc: New file.
23001
23002 * gdb.c++/pr-574.exp: New file.
23003 * gdb.c++/pr-574.cc: New file.
23004
23005 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23006
23007 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23008 embedded targets which never actually exit.
23009
23010 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23011
23012 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23013 "don't step after run" as unresolved or unsupported, instead of xfail.
23014
23015 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23016
23017 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23018 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23019 Add newline to expected string in "step out of main (status wrapper)"
23020 case.
23021
23022 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23023
23024 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23025 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23026
23027 2002-09-17 Tom Tromey <tromey@redhat.com>
23028
23029 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23030 \000, not \0, in double-quoted string.
23031
23032 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
23033
23034 * gdb.base/commands.exp: Don't expect a "Program exited normally"
23035 string after running the commands execution on breakpoint tests.
23036
23037 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
23038
23039 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23040
23041 2002-09-12 Joel Brobecker <brobecker@gnat.com>
23042
23043 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23044
23045 2002-09-10 Keith Seitz <keiths@redhat.com>
23046
23047 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23048 runto proc.
23049 (mi_run_to_main): Use mi_runto.
23050 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23051
23052 2002-09-10 Keith Seitz <keiths@redhat.com>
23053
23054 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23055 regexp for stopping at main. Could have multiple event notifications.
23056 Don't assume that main was declared with no parameters.
23057 (mi_next): Use mi_step_to.
23058 (mi_step): Use mi_next_to.
23059
23060 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
23061
23062 * gdb.base/default.exp: Fix expected string in `info float' test.
23063
23064 2002-09-09 Ben Elliston <bje@redhat.com>
23065
23066 * config/mips.exp: Update comments.
23067 * config/mips-idt.exp: Likewise.
23068 * config/nind.exp: Likewise.
23069 * config/slite.exp: Likewise.
23070 * config/sparclet.exp: Likewise.
23071 * config/udi.exp: Likewise.
23072 * config/vx.exp: Likewise.
23073 * config/vxworks29k.exp: Likewise.
23074
23075 2002-09-05 Jim Blandy <jimb@redhat.com>
23076
23077 * gdb.threads/killed.exp: Fix test failure message.
23078
23079 2002-09-04 Keith Seitz <keiths@redhat.com>
23080
23081 * lib/mi-support.exp: Update copyright.
23082 (mi_gdb_test): Increase the priority of the expected pattern
23083 so that it matches gdb_test.
23084
23085 2002-09-03 Keith Seitz <keiths@redhat.com>
23086
23087 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23088 Use integer comparison instead of string comparison for testing
23089 whether binary was built.
23090
23091 2002-09-03 Jim Blandy <jimb@redhat.com>
23092
23093 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23094
23095 2002-08-29 Jim Blandy <jimb@redhat.com>
23096
23097 * gdb.threads/pthreads.exp: Move the portable thread compilation
23098 code into a function in lib/gdb.exp, and call that from here.
23099 * lib/gdb.exp (gdb_compile_pthreads): New function.
23100
23101 2002-08-29 Keith Seitz <keiths@redhat.com>
23102
23103 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23104 expect_out so that callers can get at it.
23105
23106 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
23107
23108 * gdb.threads/print-threads.c: New file.
23109 * gdb.threads/print-threads.exp: New file.
23110 * gdb.threads/schedlock.c: New file.
23111 * gdb.threads/schedlock.exp: New file.
23112
23113 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
23114
23115 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23116 not altivec.c.
23117
23118 2002-08-17 Mark Kettenis <kettenis@gnu.org>
23119
23120 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23121 targets. The problem should be fixed now.
23122
23123 2002-08-15 Mark Kettenis <kettenis@gnu.org>
23124
23125 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23126 2002-07-24 change that removes final dots from error messages.
23127
23128 2002-08-13 Tom Tromey <tromey@redhat.com>
23129
23130 * gdb.base/readline.exp: New file.
23131
23132 2002-08-01 Andrew Cagney <ac131313@redhat.com>
23133
23134 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23135 supress message.
23136
23137 2002-08-01 Andrew Cagney <cagney@redhat.com>
23138
23139 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23140 CHILL_FOR_TARGET and CHILL_LIB.
23141 * configure.in (configdirs): Remove gdb.chill.
23142 * configure: Regenerate.
23143 * lib/gdb.exp: Obsolete references to chill.
23144 * gdb.fortran/types.exp: Ditto.
23145 * gdb.fortran/exprs.exp: Ditto.
23146
23147 2002-07-30 Kevin Buettner <kevinb@redhat.com>
23148
23149 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23150 set Irix-specific compile and link flags.
23151
23152 2002-07-29 Kevin Buettner <kevinb@redhat.com>
23153
23154 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23155 source files. The ``-o'' option doesn't work with the ``-E'' option
23156 when using the Irix compiler.
23157
23158 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
23159
23160 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23161 Improve support for reusing an exec file. Copy exec file
23162 to target, and run gdbserver on the target instead of on the host.
23163
23164 2002-07-18 Jim Blandy <jimb@redhat.com>
23165
23166 * gdb.base/ending-run.exp: Don't expect to see the program end in
23167 some orderly fashion when we're running on a real stand-alone
23168 board.
23169
23170 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23171 targets that don't support interrupts.
23172
23173 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23174
23175 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23176 systems.
23177 Move comments in expect statements to inside the actions, so that they
23178 don't get matched against.
23179
23180 2002-07-10 Mark Kettenis <kettenis@gnu.org>
23181
23182 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23183 function when asleep" test.
23184
23185 2002-07-10 Andrew Cagney <ac131313@redhat.com>
23186
23187 * gdb.base/page.exp: Rewrite to handle problems with very long
23188 `info set' output. Update copyright.
23189
23190 2002-06-26 Andrew Cagney <ac131313@redhat.com>
23191
23192 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23193 gdb.threads-hp.
23194 * gdb.hp/configure: Regenerate.
23195 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23196 * gdb.hp/gdb.threads-hp/configure: Delete file.
23197 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23198
23199 2002-06-22 Andrew Cagney <ac131313@redhat.com>
23200
23201 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23202 setlocale, bindtextdomain and textdomain.
23203
23204 2002-06-11 Jim Blandy <jimb@redhat.com>
23205
23206 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23207 preprocessor macro information is present.
23208
23209 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23210 tests.
23211
23212 2002-06-06 Michael Snyder <msnyder@redhat.com>
23213
23214 * gdb.base/overlays.exp: Record addresses of overlay
23215 functions in TCL variables rather than in GDB variables,
23216 to avoid having GDB convert them to pointers (with loss
23217 of information).
23218
23219 * gdb.base/d10v.ld: Merge in several years worth of
23220 default linker script changes.
23221 * gdb.base/long_long.exp: Add check for sizeof (long double).
23222
23223 2002-06-06 Michal Ludvig <mludvig@suse.cz>
23224
23225 * gdb.asm/asm-source.exp: Add x86-64 target.
23226 * gdb.asm/x86_64.inc: New.
23227
23228 2002-05-30 Michael Chastain <mec@shout.net>
23229
23230 From Benjamin Kosnik <bkoz@redhat.com>:
23231 * gdb.c++/m-static.cc: New file.
23232 * gdb.c++/m-static.exp: New file.
23233
23234 2002-05-28 Michael Snyder <msnyder@redhat.com>
23235
23236 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23237 precision.
23238
23239 2002-05-27 Michael Chastain <mec@shout.net>
23240
23241 From Benjamin Kosnik <bkoz@redhat.com>:
23242 * gdb.c++/m-data.cc: New file.
23243 * gdb.c++/m-data.exp: New file.
23244
23245 2002-05-27 Michael Chastain <mec@shout.net>
23246
23247 From Benjamin Kosnik <bkoz@redhat.com>:
23248 * gdb.c++/try_catch.cc: New file.
23249 * gdb.c++/try_catch.exp: New file.
23250
23251 2002-05-27 Michael Chastain <mec@shout.net>
23252
23253 * gdb.c++/local.exp: Accept more nested types in output.
23254
23255 2002-05-26 Michael Chastain <mec@shout.net>
23256
23257 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23258
23259 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23260
23261 * lib/gdb.exp (gdb_wrapper_init): Just because
23262 gdb_wrapper_file exists, this does not mean that the file
23263 should not be rebuilt. That is what gdb_wrapper_initialized
23264 is for.
23265 (default_gdb_init): Reset gdb_wrapper_initialized.
23266
23267 2002-05-23 Michael Snyder <msnyder@redhat.com>
23268
23269 * gdb.base/all-bin.exp: Revise previous patch by just reducing
23270 the precision of the floating point test results.
23271 * gdb.base/call-rt-st.exp: Ditto.
23272
23273 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23274 * gdb.base/call-rt-st.exp: Ditto.
23275
23276 2002-05-19 Michael Chastain <mec@shout.net>
23277
23278 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23279
23280 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
23281
23282 * configure.in (configdirs): Add gdb.arch.
23283 * configure: Regenerate.
23284
23285 2002-05-17 Jim Blandy <jimb@redhat.com>
23286
23287 * gdb.base/completion.exp: Recognize the more detailed error
23288 messages produced by the macro expander's lexical analyzer.
23289
23290 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23291
23292 * gdb.arch/altivec-abi.c: New file.
23293 * gdb.arch/altivec-abi.exp: New file.
23294 * gdb.arch/altivec-regs.c: New file.
23295 * gdb.arch/altivec-regs.exp: New file.
23296
23297 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
23298
23299 * gdb.base/maint.exp (maint print type): Update for new type
23300 structure.
23301
23302 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23303
23304 * gdb.arch: New directory.
23305 * gdb.arch/configure.in: New file.
23306 * gdb.arch/configure: New file.
23307 * gdb.arch/Makefile.in: New file.
23308
23309 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
23310
23311 * gdb.asm/asm-source.exp: Add v850 as supported target.
23312 * gdb.asm/v850.inc: New file.
23313
23314 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
23315
23316 * gdb.c++/annota2.exp (annotate-quit): Add comment.
23317
23318 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
23319
23320 * gdb.base/break.exp: Check 'break "marker2"'.
23321
23322 2002-05-10 Michael Snyder <msnyder@redhat.com>
23323
23324 * gdb.base/long_long.exp: Fix typo.
23325
23326 2002-05-10 Jim Blandy <jimb@redhat.com>
23327
23328 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
23329 a bug.
23330
23331 * gdb.base/printcmds.exp (test_integer_literals_rejected):
23332 Recognize more detailed error message produced by the macro
23333 expander's lexical analyzer.
23334 * lib/gdb.exp (test_print_reject): Same.
23335
23336 2002-05-09 Mark Kettenis <kettenis@gnu.org>
23337
23338 * gdb.c++/method.exp: Fix typo.
23339
23340 2002-05-08 Michael Snyder <msnyder@redhat.com>
23341
23342 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23343 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
23344 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
23345 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23346 Add iftarget clause for strongarm.
23347
23348 2002-05-06 Michael Snyder <msnyder@redhat.com>
23349
23350 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23351 (gdb_continue_to_end): Accept output from status wrapper.
23352 * gdb.base/ending-run.exp: Add case for output from status wrapper.
23353 Clean up fail messages to match pass messages.
23354
23355 Enable the "needs_status_wrapper" testsuite feature.
23356 * lib/gdb.exp (gdb_wrapper_init): New procedure.
23357 (gdb_compile): Conditionally call gdb_wrapper_init.
23358 * gdb.base/a2-run.exp: Recognize output from status wrapper.
23359 * gdb.c++/method.exp: Recognize output from status wrapper.
23360
23361 2002-05-06 Ben Elliston <bje@redhat.com>
23362 From Graydon Hoare <graydon@redhat.com>
23363
23364 * config/sid.exp: Include support for "rawsid" protocol.
23365
23366 2002-05-03 Jim Blandy <jimb@redhat.com>
23367
23368 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23369 * gdb.c++/hang3.C: New file.
23370
23371 2002-05-04 Andrew Cagney <ac131313@redhat.com>
23372
23373 * gdb.base/default.exp: Remove obsolete code.
23374 * gdb.c++/misc.exp: Ditto. Update copyright.
23375 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
23376 * gdb.base/whatis.exp: Ditto. Update copyright.
23377 * gdb.base/scope.exp: Ditto. Update copyright.
23378 * gdb.base/ptype.exp: Ditto. Update copyright.
23379 * gdb.base/printcmds.exp: Ditto. Update copyright.
23380 * gdb.base/opaque.exp: Ditto. Update copyright.
23381 * gdb.base/list.exp: Ditto.
23382 * gdb.base/funcargs.exp: Ditto. Update copyright.
23383 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23384 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23385 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23386 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23387 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23388 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23389
23390 2002-05-02 Michael Snyder <msnyder@redhat.com>
23391
23392 * gdb.base/watchpoint.exp: Add xscale target.
23393 * gdb.base/long_long.exp: Add xscale target.
23394 * gdb.base/default.exp: Add xscale target.
23395
23396 2002-05-01 Jim Blandy <jimb@redhat.com>
23397
23398 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23399 gdb.c++/hang.exp: New test.
23400
23401 2002-05-01 Fred Fish <fnf@redhat.com>
23402
23403 * gdb.base/completion.exp: Handle completions of "./Make" for
23404 more than one completion possibility, as is the case when we
23405 build and test in the source tree.
23406
23407 2002-04-29 Anthony Green <green@redhat.com>
23408
23409 * gdb.java/jmisc1.exp: New file.
23410 * gdb.java/jmisc2.exp: New file.
23411
23412 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
23413
23414 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23415
23416 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
23417
23418 * gdb.base/help.exp: Change 'help status' to allow for target
23419 dependent output differences.
23420
23421 2002-04-22 Michael Chastain <mec@shout.net>
23422
23423 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23424
23425 2002-04-22 Michael Chastain <mec@shout.net>
23426
23427 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23428
23429 2002-04-17 David S. Miller <davem@redhat.com>
23430
23431 * gdb.asm/sparc64.inc: New file.
23432 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23433
23434 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
23435
23436 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23437 instruction file directly into the build tree. Clean up at end of
23438 test.
23439
23440 2002-04-18 David S. Miller <davem@redhat.com>
23441
23442 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23443 handle 64-bit platforms correctly.
23444 * gdb.base/maint.exp: Likewise.
23445
23446 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23447
23448 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23449 ``-fpic'' when compiling files comprising a shared library, but
23450 it does need additional linker flags in order to find shared
23451 libraries at run time.
23452
23453 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23454
23455 * gdb.base/cvexpr.c (use): New function.
23456 (main): Invoke use() on all global variables to prevent
23457 some linkers from deleting these otherwise unused symbols.
23458
23459 2002-04-17 Michael Chastain <mec@shout.net>
23460 From David S. Miller <davem@redhat.com>
23461
23462 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
23463 handle 64-bit platforms correctly.
23464
23465 2002-04-12 Michael Snyder <msnyder@redhat.com>
23466 From Jim Blandy <jimb@redhat.com>
23467 * gdb.base/foo.c (foox): Remove section attribute; the linker
23468 script can handle this instead.
23469 * gdb.base/bar.c (barx): Same.
23470 * gdb.base/baz.c (bazx): Same.
23471 * gdb.base/grbx.c (grbxx): Same.
23472
23473 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
23474 manager doesn't automatically unmap overlays unnecessarily.
23475
23476 2002-04-10 Martin M. Hunt <hunt@redhat.com>
23477
23478 * gdb.base/ending-run.exp: Fix pattern for Mips targets
23479 stepping out of main.
23480
23481 2002-04-09 Michael Chastain <mec@shout.net>
23482
23483 * gdb.c++/local.cc (main): Move call to marker1() inside nested
23484 scope so that the nested scope tests will make sense.
23485 * gdb.c++/local.exp: Write patterns that actually work with gcc
23486 (the HP patterns "were never known to work with gcc").
23487 Keep the old aCC patterns too.
23488
23489 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
23490
23491 * gdb.base/attach.exp: Correct target board test.
23492
23493 2002-04-08 Michael Chastain <mec@shout.net>
23494
23495 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
23496 in a const method. Add some xfail and fail cases for configurations
23497 that do not emit the "const ...".
23498
23499 2002-04-07 Michael Chastain <mec@shout.net>
23500
23501 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
23502 Accept "A * const" and "const A * const" as type of "this".
23503 Fix spelling of getFunky throughout. Make messages uniform.
23504
23505 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
23506
23507 Work around for PR gdb/285:
23508 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
23509
23510 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
23511
23512 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
23513 instructions file at run time instead of configure time.
23514 Sometimes we run the test in a directory that is not the one we
23515 configured in.
23516 * gdb.asm/configure.in: Delete creation of symlink.
23517 * gdb.asm/configure: Regenerate.
23518
23519 2002-04-05 J. Brobecker <brobecker@gnat.com>
23520
23521 * gdb.gdb/xfullpath.exp: New test, to exercise the new
23522 xfullpath () function.
23523
23524 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
23525
23526 * gdb.asm/Makefile.in: Correct dependencies.
23527
23528 * gdb.asm/powerpc.inc: New file.
23529 * gdb.asm/asm-source.exp: Add PowerPC.
23530 * gdb.asm/configure.in: Likewise.
23531 * gdb.asm/configure: Regenerated.
23532
23533 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
23534
23535 * gdb.base/relocate.exp: New file.
23536 * gdb.base/relocate.c: New file.
23537
23538 2002-04-04 Fred Fish <fnf@redhat.com>
23539
23540 * gdb.base/step-test.exp: Update comment regarding stopping in
23541 memcpy/bcopy calls inserted as part of the compiler runtime.
23542
23543 2002-04-04 Michael Snyder <msnyder@redhat.com>
23544
23545 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
23546
23547 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
23548
23549 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
23550 (gdb_expect): Remove $notransfer hack.
23551
23552 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
23553
23554 * gdb.c++/classes.exp ("calling method for small class"): Match
23555 updated register output.
23556
23557 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
23558
23559 Fix PR gdb/452
23560 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
23561 when finished. Make gdb_file_cmd send "exec-file" when
23562 appropriate.
23563
23564 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
23565
23566 * gdb.base/attach.exp: Remove extra setup_xfail.
23567
23568 2002-03-26 Michael Snyder <msnyder@redhat.com>
23569
23570 * gdb.base/default.exp: Add tests for dump, append, and restore.
23571 * gdb.base/help.exp: Add tests for dump, append, and restore.
23572 * gdb.base/dump.exp: New file, test dump, append and restore.
23573 * gdb.base/dump.c: New file.
23574
23575 2002-03-27 Michael Snyder <msnyder@redhat.com>
23576
23577 * gdb.base/help.exp: Modify expect strings to reflect
23578 clean-ups in help messages.
23579
23580 2002-03-26 Fred Fish <fnf@redhat.com>
23581
23582 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
23583 have debugging info for those functions and the compiler uses them
23584 internally to copy structs around.
23585
23586 2002-03-26 Fred Fish <fnf@redhat.com>
23587
23588 * gdb.base/list.exp: Revert the change made yesterday and add note
23589 about why we don't list the default lines for remote targets.
23590
23591 2002-03-25 Michael Snyder <msnyder@redhat.com>
23592
23593 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
23594
23595 2002-03-25 Fred Fish <fnf@redhat.com>
23596
23597 * gdb.base/list.exp: This test works on remote targets so remove
23598 the short circuit for remote targets. Update copyright.
23599
23600 2002-03-25 Fred Fish <fnf@redhat.com>
23601
23602 * gdb.base/attach.exp: Fix logic error that was suppressing this
23603 test for all non hppa*-*-hpux* targets, instead of the hp target.
23604 Move comments closer to the suppression point. Also now need to
23605 check that we are running natively.
23606
23607 2002-03-22 Michael Snyder <msnyder@redhat.com>
23608
23609 * gdb.base/default.exp: Add test for gcore. Update copyright.
23610 * gdb.base/help.exp: Add test for gcore. Update copyright.
23611
23612 2002-03-06 Fred Fish <fnf@redhat.com>
23613
23614 * gdb.base/funcargs.c: Remove extraneous ';' character.
23615 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
23616
23617 2002-03-04 Michael Chastain <mec@shout.net>
23618
23619 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
23620 accommodate gcc v3 function signature.
23621 * gdb.mi/mi0-var-cmd-exp: Ditto.
23622
23623 2002-02-24 Andrew Cagney <ac131313@redhat.com>
23624
23625 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
23626 ``GNU/Linux'' or ``Linux kernel''
23627 * testsuite/gdb.threads/pthreads.c: Ditto.
23628
23629 2002-02-24 Michael Chastain <mec@shout.net>
23630
23631 * gdb.threads/pthreads.c (thread1): Add a return statement.
23632 (thread2): Likewise.
23633 (foo): Likewise.
23634
23635 2002-02-23 Michael Chastain <mec@shout.net>
23636
23637 * gdb.threads/linux-dp.c (philosopher): Add a return statement
23638 to placate gcc.
23639
23640 2002-02-23 Michael Chastain <mec@shout.net>
23641
23642 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
23643 test "ptype bint". The test passes on all my stabs configurations.
23644
23645 2002-02-21 Jim Blandy <jimb@redhat.com>
23646
23647 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
23648 filename at a time, and watch for the ones we want to see.
23649
23650 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
23651 types of pointers to prototyped functions.
23652
23653 2002-02-20 Andrew Cagney <ac131313@redhat.com>
23654
23655 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
23656 signed, unsigned and straight char.
23657 (padding_char, padding_short, padding_int, padding_long,
23658 padding_long_long, padding_float, padding_double,
23659 padding_long_double): New global variables.
23660 (fill, fill_structs): New functions.
23661
23662 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
23663 for correctly sized writes. Update copyright.
23664 (get_valueof): New procedure.
23665 (get_sizeof): Call get_valueof.
23666 (check_valueof): New procedure.
23667 (check_padding): New procedure.
23668
23669 2002-02-20 Michael Chastain <mec@shout.net>
23670
23671 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
23672 to setup_xfail. Document some of the remaining calls.
23673
23674 2002-02-18 Michael Chastain <mec@shout.net>
23675
23676 * gdb.c++/userdef.exp: Update copyright year.
23677
23678 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
23679
23680 * gdb.c++/userdef.exp: Test overloaded operators properly.
23681 Remove xfails.
23682
23683 2002-02-14 Michael Snyder <msnyder@redhat.com>
23684
23685 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23686
23687 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
23688
23689 * gdb.base/a2-run.exp: Check for a remote target properly.
23690 * gdb.base/annota1.exp: Likewise.
23691 * gdb.base/list.exp: Likewise.
23692 * gdb.base/reread.exp: Likewise.
23693 * gdb.base/scope.exp: Likewise.
23694 * gdb.base/shlib-call.exp: Likewise.
23695 * gdb.base/term.exp: Likewise.
23696 * gdb.c++/annota2.exp: Likewise.
23697
23698 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
23699
23700 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23701
23702 2002-02-10 Michael Chastain <mec@shout.net>
23703
23704 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23705 (call_after_alloca): Ditto.
23706
23707 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
23708
23709 * gdb.base/ending-run.exp: Guard "cont" test with
23710 gdb_skip_stdio_test.
23711
23712 2002-02-06 Jim Blandy <jimb@redhat.com>
23713
23714 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23715 from here...
23716 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23717 To here. Disable this test on non-HP platforms. Add big comment.
23718
23719 2002-02-04 Michael Snyder <msnyder@redhat.com>
23720
23721 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
23722 other than d10v and m32r.
23723
23724 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
23725
23726 * gdb.base/default.exp: Rewrite test patterns to reduce time
23727 taken to match them.
23728
23729 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23730
23731 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23732 Allow a start function above main.
23733 * gdb.threads/linux-dp.exp: Fix copyright date.
23734
23735 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23736
23737 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23738 (check_philosopher_stack): Check for manager thread before checking
23739 for a just-starting thread.
23740
23741 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23742
23743 From Neil Booth <neil@daikokuya.demon.co.uk>:
23744 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23745 warnings.
23746
23747 2002-01-21 Fred Fish <fnf@redhat.com>
23748
23749 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23750 not caller.
23751
23752 2002-01-21 Jim Blandy <jimb@redhat.com>
23753
23754 * gdb.base/reread.exp: Check that GDB properly re-reads the
23755 executable file when it changes while no inferior is running.
23756
23757 2002-01-21 Fred Fish <fnf@redhat.com>
23758
23759 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23760 optionally accept the "shlib events" variation.
23761
23762 2002-01-21 Jim Blandy <jimb@redhat.com>
23763
23764 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23765 call `fflush' after every `printf', so that the output is produced
23766 at predictable points, regardless of whatever buffering does (or
23767 doesn't) take place.
23768 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23769 at different points.
23770
23771 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
23772
23773 * gdb.c++/inherit.exp: Update copyright years.
23774 * gdb.c++/method.exp: Likewise.
23775
23776 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
23777
23778 * gdb.c++/classes.exp: Update for improved v3 support and skipping
23779 artificial methods/arguments.
23780 * gdb.c++/derivation.exp: Likewise.
23781 * gdb.c++/inherit.exp: Likewise.
23782 * gdb.c++/method.exp: Likewise.
23783 * gdb.c++/virtfunc.exp: Likewise.
23784
23785 2002-01-18 Andrew Cagney <ac131313@redhat.com>
23786
23787 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23788 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23789 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23790 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23791 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23792 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23793
23794 2002-01-17 Jim Blandy <jimb@redhat.com>
23795
23796 * gdb.asm/asm-source.exp (info symbol): Take another shot at
23797 anchoring the pattern matching the entry point symbol's name.
23798
23799 2002-01-17 Andrew Cagney <ac131313@redhat.com>
23800
23801 * gdb.base/maint.exp: Update ``maint internal-error'' to match
23802 continue/quit query. Update copyright.
23803
23804 2002-01-14 Michael Snyder <msnyder@redhat.com>
23805
23806 * gdb.base/gcore.exp: Remove extra debugging output.
23807
23808 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
23809
23810 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23811 for slightly dubious v2 mangled string.
23812
23813 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
23814
23815 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23816
23817 2002-01-10 Jason Merrill <jason@redhat.com>
23818
23819 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
23820
23821 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23822 constructors.
23823 * gdb.c++/derivation.exp: Likewise.
23824 * gdb.c++/templates.exp: Likewise.
23825 * gdb.c++/virtfunc.exp: Likewise.
23826
23827 2002-01-10 Michael Snyder <msnyder@redhat.com>
23828
23829 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
23830
23831 2002-01-08 Michael Snyder <msnyder@redhat.com>
23832
23833 * gdb.base/gcore.exp: New test for generate-core-file command.
23834 * gdb.base/gcore.c: Testcase for above.
23835 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23836
23837 2002-01-08 Jason Merrill <jason@redhat.com>
23838
23839 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23840
23841 2002-01-07 Fred Fish <fnf@redhat.com>
23842
23843 * gdb.c++/overload.exp: Remove unconditional xfails for:
23844 print foo_instance1.overloadargs(1)
23845 print foo_instance1.overloadargs(1, 2)
23846 print foo_instance1.overloadargs(1, 2, 3)
23847 print foo_instance1.overloadargs(1, 2, 3, 4)
23848 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
23849 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
23850 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
23851 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
23852 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
23853 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
23854 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
23855 print foo_instance1.overload1arg()
23856 print foo_instance1.overload1arg((char)arg2)
23857 print foo_instance1.overload1arg((signed char)arg3)
23858 print foo_instance1.overload1arg((unsigned char)arg4)
23859 print foo_instance1.overload1arg((int)arg7)
23860 print foo_instance1.overload1arg((unsigned int)arg8)
23861 print foo_instance1.overload1arg((float)arg11)
23862 print foo_instance1.overload1arg((double)arg12)
23863
23864 2002-01-07 Michael Snyder <msnyder@redhat.com>
23865
23866 * gdb.base/huge.exp: New test. Print a very large target data object.
23867 (skip_huge_test): New test variable. Define if you want to skip this
23868 test. The test reads an 8 megabyte data object from the target, so it
23869 might be very time consuming on remote targets with a slow connection.
23870 * gdb.base/huge.c: New file. Test case for above.
23871
23872 2002-01-07 Fred Fish <fnf@redhat.com>
23873
23874 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
23875 g_instance.bfoo, and g_instance.cfoo.
23876
23877 2002-01-07 Jeffrey A Law <law@redhat.com>
23878
23879 * gdb.base/break.c (multi_line_if_conditional): New function.
23880 (multi_ilne_while_conditional): Likewise.
23881 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
23882 IF or WHILE condition puts the breakpoint at the start of
23883 the condition.
23884
23885 * gdb.base/selftest.exp (backtrace through signal handler): Remove
23886 hppa*-*-hpux* expected failure.
23887 * gdb.base/structs.exp (do_function_calls): Similarly.
23888
23889 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
23890 watchpoints.
23891
23892 2002-01-06 Andrew Cagney <ac131313@redhat.com>
23893
23894 Fix PR gdb/66.
23895 * gdb.base/structs.exp: Replace skip for a29k with skip for
23896 gdb,cannot_call_functions.
23897 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
23898 * gdb.base/callfuncs.exp: Ditto.
23899 * gdb.base/call-rt-st.exp: Ditto.
23900 * gdb.base/call-strs.exp: Ditto.
23901 * gdb.base/callfwmall.exp: Ditto.
23902 * gdb.base/scope.exp: Obsolete xfail a29k.
23903 * gdb.c++/misc.exp: Ditto.
23904 * gdb.c++/cplusfuncs.exp: Ditto.
23905 * gdb.base/ptype.exp: Ditto.
23906 * gdb.base/printcmds.exp: Ditto.
23907 * gdb.base/opaque.exp: Ditto.
23908 * gdb.base/list.exp: Ditto.
23909 * gdb.base/funcargs.exp: Ditto.
23910 * gdb.base/default.exp: Ditto.
23911
23912 2002-01-04 Michael Snyder <msnyder@redhat.com>
23913
23914 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
23915 * gdb.base/maint.exp: Add tests for maint info sections options.
23916
23917 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
23918
23919 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
23920
23921 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
23922
23923 * gdb.asm/arm.inc: New file.
23924 * gdb.asm/asm-source.exp: Add arm targets.
23925 * gdb.asm/configure.in: Ditto.
23926 * gdb.asm/configure: Recreated from configure.in.
23927
23928 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
23929
23930 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
23931 with HP's compiler.
23932 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
23933 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
23934 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
23935 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
23936
23937 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
23938 either HP's compilers or GCC.
23939
23940 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
23941 a SIGBUS or SIGSEGV.
23942
23943 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
23944
23945 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
23946 can be compiled with either HP's compiler or GCC.
23947
23948 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
23949 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
23950 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
23951
23952 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
23953 to match current gdb output. Update due to using auto-solib-limit
23954 for limiting instead of overloading auto-solib-add.
23955 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
23956 test program.
23957
23958 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
23959 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
23960 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
23961 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
23962 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
23963 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
23964 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
23965 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
23966 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
23967 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
23968 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
23969 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
23970 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
23971
23972 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
23973 a SIGTRAP to the inferior.
23974
23975 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
23976
23977 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
23978 Substitute call to target_link by call to gdb_compile.
23979
23980 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
23981
23982 * gdb.base/break.exp: Fix HP specific search string when testing
23983 backtracing in a called function.
23984
23985 * gdb.base/constvars.exp: Only set lang to C++ if we're
23986 compiling the test with HP's compilers.
23987 * gdb.base/volatile.exp: Similarly.
23988
23989 2001-12-19 Jim Blandy <jimb@redhat.com>
23990
23991 * gdb.base/printcmds.exp: Expect the null character to be printed
23992 as '\0', and the '\013' to be printed as '\v'.
23993 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
23994 * gdb.base/setvar.exp: Same.
23995
23996 2001-12-17 Jim Blandy <jimb@redhat.com>
23997
23998 * gdb.base/completion.exp: Rather than completing very long
23999 filenames, which can make the readline library produce output we
24000 don't recognize, cd to the directory first, and then complete
24001 using nice, short relative paths.
24002
24003 * gdb.base/completion.exp: On some systems, there is, in fact, a
24004 variable named `b' in scope, since GDB treats all static
24005 variables as being in scope. So use `no_var_named_this'
24006 instead of `b'.
24007
24008 * gdb.base/corefile.exp: Recognize the message saying that GDB
24009 can't find the core file's registers as a failure.
24010
24011 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24012
24013 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24014 test expect string more specific.
24015
24016 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
24017
24018 * gdb.asm/asm-source.exp: Add support for xstormy16.
24019 * gdb.asm/configure.in: Ditto.
24020 * gdb.asm/configure: Rebuild.
24021 * gdb.asm/xstormy16.inc: New file.
24022
24023 2001-12-10 Fred Fish <fnf@redhat.com>
24024
24025 * gdb.base/maint.exp: Update to match changes in type dumping code.
24026
24027 2001-12-10 Jim Blandy <jimb@redhat.com>
24028
24029 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
24030 matching the entry point symbol's name at the beginning of the
24031 line.
24032
24033 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24034
24035 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24036 gdb.c++/inherit.exp, gdb.c++/method.exp,
24037 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24038 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24039 and class layout support.
24040
24041 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24042
24043 * gdb.c++/classes.exp: Add test for static member function.
24044 * gdb.c++/misc.cc: Add class with static member function.
24045
24046 2001-12-07 Jim Blandy <jimb@redhat.com>
24047
24048 If GDB says it can't find the struct the function returned, report
24049 those tests as `unsupported'.
24050 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24051 Rewrite subsequent tests to use it.
24052
24053 If GDB says it can't find the struct the function returned, report
24054 those tests as `unsupported'.
24055 * gdb.base/structs.exp (call_struct_func): New function.
24056 (do_function_calls): Use call_struct_func to call the functions
24057 returning structs.
24058
24059 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24060 whether functions are prototyped or not, so we can't possibly pass
24061 arguments to t_float_values2 properly.
24062
24063 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24064 value of `timeout' for targets other than the mips*tx39-*.
24065
24066 2001-12-06 Michael Snyder <msnyder@redhat.com>
24067
24068 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
24069 and detect whether the start symbol has a leading underscore.
24070
24071 2001-12-04 Jim Blandy <jimb@redhat.com>
24072
24073 * gdb.base/completion.exp: Clarify indentation.
24074
24075 2001-12-03 Jim Blandy <jimb@redhat.com>
24076
24077 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24078 variables on the S/390, not `.word'.
24079
24080 2001-11-30 Jim Blandy <jimb@redhat.com>
24081
24082 Add assembly-source tests for s390-ibm-linux.
24083 * gdb.asm/s390.inc: New file.
24084 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24085 the S/390 architecture.
24086 * gdb.asm/configure: Regenerated.
24087
24088 2001-11-30 Michael Snyder <msnyder@redhat.com>
24089
24090 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24091 next, info source, info sources, info line, global and static
24092 variables, and static functions.
24093 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24094 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24095 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24096 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24097 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24098 (gdbasm_leave): Restore frame pointer.
24099 (gdbasm_startup): Copy stack set-up from crt0.S.
24100
24101 2001-11-26 Fernando Nasser <fnasser@redhat.com>
24102
24103 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24104 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24105 to a local (non-static) variable. Copy tstruct.a to a static buffer
24106 and return a pointer to that buffer.
24107 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24108
24109 2001-11-24 Mark Kettenis <kettenis@gnu.org>
24110
24111 * gdb.asm/configure.in: Fix recognition of ix86 target.
24112 * gdb.asm/configure: Regenerate.
24113
24114 2001-11-21 Michael Snyder <msnyder@redhat.com>
24115
24116 * gdb.asm/sparc.inc: New file.
24117 * gdb.asm/asm-source.exp: Recognize sparc target.
24118 * gdb.asm/configure.in: Recognize sparc target.
24119 * gdb.asm/configure: Regenerate.
24120
24121 2001-11-21 Michael Snyder <msnyder@redhat.com>
24122
24123 * gdb.asm/m32r.inc: New file.
24124 * gdb.asm/asm-source.exp: Recognize m32r target.
24125 * gdb.asm/configure.in: Recognize m32r target.
24126 * gdb.asm/configure: Regenerate.
24127
24128 2001-11-20 Michael Snyder <msnyder@redhat.com>
24129
24130 * gdb.asm/i386.inc: New file.
24131 * gdb.asm/asm-source.exp: Recognize ix86 target.
24132 * gdb.asm/configure.in: Recognize ix86 target.
24133 * gdb.asm/configure: Regenerate.
24134
24135 * gdb.c++/namespace.exp: Fix quotes in output messages.
24136
24137 2001-11-14 Michael Snyder <msnyder@redhat.com>
24138
24139 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
24140 qualifier in a type cast expression, to designate an address
24141 in the instruction space (Harvard architecture).
24142
24143 2001-11-13 Michael Snyder <msnyder@redhat.com>
24144
24145 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24146 Tests for expressions using 'const' and 'volatile'.
24147
24148 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
24149
24150 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24151
24152 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
24153
24154 * lib/mi-support.exp (mi_run_to_helper): Move comments
24155 outside of gdb_expect.
24156
24157 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
24158
24159 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24160 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24161 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24162 mi0_run_to): New functions.
24163 * gdb.mi/mi-simplerun.exp: Use them.
24164 * gdb.mi/mi0-simplerun.exp: Likewise.
24165 * gdb.mi/mi-var-cmd.exp: Likewise.
24166 * gdb.mi/mi0-var-cmd.exp: Likewise.
24167
24168 2001-11-10 Andrew Cagney <ac131313@redhat.com>
24169
24170 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24171 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24172
24173 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24174
24175 * gdb.base/restore.exp: Include $expected value in restored test
24176 message.
24177
24178 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24179
24180 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24181 implemented.
24182
24183 2001-11-08 Michael Snyder <msnyder@redhat.com>
24184
24185 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24186 Add pass/fail message for stop at breakpoint in call dummy function.
24187
24188 2001-11-07 Michael Snyder <msnyder@redhat.com>
24189
24190 * gdb.c++/templates.exp (test_template_breakpoints):
24191 If we get an overload menu, but it does not match what
24192 we expect, we still need to issue the "cancel" command.
24193 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24194 making the whitespace optional. Argument for "new" may be
24195 "unsigned" as well as "unsigned int/long".
24196 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
24197 making the whitespace optional. Also replace "(void) with
24198 "((void|)), making the keyword "void" optional.
24199 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
24200 making the whitespace optional. Also replace "(void) with
24201 "((void|)), making the keyword "void" optional.
24202 * gdb.base/callfuncs.c (t_float_values): This function must
24203 _not_ be prototyped, and the following function (t_float_values2)
24204 must be prototyped (if the compiler supports it), so that GDB
24205 can be tested against both cases. Usually one case involves
24206 promotion of float to double, while the other does not.
24207 * gdb.base/callfwmall.c: Ditto.
24208 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24209 includes a stack frame for "start".
24210
24211 2001-11-05 Jim Blandy <jimb@redhat.com>
24212
24213 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24214 pointers are 32 bits long, and that offsets of relocs are always
24215 stored in the data (REL-style), and not in the reloc entry itself
24216 (RELA-style).
24217 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24218 stabs.
24219
24220 2001-11-01 Michael Snyder <msnyder@redhat.com>
24221
24222 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24223 and regular expression operators by using quoting.
24224
24225 2001-10-31 Michael Snyder <msnyder@redhat.com>
24226
24227 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24228 depending on what the symbol table contains.
24229 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24230 the output of the ptype command. Similarly, accept both "const &"
24231 and "const&".
24232
24233 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
24234
24235 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24236 symbol `STORAGE' to allow to choose the storage class of
24237 the local datastructures.
24238 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24239 compiler directive.
24240
24241 2001-10-30 Michael Snyder <msnyder@redhat.com>
24242
24243 * gdb.base/jump.exp: Allow it to run for all targets.
24244
24245 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24246
24247 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24248 with new double_array size.
24249 (main): Change storage class of all local variables to static.
24250 Reduce size of double_array to 9.
24251 * gdb.base/call-ar-st.exp: Increase timeout value.
24252 Change expected output for double array to match new size in
24253 call-ar-st.c.
24254
24255 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24256
24257 * gdb.base/ending-run.exp: Create identical output when passing
24258 `step to end of run' case. Add regular expression branch satisfying
24259 Stormy16 target.
24260
24261 2001-10-28 Mark Kettenis <kettenis@gnu.org>
24262
24263 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24264 that we catch the expected failure under Linux/x86.
24265
24266 2001-10-29 Orjan Friberg <orjanf@axis.com>
24267
24268 * gdb.base/setvar.exp: Escape curly braces.
24269 * gdb.stabs/weird.exp: Ditto.
24270
24271 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
24272
24273 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24274 * gdm.mi/mi0-hack-cli.exp: Likewise.
24275
24276 2001-10-25 Andrew Cagney <ac131313@redhat.com>
24277
24278 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24279 messages.
24280
24281 2001-10-21 Andrew Cagney <ac131313@redhat.com>
24282
24283 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24284 checking MI enabled.
24285
24286 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
24287
24288 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24289
24290 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
24291
24292 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24293 if gdb child process crashes, just signal an error.
24294
24295 2001-10-02 Jim Blandy <jimb@redhat.com>
24296
24297 * lib/gdb.exp (test_xfail_format): Simplify.
24298
24299 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24300 front of the variable name `format'. Simplify `if'.
24301
24302 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24303
24304 * gdb.threads/pthreads.exp: Wait for output and delay
24305 before sending ^C.
24306
24307 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24308
24309 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
24310 some incorrect output instead of timing out.
24311 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
24312
24313 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
24314
24315 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24316 check to allow additional `int'.
24317
24318 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
24319
24320 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24321 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24322
24323 2001-09-27 Michael Snyder <msnyder@redhat.com>
24324
24325 * lib/gdb.exp (test_debug_format): New proc.
24326 (setup_xfail_format): Use new proc test_debug_format.
24327 * gdb.base/constvars.exp (local_compiler_xfail_check): New
24328 proc; use new service proc test_debug_format.
24329 Replace all other "gcc_compiled" tests with this test.
24330 * gdb.base/volatile.exp (local_compiler_xfail_check): New
24331 proc; use new service proc test_debug_format.
24332 Replace all other "gcc_compiled" tests with this test.
24333
24334 2001-09-27 Michael Snyder <msnyder@redhat.com>
24335
24336 * gdb.base/cvexpr.exp: New file.
24337 * gdb.base/cvexpr.c: New file
24338 Test for expressions using const and volatile keywords.
24339
24340 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
24341
24342 * gdb.base/constvars.exp: Check for different orders of keywords
24343 and additional "int" strings in output.
24344
24345 2001-09-22 Andrew Cagney <ac131313@redhat.com>
24346
24347 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24348 responses from "help maint".
24349
24350 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
24351
24352 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24353 to localhost:NNN instead of :NNN, in case Xvfb is listening
24354 only on TCP.
24355
24356 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
24357
24358 * gdb.base/recurse.exp: When checking leaving the watchpoint
24359 scope, recognize when gdb is in function's epilogue and pass.
24360
24361 2001-09-18 Keith Seitz <keiths@redhat.com>
24362
24363 * lib/insight-support.exp (_gdbtk_export_target_info): Add
24364 support for running tests against sid targets.
24365 (gdbtk_done): Ditto.
24366
24367 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
24368
24369 * gdb.base/ending-run.c (main): Set stdout buffersize
24370 to the same reasonable value for any target.
24371 * gdb.base/ending-run.exp: Add a regular expression
24372 to make testsuite happy on Sanyo Stormy16 target.
24373
24374 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
24375
24376 * gdb.base/display.c (do_loops): Add float variable `f'.
24377 Increment f in loop.
24378 * gdb.base/display.exp: Increment timeout by 60 seconds.
24379 Change float display test to use variable `f'.
24380
24381 2001-09-17 Jim Blandy <jimb@redhat.com>
24382
24383 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24384 overflowing the limited breakpoint tables on some ROM monitors
24385 (like the ROM68K).
24386
24387 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
24388
24389 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24390 the "-ac" (disable access control) flag.
24391
24392 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
24393
24394 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24395 ints.
24396
24397 2001-08-30 Keith Seitz <keiths@redhat.com>
24398
24399 * lib/gdb.exp: Move all insight-related functionality into
24400 separate file.
24401 * lib/insight-support.exp: New file.
24402
24403 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
24404
24405 * config/sid.exp (sid_start): Never set sid verbosity; disable
24406 expect_background {} that consumed its stdout; tolerate </dev/null.
24407 Attempt to set endianness override in "sid" protocol mode. Cleanup.
24408
24409 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24410
24411 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24412 CLI jump command to start it.
24413 (mi_run_to_main): Fail immediatly when unexpected output.
24414
24415 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24416
24417 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24418 beginning of function. Fix PR gdb/191.
24419
24420 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
24421
24422 * config/sid.exp (sid_start): Don't warn if we cannot figure out
24423 what to force sid endianness to.
24424
24425 2001-08-15 Keith Seitz <keiths@redhat.com>
24426
24427 * lib/gdb.exp (gdbtk_start): Don't set environment
24428 variables for TCL_LIBRARY and friends. Insight will
24429 now figure these out for itself.
24430
24431 2001-08-02 Michael Snyder <msnyder@redhat.com>
24432
24433 * gdb.base/completion.exp: Remove the symbol "a64l" from
24434 the expect string; this is target-specific, and not related
24435 to what is being tested.
24436
24437 2001-08-02 Dave Brolley <brolley@redhat.com>
24438
24439 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24440
24441 2001-07-25 Michael Snyder <msnyder@redhat.com>
24442
24443 * gdb.base/consecutive.exp: New file. Test stepping over
24444 breakpoints on consecutive instructions.
24445 * gdb.base/consecutive.c: New file.
24446
24447 * gdb.base/call-rt-st.exp: Use double-backslash to quote
24448 curly braces in regular expressions.
24449
24450 2001-07-25 Michael Snyder <msnyder@redhat.com>
24451
24452 * gdb.base/ending-run.exp: Accept "Program exited normally" as
24453 legitimate output from stepping out of main.
24454
24455 2001-07-22 Keith Seitz <keiths@redhat.com>
24456
24457 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24458 the empty string, do not run the tests.
24459
24460 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24461
24462 * gdb.base/long_long.exp: Detect size of pointer. Take into
24463 account 2-byte pointers when testing for p/a results.
24464
24465 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24466
24467 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
24468 and defined to 1K for m68hc11.
24469 (random_data): Reduce table to 1K for embedded platforms (68hc11).
24470 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
24471 (sizeof_random_data): New variable to tell the size of the data table;
24472 don't test past this size; always run to main.
24473
24474 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24475
24476 * gdb.base/return2.exp: return of long long and double fails for
24477 68HC11; don't execute these tests on that platform.
24478 * gdb.base/return.exp: Return of a double fails for 68hc11.
24479
24480 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24481
24482 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
24483 tests that print a float.
24484 * call-rt-st.exp: Likewise.
24485
24486 2001-07-12 Mark Kettenis <kettenis@gnu.org>
24487
24488 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
24489 running this test on Linux.
24490
24491 2001-06-24 Michael Chastain <chastain@redhat.com>
24492
24493 * gdb.base/arithmet.exp: Remove some tests to make all test names
24494 unique.
24495
24496 2001-07-03 Michael Snyder <msnyder@redhat.com>
24497
24498 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
24499 the output of the ptype command.
24500
24501 2001-07-02 Michael Snyder <msnyder@redhat.com>
24502
24503 * gdb.base/completion.exp: Don't assume that break.c is the only
24504 source file that may contain functions named "marker".
24505 * gdb.base/corefile.exp: Quote the curly braces in regexp.
24506
24507 2001-06-28 Andrew Cagney <ac131313@redhat.com>
24508
24509 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
24510 of files to delete.
24511
24512 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
24513 * gdb.disasm/h8300s.exp: New file.
24514 gdb.disasm/h8300s.s: Likewise.
24515
24516 2001-06-27 Andrew Cagney <ac131313@redhat.com>
24517
24518 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
24519 empty breakpoint tables.
24520
24521 2001-06-25 Andrew Cagney <ac131313@redhat.com>
24522
24523 * lib/mi-support.exp: Update args=... part of stop-reason
24524 patterns. Accept either a list or a tuple.
24525
24526 2001-06-23 Andrew Cagney <ac131313@redhat.com>
24527
24528 * lib/mi-support.exp: Remove local emacs variable defining
24529 change-log-default-name.
24530
24531 2001-06-22 Michael Chastain <chastain@redhat.com>
24532
24533 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
24534 This is operationally compatible with the previous version.
24535
24536 2001-06-13 Jim Blandy <jimb@redhat.com>
24537
24538 * lib/gdb.exp (gdb_test): Doc fix.
24539
24540 2001-06-10 Michael Chastain <chastain@redhat.com>
24541
24542 * gdb.base/exprs.exp: Remove a duplicate test.
24543
24544 2001-06-06 Jim Blandy <jimb@redhat.com>
24545
24546 * gdb.base/return2.exp (main): Use values to test float and double
24547 returns that are not NaN's, to avoid being confused by IEEE
24548 comparison rules.
24549
24550 2001-06-04 Michael Snyder <msnyder@redhat.com>
24551
24552 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
24553 non-zero if control_c fails. Terminate the test on failure,
24554 rather than wait for 12 more tests to time out.
24555
24556 2001-06-06 Jim Blandy <jimb@redhat.com>
24557
24558 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
24559 Don't forget to match the GDB prompt.
24560
24561 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
24562
24563 2001-06-04 Jim Blandy <jimb@redhat.com>
24564
24565 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
24566 command.
24567
24568 2001-05-31 Kevin Buettner <kevinb@redhat.com>
24569
24570 * gdb.base/annota1.exp (info break): Match four or more spaces
24571 after "Address".
24572
24573 2001-05-31 Michael Chastain <chastain@redhat.com>
24574
24575 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
24576 (dm_type_int_star): Likewise.
24577 (dm_type_long_star): Likewise.
24578 (dm_type_void_star): Likewise.
24579
24580 2001-05-29 Kevin Buettner <kevinb@redhat.com>
24581
24582 * gdb.base/completion.exp (INPUTRC): Set this environment variable
24583 to a known value in order to get consistent results regardless
24584 of the setting of INPUTRC or the presence or contents of .inputrc.
24585
24586 2001-05-24 Michael Snyder <msnyder@redhat.com>
24587
24588 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
24589 Don't require that the main thread and the manager thread are the
24590 first in the list.
24591
24592 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
24593 debugging. If test fails, issue an "unsupported" not a "fail".
24594
24595 2001-05-24 Jim Blandy <jimb@redhat.com>
24596
24597 Don't assume that short is shorter than int.
24598 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
24599 assume that shorts are smaller than ints. On a 16-bit machine,
24600 this isn't true.
24601 ("print unsigned char == (~0)"): Add test that verifies that ~0,
24602 an int, is not equal to ~0 stored in an unsigned char. This tests
24603 the same thing that the previous test meant to, but works on
24604 16-bit machines, too.
24605 ("print unsigned char != (~0)"): Same test, complemented.
24606
24607 2001-05-24 Michael Snyder <msnyder@redhat.com>
24608
24609 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
24610 test for (full_coverage == 0). This makes the test run faster,
24611 and prevents dejagnu getting out of step.
24612
24613 2001-05-23 Kevin Buettner <kevinb@redhat.com>
24614
24615 * gdb.base/finish.exp (finish_void): Revise pattern for
24616 stopping on the call statement to not permit stopping at
24617 the start of the instructions comprising the call sequence.
24618
24619 2001-05-19 Michael Chastain <chastain@redhat.com>
24620
24621 * gdb.base/callfuncs.exp: Make all test names unique.
24622 * gdb.base/commands.exp: Make all test names unique.
24623 * gdb.base/condbreak.exp: Make all test names unique.
24624 * gdb.base/dbx.exp: Make all test names unique.
24625 * gdb.base/default.exp: Make all test names unique.
24626 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
24627 and TIMEOUT messages to their corresponding PASS message.
24628 * gdb.base/ending-run.exp: Make all test names unique.
24629 * gdb.base/long_long.exp: Remove duplicate test.
24630
24631 2001-05-21 Kevin Buettner <kevinb@redhat.com>
24632
24633 * gdb.base/finish.exp (finish_void): Allow "finish" command to
24634 stop on the call statement as well as the statement after the
24635 call.
24636
24637 2001-05-21 Michael Snyder <msnyder@redhat.com>
24638
24639 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
24640
24641 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
24642
24643 * gdb.base/completion.exp: Revamp test. Make it execute on all
24644 platforms.
24645
24646 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
24647
24648 * config/gdbserver.exp (gdb_load): Handle the case
24649 in which the arguments to gdbserver are given in the
24650 baseboard configuration file.
24651 Also handle the case in which the server needs to do a
24652 load.
24653
24654 2001-05-07 Keith Seitz <keiths@cygnus.com>
24655
24656 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
24657 set up the display for testing.
24658 (gdbtk_start): Convert all paths to paths that tcl will like.
24659 Export target information to environment.
24660 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
24661 necessary.
24662 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
24663 (to_tcl_path): New proc to convert a given pathname into
24664 a path acceptible as an argument to a tcl command.
24665 (_gdbtk_export_target_info): New proc to export target info
24666 into the environment for gdbtk testing.
24667 (gdbtk_done): New proc to signal end-of-test.
24668
24669 2001-05-06 Jim Blandy <jimb@redhat.com>
24670
24671 * restore.c: Make the code of caller0 correspond to its comment.
24672
24673 2001-05-03 Michael Snyder <msnyder@redhat.com>
24674
24675 * config/sid.exp (gdb_target_sid): Check for error messages.
24676 On error or timeout, don't make expect exit (which will terminate
24677 all subsequent tests); instead just make gdb exit.
24678 (gdb_load): Check for error messages. On error or timeout,
24679 return a negative value.
24680
24681 2001-04-24 Jim Blandy <jimb@redhat.com>
24682
24683 * gdb.c++/templates.exp: If we see the prompt for the overload
24684 list, but we haven't recognized any of the longer patterns,
24685 arrange for this test to fail, not hang.
24686
24687 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24688 variations.
24689
24690 2001-04-22 Michael Chastain <chastain@redhat.com>
24691
24692 * gdb.c++/local.exp: Use the 'runto' library function.
24693 * gdb.c++/namespace.exp: Likewise.
24694 * gdb.c++/overload.exp: Likewise.
24695
24696 2001-03-26 Kevin Buettner <kevinb@redhat.com>
24697
24698 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24699 * gdb.base/step-line.exp: New file. Test step/next in presence of
24700 #line directives.
24701 * gdb.base/step-line.c: New file. Test program for the above.
24702 * gdb.base/step-line.inp: New file. We pretend that this file has
24703 been transformed by some other tool into step-line.c.
24704
24705 2001-03-21 Jim Blandy <jimb@redhat.com>
24706
24707 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24708 unmangled operator names.
24709
24710 2001-03-20 Jim Blandy <jimb@redhat.com>
24711
24712 * gdb.threads/linux-dp.exp: Recognize an additional message
24713 generated by GDB when it doesn't understand how to debug threads
24714 on the target system.
24715
24716 2001-03-19 Andrew Cagney <ac131313@redhat.com>
24717
24718 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24719
24720 2001-03-12 Michael Chastain <chastain@redhat.com>
24721
24722 * gdb.c++/derivation.exp: Use the 'runto' library function.
24723
24724 2001-03-12 Michael Chastain <chastain@redhat.com>
24725
24726 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24727
24728 2001-02-24 Michael Chastain <chastain@redhat.com>
24729
24730 * gdb.c++/ref-types.exp: Change handwritten code to library
24731 function 'runto'.
24732
24733 2001-03-16 Orjan Friberg <orjanf@axis.com>
24734
24735 * gdb.base/signals.exp: Set count to 0 explicitly.
24736
24737 2001-03-15 Mark Salter <msalter@redhat.com>
24738
24739 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24740 (gdb_target_monitor): Add check of gdb_target_cmd return value.
24741 (gdb_load): Add support for additional target_info: gdb_download_size
24742 and gdb_load_timeout.
24743
24744 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
24745
24746 * gdb.base/annota1.exp: Move test of isnative to earlier in the
24747 file -- to prevent failing when the compile fails but we have no
24748 intention of running the tests anyway.
24749
24750 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24751 tests if set.
24752
24753 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
24754 integers.
24755
24756 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24757 * gdb.c++/namespace.exp: Ditto.
24758
24759 2001-03-07 Orjan Friberg <orjanf@axis.com>
24760
24761 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24762 * gdb.base/pointers.exp: Relax pattern match of decimals.
24763
24764 2001-03-06 Kevin Buettner <kevinb@redhat.com>
24765
24766 * Makefile.in, config/abug.exp, config/cfdbug.exp,
24767 config/cpu32bug.exp, config/dve.exp, config/est.exp,
24768 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24769 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24770 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24771 config/sh.exp, config/sid.exp, config/slite.exp,
24772 config/sparclet.exp, config/udi.exp, config/unknown.exp,
24773 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24774 config/vxworks.exp, config/vxworks29k.exp,
24775 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24776 gdb.base/all-bin.exp, gdb.base/annota1.exp,
24777 gdb.base/arithmet.exp, gdb.base/assign.exp,
24778 gdb.base/async.exp, gdb.base/attach.exp,
24779 gdb.base/bitfields.exp, gdb.base/bitops.exp,
24780 gdb.base/break.exp, gdb.base/call-ar-st.exp,
24781 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24782 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24783 gdb.base/commands.exp, gdb.base/completion.exp,
24784 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24785 gdb.base/constvars.exp, gdb.base/corefile.exp,
24786 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24787 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24788 gdb.base/ending-run.exp, gdb.base/environ.exp,
24789 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24790 gdb.base/finish.exp, gdb.base/foll-exec.exp,
24791 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24792 gdb.base/funcargs.exp, gdb.base/help.exp,
24793 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24794 gdb.base/logical.exp, gdb.base/long_long.exp,
24795 gdb.base/maint.exp, gdb.base/mips_pro.exp,
24796 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24797 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24798 gdb.base/pointers.exp, gdb.base/printcmds.exp,
24799 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24800 gdb.base/regs.exp, gdb.base/relational.exp,
24801 gdb.base/remote.exp, gdb.base/reread.exp,
24802 gdb.base/restore.exp, gdb.base/return2.exp,
24803 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24804 gdb.base/selftest.exp, gdb.base/setshow.exp,
24805 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24806 gdb.base/sigall.exp, gdb.base/signals.exp,
24807 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24808 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24809 gdb.base/step-test.exp, gdb.base/structs.c,
24810 gdb.base/structs.exp, gdb.base/structs2.exp,
24811 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24812 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24813 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24814 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24815 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24816 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24817 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24818 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24819 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24820 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24821 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24822 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24823 gdb.fortran/types.exp, gdb.java/jmisc.exp,
24824 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24825 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24826 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24827 gdb.trace/circ.exp, gdb.trace/collection.exp,
24828 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24829 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24830 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24831 gdb.trace/report.exp, gdb.trace/save-trace.exp,
24832 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24833 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24834 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24835 notices.
24836
24837 2001-02-27 Michael Snyder <msnyder@cygnus.com>
24838
24839 * gdb.base/varargs.c (find_max_double): Fix printf format string:
24840 first arg is int not float.
24841
24842 2001-02-22 Michael Snyder <msnyder@cygnus.com>
24843
24844 * gdb.base/reread.exp: Unsupported for non-native targets;
24845 doesn't work for remote debugging.
24846
24847 2001-02-19 Fernando Nasser <fnasser@redhat.com>
24848
24849 From Drew Moseley <dmoseley@redhat.com>
24850 * gdb.base/ending-run.exp: Properly handle the BSP state when
24851 stepping past the end of main.
24852
24853 2001-02-19 John Moore <jmoore@redhat.com>
24854
24855 * gdb.base/commands.exp (infrun_breakpoint_command_test):
24856 Converted HPUX fix for non-expected items following multiple
24857 step commands into general solution for all platforms.
24858
24859 2001-02-18 Michael Chastain <chastain@redhat.com>
24860
24861 * gdb.c++/classes.exp (do_tests): Change runto statements
24862 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24863 statements demangler agnostic.
24864 * gdb.c++/virtfunc.exp (do_tests): Likewise.
24865 (gdb_virtfunc_restart): Likewise.
24866
24867 2001-02-14 Michael Chastain <chastain@redhat.com>
24868
24869 * gdb.c++/inherit.exp (do_tests): Change runto statements
24870 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24871 statements demangler agnostic.
24872
24873 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
24874
24875 * gdb.threads/pthreads.exp: Unify pass/fail messages for
24876 ``continue to bkpt at common_routine in thread 2'' and ``stopped
24877 before calling common_routine 15 times'' tests.
24878
24879 2001-02-11 Michael Chastain <chastain@redhat.com>
24880
24881 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
24882 Helps the test script figure out which demangler is in use.
24883 (dm_type_foo_ref): Ditto.
24884 (dm_type_int_star): Ditto.
24885 (dm_type_long_star): Ditto.
24886 (dm_type_unsigned_int): Ditto.
24887 (dm_type_void): Ditto.
24888 (dm_type_void_star): Ditto.
24889 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
24890 Probe the gdb demangler and set variables to accommodate
24891 formatting differences.
24892 (info_func_regexp): New function. Same as info_func, but
24893 matches against a regexp.
24894 (info_func): Match against a literal string.
24895 (print_addr_2): New function. Match against a literal string,
24896 which can be different from the input to gdb.
24897 (print_addr): Simply call print_addr_2 with the same argument twice.
24898 (test_lookup_operator_functions): Use demangler formatting variables.
24899 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
24900 the tests in the same order as the C++ class declaration.
24901 (test_paddr_operator_functions): Ditto.
24902 (test_paddr_overloaded_functions): Ditto.
24903 (test_paddr_hairy_functions): Use demangler formatting variables.
24904 Add reference to gdb/19 for related tests.
24905 (do_tests): Call probe_demangler.
24906
24907 2001-01-30 Kevin Buettner <kevinb@redhat.com>
24908
24909 * gdb.c++/templates.cc (printf): Remove unused function definition.
24910
24911 2001-01-26 Felix Lee <flee@redhat.com>
24912
24913 * sid.exp (sid_exit): Pass host, not target, to remote_close.
24914
24915 2001-01-25 matthew green <mrg@redhat.com>
24916
24917 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
24918 up sid.
24919 (sid_exit): Call `remote_pop_conn' after GDB is gone.
24920
24921 2001-01-25 matthew green <mrg@redhat.com>
24922
24923 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
24924 Deprecate $sid_spawn_id.
24925 (sid_exit): Remove code necessary only for `spawn.'
24926
24927 2001-01-25 matthew green <mrg@redhat.com>
24928
24929 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
24930
24931 2001-01-28 Michael Chastain <chastain@redhat.com>
24932
24933 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
24934 to call when tests fail. It takes gdb out of the overloaded
24935 function choice menu back to the main prompt, so that the test
24936 program stays synchronized.
24937 (set_bp_overloaded): New proc to collect all the common
24938 code for setting a breakpoint on an overloaded name. Calls
24939 take_gdb_out_of_choice_menu when needed.
24940 (menu_overload1arg): New variable to collect the repeated
24941 instances of the expected menu for an overloaded name. Change
24942 the regular expression to handle changes in g++ type encoding:
24943 "void" can be either "void" or "", and "unsigned int" can be
24944 either "unsigned int" or "unsigned".
24945 (continue_to_bp_overloaded): Change regular expressions to handle
24946 changes in g++ type encoding.
24947 (no proc): Call take_gdb_out_of_choice_menu when needed.
24948 Remove redundant calls to "info break". Accept either "canceled"
24949 or "cancelled". Change regular expressions in "info break"
24950 calls to handle changes in g++ type encoding. Give all tests
24951 unique strings.
24952
24953 2001-01-17 Ben Elliston <bje@redhat.com>
24954
24955 * config/sid.exp: New file.
24956
24957 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
24958
24959 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
24960
24961 2000-12-21 Michael Snyder <msnyder@cygnus.com>
24962
24963 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
24964 Add a RE to accept a non-ascii char if one is ever presented.
24965
24966 2000-12-20 Fernando Nasser <fnasser@redhat.com>
24967
24968 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
24969
24970 2000-12-18 Michael Snyder <msnyder@cygnus.com>
24971
24972 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
24973 in regexp. One '\' does not suffice on Linux.
24974
24975 2000-12-09 Michael Chastain <chastain@redhat.com>
24976
24977 * gdb.base/break.exp (test_clear_command): Use a marker function
24978 rather than 'main' for the test function. Also move this
24979 test to an execution point where the marker function names are
24980 guaranteed to be bound to functions. (Executing tests after a
24981 'finish' from main runs into name conflicts with local names
24982 in __libc_start_main).
24983
24984 2000-12-07 Michael Snyder <msnyder@cygnus.com>
24985
24986 * gdb.base/finish.exp: New test for gdb's "finish" command.
24987 * gdb.base/return2.exp: New test for gdb's "return" command.
24988 * gdb.base/return2.c: New source file for above.
24989
24990 2000-12-05 Michael Snyder <msnyder@cygnus.com>
24991
24992 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
24993 * gdb.base/miscexprs.exp: Ditto.
24994 * gdb.base/pointers.exp: Ditto.
24995 * gdb.c++/derivation.exp: Ditto.
24996 * gdb.c++/local.exp: Ditto.
24997 * gdb.c++/namespace.exp: Ditto.
24998 * gdb.c++/overload.exp: Ditto.
24999 * gdb.c++/ref-types.exp: Ditto.
25000
25001 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25002
25003 * gdb.base/constvars.exp: Test result of "up" command.
25004 * gdb.base/miscexprs.exp: Ditto.
25005 * gdb.base/pointers.exp: Ditto.
25006 * gdb.base/scope.exp: Ditto.
25007 * gdb.c++/derivation.exp: Ditto.
25008 * gdb.c++/local.exp: Ditto.
25009 * gdb.c++/namespace.exp: Ditto.
25010 * gdb.c++/overload.exp: Ditto.
25011 * gdb.c++/ref-types.exp: Ditto.
25012
25013 2000-11-22 Michael Chastain <chastain@redhat.com>
25014
25015 * mips_pro.exp: Accept either "middle -> top -> main" or
25016 "middle -> main" in the backtrace, because gcc can optimize
25017 tail calls to jumps. Remove setup_xfail for the hppa case.
25018 Add a comment with the original warning messages from PR 3016,
25019 which was filed in 1993, to preserve them for posterity.
25020
25021 2000-11-17 Nick Duffek <nsd@redhat.com>
25022
25023 * lib/gdb.exp (gdb_test): Override timeout with board info.
25024
25025 2000-11-17 Nick Duffek <nsd@redhat.com>
25026
25027 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25028 the second kill and detach messages.
25029
25030 2000-11-17 Nick Duffek <nsd@redhat.com>
25031
25032 * configure.in: Add AC_EXEEXT.
25033 * configure: Regenerate.
25034 * Makefile.in (just-check): Export EXEEXT.
25035 * lib/gdb.exp ($EXEEXT): Import from environment.
25036 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25037 expect "maint dump-me" on Cygwin.
25038 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25039 $EXEEXT.
25040
25041 2000-11-17 Nick Duffek <nsd@redhat.com>
25042
25043 * gdb.base/break.exp: Test backtrace and finish from called
25044 function on all platforms, not just HP-UX.
25045
25046 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25047
25048 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25049 code from gdb_target_monitor, so it can be used independantly
25050 for gdbserver. Also comment out an unnecessary PUTS.
25051
25052 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25053
25054 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25055 * gdb.base/corefile.exp: Expect the message "Program is being
25056 debugged already" when we send the "corefile" command, since
25057 the preceeding gdb_load may have connected gdb to a remote target.
25058 * gdb.base/display.exp: Disable hardware watchpoints if new
25059 board info variable "no_hardware_watchpoints" is true.
25060 Replace single-letter commands with more readable ones.
25061 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25062 if new board info variable "no_hardware_watchpoints" is true.
25063 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25064 to see if stdio (printf) testing is possible.
25065 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25066 board info variable "no_hardware_watchpoints" is true. Use new
25067 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25068
25069 2000-11-13 Fernando Nasser <fnasser@redhat.com>
25070
25071 From Orjan Friberg <orjanf@axis.com>:
25072 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25073 in array print pattern match.
25074
25075 2000-11-09 Fernando Nasser <fnasser@redhat.com>
25076
25077 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25078 spelling "cancelled" to U.S. spelling "canceled" to match changes
25079 made to gdb.
25080 * gdb.c++/ovldbreak.exp: Ditto.
25081
25082 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25083
25084 * gdb.base/callfuncs.c (main): Moved to end of file, call
25085 t_double_values to initialize the FPU before inferior calls are made.
25086 * gdb.base/callfuncs.exp: Test for register preservation after calling
25087 inferior functions. Add tests for continuining, finishing and
25088 returning from a stop in a call dummy.
25089
25090 2000-10-24 Michael Snyder <msnyder@cygnus.com>
25091
25092 * gdb.base/commands.exp: Break up long lines, and re-indent.
25093
25094 2000-10-19 Michael Snyder <msnyder@cygnus.com>
25095
25096 * config/gdbserver.exp: Rewritten from the ground up, to make it
25097 compatible with the current dejagnu tree, and to make it work with
25098 the new "gdbserver" in libremote.
25099
25100 2000-10-16 Michael Snyder <msnyder@cygnus.com>
25101
25102 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25103 * gdb.base/varargs.exp: Skip entire test if no printf support.
25104 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25105 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25106
25107 2000-10-13 Michael Snyder <msnyder@cygnus.com>
25108
25109 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25110 no floating point support.
25111 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25112 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25113 * gdb.base/call-rt-st.exp: Ditto.
25114 * gdb.base/call-strs.exp: Ditto.
25115
25116 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25117
25118 * gdb.base/sizeof.c: include <stdio.h>.
25119
25120 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
25121 'finish', otherwise uncaptured gdb_prompt would potentially
25122 throw remaining test points out of sync.
25123
25124 2000-07-26 Scott Bambrough <scottb@netwinder.org>
25125
25126 * gdb.base/recurse.exp: Run tests for all targets.
25127 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25128 gnu-oldld case on ARM.
25129 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25130 for ARM targets.
25131
25132 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25133
25134 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25135 * gdb.java/configure: Rebuild.
25136
25137 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25138
25139 * gdb.java/jv-exp.exp: New file.
25140
25141 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25142
25143 * configure: Rebuilt.
25144 * configure.in (configdirs): Add gdb.java.
25145 * gdb.java/jmisc.java: New file.
25146 * gdb.java/jmisc.exp: New file.
25147 * gdb.java/Makefile.in: New file.
25148 * gdb.java/configure: Rebuilt.
25149 * gdb.java/configure.in: New file.
25150 * lib/java.exp: New file.
25151
25152 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25153
25154 * gdb.base/exprs.exp: Test casts to a pointer including over and
25155 underflow.
25156
25157 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25158
25159 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
25160 and the compilers sizes.
25161
25162 2000-07-09 Nick Duffek <nsd@redhat.com>
25163
25164 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25165 (use_methods): New function.
25166 (main): Call use_methods().
25167 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25168 (do_tests): Call test_method_param_class.
25169
25170 2000-07-09 Nick Duffek <nsd@redhat.com>
25171
25172 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25173 spelling.
25174 (test_enums): New procedure. Move enum tests from end of script
25175 to here. Set breakpoint on function name instead of line number.
25176 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25177 (enums2): New marker function.
25178 (enums1): New function.
25179 (main): Call enums1(). Move enum tests to enums1().
25180
25181 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25182
25183 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
25184 compile/link program. Update line numbers.
25185 * gdb.asm/d10v.inc: Define ``startup''.
25186 * gdb.asm/asmsrc1.s: Add definition of _start.
25187
25188 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25189
25190 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25191
25192 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25193
25194 * gdb.base/maint.exp: Add 'maint print architecture' item to output
25195 of 'help maint print' command.
25196
25197 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25198
25199 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
25200 they use gdb_expect_list.
25201
25202 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25203
25204 * gdb.base/commands.exp: Use ``set remote
25205 memory-read-packet-size'' instead of ``set endian big'' to test
25206 long commands.
25207
25208 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
25209
25210 * gdb.c++/templates.exp (do_tests): Make all of these work under
25211 g++, and stop skipping them.
25212
25213 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25214 work under g++.
25215
25216 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
25217 initialization.
25218
25219 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25220
25221 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25222 the regular expression: accept an (almost) arbitrary sequence of
25223 "frames-invalid" and "breakpoints-invalid" messages both before
25224 and after the "starting" message.
25225
25226 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25227
25228 * gdb.c++/local.exp: This test has never been known to work with g++.
25229
25230 2000-05-18 Michael Snyder <msnyder@cygnus.com>
25231
25232 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25233 Relax the regular expression a little, make it pass on Solaris 8.
25234
25235 2000-05-12 Kevin Buettner <kevinb@redhat.com>
25236
25237 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
25238 a call, do not require that gdb stop on the line after the call.
25239 Instead, it is permissible for gdb to stop on the line of the
25240 call itself.
25241
25242 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
25243
25244 * gdb.base/break.exp (bp on small function, optimized file):
25245 Add a second pass pattern. The behavior differs here between stabs
25246 and dwarf for one-line functions. Stabs preserves two line symbols
25247 (one before the prologue and one after) with the same line number,
25248 but dwarf regards these as duplicates and discards one of them.
25249 Therefore the address after the prologue (where the breakpoint is)
25250 has no exactly matching line symbol, and GDB reports the breakpoint
25251 as if it were in the middle of a line rather than at the beginning.
25252
25253 2000-05-08 Michael Snyder <msnyder@cygnus.com>
25254
25255 * gdb.base/interrupt.exp: Make "pass" message say "send"
25256 rather than "send_gdb" (for consistancy).
25257
25258 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25259
25260 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25261 * gdb.c++/templates.cc: Properly check for GCC version number.
25262 * lib/compiler.cc: Likewise
25263
25264 2000-04-28 Michael Snyder <msnyder@cygnus.com>
25265
25266 * gdb.base/break.exp: When compiled with -O2 optimization,
25267 gdb may not stop at the first line of main, due to code motion.
25268
25269 2000-04-26 Michael Snyder <msnyder@cygnus.com>
25270
25271 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25272 This test depends on parsing the printf output from the target.
25273 Since the sparclet stub doesn't do stdio, this will never work.
25274 * gdb.base/call-rt-st.exp: ditto.
25275 * gdb.base/call-strs: ditto.
25276
25277 2000-04-24 Michael Snyder <msnyder@cygnus.com>
25278
25279 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25280
25281 * gdb.base/ending-run.exp: After connecting to a remote target,
25282 but before running, the target will appear to be in a random
25283 location. Specify both a file and a line for breakpoints.
25284 Also, the function that calls main may be called 'init'
25285 rather than 'start'.
25286
25287 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25288
25289 * gdb.base/help.exp: Update output for add-symbol-file command.
25290
25291 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
25292
25293 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25294 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25295
25296 2000-04-07 J.T. Conklin <jtc@redback.com>
25297
25298 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25299
25300 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25301
25302 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
25303
25304 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
25305 values that can be represented exactly.
25306 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25307 above change, and to not check against the directory part of the source
25308 file name.
25309 (step into print_long_arg_list): Likewise.
25310 (print print_small_structs from print_long_arg_list): Likewise.
25311 (print print_long_arg_list): Likewise.
25312
25313 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25314
25315 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
25316
25317 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
25318
25319 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25320
25321 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
25322
25323 * gdb.base/commands.exp (deprecated_command_test): Add test for
25324 deprecate with no arguments.
25325
25326 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
25327
25328 * gdb.base/break.exp: Add new test for setting breakpoints on
25329 optimized code so we can test breakpoints work even when function
25330 prologues may be optimized away
25331
25332 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
25333
25334 From David Whedon <dwhedon@gordian.com>
25335 * gdb.base/commands.exp : Added command deprecator tests.
25336
25337 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
25338
25339 * gdb.base/help.exp: Added test for new apropos command.
25340
25341 2000-03-21 Kevin Buettner <kevinb@redhat.com>
25342
25343 * gdb.base/pointers.c (usevar): New function.
25344 (main): Make sure that global variables v_int_pointer2, rptr,
25345 and y are all referenced someplace in the program by calling
25346 usevar() on them. [Some linkers delete symbols which are
25347 never referenced. The space remains, but there's no way to
25348 get a (symbolic) handle on the variable from the debugger.]
25349
25350 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25351
25352 * gdb.base/printcmds.c: Add typedeffed arrays.
25353
25354 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
25355 procedure to test arrays that are typedef'd.
25356
25357 2000-03-13 James Ingham <jingham@leda.cygnus.com>
25358
25359 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
25360 the library directories.
25361
25362 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
25363
25364 * configure.in (configdirs): Add sub directory gdb.mi.
25365 * configure: Re-generate.
25366
25367 * gdb.mi: New directory.
25368
25369 2000-02-25 Scott Bambrough <scottb@netwinder.org>
25370
25371 * gdb.base/long_long.exp: Correct test suite failure when printing
25372 a long long value as a double on ARM platforms.
25373
25374 2000-02-16 Jim Blandy <jimb@redhat.com>
25375
25376 * gdb.base/break.exp ("breakpoint line number"): Make sure the
25377 default source file is set properly before running this test.
25378
25379 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25380
25381 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
25382 gdbtk/library directory, not in gdbtcl2.
25383
25384 2000-02-04 Jim Blandy <jimb@redhat.com>
25385
25386 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25387 backslash from regexp pattern.
25388
25389 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25390 procedure. Use it to run all the "continue to bp overloaded"
25391 tests. Note that this changes the names of the tests slightly.
25392 If the breakpoint hit message includes a hex PC value, because
25393 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25394 from the real source code, still consider that a pass.
25395
25396 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25397 XFAIL here if the breakpoint message contains a hex address. Note
25398 similar change on 1999-11-02.
25399
25400 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25401
25402 * gdb.base/ptype.exp: Establish a default source file before
25403 calling get_debug_format.
25404
25405 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
25406
25407 * gdb.base/watchpoint.exp: Remove duplication of test messages.
25408
25409 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25410
25411 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25412 of successive stepi commands -- while in the prologue we should see
25413 the function entry bracket.
25414
25415 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25416
25417 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25418 reach __change_mode() when stepping through the end of main().
25419
25420 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
25421
25422 * gdb.base/default.exp: Fix expected pattern.
25423 * gdb.base/help.exp: Same.
25424
25425 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25426
25427 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
25428 Don't use xfail's because that affects only the following test.
25429
25430 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
25431 solaris or linux.
25432
25433 * gdb.base/selftest.exp: Update to reflect changes to main.c.
25434
25435 2000-01-07 Michael Snyder <msnyder@cygnus.com>
25436
25437 * gdb.base/display.exp: Some yacc parsers like to say
25438 "A syntax error" rather than "A parse error". Accept both.
25439
25440 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
25441
25442 * gdb.base/default.exp: Remove OS dependent string from "target
25443 remote" test.
25444 * gdb.base/help.exp: Same for "help target remote" test.
25445
25446 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25447
25448 From Jim Kingdon <kingdon@redhat.com>:
25449
25450 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
25451 prompt (cleanup rather than necessity, but still might keep output
25452 from spilling to next test).
25453
25454 2000-01-02 Fred Fish <fnf@cygnus.com>
25455
25456 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25457 AIX, which defines them in <sys/types.h>.
25458
25459 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
25460
25461 * gdb.base/default.exp: Match arm* etc instead of arm in "info
25462 float" test.
25463
25464 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
25465
25466 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
25467
25468 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
25469 outermost frame disallowed".
25470
25471 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
25472
25473 * gdb.base/setvar.exp: New tests for setting the value of a struct
25474 with a constant list.
25475
25476 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25477
25478 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
25479 require the user to type a cast before setting the value of a struct.
25480
25481 1999-12-06 Jim Blandy <jimb@cygnus.com>
25482
25483 * gdb.base/default.exp: Expect the new 'info float' command on
25484 all i386 platforms.
25485
25486 * gdb.threads/linux-dp.exp: Expand our ability to recognize
25487 LinuxThreads libraries that don't support debugging.
25488
25489 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25490
25491 * gdb.base/remote.c: Fill the buffer with truely random data.
25492 Change the buffer type to ``unsigned char'' to simplify size
25493 arithmetic.
25494
25495 * gdb.base/remote.exp: Reduce download numbers by one. Typical
25496 stub only handles 400-1 byte packets. Verify that the download
25497 worked.
25498
25499 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
25500
25501 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
25502 tests, using UNRESOLVED for the untested cases. Also, does not wait
25503 for a timeout if the prompt was received before a recognizable pattern.
25504
25505 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
25506
25507 * lib/gdb.exp (gdb_expect_list): Fix spelling.
25508
25509 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25510
25511 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
25512 watchpoints.
25513
25514 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
25515
25516 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
25517
25518 * gdb.c++/local.exp: Be more flexible in recognizing local class
25519 name mangling. Don't allow horribly truncated method names.
25520 * gdb.c++/derivation.exp: Expect protected inheritance.
25521 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
25522 * gdb.c++/virtfunc.exp: Likewise.
25523 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
25524 when printing a nested enum.
25525
25526 1999-11-22 Jim Blandy <jimb@cygnus.com>
25527
25528 * gdb.base/step-test.exp: Properly await GDB's response to setting
25529 a breakpoint on the call to large_struct_by_value.
25530
25531 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
25532 just because we have debug info for the `start' function.
25533
25534 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
25535
25536 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
25537 "Unknown signal" messages, which indicate (on LinuxThreads) that
25538 GDB doesn't know how to debug threads on this system. This is
25539 better than hanging while philosopher 0 dumps chatter into gdb.log.
25540
25541 1999-11-18 Tom Tromey <tromey@cygnus.com>
25542
25543 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
25544
25545 1999-11-18 Fred Fish <fnf@cygnus.com>
25546
25547 * gdb.base/coremaker2.c: Add sample program for generating
25548 cores that is more self contained than coremaker.c. Eventually
25549 I'll add more code to this and tie it into the testsuite.
25550
25551 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
25552
25553 * gdb.base/dollar.exp: Remove, now in gdb.hp.
25554
25555 1999-11-10 Jimmy Guo <guo@cup.hp.com>
25556
25557 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
25558 from $srcdir/lib/.
25559 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
25560 and gdb.c++/.
25561
25562 * gdb.c++/derivation.exp: remove redundant get compiler info code.
25563
25564 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
25565 'continue with watch' test point.
25566
25567 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
25568
25569 Merged from p2linux-990323-branch:
25570
25571 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
25572
25573 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
25574
25575 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
25576 {limit,fixed}''. Test ``set download-write-size''.
25577
25578 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
25579
25580 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
25581 gdb_expect_list.
25582
25583 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
25584
25585 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
25586
25587 1999-11-03 Mark Salter <msalter@cygnus.com>
25588
25589 * gdb.base/break.exp: Fix "stub continue" pattern.
25590
25591 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
25592
25593 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
25594
25595 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
25596
25597 * gdb.base/display.exp ("finish"): Add timeout clause.
25598
25599 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
25600 plain prompt clause, so this doesn't have to time out in order to
25601 fail.
25602
25603 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
25604 breakpoint hit messages include an address.
25605
25606 * gdb.base/display.exp: Don't forget to escape parens in regular
25607 expressions. Unix regexp notatation sucks.
25608
25609 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25610
25611 * gdb.base/annota1.exp: Test for annotate-signalled: change output
25612 order for 'signalled' message.
25613
25614 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
25615
25616 From Jimmy Guo <guo@cup.hp.com>:
25617 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
25618 * gdb.base/annota1.c: Add code for tests to work with.
25619
25620 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
25621
25622 * gdb.base/remote.exp: New test for remote downloading settings.
25623 * gdb.base/remote.c: New file with large .data.
25624
25625 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
25626
25627 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
25628 for LinuxThreads support, merged from the Code Fusion branch.
25629
25630 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
25631
25632 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
25633 containing exp_continue into a while within an expect. Don't
25634 attempt a start more than three times. Check return value from
25635 gdb_load.
25636
25637 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
25638
25639 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
25640 a pass case.
25641
25642 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
25643
25644 * gdb.base/break.c (main): Added a statement that we can step
25645 off of.
25646 * gdb.base/break.exp: Added tests for setting a breakpoint
25647 at an offset and stepping onto a breakpoint.
25648
25649 1999-10-01 Fred Fish <fnf@cygnus.com>
25650
25651 * gdb.base/help.exp (help add-symbol-file): Update to match current
25652 gdb output.
25653
25654 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
25655
25656 * gdb.base/break.exp: Code locations are in hex, don't forget!
25657 (For HP-UX.)
25658
25659 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
25660
25661 * condbreak.exp: Use break.c as test program.
25662 * condbreak.c: Remove, redundant with break.c.
25663
25664 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
25665
25666 * config/monitor.exp (gdb_target_monitor): Disable X- and
25667 Z-packets if the target needs it.
25668
25669 1999-09-13 James Ingham <jingham@leda.cygnus.com>
25670
25671 * gdb.c++/overload.exp: Added tests for listing overloaded
25672 functions with function pointers in the arg, explicitly calling
25673 out the version you want.
25674
25675 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
25676
25677 * long_long.exp: Add variations of test cases that work for
25678 targets with 16-bit ints and 32-bit doubles.
25679
25680 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
25681
25682 * break.c (main): Compare a possibly-uninitialized argc with an
25683 unlikely value that fits in 16 bits.
25684
25685 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
25686
25687 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25688 0xfeeb, don't want negative numbers if ints are 16 bits.
25689
25690 * lib/gdb.exp (skip_cplus_tests): New proc.
25691 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25692 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25693 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25694 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25695 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25696 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25697 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25698 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
25699
25700 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25701
25702 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
25703
25704 * gdb.base/corefile.exp (up): Allow a parameter to appear
25705 in the frame that we're going up to.
25706
25707 From Jim Blandy <jimb@cygnus.com>:
25708
25709 * gdb.base/default.exp (info float): Expect some output now.
25710
25711 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25712 returning floating-point values to fail on the x86.
25713 * gdb.base/callfwmall.exp (do_function_calls): Same.
25714
25715 * gdb.base/list.exp (test_listsize): Correct expectations for
25716 listing line 1 with listsize 2. Also, listing a single line
25717 works now, as does listing three lines. [Kevin's note: There
25718 were a number of other cases fixed too where the expectations
25719 differed...]
25720
25721 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
25722
25723 * gdb.base/selftest.exp: Add case for when version prints as
25724 constant string instead of char pointer.
25725
25726 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
25727
25728 * gdb.base/ending-run.exp: Add Solaris case for what happens when
25729 stepping out of main.
25730
25731 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25732 G++ used.
25733
25734 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
25735 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
25736
25737 * gdb.c++/ovldbreak.exp: Update match string in test that
25738 includes a warning of multiple breakpoints.
25739
25740 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
25741
25742 * gdb.base/display.exp: Improve precision of step-after-finish
25743 added yesterday.
25744
25745 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
25746 test.
25747
25748 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25749 configs when using G++, not just hppa*.
25750
25751 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25752
25753 * gdb.base/async.c: New file.
25754 * gdb.base/async.exp: New file.
25755
25756 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
25757
25758 * gdb.base/break.exp: Tweak PA specific tests to properly handle
25759 PA64.
25760
25761 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
25762
25763 * gdb.base/display.exp: "finish" can leave us mid-line on many
25764 targets, deal with it. Add a small constant to main, instead of
25765 1000 since main+1000 may not be a valid address in the target.
25766
25767 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25768 on hpux11.
25769
25770 * gdb.base/attach.exp: Handle another hpux11 error message variant
25771 when attaching to a process that does not exist.
25772
25773 1999-08-19 J.T. Conklin <jtc@redback.com>
25774
25775 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
25776 characters in 'continue to 1241' test.
25777
25778 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
25779
25780 * gdb.base/call-ar-st.exp: Add a shorter match case for the
25781 stop in print_long_arg_list, define and use a whitespace
25782 variable in print_small_structs test, add an XFAIL for Solaris.
25783 * gdb.base/dbx.exp: XFAIL func commands until somebody is
25784 interested enough to fix.
25785
25786 1999-08-13 Keith Seitz <keiths@cygnus.com>
25787
25788 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25789 (dbx_gdb_load): Remove. Use gdb_load instead, since that
25790 proc knows about targets other than the natives.
25791 (test_assign): Use "gdb_run_cmd" to "run" the target.
25792 Check that we've actually hit the breakpoint at main.
25793 When we attempt to assign a value to a local variable, check
25794 that the variable is in the current scope, i.e., don't use
25795 a test with an empty result.
25796
25797 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
25798
25799 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
25800 command.
25801
25802 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
25803
25804 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25805 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25806 gdb.compat, gdb.threads-hp.
25807 gdb.hp/configure, gdb.hp/configure.in: New files.
25808 gdb.hp/Makefile.in: Recurse into new subdirs.
25809 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25810 gdb.hp/gdb.objdbg: New directory, tests for debugging info
25811 in object files.
25812 gdb.hp/tools: New directory, aux tools for HP-specific tests.
25813
25814 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
25815
25816 * gdb.base/display.exp: Help expect by putting a newline in the
25817 funky printf, remove a bogus p/a test.
25818
25819 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25820
25821 * gdb.base/display.exp: Make sure that when we say 'run', we are
25822 connected to the target. This is necessary when running not
25823 natively.
25824
25825 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
25826
25827 * gdb.base/step-test.exp: Removed some extraneous messages.
25828
25829 * gdb.base/long_long.exp: Don't run memory examination tests
25830 on little-endian targets (they will need a different set of
25831 results to match).
25832
25833 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
25834
25835 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25836 until somebody decides to fix GDB.
25837
25838 * gdb.base/long_long.c: Stop compiler complaint by specifying long
25839 constant as "ULL".
25840 * gdb.base/long_long.exp: Loosen x/c test, add partial result
25841 matches for a couple x/2 commands.
25842
25843 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
25844
25845 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25846 by merging in ref-types2 tests.
25847 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
25848
25849 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25850 * gdb.c++/Makefile.in: Add standard actions.
25851 (EXECUTABLES): Rename from PROGS, update list.
25852 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
25853 from gdb.hp.
25854 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
25855 foo and bar locals.
25856 * gdb.c++/anon-union.exp: Fix tests to match.
25857 * gdb.c++/classes.exp: Run if HP compiler used, add extra
25858 expect matches to handle output variations.
25859 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
25860 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
25861 output, add HP alternatives for new and delete prints.
25862 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
25863 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
25864 * gdb.c++/demangle.exp: Use $style when reporting failure.
25865 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
25866 * gdb.c++/inherit.exp: Run if HP compiler used, add some
25867 match alternatives.
25868 * gdb.c++/local.exp: Add match alternatives or xfails for HP
25869 compilers.
25870 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
25871 * gdb.c++/method.exp: Add match alternatives.
25872 * gdb.c++/misc.cc: Add bool types.
25873 * gdb.c++/misc.exp: Add tests for bool types.
25874 * gdb.c++/overload.exp: Add xfails.
25875 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
25876 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
25877 add some more template parameter tests (only for HP currently).
25878 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
25879 * gdb.c++/virtfunc.cc: Add return type and value for main.
25880 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
25881 match alternatives.
25882
25883 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25884
25885 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
25886
25887 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
25888
25889 * gdb.base/signals.exp: Don't expect getting a backtrace from
25890 within a signal handler to fail on Linux.
25891
25892 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
25893
25894 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25895 * lib/gdb.exp: Remove some gratuitious semicolons.
25896 (delete_breakpoints): Increase timeout.
25897 (gdb_expect): Add -notransfer option.
25898 (gdb_test): Use -notransfer option.
25899 (get_compiler_info): Add f77 case.
25900 (get_compiler): New proc, split out from gdb_preprocess, add f77
25901 case.
25902 (gdb_preprocess): Call get_compiler.
25903
25904 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
25905 * gdb.base/attach.exp, gdb.base/display.exp,
25906 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
25907 gdb.base/long_long.exp, gdb.base/printcmds.exp,
25908 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
25909 third arg to gdb_test.
25910 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
25911 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
25912 HP-UX xfails, add others.
25913 * gdb.base/completion.exp: Reflect name change of self-test.
25914 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
25915 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
25916 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
25917 HP failure number.
25918 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
25919 useless HP-UX 10.30 references.
25920 * gdb.base/maint.exp: Loosen matches.
25921 * gdb.base/pointers.c (main): Declare more_code.
25922 * gdb.base/pointers.exp: Match on output of a `next'.
25923 * gdb.base/structs.c: Add prototypes.
25924 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
25925 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
25926
25927 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25928
25929 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
25930 command.
25931
25932 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25933
25934 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
25935 Fix run to main failures. Watchpoint can be hardware watchpoint.
25936
25937 * gdb.base/annota1.exp: Clean up some more, in case printf has
25938 debug info. Deal with lack of signal hanlder info in stack.
25939
25940 From Jim Kingdon <kingdon@redhat.com>:
25941 * gdb.base/annota1.exp: If printf has debug info, deal with it.
25942
25943 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
25944
25945 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
25946 gdb.base/foll-vfork.exp: Don't run for crosses.
25947
25948 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25949
25950 * gdb.base/configure.in: Check for gdbvars.exp instead of
25951 a1-selftest.exp.
25952 * gdb.base/configure: Re-generate.
25953
25954 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
25955
25956 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
25957 in trying to run first and name is too long.
25958
25959 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
25960 pointers2.c and pointers2.exp, respectively.
25961 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
25962 doschk happier.
25963
25964 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
25965
25966 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
25967 callfuncs2.c and callfuncs2.exp.
25968
25969 * gdb.base/list.exp: Remove mistaken xfails.
25970 * gdb.base/list0.h: Add optional prototypes.
25971
25972 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
25973
25974 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
25975 calling malloc.
25976 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
25977 * ptype.exp: Move test for get_debug_format to before its first
25978 use.
25979
25980 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25981
25982 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
25983 * gdb.base/annota2.cc, annota2.exp: Move from here.
25984 * gdb.c++/annota2.cc, annota2.exp: To here.
25985 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
25986
25987 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
25988
25989 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
25990 a consistent format.
25991
25992 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
25993
25994 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25995 * lib/gdb.exp (get_compiler_info): Add detection for assorted
25996 HP compilers, also set the globals $true and $false.
25997
25998 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
25999 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26000 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26001 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26002 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26003 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26004 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26005 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26006 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26007 whatis.c} Add C++ compatible function definitions and return
26008 types, add includes for library functions.
26009 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26010 * gdb.base/step-test.c (myglob): Rename from glob.
26011 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
26012 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26013 files, move here from gdb.hp.
26014 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
26015 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26016 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26017 Adjust line numbers in regexps.
26018
26019 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26020 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26021 instead of 0/1.
26022
26023 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26024 foll-vfork.exp: New files, move here from gdb.hp.
26025 * gdb.base/page.exp: New file, test of pagination command.
26026
26027 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26028 recursion test.
26029 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26030
26031 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
26032 gdb.base/solib.exp: Fix compiler invocation process.
26033
26034 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
26035 HP-UX 11, turn off overload resolution explicitly.
26036 * gdb.base/commands.exp: Set argument list explicitly, add
26037 watchpoint test.
26038 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26039 them work.
26040 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26041 expressions properly.
26042 * gdb.base/corefile.exp: Loosen the match slightly.
26043 * gdb.base/default.exp: Allow "Error accessing memory" message
26044 also.
26045 * gdb.base/display.exp: Skip over x/0 j if PA64.
26046 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26047 * gdb.base/interrupt.exp: Ditto.
26048 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26049 in use.
26050 * gdb.base/list.exp: Add xfails for HP-UX.
26051 * gdb.base/long_long.exp: Refine some of the numeric matches.
26052 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26053 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26054 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26055 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26056 * gdb.base/ptype.exp: Succeed on more varieties of output.
26057 * gdb.base/scope.exp: Add xfails for HP-UX.
26058 * gdb.base/sect-cmd.exp: Add more cases.
26059 * gdb.base/setvar.exp: Add xfails for HP-UX.
26060 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26061 * gdb.base/signals.exp: Match on void symbolically.
26062 * gdb.base/step-test.exp: Add case for PA64.
26063 * gdb.base/term.exp: Add exit and restart.
26064 * gdb.base/twice.exp: Clean up after self.
26065 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26066 * gdb.base/whatis.exp: Allow more ways to pass tests.
26067
26068 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
26069 no longer useful.
26070
26071 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26072
26073 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
26074 list of patterns.
26075 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
26076 print_double_array(double_array)", "continuing to breakpoint
26077 1018", "print print_double_array(array_d)" and "continuing to
26078 1034" tests.
26079
26080 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26081
26082 * Makefile.in: Add empty html and install-html targets.
26083
26084 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26085
26086 * config/mt-*: Remove, these haven't been used since 1996.
26087
26088 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26089
26090 * gdb.base/call-strs.c, gdb.base/ending-run.c,
26091 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
26092 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26093
26094 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26095
26096 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26097 simpler match case for the ptype of the big class.
26098
26099 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26100
26101 * gdb.exp: Fix test for gdb_prompt existence.
26102
26103 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26104
26105 * gdb.exp (gdb_test): Add fail after calls to perror.
26106
26107 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26108
26109 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26110
26111 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26112
26113 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26114
26115 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26116
26117 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
26118 malloc() is linked in.
26119
26120 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26121
26122 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26123 step at end.
26124
26125 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26126
26127 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26128
26129 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26130
26131 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26132
26133 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26134 * gdb.base/mips_pro.exp: Likewise.
26135
26136 1999-06-02 Keith Seitz <keiths@cygnus.com>
26137
26138 * gdb.c++/templates.cc: Change all "new" operators to throw
26139 an exception.
26140 * gdb.c++/cplusfuncs.cc: Likewise.
26141
26142 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26143
26144 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26145
26146 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
26147 * gdb.base/ending-run.exp: When stepping out of main, accept a
26148 step into an arbitrary assembler file.
26149
26150 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26151
26152 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
26153 "breakpoint-invalid" to be printed.
26154 * gdb.base/annota2.exp: Revise line number for main
26155 breakpoint. Allow any number of "frames-invalid" and
26156 "breakpoint-invalid" to be printed.
26157 * gdb.base/annota2.cc: Initialize a.x to 0.
26158
26159 1999-05-17 Keith Seitz <keiths@cygnus.com>
26160
26161 * gdb.base/call-ar-st.exp: Skip
26162 "print print_double_array (double_array)" when "skip_float_tests" set.
26163 Ditto for "print print_double_array(array_d)",
26164 "print print_small_structs", "print print_ten_doubles", and
26165 "step into print_long_arg_list".
26166 Don't assume we can step into "print_long_arg_list": we could step
26167 into memcpy.
26168 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26169 "skip_float_tests" is set: "print print_one_double(*d1)"
26170 and "print print_two_floats(*f3)".
26171 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26172 "skip_float_tests" is set.
26173 * gdb.base/varargs.exp: Skip
26174 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26175 "skip_float_tests" set.
26176
26177 1999-05-06 Keith Seitz <keiths@cygnus.com>
26178
26179 * gdb.base/annota2.cc: Include stdio.h.
26180
26181 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26182
26183 * gdb.base/crossload.exp: Remove, this has been disabled ever
26184 since BFD stopped including all targets, and cross-GDB gets
26185 plenty of testing anyway.
26186 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
26187 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26188 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
26189 * gdb.base/README: Remove, was doc for this.
26190 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
26191 needed.
26192
26193 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26194
26195 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26196 output.
26197
26198 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26199 * gdb.base/annota2.exp: New file. More annotation tests.
26200 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26201 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26202
26203 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
26204
26205 * config/cfdbug.exp: New file.
26206
26207 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26208
26209 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26210 Marcus Daniel's and Dale Hawkins's demangler crashes.
26211
26212 * gdb.c++/demangle.exp (test_gnu_style_demangling,
26213 test_lucid_style_demangling, test_arm_style_demangling,
26214 test_hp_style_demangling): Try Tom Tromey's core-dumping
26215 identifier under each demangling style.
26216
26217 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26218
26219 * gdb.c++/demangle.exp: Include the current demangling style
26220 in all test names.
26221 (current_demangling_style): New global variable.
26222 (set_demangling_style, test_demangling_core, test_demangling,
26223 test_demangling_exact): New functions.
26224 (test_gnu_style_demangling, test_lucid_style_demangling,
26225 test_arm_style_demangling, test_hp_style_demangling): Use those,
26226 instead of calling gdb_test and gdb_test_exact directly.
26227 (catch_demangling_errors): New function, which reports errors
26228 signalled by the demangling test functions in an orderly way.
26229 (do_tests): Use catch_demangling_errors.
26230
26231 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26232
26233 * gdb.base/signals.exp (test_handle_all_print): Use () for
26234 grouping in expressions, not {}.
26235
26236 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
26237 initialized yet.
26238
26239 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26240
26241 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26242 are listed.
26243
26244 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26245
26246 * gdb.stabs/weird.exp: Test for CC being defined before
26247 looking at its value.
26248
26249 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26250
26251 * gdb.base/call-ar-st.exp: Remove stray '#'.
26252 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26253 "short int" and "long int".
26254 * gdb.c++/overload.cc: Cast the string added in the previous
26255 change, to mollify finicky HP compiler.
26256 * gdb.hp/reg-test.exp (testfile): Fix file name.
26257 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
26258
26259 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26260 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26261 alternate form of enum ptype.
26262
26263 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26264
26265 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26266 * gdb.hp/*.exp: Change all to run compiler probe only after
26267 passing skip_hp_tests, so as not to waste time on guaranteed
26268 failure.
26269
26270 * gdb.c++/overload.cc: Pass string instead of char addr, always
26271 init ccpfoo.
26272 * gdb.c++/templates.cc: Fix syntax error.
26273
26274 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26275
26276 * gdb.base/commands.exp: Add test for correct position of '>'
26277 when issuing the 'commands' command after a 'while' or 'if'
26278 command.
26279
26280 1999-03-18 James Ingham <jingham@cygnus.com>
26281
26282 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26283
26284 * gdb.c++/method.exp: It was testing an uninitialized int on the
26285 stack and assuming it was positive.
26286
26287 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26288
26289 * gdb.base/step-test.exp: Catch a case where finish is broken and
26290 keep it from killing the rest of the tests.
26291 Use gdb_continue_to_end.
26292
26293 * gdb.base/sigall.exp: use gdb_continue_to_end.
26294
26295 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26296
26297 * gdb.base/display.exp: use runto_main, not run.
26298
26299 * gdb.base/default.exp: Check for the current error message in the
26300 r abbreviation test.
26301 Add strongarm to the targets that know info float.
26302
26303 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
26304 run which doesn't work with monitors.
26305
26306 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26307 1034 test.
26308
26309 * gdb.base/break.exp: use the gdb_continue_to_end proc.
26310
26311 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26312 end of a program. Traps the case (in Cygmon) when the program
26313 never really exits. Same as Mark's continue_to_exit, but I had
26314 put it in a lot more places, so I used my name. Sorry Mark...
26315
26316 * config/monitor.exp (gdb_target_monitor): added another
26317 target_info parameter: remotebinarydownload. This will set the
26318 remotebinarydownload flag if this is causing some boards trouble.
26319
26320 1999-03-18 Mark Salter <msalter@cygnus.com>
26321
26322 * lib/gdb.exp (continue_to_exit): New function.
26323
26324 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26325 * gdb.base/ending-run.exp: Ditto.
26326 * gdb.base/step-test.exp: Ditto.
26327
26328 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
26329
26330 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26331 (suggested by Art Haas <ahaas@neosoft.com>).
26332
26333 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
26334
26335 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
26336
26337 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
26338
26339 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
26340 descriptions of types (short unsigned int vs unsigned short, etc).
26341
26342 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
26343
26344 * gdb.base/call-strs.exp: Don't assume that `step' will step over
26345 a call to strlen; sometimes we do have sources.
26346
26347 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26348
26349 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
26350 character, so GDB won't print garbage after its end.
26351
26352 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26353 breakpoint there instead. Sometimes GCC emits memcpy to handle
26354 the large structures being passed by value, so we step into that
26355 instead of sum_array_print, which obscures what we're really testing.
26356 * gdb.base/step-test.exp: However, we do want a test that notices
26357 the bizarre steps into memcpy, so do that here. Add check for
26358 stepping into function calls that pass large structures by value.
26359 ("Is that a noun clause, or are you just happy to see me?")
26360 Remove all references to specific line numbers.
26361 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26362 New type and function.
26363 (main): Call large_struct_by_value, passing it a large struct by value.
26364 * lib/gdb.exp (gdb_get_line_number): New function.
26365
26366 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26367 more portable.
26368
26369 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26370
26371 * lib/gdb.exp: Doc fixes.
26372
26373 1999-03-05 Nick Clifton <nickc@cygnus.com>
26374
26375 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
26376
26377 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
26378
26379 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
26380 commands. They're not germane to this test, and they don't work
26381 that way on remote targets.
26382
26383 1999-03-01 James Ingham <jingham@cygnus.com>
26384
26385 * Changelog entries merged over from gdb development branch.
26386
26387 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
26388
26389 * lib/gdb.exp (gdbtk_analyze_results): Generic function
26390 for outputting results of test run.
26391
26392 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
26393
26394 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
26395
26396 1999-02-25 Felix Lee <flee@cygnus.com>
26397
26398 * lib/gdb.exp (debug_format): initialize
26399
26400 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
26401
26402 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26403 * gdb.base/call-rt-st.c: Ditto.
26404
26405 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
26406
26407 * gdb.threads/pthreads.exp (horiz): New variable.
26408 (test_startup): Fix regexps that capture thread numbers.
26409
26410 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
26411
26412 * gdb.base/smoke.exp: Disambiguate two test case names (both
26413 called ``print'').
26414
26415 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26416
26417 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
26418 compilation.
26419
26420 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26421
26422 * gdb.base/miscexprs.exp: Change patterns to match GDB's
26423 actual output formatting.
26424 * gdb.base/smoke.exp: GDB removes leading 0's.
26425 * gdb.base/volatile.exp: Don't check type of remuneration;
26426 that variable is no longer defined in constvars.c.
26427 * gdb.base/step-test.c (main): Exit with explicit exit code.
26428 * gdb.base/step-test.exp: Remove two nexti checks--they are
26429 not portable.
26430
26431 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26432
26433 * gdb.base/help.exp ("help delete display"): Fix test to match
26434 gdb's output.
26435
26436 * gdb.base/long_long.c (known_types): Initialize values to zero.
26437 * gdb.base/long_long.exp: Step one more line
26438 so 'dec' is initialized in "get to known place". GDB removes
26439 leading zeros. Explicitly ask for hex formatting. Use
26440 unique test case names.
26441
26442 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26443
26444 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
26445
26446 * gdb.c++/method.exp: Add missing close brace.
26447
26448 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
26449
26450 * gdb.base/maint.exp: Use 'set height 0' to disable page
26451 prompting, not 'set height 400'.
26452
26453 Fix a bunch of timeouts.
26454 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26455 four separate tests, so expect doesn't take forever to match a ton
26456 of text against a regexp with lots of .* forms.
26457 ("maint print psymbols", "maint print symbols"): Make some of
26458 these greps more selective, so that expect doesn't try to wade
26459 through huge piles of output and time out.
26460
26461 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
26462
26463 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
26464 tests: one which doesn't expect shlib events to be reported, and
26465 another which does, but is XFAIL for all platforms other than
26466 HP/UX.
26467
26468 * gdb.base/break.exp: Teach the test suite that the `catch
26469 fork', `catch vfork', and `catch exec' commands produce error
26470 messages on platforms that don't provide these features.
26471
26472 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26473
26474 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
26475 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
26476 (shortening names from solib_threshold.exp etc), won't run on
26477 anything but HP-UX for the foreseeable future.
26478 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
26479 reflect move.
26480
26481 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
26482
26483 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
26484 gdb.trace/Makefile.in (clean): Remove all test executables.
26485
26486 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
26487
26488 * gdb.base/shlib-call.exp: add test cases to verify that gdb
26489 successfully re-sets breakpoints in shared libraries.
26490 * gdb.base/shmain.c (main): return 0, don't fall off the end.
26491
26492 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26493
26494 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
26495 and compiled w/o GCC.
26496
26497 * gdb.hp/watch-cmd.exp: ditto.
26498
26499 * gdb.hp/watch-hp.exp: ditto.
26500
26501 * gdb.hp/xdb1.exp: ditto.
26502
26503 * gdb.hp/xdb2.exp: ditto.
26504
26505 * gdb.hp/dbx.exp: ditto.
26506
26507 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
26508
26509 * constvars.c: Remove C++-isms.
26510 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
26511 with GCC.
26512
26513 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
26514
26515 The following changes are part of the HP merge.
26516
26517 * gdb.base/break.exp: new tests to verify that catchpoints for
26518 fork, vfork, and exec don't trigger inappropriately.
26519
26520 * gdb.base/opaque.exp: compile one file at a time, then link.
26521
26522 * gdb.base/signals.exp: be more restrictive about which hppa
26523 systems receive a setup_xfail. new tests.
26524
26525 * gdb.base/solib_threshold.build: new file.
26526 * gdb.base/solib_threshold.exp: new file.
26527 * gdb.base/solib_threshold.link_opts: new file.
26528 * gdb.base/solib_threshold.mk: new file.
26529 * gdb.base/gen_solib_threshold.c: new file.
26530
26531 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
26532 tests. New tests for enums inside classes.
26533
26534 * gdb.c++/compiler.cc: indicate support of template debugging.
26535
26536 * gdb.c++/demangle.exp: run hp style demangling tests.
26537
26538 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
26539 tests.
26540
26541 * gdb.c++/misc.cc: changes to support new tests.
26542
26543 * gdb.c++/templates.cc: changes to support HP's compiler; changes
26544 to support new tests.
26545
26546 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
26547 gcc, then skip these tests.
26548
26549 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
26550
26551 The following files are part of the HP merge; some had longer
26552 names at HP, but have been renamed to be no more than 14
26553 characters in length.
26554
26555 * gdb.hp/ambiguous.cc: new file.
26556 * gdb.hp/ambiguous.exp: new file.
26557 * gdb.hp/attach.exp: new file.
26558 * gdb.hp/attach2.exp: new file.
26559 * gdb.hp/classes-hp.exp: new file.
26560 * gdb.hp/ctti.exp: new file.
26561 * gdb.hp/ctti-add.cc: new file.
26562 * gdb.hp/ctti-add1.cc: new file.
26563 * gdb.hp/ctti-add2.cc: new file.
26564 * gdb.hp/ctti-add3.cc: new file.
26565 * gdb.hp/dbx.exp: new file.
26566 * gdb.hp/exception.cc: new file.
26567 * gdb.hp/exception.exp: new file.
26568 * gdb.hp/foll-exec.c: new file.
26569 * gdb.hp/foll-exec.exp: new file.
26570 * gdb.hp/foll-fork.c: new file.
26571 * gdb.hp/foll-fork.exp: new file.
26572 * gdb.hp/foll-vfork.c: new file.
26573 * gdb.hp/foll-vfork.exp: new file.
26574 * gdb.hp/inherit-hp.exp: new file.
26575 * gdb.hp/more-steps.exp: new file.
26576 * gdb.hp/namespace.cc: new file.
26577 * gdb.hp/namespace.exp: new file.
26578 * gdb.hp/optimize.exp: new file.
26579 * gdb.hp/pxdb.c: new file.
26580 * gdb.hp/pxdb.exp: new file.
26581 * gdb.hp/quicksort.exp: new file.
26582 * gdb.hp/reg-test.exp: new file.
26583 * gdb.hp/reg-test.s: new file.
26584 * gdb.hp/sized-enum.c: new file.
26585 * gdb.hp/sized-enum.exp: new file.
26586 * gdb.hp/start-stop.exp: new file.
26587 * gdb.hp/templ-hp.cc: new file.
26588 * gdb.hp/templ-hp.exp: new file.
26589 * gdb.hp/thr-lib.c: new file.
26590 * gdb.hp/thr-lib.exp: new file.
26591 * gdb.hp/thr-lib.h: new file.
26592 * gdb.hp/thr-liblib.c: new file.
26593 * gdb.hp/virtfun-hp.c: new file.
26594 * gdb.hp/virtfun-hp.exp: new file.
26595 * gdb.hp/watch-cmd.exp: new file.
26596 * gdb.hp/watch-hp.exp: new file.
26597 * gdb.hp/xdb1.exp: new file.
26598 * gdb.hp/xdb2.exp: new file.
26599 * gdb.hp/xdb3.exp: new file.
26600
26601 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
26602
26603 The following files are part of the HP merge; some had longer
26604 names at HP, but have been renamed to be no more than 14
26605 characters in length.
26606
26607 * gdb.base/ss.h: new file.
26608 * gdb.base/call-ar-st.c: new file.
26609 * gdb.base/call-ar-st.exp: new file.
26610 * gdb.base/call-rt-st.c: new file.
26611 * gdb.base/call-rt-st-exp: new file.
26612 * gdb.base/call-strs.exp: new file.
26613 * gdb.base/ena-dis-br.exp: new file.
26614 * gdb.base/environ.exp: new file.
26615 * gdb.base/long_long.exp: new file.
26616 * gdb.base/sect-cmd.exp: new file.
26617 * gdb.base/shlib-cl2.exp: new file.
26618 * gdb.base/smoke.exp: new file.
26619 * gdb.base/so-impl-ld.c: new file.
26620 * gdb.base/so-impl-ld.exp: new file.
26621 * gdb.base/so-indr-cl.c: new file.
26622 * gdb.base/so-indr-cl.exp: new file.
26623 * gdb.base/varargs.exp: new file.
26624 * gdb.base/volatile.exp: new file.
26625 * gdb.base/whatis-exp.exp: new file.
26626 * gdb.base/display.exp: new file.
26627 * gdb.c++/derivation.exp: new file.
26628 * gdb.c++/local.exp: new file.
26629 * gdb.c++/member-ptr.exp: new file.
26630 * gdb.c++/overload.exp: new file.
26631 * gdb.c++/ovldbreak.exp: new file.
26632 * gdb.c++/ref-types.exp: new file.
26633 * gdb.c++/ref-types2.exp: new file.
26634 * gdb.c++/userdef.exp: new file.
26635
26636 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
26637
26638 * gdb.base/default.exp: Reflect wording change in remote.c.
26639
26640 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
26641
26642 * gdb.base/help.exp: Update to reflect current text.
26643
26644 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
26645
26646 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
26647 they're stack variables and contain garbage.
26648 * gdb.c++/anon-union.exp: new file.
26649
26650 The following changes were made by David Taylor
26651 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26652 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26653 in changes by HP.
26654
26655 * gdb.base/bitops.exp: new file.
26656 * gdb.base/default.exp: change expected messages for catch and
26657 info catch tests to reflect HP merge changes.
26658 * gdb.base/enable-disable-break.exp
26659 * gdb.base/ending-run.c: new file.
26660 * gdb.base/long_long.c: new file.
26661 * gdb.base/maint.exp: new file.
26662 * gdb.base/pointers2.exp: new file.
26663 * gdb.base/shlib-call2.exp: new file.
26664 * gdb.base/solib.exp: new file.
26665 * gdb.base/step-test.c: new file.
26666 * gdb.c++/anon-union.cc: new file.
26667 * gdb.c++/local.cc: new file.
26668 * gdb.c++/member-pointer.cc: new file.
26669 * gdb.c++/method.cc: new file.
26670 * gdb.c++/ref-types.cc: new file.
26671 * gdb.c++/ref-types2.cc: new file.
26672 * gdb.c++/userdef.cc: new file.
26673
26674 * gdb.base/scope.exp: compile one file at a time, then link.
26675 * gdb.base/langs.exp: ditto.
26676 * gdb.base/list.exp: ditto.
26677
26678 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
26679
26680 The following changes were made by David Taylor
26681 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26682 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26683 in changes by HP.
26684
26685 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26686 skip tests. When compiling pass c++ flag to gdb_compile.
26687 * gdb.c++/
26688
26689 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26690 test for on hppa*-*-hpux*; use args to see if c++ was specified.
26691 (skip_hp_tests): new function.
26692 (gdb_preprocess): new function.
26693
26694 * configure.in (hpdir): decide whether to configure gdb.hp.
26695 * configure: regenerated.
26696
26697 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26698 to delete on clean.
26699 (EXECUTABLES): update to reflect new additions.
26700 * gdb.base/commands.exp: update message expected.
26701 * gdb.base/default.exp: add copyright notice.
26702 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26703 * gdb.base/help.exp: update messages to reflect current text.
26704 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26705 targets for recurse tests.
26706 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26707 skip this file.
26708
26709 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26710 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26711 compilation.
26712 * gdb.c++/misc.exp: ditto.
26713 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26714 run the tests. tell gdb_compile that it's a c++ compilation.
26715
26716 * gdb.threads/pthreads.exp: fix typo in message.
26717
26718 * gdb.base/all-bin.exp: new file.
26719 * gdb.base/arithmet.exp: new file.
26720 * gdb.base/assign.exp: new file.
26721 * gdb.base/completion.exp: new file.
26722 * gdb.base/cond-expr.exp: new file.
26723 * gdb.base/condbreak.exp: new file.
26724 * gdb.base/define.exp: new file.
26725 * gdb.base/dollar.exp: new file.
26726 * gdb.base/environment.exp: new file.
26727 * gdb.base/eval-skip.exp: new file.
26728 * gdb.base/jump.exp: new file.
26729 * gdb.base/logical.exp: new file.
26730 * gdb.base/pointers.exp: new file.
26731 * gdb.base/relational.exp: new file.
26732 * gdb.base/section_command.exp: new file.
26733 * gdb.base/whatis-expr.exp: new file.
26734
26735 * gdb.base/all-types.c: new file.
26736 * gdb.base/call-array-struct.c: new file.
26737 * gdb.base/call-return-struct.c: new file.
26738 * gdb.base/call-strings.c: new file.
26739 * gdb.base/callfuncs2.c: new file.
26740 * gdb.base/condbreak.c: new file.
26741 * gdb.base/constvars.c: new file.
26742 * gdb.base/display.c: new file.
26743 * gdb.base/int-type.c: new file.
26744 * gdb.base/jump.c: new file.
26745 * gdb.base/miscexprs.c: new file.
26746 * gdb.base/pointers.c: new file.
26747 * gdb.base/pointers2.c: new file.
26748 * gdb.base/shmain.c: new file.
26749 * gdb.base/shr1.c: new file.
26750 * gdb.base/shr2.c: new file.
26751 * gdb.base/solib.c: new file.
26752 * gdb.base/solib1.c: new file.
26753 * gdb.base/solib2.c: new file.
26754 * gdb.base/varargs.c: new file.
26755 * gdb.c++/derivation.cc: new file.
26756 * gdb.c++/overload.cc: new file.
26757 * gdb.c++/ovldbreak.cc: new file.
26758 * gdb.hp/attach.c: new file.
26759 * gdb.hp/attach2.c: new file.
26760 * gdb.hp/average.c: new file.
26761 * gdb.hp/compiler.c: new file.
26762 * gdb.hp/compiler.cc: new file.
26763 * gdb.hp/execd-program.c: new file.
26764 * gdb.hp/follow-exec.c: new file.
26765 * gdb.hp/follow-fork.c: new file.
26766 * gdb.hp/follow-vfork-and-exec.c: new file.
26767 * gdb.hp/misc-hp.cc: new file.
26768 * gdb.hp/more-steps.c: new file.
26769 * gdb.hp/optimize.c: new file.
26770 * gdb.hp/quicksort.c: new file.
26771 * gdb.hp/run-hp.c: new file.
26772 * gdb.hp/start-stop.c: new file.
26773 * gdb.hp/sum.c: new file.
26774 * gdb.hp/templates-hp.cc: new file.
26775 * gdb.hp/thread-local-in-lib.c: new file.
26776 * gdb.hp/thread-local-in-lib.h: new file.
26777 * gdb.hp/thread-local-in-lib.lib.c: new file.
26778 * gdb.hp/vforked-program.c: new file.
26779 * gdb.hp/virtfunc-hp.cc: new file.
26780 * gdb.hp/watchpoint-hp.c: new file.
26781 * gdb.hp/xdb.c: new file.
26782 * gdb.hp/xdb0.c: new file.
26783 * gdb.hp/xdb0.h: new file.
26784 * gdb.hp/xdb1.c: new file.
26785
26786 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
26787
26788 The following change was made by Edith Epstein
26789 <eepstein@cygnus.com> as part of a project to merge in changes
26790 originally made by HP; HP did not create ChangeLog entries.
26791
26792 * gdb.c++/demangle.exp: changed the expected output for some
26793 ARM-style mangling -- removed second reference to datatype.
26794 For example, maint demangle __dt__11T1__pt__2_cFv
26795 T1<char>::~T1<char>(void)
26796 becomes,
26797 maint demangle __dt__11T1__pt__2_cFv
26798 T1<char>::~T1(void)
26799
26800 (test_hp_style_demangling): new hp specific demangling test cases.
26801
26802 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
26803
26804 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26805 * gdb.trace/backtrace.exp: Likewise.
26806 * gdb.trace/circ.exp: Likewise.
26807 * gdb.trace/collection.exp: Likewise.
26808 * gdb.trace/deltrace.exp: Likewise.
26809 * gdb.trace/infotrace.exp: Likewise.
26810 * gdb.trace/limits.exp: Likewise.
26811 * gdb.trace/packetlen.exp: Likewise.
26812 * gdb.trace/passc-dyn.exp: Likewise.
26813 * gdb.trace/passcount.exp: Likewise.
26814 * gdb.trace/report.exp: Likewise.
26815 * gdb.trace/save-trace.exp: Likewise.
26816 * gdb.trace/tfind.exp: Likewise.
26817 * gdb.trace/tracecmd.exp: Likewise.
26818 * gdb.trace/while-dyn.exp: Likewise.
26819 * gdb.trace/while-stepping.exp: Likewise.
26820
26821 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
26822
26823 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26824
26825 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
26826
26827 From Brendan Kehoe:
26828 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26829 int return types.
26830
26831 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
26832
26833 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
26834 remote dos host testing right.
26835
26836 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
26837
26838 * gdb.base/corefile.exp: remove some xfails.
26839
26840 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
26841
26842 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
26843 have different timestamps.
26844
26845 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
26846
26847 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
26848 gdb.base/default.exp: Replace "exec" with "executable".
26849
26850 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
26851
26852 * gdb.base/default.exp: Change else if to elseif from previous
26853 delta.
26854
26855 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
26856
26857 * gdb.base/default.exp: Add brace missing from previous delta.
26858
26859 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
26860
26861 * gdb.base/default.exp: Support test for info float for all
26862 varieties of arm toolchain.
26863
26864 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
26865
26866 * gdb.trace/*.exp: remove "remote_download" command.
26867
26868 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
26869
26870 * gdb.trace/*.exp: remove -gdwarf from compile.
26871
26872 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
26873
26874 * gdb.trace/configure.in(AC_INIT): typo
26875 * gdb.trace/configure: regenerated
26876
26877 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
26878
26879 * config/m68k-emc.exp: New file.
26880 * lib/<emc-support.exp trace-support.exp}: New files.
26881 * configure.in: add new test directory gdb.trace.
26882 * gdb.trace/{configure configure.in Makefile.in}: New files.
26883 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
26884 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
26885 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
26886 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
26887 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
26888 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
26889 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
26890
26891 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
26892
26893 * gdb.c++/classes.exp: Change all regular expressions to match
26894 arbitrary combinations of newline/carriage-return, so that they
26895 will work equally well on Unix and Windows.
26896 * gdb.c++/inherit.exp: ditto.
26897 * gdb.c++/virtfunc.exp: ditto.
26898
26899 1998-08-11 Dawn Perchik <dawn@cygnus.com>
26900
26901 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
26902
26903 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
26904
26905 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
26906 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
26907 to use a0-a3/d0-d3 as needed.
26908
26909 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
26910
26911 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
26912 * gdb.disasm/am33.exp: Corresponding changes.
26913
26914 1998-07-11 Felix Lee <flee@cygnus.com>
26915
26916 * gdb.base/callfuncs.exp: add cmp10 test.
26917 * gdb.base/callfuncs.c (cmp10): new function.
26918
26919 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
26920
26921 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
26922 into two parts to get around a synchronization problem in expect.
26923
26924 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
26925
26926 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
26927
26928 * configure.in: Add options for gdbtk testsuite.
26929
26930 * configure: Regenerate.
26931
26932 * gdb.gdbtk: New directory to hold gdbtk tests.
26933
26934 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26935
26936 * gdb.fortran/types.exp: Escape brackets in expect patterns
26937 for test_float_literal_types_accepted tests.
26938 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
26939 before run test.
26940
26941 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
26942
26943 * am33.exp: Just compile, do not link the testcase.
26944 * am33.s: Add ".am33" pseudoop to force am33 mode.
26945
26946 1998-06-25 Felix Lee <flee@cygnus.com>
26947
26948 * gdb.base/setshow.exp: make sure $pc is sane.
26949
26950 * gdb.stabs/weird.exp: split expect patterns properly.
26951
26952 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
26953
26954 * gdb.disasm/am33.s: New disassembler testfile for the am33.
26955 * gdb.disasm/am33.exp: Run it.
26956
26957 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
26958
26959 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
26960 match processing (and eliminate spurious timeouts when running).
26961
26962 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
26963
26964 * gdb.base/signals.exp (test_handle_all_print): put back Mach
26965 exception test, but conditionalize it on target [mach | gnu].
26966
26967 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
26968
26969 * gdb.base/overlays.exp: fixup compile line for linker script.
26970
26971 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
26972
26973 * gdb.fortran/types.exp: don't guess at float size.
26974
26975 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
26976
26977 * gdb.base/exprs.exp: delete test that depends on int size.
26978
26979 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
26980
26981 * config/sim.exp: Removed checks for target triplets.
26982 (gdb_target_sim): Use gdb,target_sim_options.
26983
26984 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
26985
26986 * gdb.base/reread.exp: New file.
26987 * gdb.base/reread1.c: New file.
26988 * gdb.base/reread2.c: New file.
26989
26990 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
26991
26992 * config/sim.exp: Use 'target sim -sparclite' when running
26993 SPARClite programs.
26994
26995 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
26996
26997 * gdb.base/structs2.exp: New file.
26998 * gdb.base/structs2.c: New file.
26999
27000 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27001
27002 * gdb.asm/common.inc: New file.
27003 * gdb.asm/d10v.inc: New file.
27004 * asm-source.exp: Pass -I's to gas to find .inc files.
27005 Update line numbers in expected output.
27006 * asmsrc1.s: Rewrite.
27007 * asmsrc2.s: Rewrite.
27008 * configure.in: Create arch.inc symlink.
27009 * configure: Regenerate.
27010 * Makefile.in (distclean): Delete arch.inc.
27011
27012 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27013
27014 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
27015 (t_enum_value2): ditto
27016 (t_enum_value3): ditto
27017 (main): ditto
27018 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27019
27020 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27021 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27022 change.
27023 Use gdb_test instead of send_gdb/gdb_expect sequences.
27024
27025 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27026
27027 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27028 not void.
27029
27030 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27031
27032 * gdb.base/branches.c: Code with lots of loops and
27033 subroutines. Used to test gdbs ability to single step through PC
27034 changes, especially to test mips-tdep.c:mips_next_pc
27035
27036 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27037
27038 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27039 more rigorous EGCS C++ error checking.
27040
27041 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27042
27043 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27044 tests.
27045 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27046 function when asleep.
27047 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27048 for i*86 Linux and SVR4 signal handling problems.
27049 Remove linux xfail for `next to handler in signals_tests_1', fixed
27050 by recent infrun.c change.
27051 Limit backtrace to 10 frames to avoid timeout problems with infinite
27052 stack backtraces.
27053 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27054 target.[ch] change.
27055
27056 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27057
27058 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27059 for a newline from gdb before continuing.
27060 (default_gdb_exit): Just look for y or n.
27061 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27062 it does, fail the rests of the tests in the file.
27063
27064 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27065
27066 * config/cygmon.exp: New file.
27067
27068 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27069
27070 * gdb.base/list.exp: Fix problem with "list default lines around
27071 main" test on remote targets.
27072
27073 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27074 run test on remote targets.
27075
27076 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27077
27078 * gdb.asm: New directory.
27079 * configure.in: Configure it.
27080 * configure: Regenerate.
27081 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27082 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27083
27084 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27085
27086 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27087
27088 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
27089
27090 * gdb.base/overlays (several files): Merge the two overlay
27091 managers into one. Change variables (foox, barx, bazx, grbxx)
27092 back into ints but force them to load in their proper sections.
27093
27094 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27095
27096 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
27097 on-chip insn memory and IMAP1 to upper 128k.
27098 (D10VCopy): Handle memory regions crossing 16k boundaries.
27099 (D10VCopy): Transfer data in 32 bit chunks.
27100
27101 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27102
27103 * gdb.base/overlays.c (main): Exit normally when result is
27104 correct.
27105
27106 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
27107 map. Include space for printf in .text segment.
27108
27109 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
27110 updated d10v memory VMA/LMA map.
27111 (D10VCopy): Call D10VTranslate.
27112
27113 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27114
27115 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27116
27117 * gdb.base/bar.c (barx, bar): Change variable to small array so
27118 that it won't be put into the .sdata - small data -
27119 section. Update reference.
27120 * gdb.base/baz.c (bazx, baz): Ditto.
27121 * gdb.base/foo.c (foox, foo): Ditto.
27122 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27123
27124 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
27125 to be arrays.
27126
27127 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
27128
27129 * gdb.base/overlays.exp: fix up and get working again.
27130 Add tests for backtraces from an overlay function.
27131
27132 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27133
27134 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27135 "calling function with watchpoint enabled".
27136
27137 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27138
27139 * gdb.base/break.exp (test_next_with_recursion): Remove
27140 gdb_suppress_tests for d10v-*-*.
27141 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27142 pending review of whether it is useful or not.
27143
27144 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27145
27146 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27147
27148 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27149
27150 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27151 * config/dve.exp: New file to support Densan boards.
27152
27153 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27154
27155 * gdb.base/interrupt.exp: Document problem of simulators, signals,
27156 reads and BSD.
27157
27158 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27159
27160 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27161 response.
27162
27163 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27164
27165 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27166
27167 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
27168 test.
27169
27170 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
27171 target_sizeof_long and target_bigendian_p.
27172 (structs_by_value, structs_by_reference): Check values according
27173 to targets word size and endianess.
27174
27175 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27176
27177 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
27178 output.
27179
27180 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27181
27182 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
27183 Update test of set args help to match source change.
27184
27185 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27186
27187 * gdb.base/default.exp: Expect help system output to be in
27188 alphabetical order.
27189 * gdb.base/help.exp: Ditto.
27190
27191 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27192
27193 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27194 "i*86-pc-linux-gnu*".
27195 * gdb.base/interrupt.exp: Ditto.
27196 * gdb.base/corefile.exp: Ditto.
27197
27198 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
27199 define vxworks when building the testcase.
27200
27201 * gdb.base/ptype.exp: Fix testnames to be unique.
27202 * gdb.base/radix.exp: Ditto.
27203 * gdb.base/term.exp: Ditto.
27204 * gdb.base/whatis.exp: Ditto.
27205 * gdb.c++/classes.exp: Ditto.
27206
27207 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27208
27209 * gdb.base/callfuncs.exp: Fix indentation.
27210
27211 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27212 suppress_flag has been set.
27213 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27214 target feature.
27215
27216 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27217
27218 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27219 the testcase.
27220
27221 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
27222 set_debug_traps() and breakpoint().
27223 * gdb.c++/misc.cc (main): Ditto.
27224 * gdb.c++/templates.cc (main): Ditto.
27225 * gdb.c++/virtfunc.cc (main): Ditto.
27226
27227 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27228
27229 * lib/gdb.exp(gdb_step_for_stub): New function.
27230 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27231 exists, reload the executable and do a "continue" instead of
27232 doing a jump.
27233 (runto_main): Use gdb_step_for_stub.
27234
27235 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
27236 tests to have unique names.
27237 * gdb.base/callfuncs.exp: Ditto.
27238 * gdb.base/commands.exp: Ditto.
27239 * gdb.base/default.exp: Ditto.
27240 * gdb.base/help.exp: Ditto.
27241 * gdb.base/list.exp: Ditto.
27242 * gdb.base/opaque.exp: Ditto.
27243 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27244 similar tests.
27245
27246 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27247 * gdb.c++/cplusfuncs.cc: Ditto.
27248 * gdb.c++/virtfunc.cc: Ditto.
27249
27250 * config/monitor.exp: Keep track of the last file we saw, rather
27251 than trying to get the info from gdb.
27252
27253 * gdb.fortran/types.exp: Move comment to previous line.
27254
27255 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27256
27257 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
27258 target mode.
27259
27260 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27261
27262 From Bob Manson:
27263 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
27264 string from GDB when it connects.
27265
27266 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27267
27268 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27269
27270 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
27271 if we can't get a debug format from GDB (we may be testing an
27272 older GDB). Use a 10 second timeout when checking for the format.
27273
27274 * gdb.stabs/weird.exp: Fix quoting.
27275
27276 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27277
27278 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27279
27280 * config/arm-ice.exp: New file.
27281
27282 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27283
27284 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
27285 until it has been modified to work with the new testsuite.
27286
27287 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
27288 testcase won't compile, cause all of the testcases in the file to
27289 fail instead.
27290
27291 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27292 (gdb_clear_suppressed): New procedure.
27293 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27294 it contains a positive value.
27295
27296 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
27297
27298 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27299
27300 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27301
27302 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
27303
27304 * lib/gdb.exp (setup_xfail_format): New function.
27305 (get_debug_format): New function to get debug format.
27306 (debug_format): New global variable to hold last value set
27307 by get_debug_format.
27308 * gdb.base/list.exp: Call get_debug_format and expect some
27309 tests to fail for DWARF 1 and COFF formats.
27310 * gdb.c++/ptype.exp: Ditto.
27311 * gdb.c++/classes.exp: Ditto.
27312 * gdb.c++/cplusfuncs.exp: Ditto.
27313 * gdb.c++/inherit.exp: Ditto.
27314 * gdb.c++/templates.exp: Ditto.
27315 * gdb.c++/virtfunc.exp: Ditto.
27316
27317 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
27318
27319 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27320 host doesn't have a currently-open connection.
27321
27322 * config/sparclet.exp: Cleanups and fixes to make it generic for
27323 any gdb stub target. Handle cases where gdb doesn't respond when
27324 interrupted in a sane fashion.
27325
27326 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
27327 same thing in a totally different way.
27328
27329 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
27330 setting "timeout".
27331 (gdb_start): We set the global gdb_prompt variable in
27332 default_gdb_init now.
27333
27334 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
27335
27336 * gdb.base/printcmds.exp: Fix "check for floating addition"
27337 regexp to accept results within approx +/- .01 of exact value.
27338 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27339
27340 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
27341
27342 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
27343 properly.
27344 (gdb_expect): Add optional timeout parameter, and add timeout
27345 value to various calls.
27346 (gdb_suppress_tests): Only give one warning message per group.
27347
27348 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
27349
27350 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
27351 global variables. Handle getting a value for $timeout more
27352 gracefully.
27353
27354 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27355
27356 * lib/gdb.exp: Close connection to remote host if gdb doesn't
27357 initialize.
27358 (default_gdb_init): New procedure; allow gdb_init to be overridden
27359 by a target configuration file.
27360 (gdb_expect): Pass the timeout to remote_expect.
27361
27362 * config/monitor.exp(gdb_load): Fix typo in regexp.
27363
27364 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
27365
27366 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27367
27368 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
27369
27370 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
27371 here. Call gdb_target_exec before rebooting the target, to make
27372 sure the connection to the target is closed.
27373 (gdb_load): Pass the name of the executable to gdb_target_monitor.
27374 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27375 Also detect "Timeout reading from remote" error.
27376
27377 * config/gdbserver.exp: Pass the executable being loaded to
27378 gdb_target_monitor. Don't call gdb_file_cmd here; let
27379 gdb_target_monitor do it.
27380
27381 * gdb.disasm/hppa.exp: Don't use exec_output.
27382
27383 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
27384
27385 * gdb.base/list.exp: If we're debugging a non-native target,
27386 try to set the pc register to point to the start of the
27387 program before doing the first list command.
27388
27389 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
27390 test_calls after restarting.
27391
27392 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
27393 reloading.
27394
27395 * gdb.base/watchpoint.exp: Fix typo.
27396
27397 * gdb.base/setshow.exp: Check for use_gdb_stub.
27398
27399 * gdb.base/break.exp: Fix continue until exit test for the gdb
27400 stub case.
27401 * gdb.base/langs.exp: Ditto.
27402
27403 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
27404 gdb_load_offset. If we weren't given a file to load, figure out
27405 what the current file is and use it.
27406
27407 * config/i386-bozo.exp: New file.
27408
27409 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
27410
27411 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27412 feature.
27413
27414 * config/proelf.exp: New entry.
27415
27416 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
27417
27418 * lib/gdb.exp: Remove spurious .* patterns at the beginning
27419 of regexps.
27420
27421 * gdb.base/watchpoint.exp: Don't run the test_stepping
27422 tests if gdb can't call functions on the target.
27423
27424 * gdb.base/setshow.exp: Don't run the set prompt tests if
27425 the board has gdb_prompt set.
27426
27427 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
27428
27429 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27430 * gdb.base/commands.exp: Likewise.
27431 * gdb.base/setshow.exp: Likewise.
27432
27433 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
27434
27435 * config/monitor.exp(gdb_start): Look for gdb_prompt target
27436 feature.
27437
27438 * config/i960.exp: New file.
27439
27440 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
27441
27442 * gdb.base/funcargs.exp: Check for gdb,short_int target
27443 feature instead of looking for explicit target triplets.
27444
27445 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
27446
27447 * gdb.base/printcmds.exp: add a couple more tests a la
27448 "p 123DEADBEEF", to check parse_number.
27449 * top.c: change "to enable to enable" to "to enable" in a couple
27450 of help strings.
27451
27452 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
27453
27454 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27455 on the mn10300.
27456
27457 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
27458
27459 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
27460 where the test executable is run with explicit args.
27461 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
27462
27463 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
27464
27465 * gdb.base/run.c: Use FAKEARGV to build test executable that
27466 does not require a command line arg, since most simulators
27467 don't currently support passing such an arg into the simulated
27468 program.
27469 * gdb.base/commands.exp: Change tests to insert the proper
27470 value as the arg to the first recursive factorial call. Change
27471 compilation line to define FAKEARGV at compile time.
27472
27473 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
27474
27475 * gdb.base/recurse.exp: Enable these tests for the mn10300.
27476 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
27477 function with watchpoint enabled" test.
27478
27479 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
27480
27481 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
27482 Don't call gdb_test when the command doesn't return to a gdb prompt.
27483
27484 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
27485 "Tests restarted" messages.
27486
27487 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
27488
27489 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
27490
27491 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
27492
27493 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
27494 for INFO SYMBOL; add help tests for OVERLAY commands.
27495 * gdb.base/default.exp: add tests for INFO SYMBOL command;
27496 add tests for OVERLAY commands
27497 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
27498 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
27499 * gdb.base/sigall.c: add usestubs code frag
27500 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
27501
27502 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
27503
27504 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
27505 failures.
27506 (gdb_stop_suppressing_tests): Note that tests have restarted.
27507
27508 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
27509
27510 * config/h8300.exp: New file.
27511
27512 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
27513
27514 * gdb.base/setshow.exp: Check for the existence of a
27515 feature, not its value.
27516
27517 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
27518
27519 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
27520
27521 * gdb.base/scope.exp: It's now init0(), not init().
27522
27523 * gdb.base/scope0.c: For now, change init() to be init0().
27524
27525 * config/monitor.exp: Use gdb_serial in preference to serial
27526 or netport.
27527
27528 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
27529 and it's not already set.
27530
27531 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
27532
27533 * gdb.base/setshow.exp: Only test the run command if the target
27534 isn't using a stub and if it supports argument passing.
27535
27536 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
27537
27538 * config/udi.exp(gdb_start): Make sure UDICONF is set
27539 properly before starting gdb.
27540
27541 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
27542
27543 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
27544 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
27545 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
27546
27547 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
27548
27549 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
27550 specialized code to reboot the board, use remote_reboot instead.
27551
27552 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
27553
27554 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
27555
27556 * config/monitor.exp: Make sure we disconnect from the target.
27557 Also, try a reboot/reload cycle instead of failing if the
27558 load fails.
27559
27560 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
27561
27562 * gdb.base/default.exp: Don't set match_max.
27563 * gdb.base/help.exp: Ditto.
27564 * gdb.base/list.exp: Ditto.
27565 * gdb.base/signals.exp: Ditto.
27566
27567 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
27568 set, use remote_ld to download the testcase instead of
27569 the GDB loader.
27570
27571 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
27572
27573 * config/vr5000.exp: New file.
27574
27575 * config/monitor.exp(gdb_target_monitor): Add pattern for
27576 "Ending remote" to detect errors in connecting.
27577
27578 * gdb.base/setshow.exp: Add .* within auto language test.
27579
27580 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
27581 target feature.
27582
27583 * config/monitor.exp(gdb_load): Check for a failure when loading,
27584 and reboot the board if necessary.
27585
27586 * gdb.base/setvar.exp(test_set): Handle multiple prints within
27587 a set of tests. Remove print.* from the patterns being checked.
27588
27589 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
27590
27591 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
27592 refer to gdb_spawn_id.
27593
27594 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
27595 longer used.
27596 * config/sparclet.exp: Ditto.
27597 * config/sparclet-old.exp: Ditto.
27598 * config/slite.exp: Ditto.
27599 * config/sim.exp: Ditto.
27600 * gdb.base/funcargs.exp: Ditto.
27601
27602 * lib/gdb.exp:Remove references to gdb_spawn_id.
27603 (gdb_expect): Move to remote.exp.
27604
27605 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
27606
27607 * config/monitor.exp: Detect the "Couldn't establish connection"
27608 message from GDB.
27609
27610 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
27611
27612 * gdb.base/bitfields.exp: Use runto instead of explicit
27613 gdb_run_cmd/gdb_expect sequences.
27614
27615 * gdb.base/break.exp(text_next_with_recursion): Add match for
27616 gdb_expect call.
27617
27618 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
27619 We also need to handle the "A program is being debugged already"
27620 prompt from gdb. Use gdb_test to set the baud rate.
27621
27622 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
27623 to 20000. Really. I mean it.
27624
27625 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27626
27627 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
27628 fails. If suppress_flag is set, skip perror message about not
27629 being able to send to GDB.
27630 (send_gdb): If suppress_flag is set, don't try to send commands to
27631 GDB.
27632 (gdb_expect): If suppress_flag is set, always fail immediately.
27633 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
27634 (gdb_init): Call gdb_stop_suppressing_tests.
27635 (default_gdb_exit): Ditto.
27636 (default_gdb_start): Ditto.
27637
27638 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
27639 gdb_stop_suppressing_tests as appropriate.
27640 * gdb.base/break.exp: Ditto.
27641 * gdb.base/callfuncs.exp: Ditto.
27642 * gdb.base/commands.exp: Ditto.
27643 * gdb.base/exprs.exp: Ditto.
27644 * gdb.base/funcargs.exp: Ditto.
27645 * gdb.base/list.exp: Ditto.
27646 * gdb.base/recurse.exp: Ditto.
27647 * gdb.base/scope.exp: Ditto.
27648 * gdb.base/structs.exp: Ditto.
27649 * gdb.c++/inherit.exp: Ditto.
27650
27651 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
27652
27653 * config/vr4300.exp: New file.
27654
27655 * gdb.*/*.exp: Call gdb_expect instead of expect.
27656
27657 * lib/gdb.exp(gdb_expect): New function.
27658
27659 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
27660
27661 * lib/gdb.exp(gdb_init): New function.
27662
27663 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
27664 for each individual variable set.
27665
27666 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
27667 name.
27668
27669 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
27670
27671 * gdb.base/scope.exp: Use gdb_test.
27672
27673 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
27674 aborting; the testsuite driver will do that for us (see
27675 gdb_finish). Also, use gdb_test in a few more places.
27676
27677 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
27678
27679 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
27680
27681 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
27682
27683 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
27684 and "add_tests" are not at the same address.
27685
27686 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
27687
27688 * gdb.base/ptype.exp: Use gdb_test.
27689
27690 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
27691
27692 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27693 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27694 left in. No longer expect them to fail.
27695
27696 * gdb.stabs/*.mt; Deleted, no longer used.
27697 * gdb.stabs/configure.in: Remove references to target makefile
27698 frags.
27699 * gdb.stabs/configure: Rebuilt.
27700
27701 * gdb.disasm/*.mt: Deleted, no longer used.
27702 * gdb.disasm/configure.in: Remove references to target makefile
27703 frags. Use "sh3.s" as the unique filename for this directory.
27704 * gdb.disasm/configure: Rebuilt.
27705
27706 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27707 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27708 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27709
27710 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
27711
27712 * config/udi.exp: Use mondfe,name instead of remote_host.
27713
27714 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
27715
27716 * gdb.base/watchpoint.exp: Don't expect a failure when calling
27717 a function with a watchpoint enabled on the mn10200.
27718
27719 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27720 before trying to create it!
27721
27722 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
27723
27724 * config/vx.exp: Use hostname instead of netport.
27725
27726 * config/vxworks.exp: New file.
27727
27728 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27729
27730 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
27731 gdb before assuming everything worked. Send a ^C if a timeout
27732 occurs.
27733
27734 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27735 $gdb_spawn_id directly.
27736 (gdb_run_cmd): Try _start as well as start. Use the target feature
27737 gdb,start_symbol as the symbol to start from when jumping.
27738
27739 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
27740
27741 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27742 redundant) test.
27743
27744 * gdb.base/recurse.exp: Relax final value test for 'b' so that
27745 it doesn't lose for 16bit integer systems.
27746
27747 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
27748
27749 * gdb.fortran/types.exp: If the target doesn't support "double"
27750 data types, then expect "real" types to only be 4 bytes.
27751
27752 * gdb.c++/virtfunc.exp: Expect failure for virtual function
27753 call tests if the target doesn't support inferior function calls.
27754
27755 * gdb.base/printcmds.exp: Allow minor deviation in FP values
27756 in printf tests.
27757
27758 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
27759
27760 * gdb.base/help.exp: Disable "help set", "help show", and
27761 "help support". Simplify regexp for "help stack".
27762
27763 * gdb.base/default.exp: Set match_max to 5000 and the timeout
27764 to 60 seconds. Temporarily set match_max to 15000 around the
27765 "info copying" test.
27766
27767 * gdb.base/nodebug.exp: Don't try to do an inferior function
27768 call if the target doesn't support them.
27769 * gdb.base/printcmds.exp: Likewise.
27770 * gdb.base/setvar.exp: Likewise.
27771 * gdb.base/structs.exp: Likewise.
27772 * gdb.c++/templates.exp: Likewise.
27773 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
27774
27775 * gdb.base/recurse.exp: Enable for the mn10200.
27776
27777 * configure.in: Do configure gdb.stabs directory for *-*-elf
27778 targets.
27779 * configure: Rebuilt.
27780
27781 * gdb.base/break.exp: Check for gdb,noresults before testing
27782 exit status and/or results from the target.
27783 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27784 * lib/gdb.exp: Remove old (now bogus) initialization of
27785 noinferior, noargs, noresults and nosignals.
27786
27787 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
27788
27789 * config/sh.exp: New file.
27790
27791 * config/slite.exp: Try to connect multiple times to the board
27792 before rebooting. Only send a "monitor run" if need_monitor_run
27793 is set.
27794
27795 * gdb.base/break.exp: Don't do the "stub continue" test if
27796 the target has gdb_stub set.
27797
27798 * gdb.base/callfuncs.exp: Increase the timeout.
27799
27800 * gdb.base/interrupt.exp: Don't even try to compile the testcase
27801 if the target has gdb,noinferiorio set.
27802
27803 * gdb.base/list.exp: Increase match_max to 10000 characters.
27804
27805 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27806
27807 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27808 target.
27809
27810 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27811
27812 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
27813
27814 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
27815 trying to delete the copy of gdb. Catch the file delete so we
27816 don't die if the delete fails; also, the file should be copied to
27817 the host, not to the build.
27818
27819 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
27820
27821 * lib/gdb.exp(gdb_test): Surround the result pattern with
27822 parenthesis in case it contains multiple regexps separated
27823 with |.
27824
27825 * gdb.base/watchpoint.exp: Use gdb_test.
27826 * gdb.base/default.exp: Ditto.
27827
27828 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
27829
27830 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
27831
27832 * gdb.base/scope.exp: Use gdb_test.
27833 * gdb.c++/classes.exp: Ditto.
27834 * gdb.c++/inherit.exp: Ditto.
27835
27836 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
27837
27838 * gdb.base/crossload.exp: Don't use execute_anywhere, use
27839 remote_exec instead.
27840 * gdb.base/corefile.exp: Don't be ridiculous.
27841 * gdb.base/*.c: Add missing stub invocations.
27842
27843 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
27844
27845 * config/slite.exp: Miscellaneous fixes.
27846
27847 * lib/gdb.exp: Fix runto.
27848
27849 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
27850 the target.
27851
27852 * gdb.base/watchpoint.exp: Fix regexp.
27853
27854 * lib/gdb.exp(default_gdb_exit): Add a catch to the
27855 close and wait commands, as the descriptor may now be
27856 invalid. Always call "remote_close host".
27857
27858 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
27859
27860 Major rewrite for testsuite revision.
27861
27862 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
27863 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
27864 instead of relying on spawn_id to always contain a valid
27865 spawn id.
27866 (get_compiler_info): New procedure to build the ${binfile}.ci
27867 file, instead of replicating this in N different places.
27868 (gdb_compile): New procedure.
27869
27870 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
27871 appropriate arguments) instead of compile. Use gdb_test in a lot
27872 more places. Use send_gdb instead of send. Always run gdb_start
27873 at the start of a testcase, as this is no longer done magically.
27874
27875 config/*-gdb.exp: Rename without the -gdb suffix.
27876
27877 config/mips.exp: Use remote_close instead of exit_remote_shell.
27878 config/monitor.exp: Use target_info instead of looking at
27879 baud, timeout, etc.
27880 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
27881
27882 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27883
27884 * gdb.c++/templates.exp (test_ptype_of_templates),
27885 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
27886 Update expect patterns for destructors and assignment operators
27887 to match corresponding c-typeprint.c changes.
27888 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
27889 to destructor breakpoint test, GDB should be able to set the
27890 destructor breakpoint without specifying arguments.
27891
27892 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
27893
27894 * gdb.threads/pthreads.exp: Change result for failure to compile due
27895 to lack of pthreads runtime support from an error to simply an
27896 unsupported test, per dejagnu standards.
27897
27898 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27899
27900 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
27901 where GDB exits to reduce pattern match time.
27902 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
27903
27904 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
27905
27906 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
27907
27908 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
27909 * gdb.base/default.exp: ditto.
27910 * gdb.base/nodebug.exp: ditto.
27911 * gdb.base/printcmds.exp: ditto.
27912 * gdb.base/ptype.exp: ditto.
27913 * gdb.base/setvar.exp: ditto.
27914 * gdb.base/structs.exp: ditto.
27915 * gdb.base/setshow.c: Guard against uninitialized values of argc.
27916
27917 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
27918
27919 * configure, */configure: Rebuild with autoconf 2.12.
27920
27921 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
27922
27923 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
27924 use new i*86-pc-linux*-gnu quads.
27925 * gdb.base/corefile.exp: Ditto.
27926 * gdb.base/signals.exp: Ditto.
27927 * gdb.base/sigall.exp: Ditto.
27928 * gdb.base/interrupt.exp: Ditto.
27929
27930 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
27931 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
27932 RedHat 4.0.
27933
27934 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
27935 linux. This allows the test case to at least compile on latest
27936 linux, but still not run due to missing the threads runtime library.
27937
27938 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27939
27940 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
27941 directory to search gdb directory. Accept and step over conditional
27942 stack alignment code. Consume $prompt in failure cases.
27943 Reset timeout to $oldtimeout instead of some arbitrary value.
27944 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
27945 timeout problems with infinite stack backtraces.
27946 * gdb.base/ptype.exp (ptype struct link, union tu_link):
27947 Accept function parameters for linkfunc member.
27948
27949 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
27950
27951 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
27952 (CXXFLAGS): Remove, unreferenced.
27953 (B_OPTIONS): Add for -B options and add code to initialize with
27954 previous -B options and also add -B option to pick up cross compiled
27955 runtime.
27956 (TARGET_INCLUDES): Add for -I options and add code to initialize when
27957 doing cross compiles.
27958 (target_alias): Declare global.
27959 (xgcc): Set variable to full path of gcc in build tree. Use findfile
27960 to verify that gcc exists in build tree, and if so set CC to that
27961 gcc and to use B_OPTIONS and TARGET_INCLUDES.
27962
27963 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
27964
27965 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
27966 ptype test for anonymous union. Fixup testcase to match
27967 current gcc debug output.
27968
27969 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
27970
27971 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
27972 force argument to an unsigned long type.
27973
27974 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
27975
27976 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
27977 tests and anonymous union print/ptype tests.
27978 * gdb.base/list.exp (test_forward-search): Increase timeout by
27979 5 minutes for the "search extremely long line" case.
27980 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
27981 completely optional and that the pass/fail messages use the command as
27982 the message if that third arg is a null string.
27983 (gdb_test_exact): Arrange that a null string pattern means match a
27984 null string output rather than any output, which might include random
27985 errors.
27986 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
27987 backtrace test.
27988 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
27989 always failing and failure is now exposed by gdb.exp changes.
27990
27991 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
27992
27993 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
27994 weren't being noted.
27995
27996 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27997
27998 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
27999 * gdb.stabs/weird.exp: Remove v_comb xfails.
28000
28001 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
28002
28003 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
28004 list.exp scope.exp watchpoint.exp]
28005 Make all timeout error msgs explicitly say "(timeout)".
28006
28007 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
28008
28009 * config/monitor.exp: Increase download timeout to 1000 seconds.
28010
28011 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
28012
28013 * config/m32r.exp: Increase timeout to 120 seconds.
28014
28015 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28016
28017 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28018 and accept older ordering as obsolescent gcc or gdb.
28019 * gdb.c++/templates.exp: Ditto.
28020 * gdb.c++/virtfunc.exp: Ditto.
28021
28022 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28023
28024 * gdb.base/coremaker.c: Add code to mmap some data so we
28025 can check that it ends up in the core file.
28026 * gdb.base/corefile.exp: Add test to read mmapped data
28027 from core file.
28028
28029 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
28030
28031 * config/m32r.exp: New file.
28032
28033 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28034
28035 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28036 that cflags can contains -gstabs, and work correctly for other tests.
28037
28038 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
28039
28040 * gdb.base/setshow.exp: New file, tests show and set.
28041 * gdb.base/setshow.c: New file, tests show and set.
28042 * gdb.base/help.exp: Add test for help set|show annotate.
28043 * gdb.base/default.exp: Add test for set|show annotate.
28044
28045 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28046
28047 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28048 errors unique.
28049 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28050 explicitly.
28051
28052 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28053
28054 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28055 and width commands. This is done elsewhere.
28056 * (gdb_start): Don't call gdb_start_sim here. That's already
28057 done in gdb_load. This fixes lots of failures in default.exp.
28058
28059 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28060
28061 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28062 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28063 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28064 in the same we we treat other failures (since it may be an expected
28065 condition), rather than as an error.
28066 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28067 old test format.
28068
28069 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28070
28071 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28072 (distclean maintainer-clean realclean): No need to remove files
28073 twice. Nuke the duplicates.
28074 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
28075 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
28076 Remove config.h along with other config files.
28077
28078 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28079
28080 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28081 "p func1 ()" and note that rests of tests are skipped.
28082 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
28083 setup_xfails for "print func2::coremaker_local".
28084 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28085 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28086 affected by the previous run test.
28087 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28088 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28089 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28090 "pass int powerset tuple" and "pass modeless int powerset tuple".
28091 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28092 "real write 4" and "real write 8".
28093 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
28094 setup_xfails for "print vs1 after tuple assign 2",
28095 "print \$i after tuple assign 2", and
28096 "print vs2 after tuple assign 2".
28097 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28098 meaningful error message and return -1 so the caller can
28099 suppress further tests and avoid a cascade of errors.
28100
28101 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28102
28103 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28104 format for printing version.
28105 * gdb.base/default.exp: Ditto.
28106 * gdb.base/interrupt.exp: Fix problem with cascade of
28107 errors if child process dies while calling a function.
28108
28109 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28110
28111 * Makefile.in (VPATH): Add
28112 * Makefile.in (Makefile, config.status): Fix rules so things get
28113 remade when necessary.
28114
28115 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28116
28117 * Makefile.in (just-check): Add path to sibling expect dir
28118 to environment variable specified by RPATH_ENVVAR.
28119
28120 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28121
28122 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28123 (just-check): Add shared library paths for libstdc++, tk,
28124 tcl, bfd, and opcodes to the environment variable specified
28125 in RPATH_ENVVAR.
28126 * configure.in: Add support to recognize --enable-shared flag
28127 and generate correct value for RPATH_ENVVAR.
28128 * configure: Regenerated with autoconf.
28129
28130 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28131
28132 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
28133 include all osf versions.
28134 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28135 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28136 when target is linux. When failing to build pthreads test
28137 executable, give more meaningful message.
28138 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28139 arg for pthread_create.
28140
28141 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28142
28143 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
28144 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
28145 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
28146 and -lpthreads (everybody else).
28147 (test_startup): Fail gracefully if threads are not supported.
28148 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28149 "p/c array_index("abcdef",2)" when not gcc compiled.
28150 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28151 "print func2::coremaker_local" when not gcc compiled.
28152 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28153 "ptype on opaque struct tagname (statically)",
28154 "ptype on opaque struct tagname (dynamically) 1", and
28155 "ptype on opaque struct tagname (dynamically) 2"
28156 for not compiled with gcc.
28157 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28158 backtrace when compiled with gcc.
28159 * lib/gdb.exp (runto_main): Return result of "runto main" rather
28160 than always return success.
28161
28162 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28163
28164 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28165
28166 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28167
28168 * gdb.base/structs.exp: Undo last change.
28169
28170 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28171
28172 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28173 encapsulate all the steps/nexts done during self test, starting
28174 at main, and makes them less sensitive to optimization issues.
28175 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28176 signal handler" test.
28177 * gdb.threads/pthreads.exp: Only run this for native configs.
28178 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28179 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28180 tests.
28181 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28182 for "runto test_calls(void)" test.
28183
28184 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28185
28186 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28187 and don't expect address info in breakpoint confirmations.
28188
28189 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28190
28191 * gdb.base/list.exp (test_forward_search): Increase timeout
28192 temporarily by 60 seconds for searching extremely long line,
28193 and then reset to old value when done. Increase expect input
28194 buffer to 10000.
28195
28196 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28197
28198 * gdb.base/list.exp (test_forward_search): Fix to handle very
28199 long source line without overflowing expect's input buffer.
28200
28201 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28202
28203 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28204 "buffer_full".
28205
28206 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28207 "buffer_full".
28208
28209 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28210 "buffer_full".
28211
28212 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28213 "buffer_full".
28214
28215 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28216
28217 * configure.in (configdirs): Add gdb.threads.
28218 * configure: Regenerated with autoconf.
28219 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28220 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28221 * gdb.threads/configure: New, generated with autoconf.
28222
28223 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28224
28225 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28226
28227 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28228
28229 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28230 each signal's status in the output of "handle all print".
28231 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28232 the \r\n sequence that immediately precedes the gdb prompt.
28233 * gdb.base/a1-selftest.exp: Save original timeout and restore
28234 after test.
28235
28236 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28237
28238 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28239 symbol.
28240
28241 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28242
28243 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28244
28245 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28246
28247 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28248 timeout by 60 seconds.
28249
28250 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28251
28252 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28253 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28254 error return.
28255
28256 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28257
28258 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28259 gdb initialization, also report how long dejagnu waited. Restore
28260 old timeout before doing error return. Temporarily increase timeout
28261 by 3 minutes to allow for slow startups over heavy NFS use.
28262
28263 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28264
28265 * lib/gdb.exp: Report timeout value for verbosity level 2.
28266 * config/gdbserver.exp: Ditto.
28267 * config/hppro.exp: Ditto.
28268 * config/mips-gdb.exp: Ditto.
28269 * config/monitor.exp: Ditto.
28270 * config/netware.exp: Ditto.
28271 * config/sim-gdb.exp: Ditto.
28272 * config/slite-gdb.exp: Ditto.
28273 * config/udi-gdb.exp: Ditto.
28274 * config/unix-gdb.exp: Ditto.
28275 * config/vx-gdb.exp: Ditto.
28276 * gdb.base/a1-selftest.exp: Ditto.
28277 * gdb.base/a2-run.exp: Ditto.
28278 * gdb.base/break.exp: Ditto.
28279 * gdb.base/corefile.exp: Ditto.
28280 * gdb.base/list.exp: Ditto.
28281 * gdb.base/recurse.exp: Ditto.
28282 * gdb.base/scope.exp: Ditto.
28283 * gdb.base/signals.exp: Ditto.
28284
28285 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28286
28287 * gdb.threads/Makefile.in (docdir): Removed.
28288
28289 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28290
28291 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
28292 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
28293 @srcdir@.
28294 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
28295 autoconf 2.5 or higher.
28296 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28297
28298 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
28299
28300 * configure: Regenerated.
28301 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28302 avoid name clashes with SunOS headers.
28303
28304 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
28305
28306 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28307
28308 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
28309
28310 * gdb.base/callfuncs.exp: Finish last change -- make sure the
28311 prototype information ends up in the compiler info file.
28312
28313 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
28314
28315 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28316 attempting to regenerate it. Eliminate use of a temporary file
28317 and just generate the info file directly. Source it immediately,
28318 for consistency of use.
28319 * gdb.base/corefile.exp: Ditto
28320 * gdb.base/exprs.exp: Ditto.
28321 * gdb.base/funcargs.exp: Ditto.
28322 * gdb.base/langs.exp: Ditto.
28323 * gdb.base/list.exp: Ditto.
28324 * gdb.base/mips_pro.exp: Ditto.
28325 * gdb.base/nodebug.exp: Ditto.
28326 * gdb.base/opaque.exp: Ditto.
28327 * gdb.base/ptype.exp: Ditto.
28328 * gdb.base/scope.exp: Ditto.
28329 * gdb.base/setvar.exp: Ditto.
28330 * gdb.base/signals.exp: Ditto.
28331 * gdb.base/whatis.exp: Ditto.
28332 * gdb.c++/templates.exp: Ditto.
28333 * gdb.c++/virtfunc.exp: Ditto.
28334 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
28335 whether or not to add -lstdc++ to the compile command line args.
28336
28337 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28338
28339 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
28340 it got fixed by the recent lookup_minimal_symbol_by_pc change.
28341 Increase timeout, a lot of single stepping might be needed if the
28342 target has no hardware watchpoints.
28343
28344 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
28345
28346 * gdb.base/break.exp: Ignore compiler warnings when compiling
28347 break.c.
28348 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28349 * gdb.base/default.exp: Add h8300 xfails. Handle messages
28350 from remote-sim.
28351 * gdb.base/exprs.exp: Add h8300 xfails.
28352 * gdb.base/funcargs.exp: Likewise.
28353 * gdb.base/nodebug.exp: Likewise.
28354 * gdb.base/printcmds.exp: Likewise.
28355 * gdb.base/ptype.exp: Likewise.
28356 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
28357 h8300 xfails.
28358 * gdb.base/return.exp: Handle float/double precision problems
28359 on the h8300.
28360 * gdb.base/funcargs.c: Explicitly make last constant argument to
28361 call_after_alloca_subr an unsigned long type.
28362 * gdb.base/return.c: Include stdio.h.
28363
28364 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
28365
28366 * config/abug.exp: New file for the older Motorola Bug monitor
28367 that runs on the mvme13x series VME boards.
28368 * config/monitor.exp: Use the new config array for target settings
28369 if they exist.
28370
28371 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
28372
28373 * sim-gdb.exp: Make the SH simulator allocate less space when
28374 it is targeted.
28375
28376 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
28377
28378 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28379 test.
28380
28381 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
28382
28383 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28384 "rs6000-*-*" for "list function in include file" when gcc compiled.
28385 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28386 for "p ctable1[120]".
28387 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28388 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28389 Remove setup_xfail for "rs6000-*-*" for
28390 "print 'scope0.c'::filelocal before run".
28391 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28392 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28393 since some compilers don't allow both options to be given
28394 on the same command line. Create object file and move it.
28395
28396 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
28397
28398 * gdb.base/corefile.exp: Always regenerate the core file, since
28399 we always regenerate the coremaker program. Detect special case
28400 where registers cannot be read from core file.
28401
28402 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
28403
28404 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28405 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28406 * gdb.c++/templates.exp: Only match on basename of file since
28407 some formats like xcoff don't encode directory information.
28408 * gdb.stabs/weird.exp: Use the right sed script for powerpc
28409 and rs6000 AIX xcoff targets.
28410 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28411 * configure: Regenerate.
28412 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28413 here, rather than in distclean.
28414
28415 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
28416
28417 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28418 defined, and use it to compile the test case with -O2. The
28419 native compilation still uses no optimization.
28420 * gdb.base/mips_pro.c: Remove inline assembly code since
28421 it is compiled PIC by default, which results in assembler
28422 warnings that make the testsuite think the compilation
28423 was unsuccessful.
28424
28425 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
28426
28427 * gdb.c++/misc.exp: Add note to message for
28428 "print s.a for foo struct" that this is a known gcc 2.7.2
28429 and earlier bug.
28430
28431 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
28432
28433 * gdb.base/break.exp: Fix pattern for matching "Delete all
28434 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
28435 setup_xfail for deleting all breakpoints test. Fix various
28436 timeout messages to include "(timeout)".
28437 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28438 for "p t_float_values2(3.14159,float_val2)".
28439 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28440 for "continue to call2g" when gcc compiled.
28441 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28442 "up to foo in langs.exp", "show language at foo in langs.exp",
28443 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28444 and "show language at fsub in langs.exp".
28445 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28446 "list line 1 in include file", "list message for lines past EOF",
28447 "list function in include file", "list list0.h:foo", and
28448 "list filename:function; nonexistant function".
28449 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28450 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28451 and "ptype t_char_array" to be for native cc only.
28452
28453 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
28454
28455 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
28456 setup_xfail for "print coremaker_bss", "print coremaker_ro",
28457 "print func2::coremaker_local", and "backtrace in corefile.exp".
28458
28459 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
28460
28461 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
28462 "bt in signals.exp". This problem only appears when running
28463 the testsuite, and then only intermittently.
28464
28465 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
28466
28467 * gdb.base/return.exp (return_tests): Differentiate between
28468 two tests of continuing.
28469
28470 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
28471
28472 * */Makefile.in (maintainer-clean): Remove config.log.
28473 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
28474 * gdb.c++/Makefile.in (PROGS): Add inherit.
28475 (clean): Remove *.ci.
28476
28477 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
28478
28479 * gdb.c++/misc.cc: Add test code from Mike Stump.
28480 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
28481
28482 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
28483
28484 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
28485 to "alpha-*-osf2*" and add comment.
28486 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
28487 setup_xfail for "step over execarg initialization" and
28488 "step over corearg initialization".
28489 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
28490 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
28491 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
28492 gcc compiled for "print coremaker_bss", "print coremaker_ro",
28493 "print func2::coremaker_local", and "backtrace in corefile.exp".
28494 * gdb.base/signals.exp: Build and source signals.ci.
28495 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
28496 to be for gcc only.
28497 * lib/gdb.exp: Move verbose statements outside conditionals.
28498
28499 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28500
28501 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
28502 Feb 3 procfs.c change.
28503
28504 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
28505
28506 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
28507
28508 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
28509
28510 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
28511 from dejagnu's apparent default of 10 seconds, which gives random
28512 results when running the tests over NFS on moderately loaded systems.
28513 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
28514
28515 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
28516
28517 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
28518 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
28519 result reports.
28520
28521 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
28522
28523 * configure.in (CY_AC_PATH_TCLH): Remove.
28524 * configure: Regenerate.
28525
28526 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
28527
28528 * gdb.c++/Makefile.in (clean): Add missing '{'.
28529
28530 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
28531
28532 * lib/gdb.exp: Provide a default value for noinferior.
28533
28534 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
28535 Load libgloss.exp.
28536
28537 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
28538
28539 * gdb.disasm/hppa.exp: Compile directly into an executable, use
28540 the executable, not the .o to run the tests from.
28541
28542 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
28543
28544 * gdb.base/break.exp: Don't test for program exit or exit status
28545 if $noresults if nonzero.
28546 * gdb.base/langs.exp: Likewise.
28547 * gdb.base/watchpoint.exp: Likewise.
28548
28549 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
28550 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
28551 trying to compile the testcase.
28552
28553 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
28554
28555 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
28556 * gdb.base/signals.exp (continue to handler): Likewise.
28557
28558 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
28559
28560 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
28561
28562 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
28563
28564 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
28565
28566 * gdb.base/corefile.exp: Recognize "not found" as failure
28567 when trying to determine if a core file was generated.
28568 If no core file was generate the first time, try again without
28569 the ulimit -c to work around braindamaged shells.
28570
28571 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
28572
28573 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
28574 [] tests with "test" and enclose string in quotes.
28575 * gdb.stabs/configure: Rebuild
28576
28577 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
28578
28579 Changes in sync with expect:
28580 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
28581 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
28582 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
28583 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
28584 argument to AC_REQUIRE.
28585 * configure: Regenerated.
28586
28587 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
28588
28589 * gdb.base/corefile.exp: When generating a core, discard any
28590 error messages about ulimit not found and the "core dumped"
28591 message from the shell that runs the coredumper.
28592
28593 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
28594
28595 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
28596
28597 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
28598 which sed script to run. Expect failure for v_comb test
28599 on PA targets too.
28600
28601 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
28602
28603 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
28604 "print func2::coremaker_local" and for "backtrace in corefile.exp"
28605
28606 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
28607
28608 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
28609 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
28610 "sparc-sun-solaris*" xfails for "p v_comb".
28611 * lib/gdb.exp (default_gdb_start): Fix typo.
28612 * gdb.base/corefile.exp: Allow "Core was generated by ..."
28613 messages to not include the full program name that caused
28614 the core dump since some systems (such as solaris) apparently
28615 truncate this path to about 80 characters.
28616 When generating a core file first try increasing the core file
28617 size limit to unlimited since some systems may default it to
28618 zero, and it is harmless to try it. Move the test for failing
28619 to generate a core file to where it will actually get executed.
28620 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
28621 new gdb result from g++ debug info improvements and make old
28622 pattern obsolescent. Also account for size_t differences
28623 (may be int or long).
28624 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
28625 initialization before function call is placed in the delay slot
28626 and thus appears to be skipped over by commands such as "next".
28627
28628 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
28629
28630 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
28631
28632 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
28633
28634 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
28635 input source file; fix code to compile test to deal with this
28636 convention.
28637 * gdb.c++/*.exp: Likewise.
28638
28639 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
28640
28641 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
28642 "bt in signals.exp".
28643
28644 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
28645
28646 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
28647 "step over execarg initialization" and
28648 "step over corearg initialization".
28649
28650 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
28651
28652 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
28653 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
28654
28655 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
28656
28657 From Rob Savoye (rob@poseidon.cygnus.com)
28658 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
28659 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
28660 configure.in}, gdb.disasm/{Makefile.in, configure.in},
28661 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
28662 configure.in}: Major reworking for autoconfig.
28663 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
28664 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
28665 New files.
28666 * config/unix-gdb.exp: Make GDB global.
28667 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
28668 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
28669 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
28670 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
28671 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
28672 term.exp, twice.exp, watchpoint.exp, whatis.exp},
28673 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
28674 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
28675 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
28676 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
28677 pr-8136.exp, result.exp, string.exp, tuples.exp},
28678 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
28679 to returns as necessary, arrange for test to compile own testcase
28680 executable.
28681 * lib/gdb.exp: Changes for testsuite to compile own test cases.
28682
28683 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
28684
28685 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
28686 clear_xfail at end of test which might not call either pass or fail.
28687 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28688 "backtrace through signal handler".
28689
28690 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28691
28692 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
28693 continuing from a job control stop signal.
28694 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
28695
28696 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
28697
28698 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28699 * gdb.base/corefile.exp: Likewise.
28700 * gdb.base/funcargs.exp: Likewise.
28701
28702 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
28703
28704 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
28705 * config/monitor.exp: Add support for setting baud rate.
28706
28707 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
28708
28709 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28710 i*86-*-linux* xfails for "backtrace through signal handler".
28711 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28712 "print func2::coremaker_local".
28713 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
28714 alpha-dec-osf2* xfail for
28715 "delete all breakpoints when none".
28716
28717 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
28718
28719 * gdb.base/break.exp: Change test that deletes all breakpoints
28720 when no user breakpoints are installed. A post 4.15 change
28721 causes gdb to no longer prompt in this case.
28722
28723 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
28724
28725 * gdb.base/return.exp (return_tests): Change xfail for test
28726 "correct value returned double test" to stop xfailing at
28727 Solaris 2.5. Apparently the bug has been fixed.
28728
28729 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
28730
28731 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28732 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28733
28734 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
28735
28736 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28737 * gdb.disasm/hppa.s: Corresponding changes.
28738
28739 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
28740
28741 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28742 makefile fragment.
28743 * config/mt-hpux: Deleted.
28744
28745 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
28746
28747 * Many files: When warning about suppressed tests due to a
28748 nonexistant test binary, avoid incrementing the warning count.
28749
28750 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
28751
28752 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
28753
28754 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28755
28756 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
28757 "sparc-*-solaris2*".
28758
28759 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28760
28761 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
28762 Add global and local variables and initialize them.
28763 * gdb.base/corefile.exp: Test correct mapping of corefile sections
28764 by printing variables. Remove rs6000 and powerpc xfails, BFD now
28765 extracts the file name and terminating signal from the core file.
28766 * TODO: Remove note about tests for correct mapping of corefile.
28767 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
28768 from optimizing it away.
28769 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
28770 handles common blocks.
28771
28772 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
28773
28774 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28775 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28776
28777 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
28778
28779 * Makefile.in (maintainer-clean): New target, synonym for
28780 realclean.
28781 * gdb.base/Makefile.in (maintainer-clean): Likewise.
28782 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28783 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28784 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28785 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28786 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28787
28788 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
28789
28790 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
28791 xfails when not gcc compiled for "print foo::funclocal".
28792 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28793 "print foo::funclocal at foo",
28794 "print 'scope1.c'::foo::funclocal at foo",
28795 "print foo::funclocal_bss at foo",
28796 "print 'scope1.c'::foo::funclocal_bss at foo",
28797 "print foo::funclocal_ro at foo",
28798 "print 'scope1.c'::foo::funclocal_ro at foo",
28799 "print bar::funclocal at foo" and
28800 "print 'scope1.c'::bar::funclocal at foo".
28801 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
28802 gcc compiled for "print foo::funclocal at bar".
28803 Expand all messages to ensure that they identify that
28804 the test is at bar().
28805 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28806 gcc compiled for:
28807 "ptype on opaque struct pointer (statically)",
28808 "ptype on opaque struct tagname (statically)",
28809 "ptype on opaque struct pointer (dynamically) 1",
28810 "ptype on opaque struct tagname (dynamically) 1",
28811 "ptype on opaque struct pointer (dynamically) 2" and
28812 "ptype on opaque struct tagname (dynamically) 2
28813 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28814 gcc compiled for:
28815 "p datalocal"
28816 "whatis datalocal",
28817 "ptype datalocal",
28818 "p bsslocal",
28819 "whatis bsslocal", and
28820 "ptype bsslocal".
28821 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28822 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28823 when not gcc compiled.
28824 * gdb.base/funcargs.exp (float_and_integral_args): Add
28825 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28826 compiled.
28827 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
28828 "backtrace from call6a" when not gcc compiled.
28829 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28830 "backtrace from call7a" when not gcc compiled.
28831 * gdb.base/callfuncs.exp (do_function_calls):
28832 Add "hppa*-*-hpux*" xfail when not gcc compiled for
28833 "p t_char_array_values(char_array_val2,char_array_val1)",
28834 "p t_char_array_values(char_array_val1,char_array_val2)",
28835 "p t_char_array_values("carray 1","carray 2")",
28836 "p t_char_array_values("carray 1",char_array_val2)",
28837 "p t_char_array_values(char_array_val1,"carray 2")",
28838 "p sum_args(1,{2})",
28839 "p sum_args(2,{2,3})",
28840 "p sum_args(3,{2,3,4})",
28841 "p sum_args(4,{2,3,4,5})"
28842 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28843 "backtrace in corefile.exp" when not gcc compiled.
28844
28845 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28846
28847 * gdb.base/signals.exp: Rewrite `handle all print' test as
28848 a procedure. Accept blanks or TABs as whitespace, increase
28849 timeout and expect input buffer size for the large output
28850 from the command. Remove "i*86-*-bsdi2.0" xfail.
28851
28852 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28853
28854 * gdb.base/setvar.exp: Add new testcases for truncation when
28855 assigning invalid values to bitfields.
28856
28857 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
28858
28859 * gdb.base/callfuncs.exp (do_function_calls): Remove
28860 mips-sgi-irix* xfail for
28861 "call inferior func with struct - returns char *"
28862 and fix test so that an optional (unsigned char *) cast is
28863 accepted in the result.
28864
28865 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
28866
28867 * gdb.base/funcargs.exp (float_and_integral_args): Remove
28868 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28869 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
28870 * gdb.base/signals.exp: Remove duplicate "handle all print" test
28871 that accidentally got checked in.
28872
28873 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
28874
28875 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
28876 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
28877 compiled test.
28878 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
28879 Add mips-sgi-irix5* xfail for not gcc compiled.
28880 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
28881 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
28882 compiled for "p top", "whatis top", "p middle", and "whatis
28883 middle".
28884 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
28885 "whatis signed char" for not gcc compiled.
28886 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
28887 "set variable signed char=-1 (-1)" and
28888 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
28889 * gdb.base/funcargs.exp (float_and_integral_args):
28890 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
28891 Add mips-sgi-irix* xfail when not gcc compiled for
28892 "continue to call2b".
28893 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
28894 "continue to call2g".
28895 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
28896 compiled for "backtrace from call6a"
28897 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
28898 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
28899 when not gcc compiled for "backtrace from call7a".
28900 (localvars_after_alloca): Fix gdb_test cmds for
28901 "print * after runto ...".
28902 Remove rs6000-*-* xfails for
28903 "print i after runto localvars_after_alloca" and
28904 "print l after runto localvars_after_alloca"
28905 for all compilers.
28906 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
28907 when not compiled with gcc, for:
28908 "print signed char == (minus)",
28909 "print signed char != (minus)",
28910 "print signed char < (minus)",
28911 "print signed char > (minus)".
28912 * gdb.base/callfuncs.exp (do_function_calls):
28913 Add mips-sgi-irix* xfail, when compiled with native compiler, for
28914 "call inferior func with struct - returns char *".
28915 * gdb.base/return.exp (return_tests): Change xfail for
28916 "correct value returned double test" to include Solaris 2.4.
28917 * gdb.base/funcargs.exp (float_and_integral_args):
28918 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28919
28920 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28921
28922 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
28923 enumeration bitfields if compiling with GNU C.
28924 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
28925 to empty' prompt.
28926
28927 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
28928
28929 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
28930 test for PRO targets.
28931
28932 * gdb.base/funcargs.exp: Avoid ever setting more than 8
28933 breakpoints in the inferior at any given time by making
28934 two groups of breakpoints for call2*, call6* and call7*
28935 tests.
28936
28937 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28938
28939 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
28940 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
28941 from optimizing it away.
28942 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
28943 "call inferior func with struct".
28944
28945 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
28946
28947 * configure.in: Only configure gdb.chill for particular targets.
28948
28949 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
28950
28951 * gdb.base/Makefile.in: Add action to .c.o transformation
28952 rule that generates a .ci file for each .o file and remove
28953 explicit .c.o rules except for callfuncs.o.
28954 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
28955 generates a .ci file for each .o file and remove explicit
28956 .cc.o rules.
28957 (clean): Remove *.tmp *.ci files.
28958 (EXECUTABLES): Remove templ-info.exp.
28959 * gdb.base/compiler.c: New file.
28960 * gdb.c++/compiler.cc: New file
28961 * gdb.base/scope.exp: Source gdb.base/scope.ci.
28962 Change rs6000-*-* xfail for
28963 "print 'scope0.c'::filelocal_ro" and
28964 "print 'scope1.c'::filelocal" and
28965 "print 'scope1.c'::filelocal_bss" and
28966 "print 'scope1.c'::filelocal_ro" and
28967 "print 'scope1.c'::foo::funclocal" and
28968 "print 'scope1.c'::foo::funclocal_ro" and
28969 "print 'scope1.c'::bar::funclocal" and
28970 "print 'scope0.c'::filelocal_ro" and
28971 "print 'scope1.c'::filelocal at foo" and
28972 "print 'scope1.c'::filelocal_bss at foo" and
28973 "print 'scope1.c'::filelocal_ro at foo" and
28974 "print 'scope1.c'::foo::funclocal at foo" and
28975 "print 'scope1.c'::foo::funclocal_bss at foo" and
28976 "print 'scope1.c'::foo::funclocal_ro at foo" and
28977 "print 'scope1.c'::bar::funclocal at foo" and
28978 "print 'scope0.c'::filelocal_ro" and
28979 "print 'scope1.c'::filelocal" and
28980 "print 'scope1.c'::filelocal_bss" and
28981 "print 'scope1.c'::filelocal_ro" and
28982 "print 'scope1.c'::foo::funclocal" and
28983 "print 'scope1.c'::foo::funclocal_bss" and
28984 "print 'scope1.c'::foo::funclocal_ro" and
28985 "print 'scope1.c'::bar::funclocal" and
28986 "print 'scope1.c'::bar::funclocal_bss"
28987 to only be xfail'd when not compiled with gcc.
28988 Add rs6000-*-* xfail for
28989 "print 'scope0.c'::filelocal_bss before run"
28990 when compiled with gcc.
28991 (test_at_main): Add rs6000-*-* xfail for
28992 "print filelocal_ro in test_at_main"
28993 when compiled with gcc.
28994 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
28995 Add rs6000-*-aix* xfail for
28996 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
28997 "ptype t_char_array", not compiled with gcc.
28998 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
28999 xfail for "list foo (in include file)" when gcc compiled.
29000 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
29001 (integral_args): Add rs6000-*-* xfail for
29002 "run to call0a" if not compiled with gcc.
29003 (unsigned_integral_args): Add rs6000-*-* xfail for
29004 "run to call1a" if not compiled with gcc.
29005 (float_and_integral_args): Add rs6000-*-* xfail for
29006 "run to call2a" if not compiled with gcc and for
29007 "continue to call2b" for any compiler.
29008 Add rs6000-*-* xfail to
29009 "print f1 after run to call2a" for gcc compiled.
29010 (discard_and_shuffle): Add rs6000-*-* xfail for
29011 "run to call6a".
29012 (shuffle_round_robin): Add rs6000-*-* xfail for
29013 "backtrace from call7a" if not compiled with gcc.
29014 Add rs6000-*-* xfail for
29015 "backtrace from call7b" if compiled with gcc.
29016 (call_after_alloca): Add rs6000-*-* xfail for
29017 "print c in call_after_alloca" and
29018 "print s in call_after_alloca" and
29019 "backtrace from call_after_alloca_subr"
29020 if not compiled with gcc.
29021 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29022 "print c in localvars_in_indirect_call" and
29023 "print c in localvars_in_indirect_call" and
29024 "backtrace in indirectly called function" and
29025 "stepping into indirectly called function"
29026 if not compiled with gcc.
29027 (localvars_after_alloca): Add rs6000-*-* xfail for
29028 "print c after runto localvars_after_alloca" and
29029 "print s after runto localvars_after_alloca" and
29030 "print i after runto localvars_after_alloca" and
29031 "print l after runto localvars_after_alloca"
29032 for all compilers.
29033 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29034 than whatis-info.exp.
29035 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29036 than opaque-info.exp.
29037 Setup rs6000-*-* xfail for
29038 "ptype on opaque struct pointer (statically)" and
29039 "ptype on opaque struct pointer (dynamically)" when
29040 not compiled with gcc.
29041 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29042 rather than callf-info.exp.
29043 (do_function_calls): Add clear_xfail for rs6000-*-* for
29044 "p t_float_values2(3.14159,float_val2)". Seems to work
29045 fine there, both with xlc and gcc. Need to find out what
29046 it is doing right and fix other platforms.
29047 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29048 "call inferior func with struct - returns int",
29049 "call inferior func with struct - returns long",
29050 "call inferior func with struct - returns float",
29051 "call inferior func with struct - returns double",
29052 "call inferior func with struct - returns char *",
29053 but only if not gcc compiled (presumes xlc compiled).
29054 Change rs6000-*-* xfails for
29055 "call inferior func with struct - returns char" and
29056 " call inferior func with struct - returns short" to only
29057 xfail if not using gcc.
29058 (clean mostlyclean): Remove *.ci and *.tmp files.
29059 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29060 than templ-info.exp.
29061 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29062 Add rs6000-*-* xfail for "up to foo in langs.exp"
29063 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
29064 when not gcc compiled.
29065
29066 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29067
29068 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29069 * gdb.base/corefile.exp: Likewise.
29070 * gdb.base/list.exp: Likewise.
29071 * gdb.base/scope.exp: Likewise.
29072 * gdb.base/siganls.exp: Likewise.
29073
29074 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29075 compiler output.
29076 * gdb.base/whatis.exp: Likewise.
29077
29078 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29079
29080 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29081 failure (opcode table has been fixed to match reality).
29082
29083 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29084
29085 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29086 "call inferior func with struct - returns char",
29087 "call inferior func with struct - returns short"
29088
29089 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29090 "print 'scope0.c'::filelocal at main",
29091 "print 'scope0.c'::filelocal_bss in test_at_main",
29092 "print 'scope0.c'::filelocal at foo",
29093 "print 'scope0.c'::filelocal_bss in test_at_foo",
29094 "print 'scope0.c'::filelocal at bar",
29095 "print 'scope0.c'::filelocal_bss in test_at_bar"
29096
29097 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29098 in source file 1". This bug seems to have been fixed with both
29099 gcc and native cc (was native assembler bug?).
29100
29101 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29102
29103 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29104 "backtrace through signal handler" to "i*86-*-sysv4*".
29105 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29106 continue" case. Add "known SVR4 bug" to fail message.
29107 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29108 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29109 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29110 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29111 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29112 "up to foo in langs.exp", "show language at foo in
29113 langs.exp", "up to cppsub_ in langs.exp", "show
29114 language at cppsub_ in langs.exp", "up to fsub in
29115 langs.exp", and "show language at fsub in langs.exp".
29116 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29117 "bactrace in corefile.exp".
29118 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29119 "call inferior function with struct - returns float" and
29120 "call inferior function with struct - returns double".
29121
29122 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29123
29124 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29125 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29126 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29127 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29128
29129 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29130
29131 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29132 (or overriden) "CHILL" macro rather then bare "gcc".
29133 Also look for ../../gcc/xgcc since that is what we will
29134 actually need, not "Makefile". Remove following assignment
29135 of CHILL to CHILL_FOR_TARGET because that results in
29136 recursive definition.
29137
29138 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29139
29140 * gdb.base/corefile.exp: Change xfail for backtrace in
29141 corefile.exp from linuxaout to all linux.
29142 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29143 cases where we miss the breakpoint at the signal handler
29144 for some reason. Setup xfail for linuxoldld/linuxaout and
29145 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29146 hitting SIGURG breakpoint.
29147 * gdb.base/signals.exp: Setup xfail for "next" acting like
29148 continue to add linuxoldld. Setup xfail for all linux for
29149 "next to handler in signals_tests_1", "backtrace in
29150 signals_tests_1", "continue to func1", "pass SIGUSR1",
29151 and continue to handler".
29152
29153 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29154
29155 * Update all FSF addresses except those in COPYING* files.
29156
29157 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29158
29159 * gdb.base/a2-run.exp: Change messages to be more explicit about
29160 the status of args, and quote binfile in results.
29161
29162 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29163
29164 * gdb.base/callfuncs.exp: Add tests for passing structs to
29165 inferior functions and return various types.
29166 * gdb.base/callfuncs.c: Add functions to receive a struct
29167 and return a member of the struct, in various types.
29168
29169 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29170
29171 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29172
29173 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29174
29175 * config/vxworks29k.exp: New file, sources vxworks.exp.
29176
29177 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29178
29179 * config/gdbremote.exp: New file. Testing framework using
29180 gdbserver.
29181
29182 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29183
29184 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29185 "call function when asleep" and "send end of file".
29186 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29187 for "backtrace in corefile.exp".
29188 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29189 for "backtrace through signal handler".
29190 * gdb.base/corefile.exp: Make sure we actually generate a core file
29191 before trying the core tests. Some systems allow the user to suppress
29192 generation of core files and default to that (linux for example).
29193 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29194 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29195
29196 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29197
29198 * gdb.threads: New directory with some crude multi-threaded
29199 gdb tests (step.exp and step2.exp).
29200 * config/mt-lynx (STEP_EXECUTABLE): Define.
29201 (THREADFLAGS): Define.
29202
29203 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29204
29205 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29206
29207 * gdb.base/signals.exp: Disable whole file for lynx until
29208 further notice.
29209
29210 * gdb.base/signals.exp: xfail test where "next" acts like
29211 "continue" for lynx.
29212
29213 * gdb.base/interrupt.exp: xfail test for calling function while
29214 inferior is asleep for lynx.
29215
29216 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29217 than one cr-lf after each command.
29218
29219 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29220
29221 * configure.in: Reinstate setting of stabsdirs variable, fix
29222 typo in setting up configdirs for native builds.
29223
29224 * gdb.base/return.exp: Fix typo in return double test.
29225 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29226 compiler from optimizing them away.
29227
29228 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29229
29230 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29231 sequences to be echo'd by gdb when using gdb_test.
29232 * gdb.chill/chexp.exp: Likewise.
29233 * gdb.fortran/exprs.exp: Likewise
29234
29235 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29236
29237 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29238 after the inferior gdb has started.
29239
29240 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29241 after each command.
29242 * gdb.base/funcargs.exp: Likewise.
29243 * gdb.base/gdbvars.exp: Likewise.
29244 * gdb.base/interrupt.exp: Likewise.
29245 * gdb.base/list.exp: Likewise.
29246 * gdb.base/watchpoint.exp: Likewise.
29247 * gdb.c++/demangle.exp: Likewise.
29248 * gdb.c++/inherit.exp: Likewise.
29249 * gdb.chill/chexp.exp: Likewise.
29250 * gdb.fortran/exprs.exp: Likewise.
29251
29252 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29253 test if we can't handle IO to/from the inferior.
29254
29255 * gdb.c++/misc.exp: Always check for a program already being
29256 started after sending a "run" command to gdb.
29257
29258 * gdb.base/twice.exp: Start with a fresh gdb.
29259
29260 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29261 only depend on gdb's expression code, not the chill runtime.
29262
29263 * gdb.base/return.c: Put return values into variables so we
29264 can have gdb print them rather than depending on the program
29265 to print them.
29266 * gdb.base/return.exp: Corresponding changes.
29267
29268 * lib/gdb.exp: Provide default value for noinferiorio.
29269 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29270 the inferior.
29271
29272 * gdb.base/break.exp: Always check for a program already being
29273 started after sending a "run" command to gdb.
29274 (text_next_with_recursion): Don't check the output from the
29275 program's printf statement. Instead just make sure the program
29276 exited.
29277
29278 * gdb.base/commands.exp: Protect tests which need arguments with
29279 $noargs conditionals.
29280
29281 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29282
29283 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29284 of structure member arrays to match gdb/valops.c:value_addr change.
29285
29286 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29287
29288 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29289 cases.
29290
29291 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29292
29293 * configure.in (configdirs): Remove gdb.chill from default list
29294 of subdirs and then add it back in only if doing a native build.
29295 The current chill compiler does not yet work in any cross build.
29296 * Revert all signal changes from Jul 6.
29297 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
29298 for sh-hms targets, allowing these tests to link, with no other
29299 changes. Testing is suppressed by setting "nosignals" in site.exp.
29300
29301 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
29302
29303 * configure.in (signaldirs): Define and add to configdirs for all
29304 targets except some specific ones that are known to not support signals.
29305 Also clean up formatting.
29306 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
29307 (signals, sigall): Remove rules to build.
29308 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29309 Moved to new gdb.signals directory.
29310 * gdb.signals: New test directory.
29311 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29312 signals.c signals.exp}: New or moved files.
29313
29314 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
29315
29316 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29317
29318 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
29319
29320 * gdb.base/return.exp: Xfail `return double' test failure
29321 on at least Solaris 2.3 and handle future/past versions on
29322 a case by case basis as appropriate. Also update message
29323 to include i*86 failures.
29324
29325 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29326
29327 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29328
29329 * lib/gdb.exp: Fix comment which erroneously identified
29330 gdb_file_cmd as gdb_load (the 19 May change was in fact to
29331 gdb_file_cmd not gdb_load).
29332 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29333
29334 * gdb.base/setvar.exp: Make test names consistent between pass and
29335 fail cases. Use gdb_test more.
29336
29337 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29338
29339 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29340
29341 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29342
29343 * gdb.base/help.exp: Fix expected help string for `show commands'.
29344
29345 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
29346
29347 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29348
29349 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29350 of a text section.
29351
29352 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
29353
29354 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
29355 that loop eventually terminates. Fix Connection refused logic so
29356 that testsuite will expire nicely.
29357
29358 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
29359
29360 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29361 config/rom68k.exp: New tcl glue for the appropriate monitors.
29362 These all just end up calling monitor.exp.
29363 * config/monitor.exp (gdb_target_monitor): Handle `Connection
29364 refused' by retrying. Cleanup some timeout issues.
29365 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
29366 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
29367 callers don't have to set/restore global timeout variable.
29368
29369 * The following set of changes centralizes management of the global
29370 timeout variable. This way, it can be set in one target dependent
29371 place instead of dozens of places scattered throughout the test suite.
29372 If you need to lengthen a timeout, then you should either set timeout
29373 in one of the config/{target}.exp files, or multiply it by a factor.
29374 Setting it to an absolute value is always going to lose for some
29375 targets.
29376 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
29377 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
29378 * gdb.base/funcargs.exp: Don't set timeout.
29379 * gdb.base/list.exp (test_forward_search): Only use local timeout.
29380 * gdb.base/printcmds.exp (test_print_string_constants
29381 test_print_array_constants): Don't set timeout.
29382 * gdb.base/ptype.exp: Don't set timeout.
29383 * gdb.base/recurse.exp: Don't set timeout.
29384 * gdb.base/return.exp: Don't set timeout.
29385 * gdb.base/watchpoint.exp: Don't set timeout.
29386 * gdb.c++/classes.exp (do_tests): Don't set timeout.
29387 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
29388
29389 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
29390
29391 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29392
29393 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29394
29395 * lib/gdb.exp: Disable chill tests for irix5.
29396
29397 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29398
29399 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
29400 each test pass or fail.
29401
29402 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29403
29404 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29405 xlc not gcc.
29406
29407 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
29408
29409 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
29410
29411 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
29412
29413 * config/est.exp: Fix copyright and comments. Remove dead code.
29414 Use targetname, serialport and baud variables instead of fixed
29415 constants.
29416 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
29417 * config/cpu32bug.exp: New file to support cpu32bug monitors.
29418
29419 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29420
29421 * gdb.base/watchpoint.exp: Don't run
29422 test_watchpoint_triggered_in_syscall for sunos.
29423
29424 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29425
29426 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29427 they don't seem to exist. Do include stdio.h.
29428
29429 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29430
29431 * gdb.base/a1-selftest.exp: Add alpha xfail.
29432
29433 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29434
29435 * gdb.base/watchpoint.c (main): Prompt before calling read().
29436 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29437 Revise accordingly. Remove cruft about sending "123" several
29438 times, until it gets noticed. Clean up the "print buf[0]" stuff
29439 so that it passes or fails, and waits for prompts in the usual way.
29440
29441 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29442
29443 * gdb.base/recurse.exp: Fix comment.
29444
29445 * TODO: Remove item about printing variables in nodebug.exp. Add
29446 item about enabling tests which are only run on some targets.
29447
29448 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29449 fail, make test names unique, use new gdb_test convention
29450 regarding pattern, use gdb_test more, etc.).
29451
29452 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29453 fail, make test names unique, etc.).
29454
29455 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29456
29457 * gdb.base/nodebug.c: Change return type of top and middle to
29458 short.
29459 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
29460 are fixed by the recent mdebugread.c changes. Allow `short ()'
29461 as type for top and middle.
29462
29463 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29464
29465 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
29466 nearly as I can tell, the whole thing was an accident in Stu's
29467 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
29468 to replace a send/expect pair with gdb_test, but ended up only
29469 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
29470 of 30 Mar 1995 took care of it, but left this vestigial comment
29471 which I am now nuking.
29472
29473 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29474
29475 * gdb.base/break.exp: Look for different line number for
29476 breakpoint at main depending on usestubs.
29477
29478 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29479
29480 * gdb.base/list.exp: Adjust some alternate expect patterns to
29481 match recent list0.c change. Add alternate expect pattern for
29482 output from `list default lines around main' for optimizing
29483 compilers.
29484
29485 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29486
29487 * lib/gdb.exp: If nosignals is not set, set it to 0.
29488
29489 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
29490
29491 * config/slite-gdb.exp: Responds to load symbol table prompt.
29492 * gdb.base/break.exp: Adjust line number, fix rerun.
29493 * gdb.base/langs0.c: Add #ifdef usestubs.
29494
29495 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
29496
29497 * gdb.base/list.exp: Adjust line contents after adding new lines in
29498 list0.c. Also fix a syntax error.
29499
29500 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
29501 * gdb.base/break.exp: ditto.
29502 * gdb.base/list.exp: ditto.
29503 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
29504 * gdb.base/run.c: ditto.
29505 * gdb.base/list0.c: ditto.
29506 * gdb.base/funcargs.c: ditto.
29507
29508 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
29509
29510 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
29511 $targetname, $serialport and $baud instead of hardwired variables.
29512 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
29513 target doesn't support signals.
29514
29515 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
29516
29517 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
29518
29519 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29520
29521 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
29522 Don't rely on the value of an auto variable before it has been
29523 initialized. Use gdb_test more.
29524
29525 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29526
29527 * lib/gdb.exp (default_gdb_version): A version number must start
29528 with a digit, but other than that contains all characters up to
29529 the first whitespace character.
29530
29531 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29532
29533 * gdb.base/commands.exp (breakpoint_command_test): New tests.
29534
29535 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29536
29537 * gdb.c++/*.exp: Warn if executable does not exist. The original
29538 reason for skipping the warning was that configure.in sometimes
29539 intentionally skipped building the executables but the tcl code
29540 had no way of knowing. That (a) was always bogus with respect to
29541 error handling, (b) is no longer true (right now there is no way
29542 to skip C++ tests).
29543
29544 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
29545
29546 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29547
29548 * gdb.base/list.exp: Add expect patterns for output from
29549 SunPRO compiled executables.
29550 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
29551 types.
29552
29553 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29554
29555 * gdb.base/break.exp (test_next_with_recursion): Accept any line
29556 number (we are already testing that the correct source line text
29557 gets printed).
29558
29559 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
29560 that is what is intended, but something needed to be done to get
29561 sunos4 native working again.
29562
29563 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
29564
29565 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
29566 apparently went with a (very) old xfail.
29567
29568 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
29569
29570 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
29571 runto_main is a proc in gdb.exp that will do 'step' for target use
29572 stubs.
29573 * gdb.base/exprs.exp: ditto.
29574 * gdb.base/interrupt.exp: ditto.
29575 * gdb.base/opaque.exp: ditto.
29576 * gdb.base/printcmds.exp: ditto.
29577 * gdb.base/ptype.exp: ditto.
29578 * gdb.base/scope.exp: ditto.
29579 * gdb.base/setvar.exp: ditto.
29580 * gdb.base/signals.exp: ditto.
29581 * gdb.base/twice.exp: ditto.
29582 * gdb.c++/classes.exp: ditto.
29583 * gdb.c++/inherit.exp: ditto.
29584 * gdb.c++/templates.exp: ditto.
29585 * gdb.base/break.exp: no run and hit main for stubs. Change line
29586 numbers for breakpoints and info breakpoint.
29587 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
29588 breakpoint().
29589 * gdb.base/callfuncs.c: ditto.
29590 * gdb.base/exprs: ditto.
29591 * gdb.base/interrupt.c: ditto.
29592 * gdb.base/opaque0.c: ditto.
29593 * gdb.base/printcmds.c: ditto.
29594 * gdb.base/ptype.c: ditto.
29595 * gdb.base/scope0.c: ditto.
29596 * gdb.base/setvar.c: ditto.
29597 * gdb.base/signals.c: ditto.
29598 * gdb.base/twice.c: ditto.
29599 * gdb.c++/misc.cc: ditto.
29600 * gdb.c++/templates.cc: ditto.
29601
29602 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29603
29604 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
29605
29606 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
29607 somewhere between `read' and `main.c'. I'm pretty sure the
29608 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
29609 and it isn't particularly useful.
29610
29611 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
29612
29613 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29614
29615 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
29616
29617 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
29618
29619 * config/mt-slite: add LIBS and -nostdlib.
29620 * config/slite-gdb.exp: add this new file to support sparclite target.
29621
29622 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
29623
29624 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
29625
29626 * gdb.base/a2-run.exp: Change argument to istarget from
29627 "*-*-vxworks" to "*-*-vxworks*".
29628 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
29629
29630 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
29631
29632 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
29633 will not runto main but do a 'step' to step out of breakpoint().
29634 * config/mt-slite: add -Dusestubs.
29635
29636 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29637
29638 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
29639 instead of just @.
29640
29641 * gdb.base/signals.exp: Add test for "handle all print".
29642 * TODO: Remove "handle all print". Also remove item about
29643 checking copyright date (I don't like the idea of a spurious FAIL
29644 based on when we run the tests).
29645
29646 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
29647 for SunOS4 (reason for failure not investigated). Remove
29648 redundant test for $binfile.
29649
29650 * gdb.base/nodebug.c (array_index): Call malloc.
29651
29652 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
29653
29654 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
29655
29656 * gdb.base/recurse.exp: Update gdb_test invocation to use new
29657 conventions and slightly simplify the matching regexp.
29658
29659 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29660
29661 * gdb.base/break.exp: Update gdb_test invocation to use new
29662 convention.
29663
29664 * lib/gdb.exp: If noargs is not set, set it to 0.
29665
29666 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
29667 tests unique.
29668
29669 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
29670
29671 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29672
29673 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
29674 one argument of type "<non-float parameter>".
29675
29676 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
29677
29678 * config/rom68k.exp: New file to support Motorola IDP board.
29679 * gdb.base/a2-run.exp: Skip this file if noargs is set.
29680 * gdb.base/break.c: Change things around so that this program
29681 doesn't depend upon args. This is necessary to make remote
29682 targets work (in general, they can't take args).
29683 * gdb.base/break.exp: Don't try to send args to program. Don't
29684 expect output. Also, replace lots of code with gdb_test.
29685
29686 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29687
29688 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29689 printing of '\'' (which is what the comment says we are testing,
29690 even though we were not), not '''.
29691 (test_integer_literals_rejected): Test that printing ''' is an error.
29692
29693 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29694 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29695 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29696 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29697 Use gdb_test not test_print_accept.
29698 * lib/gdb.exp: Remove test_print_accept.
29699
29700 * gdb.base/signals.exp (signal_tests_1): Make pass message
29701 consistent with fail message.
29702
29703 * gdb.base/whatis.exp: Remove xfails for printing char vs.
29704 unsigned char; the bug (PR 1821) is fixed.
29705
29706 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29707
29708 * gdb.base/scope.exp (test_at_localscopes): Call pass for
29709 successful tests--makes xfailing them work right.
29710
29711 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29712
29713 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29714 only \r\n, not .*. The test can pass .* as the last thing in
29715 $pattern if that is what it wants. In addition to providing this
29716 flexibility, this change should speed up pattern matching in cases
29717 where the pattern already ended with .* (there were a number of
29718 them). This change also helps catch bad patterns--in the old
29719 scheme the typo "char \*" instead of "char \\*" would pass. Now
29720 it is caught.
29721 * Many .exp files: Update callers.
29722
29723 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
29724 clearer and does not spuriously match multiple ('s. Likewise for
29725 ) and *.
29726
29727 * gdb.base/nodebug.exp: Test ability to call a function and pass
29728 it a string (even with no debugging info).
29729
29730 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29731 "p '\'", which is the same as "p ''" once tcl gets done with
29732 quoting, to "p '\\'", which I suspect is what is intended (one
29733 backslash gets sent to GDB).
29734
29735 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29736
29737 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29738
29739 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
29740 1817) was fixed literally years ago.
29741
29742 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29743
29744 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
29745 test, it causes stepping out of call_after_alloca_subr with
29746 optimizing compilers.
29747 (localvars_in_indirect_call): Consume GDB prompt if `finish'
29748 fails.
29749
29750 * gdb.c++/templates.exp: Source templ-info.exp only if
29751 the templates executable exists.
29752
29753 * gdb.c++/misc.cc (class Contains_static_instance,
29754 class Contains_nested_static_instance),
29755 gdb.c++/classes.exp (test_static_members): Test printing of
29756 a class that contains a static instance of the class.
29757
29758 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29759
29760 * gdb.base/langs2.c (cppsub_): Don't prototype.
29761 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29762 only, I believe).
29763
29764 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29765
29766 * lib/gdb.exp (skip_chill_tests): New procedure.
29767
29768 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29769
29770 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
29771
29772 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29773 each expect pattern. Cuts runtime from 12 to about 4 seconds.
29774
29775 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29776
29777 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29778
29779 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29780 disassemble 8, not 16, instructions for part 4.
29781
29782 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
29783 support the latter anymore.
29784
29785 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29786 -DNO_PROTOTYPES.
29787 * gdb.base/callfuncs.c: Control use of prototypes based on
29788 NO_PROTOTYPES, not __STDC__.
29789 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29790 t_float_values2 tests if prototypes in use.
29791
29792 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29793 t_double_values): When checking differences against DELTA, check
29794 that difference is within the range (-DELTA,DELTA), not just
29795 (-infinity,DELTA).
29796
29797 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
29798
29799 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29800 'file' command firts, then 'target', then 'load', this is due to gdb
29801 target set up.
29802 * config/mips-gdb.exp: Fix a couple regular exp bugs.
29803
29804 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
29805
29806 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29807 FP load/store variants.
29808 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29809
29810 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29811
29812 * gdb.base/term.exp: Do not give a warning if not native, it is
29813 not an abnormal condition.
29814
29815 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
29816
29817 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29818 t_char_array".
29819
29820 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29821
29822 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29823 are getting the version number.
29824
29825 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29826 if not native, it is not an abnormal condition.
29827
29828 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29829
29830 * lib/gdb.exp: Just use "file exists", rather than undocumented
29831 dejagnu procedure "findfile".
29832
29833 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29834
29835 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29836 (LDFLAGS): Set to -Xlinker -Ur.
29837
29838 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29839 Removed, these values are set by lib/gdb.exp.
29840
29841 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29842
29843 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29844
29845 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29846 of replicating gdb startup code.
29847
29848 * config/mt-vxworks (LDFLAGS): Set to -r.
29849 (CFLAGS_FOR_TARGET): Removed.
29850
29851 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
29852 (gdb) and gdb for vxworks uses (vxgdb).
29853
29854 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
29855 executable is not in the tree and host != target, use sed and
29856 program_transform_name to determine the gdb name used by the
29857 target.
29858
29859 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
29860 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
29861
29862 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29863
29864 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
29865 floats, chars, and shorts where there are ANSI-style function
29866 definitions.
29867
29868 * gdb.base/langs.exp, gdb.base/langs*: New test.
29869 * gdb.base/Makefile.in: Build it.
29870 * TODO: Remove item about checking that C names don't get C++
29871 demangling applied; this test tests it.
29872
29873 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29874
29875 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
29876 went with the const70 xfail. The xfail went away a year ago.
29877
29878 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
29879
29880 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
29881 for hp300.
29882
29883 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
29884
29885 * gdb.base/a1-selftest.exp: Don't run on hp300.
29886
29887 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29888
29889 * Makefile.in (site.exp): Set host_alias and target_alias as well
29890 as host_triplet and target_triplet.
29891
29892 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29893
29894 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
29895
29896 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
29897 places as other ecoff systems).
29898
29899 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
29900 ultrix.
29901
29902 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29903
29904 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
29905 remove them.
29906 * gdb.base/nodebug.exp: Accept "function" in addition to "text
29907 variable and "variable" in addition to "data variable".
29908 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
29909
29910 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
29911 2.
29912 * gdb.base/list1.c (long_line): Add additional statement at start
29913 of function.
29914 * gdb.base/list.exp (test_forward_search): Update line number to
29915 reflect new statement.
29916
29917 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29918
29919 * gdb.base/signals.exp: Reinitialize searched source directories
29920 after gdb_start call.
29921
29922 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
29923
29924 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
29925 * gdb.stabs/Makefile.in: Likewise.
29926
29927 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
29928 change. Instead split the tests into smaller pieces.
29929 * gdb.disasm/hppa.s: Corresponding changes.
29930
29931 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29932
29933 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29934 Quote ^C when passing it to stty. For some shells ^ is a pipe.
29935
29936 * gdb.base/funcargs.exp: Modify many tests so that every test
29937 either passes or fails. Make some test names unique.
29938
29939 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29940
29941 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29942 Call stty to set interrupt character.
29943
29944 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
29945 for HP assembler versus GNU assembler based on actual behavior of
29946 $(CC), rather than assuming that $(AS) is always the GNU assembler.
29947
29948 * TODO: Suggest a few more stepping tests.
29949
29950 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
29951
29952 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
29953 restart GDB for h8300 after a continue.
29954 (return): Add pattern to match a29k-udi behavior.
29955 * gdb.base/nodebug.exp: Remove obsolete comment.
29956 * gdb.base/regs.exp: New file, testing of register displays.
29957 * gdb.base/return.exp: Fix typo in reference to $objdir.
29958 * gdb.base/whatis.exp: Always start with a fresh GDB.
29959
29960 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29961
29962 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
29963 higher, these tests generate a lot of output.
29964
29965 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29966
29967 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
29968 code following the catch silently ignored some errors; without the
29969 catch they should be thrown like any other tcl error. Also, the
29970 catch used "" instead of {} which meant all the callers who wanted
29971 to include one of the characters "[]$ had to quote it an extra time.
29972 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
29973 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
29974 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
29975 Remove extra quoting.
29976
29977 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
29978
29979 * gdb.base/commands.exp: Make test names unique; every test either
29980 passes or fails. Update some comments.
29981
29982 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
29983
29984 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29985
29986 The following fixes a FAIL caused by the fact that the alpha stabs
29987 configuration didn't use the ".if alpha" code in weird.def.
29988 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
29989 bit pointer, so the 32 bit version works even on the alpha.
29990 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
29991 Remove the stuff which allowed us to have separate versions for
29992 alpha and everything else.
29993
29994 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
29995 regexp which "info func operator\[\](" is supposed to match. Fix
29996 string to send to GDB. Note that GDB still doesn't work right. Add a
29997 new test for "info func .perator\[\](" which GDB does handle correctly.
29998
29999 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30000
30001 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30002
30003 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30004 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30005 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30006 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30007 it makes the tests harder to understand and confuses test-o-matic.
30008 The preferred style is that each test provides a PASS or a FAIL,
30009 and has a unique message (e.g. "continue #54" not just "continue")
30010 which is the same for the pass and the fail.
30011 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30012 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30013 to lib/gdb.exp.
30014 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30015 prt_accept which was basically the same thing. Likewise for
30016 test_print_reject and prt_reject.
30017 * lib/gdb.exp (test_print_reject): Add some more error message
30018 patterns to match from the former printcmds.exp (prt_reject).
30019 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30020 One defect of the passcount stuff is that some of it failed to
30021 report XPASS where appropriate.
30022 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30023 stuff before and after arg in expected pattern.
30024 (test_paddr_operator_functions): Re-do test without print_addr_of;
30025 this is the only test which seems to want extra stuff there.
30026
30027 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30028
30029 * gdb.base/nodebug.exp: Update new tests to reflect improved
30030 wording of gdb output.
30031
30032 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30033 and "ptype" work on variables in files compiled without -g.
30034 Replaces commented out "maint print msymbol" tests.
30035
30036 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30037
30038 * gdb.base/setvar.c (dummy): Call malloc.
30039
30040 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30041 losing with the irix4 sed.
30042
30043 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30044 ALRM" on irix4.
30045
30046 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30047
30048 * TODO: Remove items about corefile.exp testing new exec-file and
30049 backtrace; both are now done. Add items about printing enums.
30050
30051 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30052
30053 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30054 "get signal $thissig" test fails.
30055
30056 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30057
30058 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30059
30060 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30061 compiler warning with dec alpha compiler.
30062
30063 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30064 extra \n from gdb_test call (this explains why the prompt test
30065 that I removed yesterday was there).
30066 (user_defined_command_test): Remove extra \n and prompt test.
30067
30068 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30069 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30070 doesn't exist.
30071 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30072 Also remove alpha workaround, which turns out to be because
30073 SIGABRT == SIGLOST.
30074
30075 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30076
30077 * gdb.base/help.exp: Don't test "help show".
30078
30079 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30080
30081 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30082 "set print address" is on.
30083 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30084 pass prompt to gdb_test; gdb_test already looks for the prompt.
30085
30086 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30087
30088 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30089 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30090 was to make sure that gdb can read a core file. But (a) the "read
30091 the corefile" part didn't make it to a1-selftest.exp, we just
30092 delete the corefile after creating it, and (b) we test reading
30093 corefiles in corefile.exp anyway. Also, this test left around a
30094 xgdb process on Solaris.
30095
30096 * gdb.base/corefile.exp: Also test backtrace.
30097
30098 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30099
30100 * gdb.base/commands.exp: Test a simple user defined command with
30101 arguments and if/while statements; verify the full user command is
30102 printed by "show user".
30103
30104 * gdb.base/commands.exp: Test if/while commands as part of a
30105 breakpoint command list; verify they appear in breakpoint
30106 information.
30107
30108 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30109
30110 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30111 than by dividing by zero.
30112
30113 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30114
30115 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30116 performing an inferior call with watchpoints enabled.
30117 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30118 call.
30119
30120 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30121
30122 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30123 of "file" command.
30124
30125 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30126 Add additional pattern for when "int operator int(void);" appears
30127 in a different order.
30128
30129 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30130
30131 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30132
30133 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30134 and "signal" with ".*".
30135
30136 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30137
30138 * TODO: Add note about "handle all nostop".
30139
30140 * gdb.base/{sigall.c, sigall.exp}: New test.
30141 * gdb.base/Makefile.in: Add it.
30142
30143 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30144
30145 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30146 when invoking GDB, suppresses any windowing interface.
30147
30148 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30149
30150 * config/sim-gdb: New file, simulator testing support.
30151
30152 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30153
30154 * gdb.base/interrupt.exp: Test calling func1 twice.
30155
30156 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30157
30158 * gdb.base/list.exp (test_forward_search): Set timeout higher
30159 when we'll be getting lots of output from gdb.
30160
30161 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30162 "init_malloc" to after the expect statement. Run it if that
30163 regexp is taken, but also for two others which happen if source
30164 cannot be found.
30165
30166 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30167
30168 * gdb.base/printcmds.exp: New test, for printing register before
30169 program is running.
30170
30171 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30172
30173 * gdb.base/list.exp: Correct some alternate expect patterns
30174 to reflect changes in list1.c.
30175
30176 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30177
30178 * TODO: Add item regarding large frames.
30179
30180 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30181
30182 * TODO: Remove item about enabling return.exp; it
30183 is enabled. Suggest a few more "return" tests.
30184
30185 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30186
30187 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30188 anonymous unions.
30189
30190 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30191
30192 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30193 and pr-5646.o, so "make" is the same as "make all", not "make
30194 pr-4975.o".
30195
30196 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30197
30198 * gdb.base/list.exp: Adjust expectations to reflect changes in
30199 list1.c.
30200 (test_forward_search): New test proc.
30201 * gdb.base/list1.c (long_line): New function, has long source line.
30202
30203 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30204
30205 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30206 additional line of code that was added.
30207
30208 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30209
30210 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30211 tests so as not to overflow expect's input buffers.
30212 * gdb.disasm/hppa.exp: Corresponding changes.
30213
30214 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30215
30216 Beginnings of template debugging tests.
30217 * gdb.c++/templ-info.cc: New file to test for template
30218 debugging capability of the compiler.
30219 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30220 templ-info.cc.
30221 * gdb.c++/templates.cc: Add explicit template instantiations
30222 to enable compiling with -fno-implicit-templates. Add destructor
30223 and 'value' method to T5 class for template tests.
30224 * gdb.c++/templates.exp: Add testcases for printing of template
30225 types, setting breakpoints on template methods and calling a
30226 template method.
30227
30228 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30229
30230 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30231 branch target since some assemblers (gas-2.5) may emit a
30232 relocation for the branch instead of resolving it in the
30233 assembler.
30234
30235 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30236
30237 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30238 through signal handler.
30239
30240 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30241
30242 * configure.in (*-*-netware): Use config/mt-netware.
30243
30244 * config/mt-netware: New file.
30245 * config/mt-i386-netware: Removed, separate configs for different
30246 netware architectures are no longer needed now that we have
30247 --with-headers.
30248
30249 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30250
30251 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30252 by the recent changes to use ANSI C arithmetic conversions.
30253
30254 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30255
30256 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30257 bug involving using inferior_pid to figure out whether to select a
30258 frame.
30259
30260 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30261
30262 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30263 match the current disassembler output.
30264
30265 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30266
30267 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30268 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30269 types, expect "int" as type of integer values (for now).
30270
30271 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30272
30273 * gdb.base/commands.exp: New tests for if/while commands.
30274
30275 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30276
30277 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30278 by .*, since hex values have different syntax in Chill mode.
30279
30280 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30281
30282 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30283 linefeed from expect pattern for repeated types with indices > 9.
30284
30285 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30286
30287 First part of Fortran test suite.
30288 * gdb.fortran: New directory.
30289 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30290
30291 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30292
30293 * gdb.base/default.exp: Update expect pattern for load command
30294 without arguments.
30295
30296 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
30297
30298 * configure.in: Change i386 to i[345]86.
30299 * gdb.base/configure.in: Likewise.
30300 * gdb.c++/configure.in: Likewise.
30301 * gdb.chill/configure.in: Likewise.
30302
30303 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
30304
30305 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30306 patterns, since that is not a valid context for comments.
30307
30308 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
30309
30310 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30311 repeated types and repeated types with indices > 9.
30312
30313 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
30314
30315 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30316 2417; old bug has been fixed.
30317
30318 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
30319
30320 * gdb.base/interrupt.exp: When trying to wake up the inferior,
30321 send the newline ourselves instead of assuming gdb_test will do
30322 so when passed an empty input string.
30323
30324 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30325 stabs testcode.
30326
30327 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30328
30329 * lib/gdb.exp (gdb_test): Don't send anything if the first
30330 argument is an empty string. This makes cases where we want to
30331 match output that is already in expect's buffers (for example,
30332 matching a breakpoint after gdb_run_cmd has been called) work
30333 reliably.
30334
30335 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30336
30337 * config/netware.exp: New file.
30338
30339 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30340
30341 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30342 the -B and -L prefixes so we can find the debugging stub.
30343
30344 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30345 there and we are using the gcc from the tree.
30346
30347 * gdb.base/types.c: Removed.
30348
30349 * gdb.base/configure.in: Look for makefile fragments in ../config.
30350 Recognize i386-*-netware.
30351 * gdb.c++/configure.in: Likewise.
30352
30353 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30354
30355 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
30356 the correct TCL syntax.
30357
30358 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30359
30360 * gdb.base/opaque.exp: use runto instead of messing around with
30361 breakpoints. Simplify by using gdb_test.
30362
30363 * gdb.base/bitfields.exp: restart between tests on netware targets
30364 because breakpoints aren't relocated after target death. Run
30365 processes to completion.
30366
30367 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30368
30369 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
30370
30371 * Makefile.in: Remove extra tabs that confuse some versions
30372 of "make". Use the newly built gdb to test with by default,
30373 rather than the first one in the tester's search path.
30374
30375 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
30376
30377 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30378
30379 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30380 condition help.
30381
30382 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30383
30384 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30385
30386 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30387 running.
30388 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30389 * gdb.base/funcargs.exp: Likewise.
30390
30391 * gdb.base/bitfields.exp: Simplify by using gdb_test.
30392 * gdb.base/funcargs.exp: Likewise.
30393
30394 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30395 message is "".
30396
30397 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30398
30399 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30400 return,signals,twice}.exp: Handle non-existant binaries
30401 consistantly.
30402
30403 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30404 * gdb.base/Makefile.in: Don't try to generate a core dump, we
30405 might testing a cross development system.
30406
30407 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30408
30409 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30410 runtest script is relative to ${srcdir}, not ${rootdir}.
30411
30412 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
30413
30414 * gdb.base/signals.exp: Allow for optionality of breakpoint
30415 address.
30416
30417 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30418
30419 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30420
30421 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30422
30423 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30424 for size_t definition.
30425 * gdb.c++/templates.cc: Likewise
30426
30427 * config/mt-i386-netware: New file.
30428
30429 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30430 defined.
30431
30432 * gdb.base/Makefile.in: Added support for systems that name core
30433 files by appending "core" to the program name.
30434 * gdb.base/a1-selftest.exp: Likewise.
30435
30436 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30437
30438 * gdb.base/return.exp: Add comment and message for `return double'
30439 test failure on Sparc Solaris.
30440
30441 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
30442
30443 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30444
30445 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30446
30447 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
30448 from optimizing them away.
30449 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
30450 patterns to include default constructors and assignment operators,
30451 to match gcc versions beyond 2.5.8. Accept any cplus demangling
30452 character in the output of the virtual base pointer.
30453
30454 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30455
30456 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
30457 expression match in print_addr_of to avoid unintented matches.
30458 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
30459 versions up to 2.5.8.
30460
30461 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30462
30463 * gdb.base/list.exp: Tweak alternate pattern for listing of an
30464 included file to run under newer versions of expect.
30465 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
30466 consecutive >'s in templates to accomodate recent cplus-dem.c change.
30467 Remove xfail for the virtual table of BDDHookV.
30468
30469 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
30470
30471 * lib/gdb.exp (string_to_regexp): Set a default result.
30472 (default_gdb_start): Fix misleading message.
30473
30474 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
30475
30476 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
30477 Remove all CC, etc definitions.
30478 * config/mt-hpux: New file.
30479 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
30480 (CFLAGS, LDFLAGS): Define.
30481 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
30482
30483 * Makefile.in (site.exp): Don't insert host_os, etc.
30484 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
30485 (distclean): Check existence of subdir.
30486 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
30487 * gdb.base/Makefile.in: General cleanup and simplification.
30488 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30489 to build executables. Use default rule to build .o files.
30490 (EXPECT, RUNTEST, CC): Fix relative pathname.
30491 (site.exp): Don't insert host_os, etc.
30492 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
30493 and/or SIGUSR1 defined.
30494 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
30495 * gdb.c++/Makefile.in: General cleanup and simplification.
30496 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30497 (CFLAGS): Remove.
30498 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
30499
30500 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
30501
30502 * gdb.base/recurse.exp: Misc changes to get tests running again
30503 after Kung's changes to the watchpoint code.
30504 * gdb.base/watchpoint.exp: Likewise.
30505
30506 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
30507
30508 * lib/gdb.exp (string_to_regexp): Convert {\} also.
30509
30510 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
30511
30512 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
30513 * lib/gdb.exp (default_gdb_start): Define.
30514 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
30515 gdb.base/funcargs.exp, gdb.base/opaque.exp,
30516 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
30517 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
30518 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
30519 Don't call gdb_target_udi in between tests.
30520
30521 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30522
30523 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
30524 (which was basically just a local version of the same thing). In
30525 addition to avoiding duplication, gdb_test_exact is faster.
30526 * lib/gdb.exp (gdb_test_exact): Fix typo.
30527
30528 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
30529 don't give an error.
30530
30531 * gdb.base/term.exp: Call delete_breakpoints before starting.
30532
30533 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
30534 (t10): Add comment.
30535
30536 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30537
30538 Reorganization of the GDB Test Suite.
30539
30540 * gdb.base: New directory, contains all the basic tests.
30541 * gdb.c++: New directory, tests specific to C++.
30542 * gdb.chill: New directory, tests specific to Chill.
30543 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
30544 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
30545 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
30546 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
30547 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
30548 t30-31 to chill).
30549 * */gdbme.*: Rename to match appropriate expect scripts.
30550 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
30551 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
30552 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
30553 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
30554 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
30555 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
30556 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
30557 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
30558 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
30559 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
30560 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
30561 gdb.c++/virtfunc.cc: New names of C++ files.
30562 * gdb.chill/chillvars.ch: New name of Chill file.
30563 * gdb.base/configure.in, gdb.c++/configure.in,
30564 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
30565 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
30566 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
30567 * configure.in (configdirs): Update to reflect directory changes.
30568 (target_abbrev): No longer define for any configuration.
30569 * Makefile.in: Cosmetic improvements to header comments.
30570
30571 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
30572
30573 Various changes to gdb.t31:
30574
30575 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
30576 * gdbme.ch: Make all key-words and predefineds be upper-case.
30577 * chillvars.exp: Expect key-words and predefinds in upper-case.
30578
30579 * chillvars.exp: Use gdb_test_exact many places.
30580 Change expected output for arrays (which now includes index labels).
30581
30582 * pr-5020.exp, gdme.ch (module PR_5020):
30583 New test, for PR-5020.
30584
30585 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
30586
30587 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
30588 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
30589
30590 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
30591
30592 * Makefile.in: Fix bit-rot in definitions of CHILL,
30593 CHILL_FOR_TARGET and Chill_LIB.
30594 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
30595 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
30596 CHILL, and CHILL_LIB.
30597
30598 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
30599
30600 * Revert the previous changes. Please see Rob's directory
30601 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
30602
30603 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
30604
30605 * Makefile.in, configure.in, config/mips-gdb.exp,
30606 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
30607 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
30608 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
30609 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
30610 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
30611 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
30612 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
30613 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
30614 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
30615 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
30616 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
30617 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
30618 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
30619 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
30620 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
30621 changes from 94Q1.
30622
30623 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
30624
30625 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
30626 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
30627 Rob's new testing fragments.
30628
30629 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
30630
30631 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
30632 lib/gdb.exp: Replace error proc calls with perror.
30633
30634 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30635
30636 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
30637 version also, match on casted version strings, and match on
30638 gdb startup case where the line numbers might be messed up.
30639
30640 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
30641
30642 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
30643 (CFLAGS): Delete it from here.
30644
30645 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
30646
30647 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
30648
30649 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
30650
30651 * Makefile.in (RUNTEST): Default to just "runtest".
30652
30653 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30654
30655 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
30656 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
30657 the code has been restructured.
30658
30659 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30660
30661 * gdb.t00/default.exp (set write): Allow any number of \r and/or
30662 \n, not just one of each.
30663
30664 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
30665 /bin/cc gives a warning if you do.
30666
30667 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
30668
30669 * gdb.t24/demangle.exp: change expect pattern of
30670 __t10ListS_link1ZUiRCUiPT0
30671
30672 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30673
30674 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
30675 on local variables in recursive functions.
30676
30677 * gdb.t07/Makefile.in: Build the new test.
30678
30679 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30680
30681 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
30682 directly. Instead compare the return values from actual calls.
30683
30684 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
30685
30686 * Makefile.in (check): Set TCL_LIBRARY for runtest.
30687
30688 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30689
30690 * From Peter Schauer with minor modifications.
30691 * gdb.t15/return.exp (return_tests): Handle targets where "return"
30692 stops in mid-line in the caller. Add xfail for returning a float
30693 value on X86 targets.
30694
30695 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30696
30697 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30698 to avoid expect lossage.
30699 (fmem_LRbug_tests): Likewise.
30700 * gdb.disasm/hppa.s: Corresponding changes.
30701
30702 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30703 conditions to work with latest dejagnu/expect.
30704
30705 * gdb.t15/funcargs.exp (finish from indirect call): No longer
30706 expected to fail on the PA.
30707 (backtrace in call with trampolines): Explicitly require main
30708 to be frame #1 (no trampolines should show up in backtrace).
30709
30710 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30711 "continue -expect".
30712 * gdb.t06/break.exp: Likewise.
30713 * gdb.t07/watchpoint.exp: Likewise.
30714 * gdb.t13/bitfields.exp: Likewise.
30715 * gdb.t15/{funcargs,return}.exp: Likewise.
30716 * gdb.stabs/weird.exp: Likewise.
30717 * config/{mips,udi}-gdb.exp: Likewise.
30718
30719 * hppa.sed: Enclose comments within a sed command to avoid
30720 losing with the old OSF1 sed.
30721
30722 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30723
30724 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
30725 sequent dynix.
30726 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
30727 * gdb.t15/funcargs.exp: Conditionally step again to really
30728 finish from marker_call_with_trampolines. Handle the case where
30729 the first step from within call_with_trampolines already steps
30730 us back to main.
30731 * gdb.t15/gdbme.c: Add comment to closing brace of
30732 call_with_trampolines for funcargs.exp.
30733
30734 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30735
30736 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30737 Fix typo(s).
30738
30739 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30740
30741 * gdb.t07/gdbme.c: More code for watchpoint testing.
30742
30743 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30744 "Hardware watchpoint" throughout file.
30745 (test_watchpoint_triggered_in_syscall): New test.
30746 (test_complex_watchpoint): New test.
30747
30748 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30749
30750 * gdbme.c (call_with_trampolines): New function to try and step
30751 into. Tests trampoline problems on the PA.
30752
30753 * funcargs.exp (localvars_in_indirect_call): No longer expect
30754 stepping into indirect call to fail on PAs.
30755 (test_stepping_over_trampolines): New test.
30756
30757 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30758
30759 * TODO: Add suggestions for static member function tests, and
30760 completion tests.
30761
30762 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30763
30764 * TODO: Add suggestions for "p/a" tests.
30765
30766 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30767 (default_gdb_exit): Replace all the hair with sending "quit" to
30768 the process with a simple close.
30769
30770 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30771
30772 * TODO: Add suggestions for shared library tests.
30773
30774 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30775
30776 * TODO: Add suggestions for x/s tests.
30777
30778 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30779
30780 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30781 "enable once", and "enable breakpoints once" with ".*".
30782
30783 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30784
30785 * TODO: Add suggestions about structure passing tests.
30786
30787 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30788
30789 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
30790 the primary1 test, use work around if __GNUC__ < 2.
30791 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
30792 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
30793 Test for bad output rather than waiting for timeout. Issue
30794 second continue only if first continue failed.
30795
30796 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30797
30798 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30799 operator[] test with gdb_test because the old code didn't seem to
30800 be getting the quoting right with the new dejagnu.
30801
30802 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
30803
30804 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30805 one from the path.
30806 * Makefile.in: Use a fresh expect if there is one, use runtest
30807 from the src tree if there is one.
30808
30809 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30810
30811 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30812 next over recursive call. Revise the tests from that point on
30813 (which had been skipped) to match GDB's actual (correct) output.
30814
30815 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30816 with next over a breakpoint whose condition is false.
30817
30818 * gdb.t00/help.exp: Comment out "help set print" tests just like
30819 (and for same reason as) "help set" test.
30820
30821 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30822
30823 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30824 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30825
30826 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30827
30828 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30829 necessary gdb_target_udi.
30830
30831 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30832
30833 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30834 1838 and 2417; they are fixed.
30835
30836 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30837 gdb.t03/ptype.exp (ptype structure, ptype union):
30838 Remove xfails; the test is looser than when the xfails were added.
30839
30840 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30841 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30842
30843 * gdb.t01/run.exp: Only run shell test if isnative.
30844
30845 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30846 since "run" automatically loads if necessary. Call gdb_target_udi
30847 after the "file" since "file" kills any execution target.
30848
30849 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
30850 GDB. GDB doesn't work that way (not anymore at least) on UDI.
30851 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
30852 argument for UDI.
30853
30854 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30855
30856 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
30857
30858 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
30859
30860 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30861
30862 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
30863 properly quoting regexps. This makes the second argument to
30864 demangle a fixed string, which matches the callers, instead of a
30865 shell-style pattern which is what the previous implementation
30866 used. Update some of the callers.
30867
30868 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30869
30870 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
30871 (comib_nullified_tests): Fix typo.
30872 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
30873 strings. No longer expected to fail.
30874
30875 * gdb.disasm/hppa.s (addib_tests): Fix typo.
30876 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
30877 strings. No longer expected to fail.
30878
30879 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
30880 string. No longer expected to fail.
30881
30882 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30883
30884 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
30885 No longer expected to fail.
30886
30887 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
30888 string. No longer expected to fail.
30889
30890 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30891
30892 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
30893 only in the names (I probably got most of them). I was even
30894 generous with some which differed in underscores in names, and
30895 probably missed a few, and I *still* was able to remove almost a
30896 third of the file with almost no impact on testsuite coverage.
30897
30898 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30899
30900 * gdb.t00/default.exp: Match udi_attach error message as well as
30901 the one from child_attach.
30902
30903 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
30904
30905 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
30906
30907 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
30908 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
30909
30910 * Move test with enums and partial symbols back to
30911 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
30912 Reverts the change of 26 May 93. Per today's change to
30913 stabs.texinfo, the behavior that weird.exp was expecting was
30914 unreasonable; what is important is that the compiler+gdb get
30915 things right, which happens with a recent gcc. Also fix the test
30916 to deal with native compilers which put out the stab gdb can't
30917 deal with.
30918
30919 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30920
30921 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
30922 in the names. The main thing these accomplish is to slow things down.
30923 Many more such duplicates surely remain.
30924
30925 * gdb.t00/help.exp: Comment out "help support" test just like
30926 (and for same reason as) "help set" test.
30927
30928 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
30929
30930 * gdb.t06/break.exp: Remove setup_xfails for
30931 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
30932 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
30933 about known bug in gcc to include up through 2.5.8.
30934 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
30935 well as "_vb$".
30936 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
30937 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
30938 with latest gcc and gdb.
30939 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
30940 well as "_vb$".
30941
30942 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30943
30944 * configure.in (hppa*-*-*): Also configure and build stabs-only
30945 tests.
30946
30947 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30948
30949 * gdb.t10/hppa.mt: A makefile fragment for the PA.
30950 * gdb.t10/configure.in (hppa*-*-*): Use it.
30951
30952 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30953
30954 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
30955
30956 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30957
30958 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
30959 versions prior to 1.13.5.
30960
30961 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30962
30963 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
30964 the prompt is at the start of a line.
30965
30966 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30967
30968 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
30969 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
30970 in the copr tests now.
30971 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
30972 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
30973 expected to fail.
30974
30975 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
30976
30977 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
30978 gdb.t31/chillvars.exp, lib/gdb.exp:
30979 Tweak to run under either version of expect.
30980 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
30981 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
30982 * gdb.t11/list.exp: Remove extraneous whitespace.
30983
30984 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30985
30986 * gdb.t16/printcmds.exp (test_print_strings): Accept
30987 "(unsigned char *) " before the string.
30988
30989 * TODO: Add notes about printing of fancy types and GDB expressions.
30990
30991 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
30992
30993 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
30994 * gdb.t06/configure.in: Don't try to compile signals test program
30995 if doing mips-idt-ecoff.
30996
30997 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
30998
30999 * Most .exp files: Tweak to run under either version of expect.
31000
31001 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31002
31003 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31004 xfails; I'm not sure why they are failing, but not because of PR 1806.
31005
31006 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31007
31008 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31009 defined in lib/gdb.exp.
31010
31011 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31012
31013 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31014 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31015 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31016 have to be typeless.
31017
31018 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31019
31020 * TODO: Add suggestion for copyright year test.
31021
31022 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31023
31024 * configure.in (*-*-lynxos*): Add stabs tests.
31025
31026 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31027
31028 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31029 so insert a tab before any assembler directive in column zero.
31030
31031 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31032 stores.
31033 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31034 stores.
31035 (fpu_short_memory_tests): Likewise.
31036
31037 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31038
31039 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31040 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31041 .stabs directives in comments.
31042
31043 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31044
31045 * TODO: New file, describing tests we could write.
31046 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31047
31048 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31049
31050 * gdb.t06/signals.exp: Add kludge to force re-sync.
31051
31052 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31053 to xgdb instead of gdb, get out of gdb.
31054
31055 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31056
31057 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31058 for info.
31059
31060 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31061
31062 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31063 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31064 * gdb.stabs/hppa.sed: New sed script for the PA.
31065
31066 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31067
31068 * gdb.stabs: Re-write weird.def and configuration to use sed
31069 instead of cpp. sed is portable and POSIX; cpp is neither.
31070
31071 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31072
31073 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31074
31075 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31076
31077 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31078
31079 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31080
31081 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31082 "_vb$".
31083 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31084 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31085
31086 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31087
31088 * lib/gdb.exp: Comment out code which depends on non-existent
31089 `transform' procedure.
31090
31091 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31092
31093 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31094 * lib/gdb.exp: Transform tool name.
31095 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31096 1.1's new error handling system.
31097
31098 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31099
31100 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31101
31102 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31103
31104 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31105 They made pattern matching so slow that timeouts happened on
31106 heavily loaded systems. Now any output from "show print" which
31107 gets us back to the GDB prompt is a PASS.
31108
31109 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31110
31111 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31112
31113 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31114
31115 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31116
31117 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31118 It is not from PR 3220.
31119
31120 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31121
31122 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31123 just started failing because they depended on the order the
31124 subcommands are presented, or exact docstring text. This kind of
31125 test is a pain and has minimal benefit.
31126
31127 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31128
31129 * gdb.t09/corefile.exp: At end of test, use "core" command with
31130 no arguments.
31131
31132 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31133
31134 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31135 17}/Makefile.in: Make it possible to run the testsuite with Sun
31136 make and CC = cross gcc by adding explicit build rules for .o
31137 files.
31138
31139 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31140
31141 * gdb.t15/funcargs.exp: Don't put comments on same line as
31142 setup_xfail (@#$*%& tcl braindamage!).
31143
31144 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31145
31146 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31147
31148 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31149
31150 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31151 * gdb.t20/inherit.exp: remove three dumplicate entries.
31152
31153 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31154
31155 * gdb.t06/break.exp: For "next over recursive call", fail on any
31156 incorrect output, not just on "factorial (value=2)".
31157
31158 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31159
31160 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31161 working now. Add an xfail if accesing a bss variable causes
31162 a memory error if the target is not yet run.
31163
31164 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31165
31166 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31167 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31168 name of __st* demangling (2 strings). Did Kung really get the
31169 more than 95 others right without testing them?
31170
31171 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31172
31173 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31174
31175 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31176
31177 * configure.in (configdirs): Add gdb.disasm
31178 * gdb.disasm: New directory for GDB disassembler tests.
31179 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31180
31181 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31182
31183 * gdb.t00/help.exp: Don't test "help set".
31184
31185 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31186 from within expect statements. None of these happen anymore and
31187 they cause regressions to be silently unnoticed.
31188
31189 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31190 messages) about known failures with gcc cygnus-2.4.5-930417.
31191
31192 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31193 comp-info.exp so it gets built if it doesn't exist.
31194
31195 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31196 it is no longer used.
31197 * gdb.t13/comp-info.c: Removed.
31198
31199 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31200
31201 * gdb.t06/signals.exp: Add xfail for sun3.
31202
31203 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31204
31205 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31206 relevant because ^C doesn't get sent but failure can be reproduced
31207 interactively).
31208
31209 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31210
31211 * gdb.stabs/alpha.mt: New configuration file for alpha.
31212 * gdb.stabs/configure.in: Use it.
31213 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31214 sharing with alpha.mt, redefine long to word via preprocessor.
31215 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31216 for alpha.
31217 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31218 native cc.
31219 * gdb.t00/teststrategy.exp: Change expect string so that we
31220 consume the `(xgdb)' from the command echo and from the gdb prompt.
31221 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31222 gdb currently compares all values as long, so this failure probably
31223 applies to any configuration where LONGEST is bigger than a target int.
31224 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31225 with gcc.
31226 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31227 to handle opaque pointers, gcc is.
31228 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31229 as first argument. Include <sys/types.h> and change all operator
31230 new definitions to use size_t.
31231 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31232 now that we use size_t.
31233
31234 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31235
31236 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
31237 a long or float array cast all array members to the same type.
31238 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
31239 with 64 bit longs.
31240 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
31241 on alpha.
31242 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
31243
31244 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31245
31246 * gdb.t24 (demangle.exp): Constructors of templates have names like
31247 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31248 section 14.6 of the ARM.
31249
31250 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31251 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31252 accomplish little and slow down the testsuite.
31253
31254 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31255 Accept spaces various places.
31256
31257 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31258
31259 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31260 with watchpoint enabled.
31261
31262 * Makefile.in: Remove definition of CC and remove the second
31263 definition of CXX (the "CXX = gcc" one remains). These definitions
31264 were causing backquotes to be expanded within backquotes, which
31265 doesn't work.
31266
31267 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31268
31269 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31270
31271 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31272
31273 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31274 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
31275 by mips cc and contains no stabs entries.
31276
31277 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31278
31279 * config/vx-gdb.exp: Use fake device to load files rather than
31280 NFS.
31281 * lib/gdb.exp: New proc to do "file" command.
31282 * config/unix-gdb.exp: Use new "file" proc.
31283
31284 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31285
31286 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31287 Rework board rebooting slightly.
31288 (gdb_exit): Don't exit from the remote shell; there isn't one.
31289 * gdb.stabs/weird.exp: If a program is being debugged already,
31290 kill it.
31291 * gdb.t04/setvar.exp: Stop and restart gdb.
31292 * gdb.t05/expr.exp: Likewise.
31293 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31294 restart gdb and reload the program.
31295 * gdb.t08/opaque.exp: Likewise.
31296 * gdb.t12/scope.exp: Likewise.
31297 * gdb.t13/bitfields.exp: Likewise.
31298 * gdb.t15/funcargs.exp: Likewise.
31299 * gdb.t20/classes.exp: Likewise.
31300 * gdb.t03/ptype.exp: Increase timeout.
31301 * gdb.t16/printcmds.exp (test_print_string_constants,
31302 test_print_array_constants): Likewise.
31303 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31304 * gdb.t20/classes.exp (do_tests): Likewise.
31305 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31306
31307 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
31308
31309 * gdb.stabs: Renamed *wierd* to *weird*.
31310
31311 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31312
31313 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31314 for timeout. Add "known gcc 2.4.5 bug" to failure message.
31315
31316 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31317
31318 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31319 (do_tests): Remove xfail for whatis on one_var and two_var.
31320
31321 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
31322
31323 * Makefile.in: Made cross building work better by adding
31324 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31325
31326 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31327
31328 * gdb.t15/{return.c,return.exp,Makefile.in}:
31329 New test, currently commented out.
31330
31331 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
31332
31333 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31334 still running and removes the leftover named socket so GDb can do
31335 clean restarts.
31336
31337 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
31338
31339 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31340 console, not GDB.
31341 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31342 cross testing works better with "make check"
31343 * config/unix-gdb: Use default procedures for exit and version.
31344 * config/vx-gdb.exp: Cleaned up and massaged back to working order
31345 with the newest VxWorks.
31346
31347 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31348
31349 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31350 old form.
31351
31352 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31353 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31354
31355 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31356
31357 * config/unix-gdb.exp: Remove this version of gdb_exit
31358 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31359 Rob says he'll look at it when he gets back to testing boards.
31360
31361 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
31362
31363 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
31364 an expected fail for certain ptype commands.
31365
31366 * gdb.t20/classes.exp: Update expected results of "ptype class
31367 Base1" to account for the constructor that now appears in the type.
31368
31369 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
31370
31371 * configure.in (configdirs): Restore gdb.t04, which mysteriously
31372 disappeared from list.
31373 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
31374 "alldone" proc with call to cleanup and exit.
31375 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31376 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31377 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31378 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31379 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
31380 "alldone" proc with simple returns that suppress remaining
31381 tests. The alldone proc went away many months ago.
31382
31383 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31384
31385 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31386
31387 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31388
31389 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31390
31391 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
31392 as vax gdb will display them.
31393
31394 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31395
31396 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31397 optimizers.
31398
31399 * scope.exp: Change "bad value for localval" messages so each one
31400 is unique.
31401
31402 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31403 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31404
31405 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31406
31407 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31408
31409 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31410 doesn't exist (due to optimization).
31411
31412 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31413
31414 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31415 contains \r because the filename is long.
31416
31417 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31418 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31419
31420 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31421
31422 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31423 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
31424 Ultrix.
31425 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
31426 int tests.
31427 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
31428
31429 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
31430
31431 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
31432
31433 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
31434 to match does not match the passing case but still matches the
31435 failing case.
31436
31437 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31438
31439 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31440
31441 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
31442
31443 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
31444 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31445 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31446 Remove various versions of gdb_exit.
31447 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
31448 gdb_exit.
31449 * config/unix-gdb.exp: gdb_exit remains here, and should override
31450 the generic version, since it's doing a lot of wierd stuff that
31451 the other versions aren't. FIXME, fold it in, or abandon this
31452 version.
31453
31454 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31455
31456 * gdb.t24/demangle.exp: Add tests for PR 3220.
31457
31458 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31459
31460 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
31461
31462 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
31463
31464 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
31465 "i386-*-*". Works for i486 as well.
31466
31467 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
31468 bug, and expand domain of xfail to all SVR4 systems, since the
31469 actual problem is likely to be in generic SVR4 /proc support.
31470
31471 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31472
31473 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
31474
31475 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
31476
31477 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
31478 xfails for other systems. Match a missing 'Continuing.' as an
31479 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
31480
31481 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
31482 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
31483 Only issue warning for missing executables if -all option is used.
31484
31485 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
31486 file if -all option is used. It's like an unpredictable XFAIL.
31487
31488 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31489
31490 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
31491 for dynamically linked binaries.
31492
31493 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
31494
31495 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31496
31497 * gdb.t20/inherit.exp: Change message for "print tagless struct"
31498 to state that this is a known bug in old versions of g++.
31499
31500 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31501
31502 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
31503 while waiting for `Continuing'.
31504
31505 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
31506
31507 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
31508 in text, data, and bss.
31509 * gdb.t10/nodebug.c: Add local and global test variables for
31510 initialized and uninitialized data.
31511
31512 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31513
31514 * config/unix-gdb.exp (gdb_exit): Add "wait".
31515
31516 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31517
31518 * gdb.t06/signals.exp: xfail the continue from the handler for all
31519 targets.
31520
31521 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
31522 function with watchpoints enabled, the i386 call dummy starts with
31523 a call.
31524
31525 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
31526 386 bsd names its corefiles.
31527
31528 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
31529
31530 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
31531 compilers don't grok it.
31532 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
31533 with small octal ints rather than character constants, which
31534 are signed and might not fit if first promoted to int.
31535
31536 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
31537
31538 * gdb.t09/Makefile.in (clean): Remove corefile.
31539
31540 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31541
31542 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
31543
31544 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31545 and Jim Kingdon (kingdon@cygnus.com)
31546
31547 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
31548 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
31549 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
31550
31551 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31552
31553 * gdb.t17/interrupt.exp: Add xfail for hppa.
31554
31555 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31556
31557 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
31558 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
31559 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
31560 to determine signed-ness of bitfields and use the result to setup
31561 the xfail.
31562 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
31563 * gdb.t15/funcargs.exp: Use them to step until the second indirect
31564 call line is reached if necessary.
31565
31566 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31567
31568 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
31569
31570 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31571
31572 * gdb.t06/break.exp: Also test `clear' command.
31573
31574 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31575
31576 * gdb.t00/teststrategy.exp: Remove extra quote.
31577
31578 * gdb.t07/watchpoint.exp: Change xfail for calling function with
31579 watchpoint enabled to be for all non-68k machines.
31580
31581 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
31582
31583 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31584
31585 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
31586 targets use aout.mt instead of ecoff.mt as gas understands
31587 standard aout format.
31588
31589 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31590
31591 * lib/gdb.exp (runto): Don't insist that function we are running to
31592 was compiled with -g.
31593
31594 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
31595
31596 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
31597 to get back into the read system call.
31598 Accept leading newline in case where we woke it up.
31599
31600 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31601
31602 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
31603 to make the stabs test work on ecoff systems using gcc and -with-stabs.
31604 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
31605 enable ecoff configuration.
31606
31607 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31608
31609 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
31610
31611 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31612
31613 * gdb.t16/printcmds.exp: Add another printf test.
31614
31615 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
31616
31617 * configure.in: If configured -with-stabs on any target, add
31618 stabsdirs to configdirs.
31619
31620 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31621
31622 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
31623 fun" so pattern does not match the command itself.
31624
31625 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31626
31627 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
31628
31629 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31630
31631 * gdb.t17/interrupt.exp: Test for more things.
31632
31633 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31634
31635 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
31636 compiler arranges the code and line numbers.
31637
31638 * gdb.t17/interrupt.exp: Don't send \n after ^C.
31639
31640 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31641
31642 * gdb.t00/help.exp: Increase expect input buffer size.
31643
31644 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31645
31646 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
31647
31648 * gdb.t07/watchpoint.exp: Add xfail for hppa.
31649
31650 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
31651
31652 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
31653 [0-9]*, not just [0-9].
31654
31655 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31656
31657 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
31658
31659 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
31660
31661 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31662
31663 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
31664
31665 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31666
31667 * gdb.t06/signals.c: Add xfails for sun3.
31668
31669 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
31670
31671 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
31672 test_stepping tests.
31673
31674 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31675
31676 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
31677
31678 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
31679
31680 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
31681 rather than actually putting it through cpp twice.
31682
31683 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
31684
31685 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
31686
31687 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31688 no longer needed.
31689
31690 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31691
31692 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31693
31694 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31695 C++ features prints as "struct", make it a pass, not an xfail.
31696
31697 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31698
31699 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31700 Don't require VA to print as "class" rather than "struct".
31701
31702 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
31703
31704 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31705
31706 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31707
31708 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31709
31710 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31711
31712 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
31713 order.
31714
31715 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31716
31717 * gdb.t16/printcmds.exp: Add printf tests.
31718
31719 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31720
31721 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31722
31723 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
31724
31725 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
31726 pass counts, to counteract any existing or future setup_xfails.
31727
31728 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31729
31730 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31731 {BEGIN,END}_COMMON for common block instead of STAB.
31732 * gdb.stabs/wierd.exp: Add xfail for rs6000.
31733
31734 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31735 intp_var should be N_GSYM not N_LSYM.
31736 wierd-aout.S: Use a label for the value of the N_SO.
31737 wierd.def: Remove all backslashes.
31738 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31739
31740 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31741
31742 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31743 get the expected next to inheritance3.
31744
31745 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31746
31747 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31748 now that gcc-2.4 gets it right.
31749
31750 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31751
31752 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31753
31754 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31755 generating comp-info.exp which works for cross-compilation.
31756
31757 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
31758
31759 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
31760 "*-*-sysv4.*".
31761
31762 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
31763
31764 * gdb.t01/run.exp: Start with a fresh gdb.
31765 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
31766 SVR4.x.
31767
31768 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
31769
31770 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31771 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31772 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31773 Makefile.in (distclean, realclean): Remove gdbme.c from list of
31774 things to remove.
31775
31776 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
31777
31778 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
31779 test cases from bug reports.
31780
31781 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
31782
31783 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
31784 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
31785 avoid spurious xfails.
31786 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
31787 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
31788 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
31789
31790 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
31791
31792 * gdb.t00/teststrategy.exp: Rework to provide more useful
31793 description of each test, fix problem with systems that define
31794 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31795 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
31796 results for "next over recursive call" so timeouts aren't taken
31797 by error.
31798
31799 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
31800
31801 * gdb.t12/scope.exp: Test printing of variables before run.
31802
31803 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31804 printed in wrong order due to sorting.
31805
31806 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
31807
31808 * gdb.t00/teststrategy.exp: Fix expected results for printing
31809 user entered string constant. Is array of char, prints with no
31810 address.
31811
31812 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
31813 commands.
31814 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
31815 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
31816 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
31817 of struct of char arrays.
31818 * gdb.t00/radix.exp: New tests for radix commands.
31819
31820 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
31821
31822 * gdb.t16/printcmd.exp: Print a variable before running program
31823 (with xfail for AIX).
31824
31825 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
31826
31827 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31828
31829 * gdb.t16/printcmd.exp: Don't print variables before running program.
31830
31831 * gdb.t06/break.exp: Don't require envp argument to main.
31832
31833 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31834
31835 * gdb.t02/whatis.exp, gdb.t11/list.exp:
31836 Add xfails for rs6000.
31837
31838 * gdb.t02/whatis.exp: Change other tests not to re-test something
31839 we already tested.
31840
31841 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31842 each type used has a variable of that type.
31843
31844 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
31845
31846 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
31847
31848 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
31849
31850 * configure.in: change srctrigger to be a file, not a directory
31851
31852 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
31853
31854 * configure.in (mips-idt-ecoff*): Added trailing '*'.
31855
31856 * gdb.t11/list.exp: Fixed a couple of typos.
31857
31858 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
31859
31860 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
31861 is fixed and PR is closed.
31862 * gdb.t16 (gdbme.c): Add simple test string variable.
31863 * gdb.t16 (printcmds.exp): Add tests with simple test string
31864 variable, primarily for boundaries on "set print elements".
31865
31866 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
31867
31868 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
31869 Make leading 0's optional and don't expect a tab in the middle
31870 of the number.
31871
31872 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
31873
31874 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
31875 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
31876 don't end command passed to gdb_test with newline.
31877
31878 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
31879 signed keyword away, don't expect signed bitfields to be signed.
31880
31881 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
31882 printing with only as many 1's as are in the field as well as printing
31883 with 32 1's (see comment).
31884
31885 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
31886
31887 * gdb.t00/default.exp: Start with a fresh gdb.
31888 * configure.in (configdirs): Remove gdb.t31 until the chill
31889 compiler works again. It no longer is able to find chillrt0
31890 since it isn't in libchill.a anymore.
31891 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
31892 wierd.o, make more modular.
31893 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
31894 spurious newlines that caused problems.
31895
31896 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31897
31898 * Move test with enums and partial symbols from gdb.t03/ptype.exp
31899 to gdb.stabs/wierd.exp since GCC has worked around the bug.
31900 gdb.stabs/wierd.{exp,def}: Many new tests.
31901
31902 * gdb.t00/default.exp: update info line for new message.
31903
31904 * gdb.t02/{whatis.exp,gdbme.c}:
31905 Test that "char *" doesn't print as "caddr_t".
31906
31907 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31908
31909 * gdb.t00/help.exp: Use .* in place of some help messages which
31910 just changed.
31911 gdb.t00/default.exp: Update "info frame" test for new message.
31912 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
31913 Remove some xfails
31914
31915 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31916
31917 * gdb.t03/{gdbme.c,ptype.exp}:
31918 Add tests for typedef'd struct and union without tags.
31919 Also check "whatis" on a variable of a typedef'd enum without a tag.
31920
31921 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
31922 PRMS 1823; the bug still exists but isn't reproduced by this test
31923 anymore), and remove rs6000 XFAIL (the bug is fixed).
31924
31925 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
31926 duplicated from whatis.exp. For those that are left, accept
31927 "long", "long int", or "int" for long variables (whatis.exp already
31928 has an XFAIL for "int", so no need to fail it here).
31929
31930 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
31931 Deal with GCC's names for types now that GDB uses the compiler's names.
31932
31933 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
31934 setup_xfail's for sunos4. If we #defined the signed keyword away,
31935 don't expect GDB to know that char it is signed.
31936
31937 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
31938
31939 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
31940
31941 * configure.in (configdirs): Add gdb.t24 for C++ tests that
31942 should work on any system, regardless of debugging format.
31943 * gdb.t21/demangle.exp: Move to gdb.t24.
31944 * gdb.t24/demangle.exp: Move from gdb.t21.
31945 * gdb.t24/{Makefile.in, configure.in}: New files.
31946
31947 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31948
31949 * configure.in: Do gdb.stabs and C++ tests only for stabs.
31950 * gdb.stabs: New directory.
31951
31952 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31953
31954 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
31955 not just "Quit anyway?".
31956
31957 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
31958
31959 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
31960 that all setup_xfails are immediately followed by clear_xfails.
31961
31962 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
31963
31964 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
31965 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
31966 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
31967 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
31968 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
31969 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
31970 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
31971 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
31972 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
31973 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
31974 gdb.t31/chillvars.exp, lib/gdb.exp:
31975 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
31976 bug-gdb@prep.ai.mit.edu.
31977
31978 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
31979
31980 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
31981 with 0.0, not integer 0.
31982
31983 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
31984
31985 * gdb.t06/break.exp: Update for "Kill the program" message change.
31986
31987 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
31988
31989 * Makefile.in (GDBFLAGS): Set to -nx.
31990 * Makefile.in (site.exp): Use GDBFLAGS.
31991
31992 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
31993
31994 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
31995 Makefiles.
31996 (check): depend on just-check.
31997 (just-check): added so that tests can be run without a noop
31998 build pass.
31999
32000 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32001
32002 Switch to using configure's configdirs.
32003 * Makefile.in (Makefile): add configure.in dependency.
32004 (SUBDIRS): removed redundant assignment.
32005 * configure.in: switch subdirs assignment to configdirs.
32006 * gdb.t*/configure.in: new files.
32007
32008 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32009
32010 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32011 works.
32012
32013 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32014
32015 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32016 in explicit rules. Apparently this is not supported by some makes.
32017
32018 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32019
32020 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32021
32022 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32023
32024 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32025 disappeared.
32026
32027 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32028
32029 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32030
32031 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32032
32033 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32034 watchpoint problem that is now fixed.
32035 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32036 uninitialized convenience variables.
32037 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32038 structures.
32039
32040 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32041
32042 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32043 which causes expect to get out of sync with gdb on long output
32044 from help set.
32045 * gdb.t09/corefile.exp: Make expected pattern for core file
32046 failing signal and frame output format less sun specific.
32047
32048 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32049
32050 * gdb.t31/chillvars.exp: Add and remove initial dummy
32051 breakpoint, so that symbol table is forced in.
32052 (Needed at least on Sunos4, though it seems not SVR4.)
32053 * gdb.t31/chillvars.exp: Update for changed output format.
32054
32055 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32056
32057 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
32058
32059 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32060
32061 * Makefile.in: Added --srcdir when invoking runtest, removed the
32062 need for a local config file. (optional now)
32063
32064 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32065
32066 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32067 failure count used to force early termination. Add some more
32068 expected failures for gnu style demangling.
32069
32070 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32071
32072 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32073 pmi variable from gdb.t20/gdbme to get optimized away.
32074 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32075 Check for written corefile upon timeout _and_ eof.
32076
32077 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32078
32079 * config/unix-gdb.exp: Add missing return 0.
32080
32081 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32082
32083 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32084 test termination.
32085
32086 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32087
32088 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32089 disappeared.
32090
32091 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32092
32093 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32094 time as i860 support works.
32095
32096 * gdb.t15/funcargs.exp: Fix expected outputs to include
32097 "backtrace 100\r" rather than just "backtrace\r", to match last
32098 change.
32099
32100 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32101
32102 * config/udi-gdb.exp (gdb_exit): Remove close command.
32103 (gdb_target_udi): New procedure to set the UDI target.
32104 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32105 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32106 Added waits for prompts after several question responses. Added
32107 some more responses used by a29k-amd-udi-gdb.
32108 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32109 pass different arguments, restart UDI connection after program
32110 completion.
32111 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32112 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32113 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32114 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32115 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32116 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32117 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32118 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32119 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32120 after program completion.
32121 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32122 compiled with a SELECT_VECS setting.
32123 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32124 infinite recursion.
32125
32126 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32127 Added checks for COFF results, and made them expected failures for
32128 all targets. It would be better to make them expected failures
32129 for COFF targets only.
32130
32131 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32132
32133 * Makefile.in: add null dvi target, don't bother to recurse
32134 through test directories for info and install-info; rename
32135 $(datadir) to be dejagnu instead of deja-gnu
32136
32137 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32138
32139 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32140 compiler to coredump.
32141 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32142 code.
32143
32144 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32145
32146 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32147 coredump.
32148 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32149 code.
32150
32151 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32152
32153 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32154 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32155 which in a shell. Deletes xgdb when done.
32156 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32157 Tests the return from the "set height" or "set width" commands.
32158 Added a few return codes where needed.
32159
32160 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32161
32162 * Makefile.in (SUBDIRS): Add gdb.t17.
32163 * configure.in (subdirs): Add gdb.t17.
32164 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32165 files to test gdb's calling of functions in the inferior with
32166 the correct arguments and gdb's ability to retrieve any
32167 result returned.
32168
32169 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32170
32171 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32172 may be called after gdb goes away. Previous versions of expect
32173 needed these to avoid file descriptor leaks, but they cause
32174 errors with the current revision of expect.
32175 * gdb.t00/gdbvars.exp: Use -re on expected output after
32176 setting sevenbit-strings.
32177 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32178 to set sevenbit-strings consistent across tests.
32179 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32180 set sevenbit-strings consistent across tests.
32181
32182 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32183
32184 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32185 expected output to match current "expect" expectations.
32186
32187 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32188
32189 * gdb.t00/default.exp: Change expected output for default "source"
32190 command, to match new gdb behavior which requires a filename to
32191 source.
32192
32193 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32194
32195 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32196 expected fail for i486-*-* that misses the marker2 function.
32197 * gdb.t10/crossload.exp (bfddefault): Allow successful
32198 recognition of a format to pass even if no symbols are found.
32199 Explicitly catch failures where the format is not recognized
32200 or is ambiguous, and add the reason to the fail message.
32201 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32202 the cause is and invalid target and add reason to failure message.
32203 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32204 elf32-i386, elf32-sparc, and elf32-i860.
32205 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32206 Set up expected failure for 'filename'::variable scope resolution,
32207 which is now apparently broken on all targets.
32208 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32209 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32210 gdb.t23/templates.exp: Change failure for missing binfile into
32211 just a warning.
32212 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32213 references.
32214
32215 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32216
32217 * gdb.t00/default.exp: Add expected output for default "source"
32218 command, to match new gdb behavior.
32219 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32220
32221 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32222
32223 * config/*-gdb.exp: returns an error, rather than exiting on
32224 internal errors.
32225
32226 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32227
32228 * gdb.t03/gdbme.c: Add pointer to struct variable.
32229 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32230 referencing struct members.
32231
32232 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32233
32234 * configure.in (mips-idt-ecoff): New target.
32235 * config/mips-gdb.exp: New file for remote board using MIPS remote
32236 debugging protocol.
32237
32238 * Redid configuration scheme. Removed gdb.t*/configure.in.
32239 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32240 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32241 distclean targets. Built executables via .o files. Adjusted
32242 tests to account for source files in $(srcdir) rather than
32243 $(objdir).
32244 * lib/gdb.exp (runto): Don't expect () after the function name,
32245 because it may have arguments.
32246
32247 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32248
32249 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32250 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32251 expected failures for mips-idt-* and mips-sgi-*.
32252 * gdb.t00/default.exp (attach): Kill process if requested.
32253 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32254 that does not read core files.
32255 * gdb.t01/run.exp: Removed checks for exit status code.
32256 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32257 it is linked in.
32258 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32259 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32260 appropriate, rather than doing it by hand.
32261 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32262 execution.
32263 * gdb.t10/crossload.exp: Kill existing program if needed.
32264 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32265 appropriate, rather than doing it by hand. Always increase
32266 timeout for this test, not just for VxWorks.
32267
32268 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32269
32270 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32271 of Chill STRUCT types and STRUCT values.
32272 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32273 than "char".
32274 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
32275 struct2): New struct definitions and initializations to test
32276 simple Chill STRUCT types.
32277
32278 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32279
32280 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32281 the null byte at the end of strings.
32282 * gdb.t00/default.exp: Make show version insensitive to copyright
32283 date.
32284 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32285 to avoid dependencies on target char signedness.
32286 * gdb.t16/printcmds.exp: Update expected results for explicitly
32287 unsigned char.
32288 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32289 now work.
32290 * gdb.t21/demangle.exp: Add many more patterns for template
32291 demangling, most of them being expected failures.
32292 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32293 string we are matching for, to match on the whole string.
32294 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32295 and fix a whole bunch that had incorrect expected output but were
32296 passing anyway because of the bug in "proc demangle".
32297 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
32298 type.
32299 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
32300
32301 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
32302
32303 * gdb/testsuite: made modifications to testcases, etc., to allow
32304 them to work properly given the reorganization of deja-gnu and the
32305 relocation of the testcases from deja-gnu to a "tool" subdirectory.
32306
32307 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
32308
32309 * gdb/testsuite: Initial creation of gdb/testsuite.
32310 Migrated dejagnu testcases and support files for testing nm to
32311 gdb/testsuite from deja-gnu. These files were moved "as is"
32312 with no modifications. This migration is part of a major overhaul
32313 of dejagnu. The modifications to these testcases, etc., which
32314 will allow them to work with the new version of dejagnu will be
32315 made in a future update.
32316
32317 For additional changes see gdb.mi/ChangeLog-1999-2003.
32318 \f
32319 ;; Local Variables:
32320 ;; mode: change-log
32321 ;; left-margin: 8
32322 ;; fill-column: 74
32323 ;; version-control: never
32324 ;; End:
32325
32326 Copyright 1993-2013 Free Software Foundation, Inc.
32327 Copying and distribution of this file, with or without modification,
32328 are permitted provided the copyright notice and this notice are preserved.
This page took 0.666714 seconds and 5 git commands to generate.