? .deps
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2013-08-12 Ali Anwar <alianwar@codesourcery.com>
2
3 * gdb.base/break.exp: Test break via convenience variable
4 with file name.
5
6 2013-08-09 Doug Evans <dje@google.com>
7
8 * lib/future.exp (gdb_find_ldd): New proc.
9 * lib/prelink-support.exp (build_executable_own_libs): Call it.
10 Make "/usr/sbin/" in prelink path optional.
11
12 2013-08-09 Yao Qi <yao@codesourcery.com>
13
14 * gdb.trace/collection.exp (gdb_collect_args_test): Set
15 "only" and "both" to 'print entry-values' before selecting
16 trace frame.
17
18 2013-08-08 Yao Qi <yao@codesourcery.com>
19
20 * gdb.trace/mi-trace-unavailable.exp: Don't set
21 "print entry-values" to "no".
22 (test_trace_unavailable): Set various values to
23 "print entry-values" to test that the output of
24 '-stack-list-locals' is not affected, and then set
25 set "print entry-values" to "no".
26
27 2013-08-07 Doug Evans <dje@google.com>
28
29 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
30 * gdb.python/py-value-cc.exp: Update.
31 * gdb.python/py-value.exp: Use different names for .o files for
32 C and C++. Only perform C++ tests if !skip_cplus_tests.
33
34 2013-08-07 Tom Tromey <tromey@redhat.com>
35
36 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
37
38 2013-08-07 Tom Tromey <tromey@redhat.com>
39
40 * gdb.dwarf2/dwz.exp: New file.
41
42 2013-08-02 Tom Tromey <tromey@redhat.com>
43
44 * gdb.base/watchpoint.c (struct foo5): New.
45 (nullptr): New global.
46 * gdb.base/watchpoint.exp (test_watch_location): Add test.
47
48 2013-08-01 Doug Evans <dje@google.com>
49
50 PR symtab/15691
51 * gdb.dwarf2/fission-mix.exp: New file.
52 * gdb.dwarf2/fission-mix.h: New file.
53 * gdb.dwarf2/fission-mix.c: New file.
54 * gdb.dwarf2/fission-mix2.c: New file.
55
56 PR symtab/15695
57 * gdb.base/func-ptr.exp: New file.
58 * gdb.base/func-ptr.c: New file.
59
60 2013-08-01 Yao Qi <yao@codesourcery.com>
61
62 * gdb.python/py-sync-interp.c: New.
63 * gdb.python/py-sync-interp.exp: New.
64
65 2013-07-31 Yao Qi <yao@codesourcery.com>
66
67 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
68 'tdump' on stack frame 0 and 1 respectively.
69
70 2013-07-31 Yao Qi <yao@codesourcery.com>
71
72 PR gdb/13443
73 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
74 'traceframe'. Wrap test with with_test_prefix.
75 (top level): Update.
76
77 2013-07-31 Yao Qi <yao@codesourcery.com>
78
79 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
80 'gdb_start'.
81 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
82 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
83
84 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
85
86 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
87 when printing an optimized out value. Expect an error when using
88 an optimized out value in an expression.
89
90 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
91
92 * gdb.dwarf2/pieces-optimized-out.exp: New file.
93 * gdb.dwarf2/pieces-optimized-out.c: New file.
94 * gdb.dwarf2/pieces-optimized-out.S: New file.
95
96 2013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
97
98 PR gdb/15715
99 * gdb.base/setshow.exp: Test that relative paths passed to
100 'set history filename' are converted to absolute paths.
101
102 2013-07-26 Keith Seitz <keiths@redhat.com>
103
104 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
105 of f77.
106 Allow for compiler variations of integer types.
107 Use mi_create_varobj.
108 Use mi_list_varobj_children for the immediate children of `array'.
109 Add "has_more" attribute for grandchildren test.
110
111 2013-07-26 Pedro Alves <palves@redhat.com>
112
113 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
114 files.
115
116 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
117
118 * gdb.mi/mi-reg-undefined.exp: New file.
119 * gdb.mi/mi-reg-undefined.c: Likewise.
120 * gdb.mi/mi-reg-undefined.S: Likewise.
121
122 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
123
124 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
125 z, o, and t output formats.
126 * gdb.base/display.exp: Use 'k' as an undefined format now that
127 'z' is defined.
128
129 2013-07-24 Doug Evans <dje@google.com>
130
131 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
132 "--" to switch.
133
134 2013-07-24 Yao Qi <yao@codesourcery.com>
135
136 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
137 host.
138 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
139 Likewise. If host is remote, copy ${binfile} to host.
140
141 2013-07-23 Yao Qi <yao@codesourcery.com>
142
143 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
144 message.
145
146 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
147
148 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
149 instructions and enable disp-step-syscall for arm targets.
150
151 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
152
153 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
154 assembler errors on arm.
155 * gdb.dwarf2/mac-fileno.S: Likewise.
156 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
157 * gdb.dwarf2/pr13961.S: Likewise.
158
159 2013-07-19 Hui Zhu <hui@codesourcery.com>
160
161 PR gdb/15692
162 * gdb.mi/mi-dprintf.exp: Add double quotes test.
163
164 2013-07-19 Yao Qi <yao@codesourcery.com>
165
166 * gdb.trace/read-memory.exp (test_from_remote): Update test.
167 (teset_from_exec): Likewise.
168
169 2013-07-19 Yao Qi <yao@codesourcery.com>
170
171 * gdb.trace/read-memory.c: New.
172 * gdb.trace/read-memory.exp: New.
173
174 2013-07-19 Yao Qi <yao@codesourcery.com>
175
176 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
177 $dest to link options if host is remote. Move the
178 generated file to $dest.a on host if host is remote.
179
180 2013-07-18 Will Newton <will.newton@linaro.org>
181
182 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
183 to ensure the test is linked against pthreads.
184 * gdb.threads/tls-var-main.c: Likewise.
185 * gdb.threads/tls-shared.c: Likewise.
186
187 2013-07-18 Yao Qi <yao@codesourcery.com>
188
189 * lib/future.exp (gdb_default_target_compile): Use tail name
190 of $destfile as the output name of compile. Move the
191 generated file to $destfile on build.
192
193 2013-07-18 Yao Qi <yao@codesourcery.com>
194
195 * lib/gdb.exp (gdb_compile): Set
196 gdb_saved_set_unbuffered_mode_obj to
197 set_unbuffered_mode_saved.o if host is remote. Invoke
198 remote_download to copy $unbuf_obj to host.
199
200 2013-07-17 Doug Evans <dje@google.com>
201
202 * gdb.python/py-frame-args.c: New file.
203 * gdb.python/py-frame-args.py: New file.
204 * gdb.python/py-frame-args.exp New file.
205
206 2013-07-16 Andrew Burgess <aburgess@broadcom.com>
207
208 * gdb.base/printcmds.exp (test_printf): Add tests for format
209 strings with missing format specifier.
210
211 2013-07-16 Tom Tromey <tromey@redhat.com>
212
213 * gdb.ada/info_types.exp: Use standard_testfile.
214
215 2013-07-16 Tom Tromey <tromey@redhat.com>
216
217 * gdb.mi/mi-basics.exp: Use standard_output_file.
218 (test_dir_specification, test_cwd_specification)
219 (test_path_specification): Use testsubdir, not subdir and objdir.
220
221 2013-07-16 Tom Tromey <tromey@redhat.com>
222
223 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
224
225 2013-07-09 Joel Brobecker <brobecker@adacore.com>
226
227 * gdb.ada/small_reg_param.exp: Accept optional entry value
228 for parameter "w".
229
230 2013-07-09 Joel Brobecker <brobecker@adacore.com>
231
232 * gdb.ada/small_reg_param.exp: Remove trailing space.
233
234 2013-07-09 Doug Evans <dje@google.com>
235
236 * gdb.base/default.exp: Update expected output of "show print array"
237 and "show print pretty".
238
239 2013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
240
241 * gdb.threads/wp-replication.exp: Stop counting available hardware
242 watchpoints after NR_THREADS iterations.
243
244 2013-07-08 Andrew Burgess <aburgess@broadcom.com>
245
246 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
247
248 2013-07-07 Yao Qi <yao@codesourcery.com>
249
250 * boards/native-gdbserver.exp: Move invoke of
251 process_multilib_options to gdbserver-base.exp.
252 Move set_board_info 'compiler', 'gdb,noinferiorio',
253 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
254 gdbserver-base.exp.
255 Move proc ${board}_download, ${board}_upload and
256 ${board}_file to gdbserver-base.exp.
257 * boards/native-extended-gdbserver.exp: Likewise.
258 * boards/native-stdio-gdbserver.exp: Likewise.
259 * boards/gdbserver-base.exp: New file.
260
261 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
262
263 * gdb.base/dump.exp: Remove arch-specific tests and do a
264 generic data address check to set is64bitonly correctly.
265
266 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
267
268 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
269 the register number instead of expecting only 0.
270
271 2013-07-05 Will Newton <will.newton@linaro.org>
272
273 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
274 in asm syntax to allow building on ARM.
275
276 2013-07-05 Yao Qi <yao@codesourcery.com>
277
278 * boards/local-remote-host.exp: Remove obsolete comments.
279 * boards/native-extended-gdbserver.exp: Likewise.
280 * boards/native-gdbserver.exp: Likewise.
281 * boards/native-stdio-gdbserver.exp: Likewise.
282
283 2013-07-04 Andrew Burgess <aburgess@broadcom.com>
284
285 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
286 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
287 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
288
289 2013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
290
291 * gdb.base/break-on-linker-gcd-function.exp: Replace
292 prepare_for_testing by build_executable_from_specs and clean_restart.
293
294 2013-06-27 Tom Tromey <tromey@redhat.com>
295
296 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
297 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
298 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
299 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
300 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
301 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
302 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
303 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
304 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
305 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
306 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
307 Use standard_testfile, standard_output_file, prepare_for_testing,
308 clean_restart.
309
310 2013-06-27 Tom Tromey <tromey@redhat.com>
311
312 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
313 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
314 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
315 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
316 gdb.base/shreloc.exp, gdb.base/sigall.exp,
317 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
318 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
319 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
320 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
321 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
322 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
323 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
324 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
325 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
326 gdb.base/solib-weak.exp, gdb.base/source.exp,
327 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
328 gdb.base/stap-probe.exp, gdb.base/start.exp,
329 gdb.base/step-break.exp, gdb.base/step-bt.exp,
330 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
331 gdb.base/step-test.exp, gdb.base/structs.exp,
332 gdb.base/structs2.exp, gdb.base/structs3.exp,
333 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
334 standard_output_file, prepare_for_testing, clean_restart.
335
336 2013-06-27 Tom Tromey <tromey@redhat.com>
337
338 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
339 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
340 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
341 gdb.base/pending.exp, gdb.base/permissions.exp,
342 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
343 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
344 gdb.base/printcmds.exp, gdb.base/prologue.exp,
345 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
346 gdb.base/ptype.exp, gdb.base/randomize.exp,
347 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
348 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
349 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
350 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
351 standard_testfile, standard_output_file, prepare_for_testing,
352 clean_restart.
353
354 2013-06-27 Tom Tromey <tromey@redhat.com>
355
356 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
357 gdb.base/huge.exp, gdb.base/included.exp,
358 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
359 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
360 gdb.base/info-os.exp, gdb.base/info-proc.exp,
361 gdb.base/info-target.exp, gdb.base/infoline.exp,
362 gdb.base/interp.exp, gdb.base/interrupt.exp,
363 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
364 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
365 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
366 gdb.base/logical.exp, gdb.base/long_long.exp,
367 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
368 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
369 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
370 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
371 standard_testfile, standard_output_file, prepare_for_testing,
372 clean_restart.
373
374 2013-06-27 Tom Tromey <tromey@redhat.com>
375
376 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
377 gdb.base/enumval.exp, gdb.base/environ.exp,
378 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
379 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
380 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
381 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
382 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
383 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
384 gdb.base/fullname.exp, gdb.base/funcargs.exp,
385 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
386 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
387 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
388 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
389 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
390 gdb.base/gnu_vector.exp: Use standard_testfile,
391 standard_output_file, prepare_for_testing, clean_restart.
392
393 2013-06-27 Tom Tromey <tromey@redhat.com>
394
395 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
396 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
397 gdb.base/call-strs.exp, gdb.base/callexit.exp,
398 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
399 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
400 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
401 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
402 gdb.base/commands.exp, gdb.base/completion.exp,
403 gdb.base/complex.exp, gdb.base/cond-expr.exp,
404 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
405 gdb.base/constvars.exp, gdb.base/corefile.exp,
406 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
407 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
408 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
409 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
410 gdb.base/dup-sect.exp: Use standard_testfile,
411 standard_output_file, prepare_for_testing, clean_restart.
412
413 2013-06-27 Tom Tromey <tromey@redhat.com>
414
415 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
416 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
417 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
418 gdb.base/async-shell.exp, gdb.base/async.exp,
419 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
420 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
421 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
422 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
423 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
424 gdb.base/break-on-linker-gcd-function.exp,
425 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
426 standard_output_file, prepare_for_testing, clean_restart.
427
428 2013-06-26 Yao Qi <yao@codesourcery.com>
429
430 * gdb.trace/mi-trace-frame-collected.exp: New.
431
432 2013-06-25 Yao Qi <yao@codesourcery.com>
433
434 * boards/native-extended-gdbserver.exp: Set board_info
435 'gdb,predefined_tsv'.
436 * boards/native-gdbserver.exp: Likewise.
437 * boards/native-stdio-gdbserver.exp: Likewise.
438 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
439 uploaded TSVs if target supports tracing.
440 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
441 tracing and target has predefined tsv.
442
443 2013-06-25 Yao Qi <yao@codesourcery.com>
444 Hui Zhu <hui@codesourcery.com>
445 Pedro Alves <palves@redhat.com>
446
447 PR breakpoints/15075
448 PR breakpoints/15434
449 * gdb.base/dprintf-next.c: New file.
450 * gdb.base/dprintf-next.exp: New file.
451 * gdb.base/dprintf-non-stop.c: New file.
452 * gdb.base/dprintf-non-stop.exp: New file.
453 * gdb.base/dprintf.exp: Don't check "continue" in the output
454 of "info breakpoints".
455 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
456 Don't check "continue" in script field.
457
458 2013-06-21 Tom Tromey <tromey@redhat.com>
459
460 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
461 name in a test name.
462
463 2013-06-20 Yao Qi <yao@codesourcery.com>
464
465 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
466 and set an action.
467 (test_trace_unavailable): Test command -data-list-register-values
468 in the context of traceframe and with option --skip-unavailable.
469 * gdb.trace/trace-unavailable.c (foo): New.
470 (main): Call it.
471 * gdb.mi/gdb2549.exp: Update matching pattern.
472
473 2013-06-19 Mike Frysinger <vapier@gentoo.org>
474
475 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
476 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
477 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
478 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
479 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
480
481 2013-06-19 Luis Machado <lgustavo@codesourcery.com>
482
483 * gdb.base/subst.exp: Delete default rules before further
484 tests.
485
486 2013-06-19 Yao Qi <yao@codesourcery.com>
487
488 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
489 unsupported if it is not registered.
490
491 2013-06-18 Tom Tromey <tromey@redhat.com>
492
493 * gdb.base/random-signal.c: New file.
494 * gdb.base/random-signal.exp: New file.
495
496 2013-06-18 Will Newton <will.newton@linaro.org>
497
498 * gdb.base/skip.c: Use comma to evaluate results of foo()
499 and bar() before passing to baz().
500 * gdb.base/skip.c: baz() now takes one argument instead of
501 two.
502
503 2013-06-18 Tom Tromey <tromey@redhat.com>
504
505 * gdb.dwarf2/implptrpiece.exp: New file.
506 * gdb.dwarf2/implptrconst.exp (d): New variable.
507 Print d.
508 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
509
510 2013-06-18 Tom Tromey <tromey@redhat.com>
511
512 * lib/selftest-support.exp (do_self_tests): Reject remote or
513 non-native targets.
514 * gdb.gdb/complaints.exp: Remove check.
515 * gdb.gdb/observer.exp: Remove check.
516 * gdb.gdb/xfullpath.exp: Remove check.
517 * gdb.gdb/complaints.exp: Remove check.
518
519 2013-06-07 Pedro Alves <palves@redhat.com>
520
521 * boards/native-extended-gdbserver.exp: Remove semicolon.
522 * config/arm-ice.exp: Likewise.
523 * config/bfin.exp: Likewise.
524 * config/cygmon.exp: Likewise.
525 * config/h8300.exp: Likewise.
526 * config/monitor.exp: Likewise.
527 * config/sid.exp: Likewise.
528 * config/sim.exp: Likewise.
529 * config/slite.exp: Likewise.
530 * config/vx.exp: Likewise.
531 * gdb.arch/i386-bp_permanent.exp: Likewise.
532 * gdb.asm/asm-source.exp: Likewise.
533 * gdb.base/args.exp: Likewise.
534 * gdb.base/attach-pie-misread.exp: Likewise.
535 * gdb.base/auxv.exp: Likewise.
536 * gdb.base/bigcore.exp: Likewise.
537 * gdb.base/bitfields2.exp: Likewise.
538 * gdb.base/bitfields.exp: Likewise.
539 * gdb.base/break.exp: Likewise.
540 * gdb.base/break-interp.exp: Likewise.
541 * gdb.base/callfuncs.exp: Likewise.
542 * gdb.base/call-sc.exp: Likewise.
543 * gdb.base/commands.exp: Likewise.
544 * gdb.base/corefile.exp: Likewise.
545 * gdb.base/dbx.exp: Likewise.
546 * gdb.base/ending-run.exp: Likewise.
547 * gdb.base/exprs.exp: Likewise.
548 * gdb.base/funcargs.exp: Likewise.
549 * gdb.base/hbreak2.exp: Likewise.
550 * gdb.base/huge.exp: Likewise.
551 * gdb.base/list.exp: Likewise.
552 * gdb.base/memattr.exp: Likewise.
553 * gdb.base/overlays.exp: Likewise.
554 * gdb.base/printcmds.exp: Likewise.
555 * gdb.base/recurse.exp: Likewise.
556 * gdb.base/remotetimeout.exp: Likewise.
557 * gdb.base/reread.exp: Likewise.
558 * gdb.base/savedregs.exp: Likewise.
559 * gdb.base/scope.exp: Likewise.
560 * gdb.base/sepdebug.exp: Likewise.
561 * gdb.base/setshow.exp: Likewise.
562 * gdb.base/setvar.exp: Likewise.
563 * gdb.base/sigaltstack.exp: Likewise.
564 * gdb.base/siginfo-addr.exp: Likewise.
565 * gdb.base/siginfo.exp: Likewise.
566 * gdb.base/siginfo-obj.exp: Likewise.
567 * gdb.base/sigrepeat.exp: Likewise.
568 * gdb.base/sigstep.exp: Likewise.
569 * gdb.base/structs.exp: Likewise.
570 * gdb.base/testenv.exp: Likewise.
571 * gdb.base/twice.exp: Likewise.
572 * gdb.base/valgrind-db-attach.exp: Likewise.
573 * gdb.base/valgrind-infcall.exp: Likewise.
574 * gdb.base/varargs.exp: Likewise.
575 * gdb.base/watchpoint.exp: Likewise.
576 * gdb.cp/gdb1355.exp: Likewise.
577 * gdb.cp/misc.exp: Likewise.
578 * gdb.disasm/hppa.exp: Likewise.
579 * gdb.disasm/t01_mov.exp: Likewise.
580 * gdb.disasm/t02_mova.exp: Likewise.
581 * gdb.disasm/t03_add.exp: Likewise.
582 * gdb.disasm/t04_sub.exp: Likewise.
583 * gdb.disasm/t05_cmp.exp: Likewise.
584 * gdb.disasm/t06_ari2.exp: Likewise.
585 * gdb.disasm/t07_ari3.exp: Likewise.
586 * gdb.disasm/t08_or.exp: Likewise.
587 * gdb.disasm/t09_xor.exp: Likewise.
588 * gdb.disasm/t10_and.exp: Likewise.
589 * gdb.disasm/t11_logs.exp: Likewise.
590 * gdb.disasm/t12_bit.exp: Likewise.
591 * gdb.disasm/t13_otr.exp: Likewise.
592 * gdb.gdb/selftest.exp: Likewise.
593 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
594 * gdb.mi/mi-reverse.exp: Likewise.
595 * gdb.pascal/floats.exp: Likewise.
596 * gdb.python/py-inferior.exp: Likewise.
597 * gdb.threads/attach-into-signal.exp: Likewise.
598 * gdb.threads/pthreads.exp: Likewise.
599 * gdb.threads/thread_events.exp: Likewise.
600 * gdb.threads/watchthreads.exp: Likewise.
601 * gdb.trace/actions-changed.exp: Likewise.
602 * gdb.trace/actions.exp: Likewise.
603 * gdb.trace/ax.exp: Likewise.
604 * gdb.trace/backtrace.exp: Likewise.
605 * gdb.trace/change-loc.exp: Likewise.
606 * gdb.trace/deltrace.exp: Likewise.
607 * gdb.trace/disconnected-tracing.exp: Likewise.
608 * gdb.trace/ftrace.exp: Likewise.
609 * gdb.trace/infotrace.exp: Likewise.
610 * gdb.trace/passc-dyn.exp: Likewise.
611 * gdb.trace/passcount.exp: Likewise.
612 * gdb.trace/pending.exp: Likewise.
613 * gdb.trace/qtro.exp: Likewise.
614 * gdb.trace/range-stepping.exp: Likewise.
615 * gdb.trace/report.exp: Likewise.
616 * gdb.trace/save-trace.exp: Likewise.
617 * gdb.trace/status-stop.exp: Likewise.
618 * gdb.trace/strace.exp: Likewise.
619 * gdb.trace/tfile.exp: Likewise.
620 * gdb.trace/tfind.exp: Likewise.
621 * gdb.trace/trace-break.exp: Likewise.
622 * gdb.trace/tracecmd.exp: Likewise.
623 * gdb.trace/trace-mt.exp: Likewise.
624 * gdb.trace/tspeed.exp: Likewise.
625 * gdb.trace/tsv.exp: Likewise.
626 * gdb.trace/while-stepping.exp: Likewise.
627 * lib/gdb.exp: Likewise.
628 * lib/gdbserver-support.exp: Likewise.
629 * lib/java.exp: Likewise.
630 * lib/mi-support.exp: Likewise.
631 * lib/pascal.exp: Likewise.
632 * lib/prompt.exp: Likewise.
633 * lib/trace-support.exp: Likewise.
634
635 2013-06-07 Pedro Alves <palves@redhat.com>
636
637 * gdb.ada/info_types.c: Fix formating in copyright header.
638 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
639 * gdb.base/float.c: Likewise.
640 * gdb.base/inferior-died.c: Likewise.
641 * gdb.base/interp.c: Likewise.
642 * gdb.base/jit-main.c: Likewise.
643 * gdb.base/jit-solib.c: Likewise.
644 * gdb.base/long_long.c: Likewise.
645 * gdb.base/longjmp.c: Likewise.
646 * gdb.base/nextoverexit.c: Likewise.
647 * gdb.base/pr11022.c: Likewise.
648 * gdb.base/prelink-lib.c: Likewise.
649 * gdb.base/prelink.c: Likewise.
650 * gdb.base/prologue.c: Likewise.
651 * gdb.base/restore.c: Likewise.
652 * gdb.base/sigchld.c: Likewise.
653 * gdb.base/solib-search-lib1.c: Likewise.
654 * gdb.base/solib-search-lib2.c: Likewise.
655 * gdb.base/solib-search.c: Likewise.
656 * gdb.base/solib-search.h: Likewise.
657 * gdb.base/whatis.c: Likewise.
658 * gdb.cp/abstract-origin.cc: Likewise.
659 * gdb.cp/anon-struct.cc: Likewise.
660 * gdb.cp/baseenum.cc: Likewise.
661 * gdb.cp/bs15503.cc: Likewise.
662 * gdb.cp/call-c-1.c: Likewise.
663 * gdb.cp/call-c.cc: Likewise.
664 * gdb.cp/class2.cc: Likewise.
665 * gdb.cp/classes.cc: Likewise.
666 * gdb.cp/cttiadd.cc: Likewise.
667 * gdb.cp/cttiadd1.cc: Likewise.
668 * gdb.cp/cttiadd2.cc: Likewise.
669 * gdb.cp/cttiadd3.cc: Likewise.
670 * gdb.cp/derivation.cc: Likewise.
671 * gdb.cp/derivation2.cc: Likewise.
672 * gdb.cp/dispcxx.cc: Likewise.
673 * gdb.cp/exception.cc: Likewise.
674 * gdb.cp/gdb2384-base.cc: Likewise.
675 * gdb.cp/gdb2384-base.h: Likewise.
676 * gdb.cp/gdb2384.cc: Likewise.
677 * gdb.cp/gdb2495.cc: Likewise.
678 * gdb.cp/mb-inline.h: Likewise.
679 * gdb.cp/mb-inline1.cc: Likewise.
680 * gdb.cp/mb-inline2.cc: Likewise.
681 * gdb.cp/member-name.cc: Likewise.
682 * gdb.cp/member-ptr.cc: Likewise.
683 * gdb.cp/misc.cc: Likewise.
684 * gdb.cp/namespace1.cc: Likewise.
685 * gdb.cp/nextoverthrow.cc: Likewise.
686 * gdb.cp/pr-574.cc: Likewise.
687 * gdb.cp/pr9631.cc: Likewise.
688 * gdb.cp/printmethod.cc: Likewise.
689 * gdb.cp/psmang1.cc: Likewise.
690 * gdb.cp/psmang2.cc: Likewise.
691 * gdb.cp/psymtab-parameter.cc: Likewise.
692 * gdb.cp/ptype-flags.cc: Likewise.
693 * gdb.cp/ref-params.cc: Likewise.
694 * gdb.cp/ref-types.cc: Likewise.
695 * gdb.cp/smartp.cc: Likewise.
696 * gdb.cp/try_catch.cc: Likewise.
697 * gdb.cp/userdef.cc: Likewise.
698 * gdb.cp/using-crash.cc: Likewise.
699 * gdb.cp/virtfunc.cc: Likewise.
700 * gdb.cp/virtfunc2.cc: Likewise.
701 * gdb.dwarf2/callframecfa.S: Likewise.
702 * gdb.dwarf2/dw2-ranges.c: Likewise.
703 * gdb.dwarf2/dw2-ranges2.c: Likewise.
704 * gdb.dwarf2/dw2-ranges3.c: Likewise.
705 * gdb.dwarf2/dw2-restore.S: Likewise.
706 * gdb.dwarf2/pieces.S: Likewise.
707 * gdb.dwarf2/valop.S: Likewise.
708 * gdb.java/jnpe.java: Likewise.
709 * gdb.mi/mi-stepn.c: Likewise.
710 * gdb.mi/mi-var-cp.cc: Likewise.
711 * gdb.mi/mi-var-rtti.cc: Likewise.
712 * gdb.mi/ns-stale-regcache.c: Likewise.
713 * gdb.mi/pr11022.c: Likewise.
714 * gdb.mi/solib-lib.c: Likewise.
715 * gdb.mi/solib-main.c: Likewise.
716 * gdb.python/py-arch.c: Likewise.
717 * gdb.python/py-block.c: Likewise.
718 * gdb.python/py-breakpoint.c: Likewise.
719 * gdb.python/py-events.c: Likewise.
720 * gdb.python/py-evthreads.c: Likewise.
721 * gdb.python/py-explore.c: Likewise.
722 * gdb.python/py-explore.cc: Likewise.
723 * gdb.python/py-finish-breakpoint.c: Likewise.
724 * gdb.python/py-finish-breakpoint2.cc: Likewise.
725 * gdb.python/py-symbol.c: Likewise.
726 * gdb.threads/execl.c: Likewise.
727 * gdb.threads/execl1.c: Likewise.
728
729 2013-06-07 Will Newton <will.newton@linaro.org>
730
731 * gdb.base/long_long.exp: Fix ARM EABI target glob.
732
733 2013-06-07 Will Newton <will.newton@linaro.org>
734
735 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
736 and "starting".
737
738 2013-06-07 Will Newton <will.newton@linaro.org>
739
740 * gdb.cp/anon-struct.exp: Conditionalize constructor and
741 destructor prototypes for ARM ABI.
742 * gdb.cp/m-static.exp: Likewise.
743
744 2013-06-07 Yao Qi <yao@codesourcery.com>
745
746 * gdb.trace/mi-trace-unavailable.exp: New.
747 * gdb.trace/trace-unavailable.c: New.
748
749 2013-06-06 Doug Evans <dje@google.com>
750
751 * gdb.cp/derivation.exp: Make tests have unique names.
752
753 2013-06-06 Tom Tromey <tromey@redhat.com>
754
755 * gdb.base/dump.exp (capture_value): Don't put expression into
756 test name if arguments passed in.
757 Rename a couple more tests to make them unique.
758
759 2013-06-06 Tom Tromey <tromey@redhat.com>
760
761 * gdb.base/break-always.exp: Explicitly specify test name.
762
763 2013-06-05 Doug Evans <dje@google.com>
764 Keith Seitz <keiths@redhat.com>
765
766 * gdb.cp/derivation2.cc: New file.
767 * gdb.cp/derivation.cc (main): Call foo2.
768 * gdb.cp/derivation.exp: Add tests for typedefs in another
769 file, and when there's an active block.
770
771 2013-06-05 Luis Machado <lgustavo@codesourcery.com>
772
773 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
774 from targets that use function descriptors in the virtual tables.
775 Handle presence of dot symbols.
776
777 2013-06-04 Gary Benson <gbenson@redhat.com>
778
779 * gdb.base/break-probes.exp: New file.
780 * gdb.base/break-probes.c: Likewise.
781 * gdb.base/break-probes-solib.c: Likewise.
782 * gdb.base/info-shared.exp: New file.
783 * gdb.base/info-shared.c: Likewise.
784 * gdb.base/info-shared-solib1.c: Likewise.
785 * gdb.base/info-shared-solib2.c: Likewise.
786
787 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
788 Gary Benson <gbenson@redhat.com>
789
790 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
791 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
792 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
793 to be set to "no" to indicate that no ld.so copy should be made.
794 * gdb.base/break-interp.exp (solib_bp): New constant.
795 (reach_1): Use the above instead of "_dl_debug_state".
796 (test_attach): Likewise.
797 (test_ld): Likewise.
798 * gdb.threads/dlopen-libpthread.exp: New file.
799 * gdb.threads/dlopen-libpthread.c: Likewise.
800 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
801 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
802
803 2013-05-30 Yao Qi <yao@codesourcery.com>
804
805 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
806 Add a test that no MI notification is emitted when executing
807 -exec-arguments.
808
809 2013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
810
811 PR testsuite/12649
812 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
813 $mi_gdb_prompt expectation by mi_expect_stop.
814 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
815 (mi info dprintf second time): Replace them by mi_send_resuming_command
816 and mi_expect_stop.
817
818 2013-05-24 Gary Benson <gbenson@redhat.com>
819
820 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
821 backslash.
822 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
823 backslashes.
824 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
825 backslash.
826
827 2013-05-24 Yao Qi <yao@codesourcery.com>
828
829 * gdb.trace/tfile.exp: Test inferior and thread.
830
831 2013-05-24 Yao Qi <yao@codesourcery.com>
832 Pedro Alves <palves@redhat.com>
833
834 * gdb.base/range-stepping.exp: Skip the rest of tests if the
835 test fails.
836 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
837 Return 0 if the test passes, otherwise return 1.
838
839 2013-05-23 Doug Evans <dje@google.com>
840
841 * boards/fission-dwp.exp: New file.
842
843 2013-05-23 Yao Qi <yao@codesourcery.com>
844 Pedro Alves <palves@redhat.com>
845
846 * gdb.base/range-stepping.c: New file.
847 * gdb.base/range-stepping.exp: New file.
848 * gdb.trace/range-stepping.c: New file.
849 * gdb.trace/range-stepping.exp: New file.
850 * lib/range-stepping-support.exp: New file.
851
852 2013-05-22 Tom Tromey <tromey@redhat.com>
853
854 * gdb.cp/class2.cc (main): New local 'aref'.
855 * gdb.cp/class2.exp: Check printing of 'aref'.
856
857 2013-05-22 Doug Evans <dje@google.com>
858
859 * gdb.threads/wp-replication.c (main): Insert some code at the start
860 to ensure the breakpoint on main is only hit once. Fix comment.
861
862 2013-05-21 Keith Seitz <keiths@redhat.com>
863 Pedro Alves <palves@redhat.com>
864
865 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
866 gdb_expect.
867 Add test to flush the remaining input buffer so that this
868 file passes testsuite/12649.
869
870 2013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
871
872 * gdb.base/catch-signal-fork.exp: New file.
873 * gdb.base/catch-signal-fork.c: New file.
874
875 2013-05-21 Sterling Augustine <saugustine@google.com>
876
877 * boards/remote-stdio-gdbserver.exp: New file.
878
879 2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
880
881 PR testsuite/12649
882 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
883 racy matches.
884
885 2013-05-21 Christian Groessler <chris@groessler.org>
886
887 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
888 since it's not supported in all shells.
889
890 2013-05-21 Hui Zhu <hui@codesourcery.com>
891
892 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
893 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
894
895 2013-05-20 Doug Evans <dje@google.com>
896
897 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
898 (_handle_DW_TAG): Use it.
899 (cu, tu): Replace parameters is_64, version, addr_size with options.
900 All callers updated. Add Fission support.
901 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
902 * gdb.dwarf2/method-ptr.exp: Ditto.
903 * gdb.dwarf2/nostaticblock.exp: Ditto.
904 * gdb.dwarf2/subrange.exp: Ditto.
905 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
906
907 2013-05-20 Tom Tromey <tromey@redhat.com>
908
909 * gdb.gdb/python-selftest.exp: New file.
910
911 2013-05-20 Doug Evans <dje@google.com>
912
913 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
914 -fdebug-types-section.
915
916 2013-05-20 Joel Brobecker <brobecker@adacore.com>
917
918 * gdb.ada/float_param: New testcase.
919
920 2013-05-17 Doug Evans <dje@google.com>
921
922 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
923 Add tests for "maint check-symtabs", "maint expand-symtabs".
924
925 * gdb.base/maint.exp: Remove testing of individual maint command
926 help output.
927
928 2013-05-16 Pedro Alves <palves@redhat.com>
929
930 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
931 comment. Use gdb_test_no_output.
932
933 2013-05-16 Joel Brobecker <brobecker@adacore.com>
934
935 * gdb.ada/complete.exp: Add test verifying completion using
936 the "tab" key.
937
938 2013-05-15 Keith Seitz <keiths@redhat.com>
939
940 * gdb.base/filesym.exp: New completer test.
941 * gdb.base/filesym.c: New file.
942
943 2013-05-15 Pedro Alves <palves@redhat.com>
944
945 * gdb.base/fixsection.c: Remove attribution.
946 * gdb.base/watch-read.exp: Ditto.
947
948 2013-05-13 Tom Tromey <tromey@redhat.com>
949
950 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
951 size and change type sizes to 4 bytes.
952
953 2013-05-13 Tom Tromey <tromey@redhat.com>
954
955 * gdb.base/exprs.exp (test_expr): Add regression test.
956 * gdb.base/exprs.c (null_t_struct): New global.
957
958 2013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
959
960 * gdb.base/default.exp: Disable history saving.
961 * gdb.base/setshow.exp: Likewise.
962
963 2013-05-10 Pedro Alves <palves@redhat.com>
964
965 PR remote/15455
966
967 * gdb.trace/qtro.c: New file.
968 * gdb.trace/qtro.exp: New file.
969
970 2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
971
972 * gdb.python/py-framefilter.py: New File.
973 * gdb.python/py-framefilter-mi.exp: Ditto.
974 * gdb.python/py-framefilter.c: Ditto.
975 * gdb.python/py-framefilter-mi.exp: Ditto.
976 * gdb.python/py-framefilter-mi.c: Ditto,
977 * gdb.python/py-framefilter-gdb.py.in: Ditto.
978
979 2013-05-08 Tom Tromey <tromey@redhat.com>
980
981 * gdb.base/solib-search.exp: Set test name for "set
982 solib-search-path" test.
983
984 2013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
985
986 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
987 (set_a_tracepoint): Set tracepoint before prologue.
988 (run_trace_experiment): Test setup_tracepoints and 'break end'
989 in it.
990 (trace_buffer_normal): Remove.
991 (gdb_trace_circular_tests): Remove. Move tests to...
992 (top level): ...here. Call 'runto_main' before checking for
993 trace support. Use commands to check the support for circular
994 trace buffer and changing of trace buffer size. Add test
995 to calculate size of single frame. Use this size to
996 calculate the size of trace buffer. Use 'tfind pc func9'
997 instead of 'tfind 9'. Use 'with_test_prefix'.
998
999 2013-05-07 Tom Tromey <tromey@redhat.com>
1000
1001 * lib/selftest-support.exp: New file.
1002 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1003 do_self_tests.
1004 (setup_test, find_gdb): Remove.
1005 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1006 do_self_tests.
1007 (setup_test, find_gdb): Remove.
1008 (test_observer): Don't call setup_test. Remove argument.
1009 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1010 (find_gdb): Remove.
1011 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1012 do_self_tests.
1013 (setup_test, find_gdb): Remove.
1014 (test_with_self): Don't call setup_test. Remove argument.
1015
1016 2013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1017
1018 * gdb.arch/system-gcore.exp: Remove.
1019 * gdb.arch/gcore.c: Remove.
1020 * gdb.base/gcore.exp: Add "info reg system".
1021
1022 2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1023
1024 PR breakpoints/15413:
1025 * gdb.base/pending.exp: Add test for completion of the "condition"
1026 command for pending breakpoints.
1027 * gdb.linespec/linespec.ex: Add test for completion of the
1028 "condition" command when dealing with multiple locations.
1029
1030 2013-05-07 Luis Machado <lgustavo@codesourcery.com>
1031
1032 * gdb.threads/wp-replication.c: New file.
1033 * gdb.threads/wp-replication.exp: New file.
1034
1035 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1036
1037 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1038
1039 2013-05-06 Doug Evans <dje@google.com>
1040
1041 * gdb.base/solib-search-lib1.c: New file.
1042 * gdb.base/solib-search-lib2.c: New file.
1043 * gdb.base/solib-search.c: New file.
1044 * gdb.base/solib-search.h: New file.
1045 * gdb.base/solib-search.exp: New file.
1046
1047 * lib/gdb.exp (gdb_core_cmd): New function.
1048 * gdb.arch/system-gcore.exp: Use it.
1049 * gdb.arch/vsx-regs.exp: Ditto.
1050 * gdb.base/gcore.exp: Ditto.
1051 * gdb.threads/gcore-thread.exp: Ditto.
1052
1053 * gdb.reverse/shr.h: New file.
1054 * gdb.reverse/shr1.c: New file.
1055 * gdb.reverse/shr2.c: #include "shr.h".
1056 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1057 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1058 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1059 Update tests using sleep/printf to use shr2.sl instead.
1060 * gdb.reverse/solib-reverse.exp: Ditto.
1061
1062 2013-05-06 Tom Tromey <tromey@redhat.com>
1063
1064 * gdb.dwarf2/implptrconst.c: New file.
1065 * gdb.dwarf2/implptrconst.exp: New file.
1066 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1067 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1068 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1069
1070 2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1071
1072 * gdb.base/catch-sig.c (main): Raise SIGINT.
1073 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1074
1075 2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1076
1077 * status-stop.exp (test_tstart_tstart): Check for error
1078 returned by the second 'tstart' command.
1079
1080 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1081
1082 * gdb.xml/maint_print_struct.exp: New file.
1083 * gdb.xml/maint_print_struct.xml: New file.
1084
1085 2013-04-25 Tom Tromey <tromey@redhat.com>
1086
1087 * gdb.dwarf2/nostaticblock.exp: New file.
1088
1089 2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1090
1091 PR gdb/10462
1092 * gdb.base/setshow.exp: Add test case.
1093
1094 2013-04-23 Hui Zhu <hui@codesourcery.com>
1095
1096 PR gdb/15293
1097 * gdb.base/dprintf.exp: Add ignore command.
1098
1099 2013-04-23 Hui Zhu <hui@codesourcery.com>
1100
1101 PR gdb/15165
1102 * gdb.base/save-bp.exp: Add test for dprintf.
1103
1104 2013-04-22 Tom Tromey <tromey@redhat.com>
1105
1106 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1107 notice_open_fds.
1108
1109 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1110
1111 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1112 ldflags.
1113
1114 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1115
1116 * gdb.arch/arm-bl-branch-dest.c: New file.
1117 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1118
1119 2013-04-19 Vladimir Kargov <kargov@gmail.com>
1120 Pedro Alves <palves@redhat.com>
1121
1122 * gdb.arch/i386-float.S: New file.
1123 * gdb.arch/i386-float.exp: New file.
1124
1125 2013-04-18 Luis Machado <lgustavo@codesourcery.com>
1126
1127 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1128 type void *.
1129
1130 2013-04-17 Doug Evans <dje@google.com>
1131
1132 * lib/dwarf.exp (Dwarf): New proc "tu".
1133 * gdb.dwarf2/missing-sig-type.exp: New file.
1134
1135 2013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1136
1137 Add option to link testcases with Pthreads library when
1138 using 'prepare_for_testing' in tests.
1139
1140 * lib/gdb.exp (build_executable_from_specs): Use
1141 gdb_compile_pthreads to compile if option "pthreads" is
1142 specified.
1143
1144 2013-04-15 Tom Tromey <tromey@redhat.com>
1145
1146 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1147
1148 2013-04-15 Tom Tromey <tromey@redhat.com>
1149
1150 * gdb.base/default.exp: Update for $_exception.
1151 * gdb.cp/exceptprint.cc: New file.
1152 * gdb.cp/exceptprint.exp: New file.
1153 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1154
1155 2013-04-15 Tom Tromey <tromey@redhat.com>
1156
1157 * gdb.cp/typeid.cc: New file.
1158 * gdb.cp/typeid.exp: New file.
1159
1160 2013-04-15 Tom Tromey <tromey@redhat.com>
1161
1162 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1163
1164 2013-04-13 Yao Qi <yao@codesourcery.com>
1165
1166 * gdb.base/completion.exp: Test completion of command
1167 'target ctf' if target ctf is supported.
1168
1169 2013-04-10 Pedro Alves <palves@redhat.com>
1170
1171 * gdb.base/completion.exp: Test "set height", "set listsize" and
1172 "set trace-buffer-size" completion.
1173 * gdb.base/setshow.exp: Test "set height unlimited".
1174 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1175 unlimited".
1176
1177 2013-04-10 Yao Qi <yao@codesourcery.com>
1178
1179 * gdb.trace/actions.exp: Save trace data to CTF.
1180 Change to ctf target if GDB supports, read CTF data in ctf
1181 target, and check the actions of tracepoints.
1182 * gdb.trace/while-stepping.exp: Likewise.
1183 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1184 format and read CTF trace file if GDB supports.
1185 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1186 target is supported, change to ctf target, read trace data and
1187 check output of command "tstatus".
1188 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1189 read CTF data by target ctf and call check_tsv.
1190
1191 2013-04-10 Yao Qi <yao@codesourcery.com>
1192
1193 * gdb.trace/actions.exp (check_tracepoint): New.
1194 (top level): Start the tracing and check the actions of
1195 tracepoints. Save trace data to tfile format. Restart GDB
1196 and read trace file in tfile target. Check the actions of
1197 tracepoints again.
1198 * gdb.trace/while-stepping.exp: Likewise.
1199
1200 2013-04-10 Yao Qi <yao@codesourcery.com>
1201
1202 * gdb.trace/report.exp: Use standard_output_file for saved
1203 trace file.
1204
1205 2013-04-10 Hui Zhu <hui@codesourcery.com>
1206
1207 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1208 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1209 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1210
1211 2013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1212
1213 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1214 response.
1215
1216 2013-04-08 Pedro Alves <palves@redhat.com>
1217
1218 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1219 the location.
1220
1221 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1222
1223 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1224 for breakpoint location.
1225
1226 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1227
1228 * gdb.linespec/linespec.exp: Make dir/file:line tests
1229 conditional for non-remote hosts only.
1230
1231 2013-04-04 Stan Shebs <stan@codesourcery.com>
1232 Pedro Alves <palves@redhat.com>
1233
1234 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1235 * gdb.trace/actions-changed.c: New file.
1236 * gdb.trace/actions-changed.exp: New file.
1237 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1238 (gdb_trace_setactions_command): ... this. Add "actions_command"
1239 parameter, and handle it.
1240 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1241
1242 2013-04-04 Yao Qi <yao@codesourcery.com>
1243
1244 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1245 'step'.
1246
1247 2013-04-03 Yao Qi <yao@codesourcery.com>
1248
1249 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1250 "tfile-basic.tf".
1251 (test_tfind_tfile): Likewise.
1252
1253 2013-04-03 Yao Qi <yao@codesourcery.com>
1254
1255 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1256 "tfile-basic.tf" instead of "basic.tf".
1257 (write_error_trace_file): Pass argument "tfile-error.tf"
1258 instead of "error.tf".
1259 * gdb.trace/tfile.exp: Update tfile names to
1260 "tfile-basic.tf" and "tfile-error.tf".
1261
1262 2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1263
1264 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1265 empty directory in file for breakpoint hit.
1266
1267 2013-03-29 Yao Qi <yao@codesourcery.com>
1268
1269 * gdb.base/completion.exp: Test completion of commands
1270 "target core", "target tfile" and "target exec".
1271 * gdb.trace/tfile.exp: Test completion of command
1272 "target tfile".
1273
1274 2013-03-28 Joel Brobecker <brobecker@adacore.com>
1275
1276 * gdb.ada/win_fu_syms: New testcase.
1277
1278 2013-03-28 Doug Evans <dje@google.com>
1279
1280 * gdb.base/maint.exp (maint print statistics): Update expected output.
1281
1282 2013-03-28 Pedro Alves <palves@redhat.com>
1283
1284 PR gdb/15294
1285
1286 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1287 mean unlimited instead of $arg < 0.
1288 (test_listsize): Remove "listsize of 0 suppresses output" test.
1289 Test that "set listsize 0" ends up with an unlimited listsize.
1290
1291 2013-03-28 Pedro Alves <palves@redhat.com>
1292
1293 * gdb.base/list.exp (last_line): New global.
1294 (last_line_re): New global.
1295 (test_listsize, test_list_function, test_list_forward)
1296 (test_repeat_list_command, test_list_range)
1297 (test_list_filename_and_function): Use them.
1298 * gdb.base/list0.c: Comment the last line of the file with "last
1299 line".
1300
1301 2013-03-28 Pedro Alves <palves@redhat.com>
1302
1303 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1304 list the whole file.
1305
1306 2013-03-28 Pedro Alves <palves@redhat.com>
1307
1308 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1309 "set listsize".
1310
1311 2013-03-26 Keith Seitz <keiths@redhat.com>
1312
1313 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1314 from passing.
1315
1316 2013-03-26 Pedro Alves <palves@redhat.com>
1317
1318 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1319 until after GDB has run.
1320
1321 2013-03-26 Yao Qi <yao@codesourcery.com>
1322
1323 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1324 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1325
1326 2013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1327
1328 * gdb.btrace/enable.exp: Add regression test.
1329
1330 2013-03-25 Tom Tromey <tromey@redhat.com>
1331
1332 * gdb.cp/m-static.exp: Add destructor-printing tests.
1333
1334 2013-03-25 Tom Tromey <tromey@redhat.com>
1335
1336 * gdb.cp/m-static.exp: Add constructor ptype tests.
1337 * gdb.cp/m-static.cc (single_constructor): New class.
1338 (main): Make instance of single_constructor.
1339
1340 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1341 Pedro Alves <palves@redhat.com>
1342
1343 * gdb.server/server-kill.c: New file.
1344 * gdb.server/server-kill.exp: New file.
1345
1346 2013-03-21 Pedro Alves <palves@redhat.com>
1347
1348 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1349 Expect $gdb_prompt in gdb_test_multiple.
1350
1351 2013-03-21 Doug Evans <dje@google.com>
1352
1353 * gdb.base/maint.exp: Update tests for per-command stats.
1354
1355 2013-03-21 Tom Tromey <tromey@redhat.com>
1356
1357 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1358 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1359
1360 2013-03-20 Pedro Alves <palves@redhat.com>
1361
1362 PR gdb/15289
1363
1364 * gdb.base/remote.exp: Test
1365 "set remote hardware-watchpoint-limit -1",
1366 "set remote hardware-breakpoint-limit -1",
1367 "set remote hardware-watchpoint-limit 2147483647" and
1368 "set remote hardware-breakpoint-limit 2147483647".
1369
1370 2013-03-20 Pedro Alves <palves@redhat.com>
1371 Yao Qi <yao@codesourcery.com>
1372
1373 * gdb.trace/tfile.c: Add comments.
1374 (nonconstglob): New global.
1375 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
1376 global that is not covered by the trace frame. Test
1377 disassembling.
1378
1379 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1380
1381 * gdb.base/valgrind-infcall.exp
1382 (continue #$continue_count) <remote connection closed>
1383 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1384 $valgrind_pid.
1385
1386 2013-03-15 Tom Tromey <tromey@redhat.com>
1387
1388 * gdb.cp/overload.cc (intintfunc): New.
1389 * gdb.cp/overload.exp: Add regression test.
1390
1391 2013-03-15 Yao Qi <yao@codesourcery.com>
1392
1393 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1394 using with_test_prefix.
1395 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1396 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1397 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1398 * gdb.threads/watchpoint-fork.exp (test): Likewise.
1399 * gdb.base/break-interp.exp (test_core): Likewise.
1400 (test_attach_gdb): Likewise.
1401 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1402 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1403 Likewise.
1404 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1405 * gdb.base/jit.exp (one_jit_test): Likewise.
1406 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1407 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1408 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1409 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1410 Likewise.
1411 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1412 Likewise.
1413 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1414 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1415 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1416 (tracepoint_change_loc_2): Likewise.
1417 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1418 Likewise.
1419 (disconnected_tfind): Likewise.
1420 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1421 Likewise.
1422 (test_tfind_remote): Likewise.
1423 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1424 Likewise.
1425 (test_pending_resolved): Likewise.
1426 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1427 Likewise.
1428 (test_upload_tsv): Likewise.
1429 * gdb.trace/pending.exp (pending_tracepoint_resolved):
1430 Likewise.
1431 (pending_tracepoint_works): Likewise.
1432 * gdb.trace/report.exp (use_collected_data): Likewise.
1433 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1434 Likewise.
1435 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1436 * gdb.trace/strace.exp (strace_info_marker): Likewise.
1437 (strace_trace_on_same_addr): Likewise.
1438 (strace_trace_on_diff_addr): Likewise.
1439 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1440 (gdb_collect_locals_test): Likewise.
1441 (gdb_unavailable_registers_test): Likewise.
1442 (gdb_collect_globals_test): Likewise.
1443
1444 2013-03-15 Yao Qi <yao@codesourcery.com>
1445
1446 * gdb.base/condbreak.exp: Add semicolon back which was removed
1447 by my previous commit.
1448
1449 2013-03-14 Yao Qi <yao@codesourcery.com>
1450
1451 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1452 'return'.
1453 (gdb_target_monitor, gdb_load): Likewise.
1454 * config/sid.exp (gdb_load): Likewise.
1455 * config/slite.exp (gdb_load): Likewise.
1456 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1457 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1458 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1459 (single_step_until): Likewise.
1460 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1461 * gdb.arch/system-gcore.exp: Likewise.
1462 * gdb.base/bigcore.exp (extract_heap): Likewise.
1463 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1464 * gdb.base/call-ar-st.exp: Likewise.
1465 * gdb.base/call-rt-st.exp: Likewise.
1466 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1467 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1468 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1469 * gdb.base/corefile.exp: Likewise.
1470 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1471 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1472 * gdb.base/fixsection.exp: Likewise.
1473 * gdb.base/funcargs.exp: Likewise.
1474 * gdb.base/gcore-buffer-overflow.exp: Likewise.
1475 * gdb.base/gcore-relro.exp: Likewise.
1476 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1477 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1478 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1479 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1480 * gdb.base/list.exp: Likewise.
1481 (set_listsize): Likewise.
1482 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1483 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1484 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1485 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1486 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1487 * gdb.base/setvar.exp: Likewise.
1488 (test_set): Likewise.
1489 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1490 * gdb.base/solib-overlap.exp: Likewise.
1491 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1492 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1493 * gdb.base/watchpoint.exp (initialize): Likewise.
1494 (test_simple_watchpoint): Likewise.
1495 (test_disabling_watchpoints): Likewise.
1496 (test_watchpoint_triggered_in_syscall): Likewise.
1497 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1498 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1499 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1500 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1501 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1502 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1503 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1504 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1505 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1506 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1507 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1508 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1509 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1510 * gdb.mi/gdb792.exp: Likewise.
1511 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1512 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1513 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1514 * gdb.threads/gcore-thread.exp: Likewise.
1515 (load_core): Likewise.
1516 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1517 (test_startup, check_control_c): Likewise.
1518 * gdb.threads/sigstep-threads.exp: Likewise.
1519 * gdb.threads/thread_check.exp: Likewise.
1520 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1521 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1522 (set_a_tracepoint, trace_buffer_normal): Likewise.
1523 (gdb_trace_circular_tests): Likewise.
1524 * gdb.trace/collection.exp: Likewise.
1525 * gdb.trace/disconnected-tracing.exp: Likewise.
1526 * gdb.trace/infotrace.exp: Likewise.
1527 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1528 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1529 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1530 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1531 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1532 * gdb.trace/stap-trace.exp: Likewise.
1533 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1534 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
1535 * gdb.trace/trace-buffer-size.exp: Likewise.
1536 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
1537 * gdb.trace/unavailable.exp: Likewise.
1538 * gdb.trace/while-dyn.exp: Likewise.
1539 * lib/fortran.exp (set_lang_fortran): Likewise.
1540 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
1541 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
1542 (default_gdb_start, get_compiler_info): Likewise.
1543 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
1544 (get_debug_format, setup_xfail_format): Likewise.
1545 (rerun_to_main, gdb_skip_float_test): Likewise.
1546 (build_id_debug_filename_get, get_remotetimeout): Likewise.
1547 * lib/java.exp (set_lang_java): Likewise.
1548 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
1549 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
1550 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
1551 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
1552 * lib/objc.exp (set_lang_objc): Likewise.
1553 * lib/pascal.exp (set_lang_pascal): Likewise.
1554 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1555 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
1556 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
1557
1558 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
1559
1560 PR c++/15203
1561 PR c++/15210
1562 * gdb.cp/m-static.cc (keepalive_int): New function.
1563 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
1564 * gdb.cp/m-static.exp: New test for `sintvar'.
1565
1566 2013-03-14 Yao Qi <yao@codesourcery.com>
1567
1568 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
1569 of 'tstatus' into tstatus_output.
1570 (top level): Save the trace data to tfile. Read trace file in
1571 tfile target. Check the trace status.
1572
1573 2013-03-13 Yao Qi <yao@codesourcery.com>
1574
1575 * gdb.trace/tsv.exp (check_tsv): New.
1576 (top level): Save a tfile on current trace session. Call
1577 check_tsv on live target. Load the tfile with target tfile
1578 and call check_tsv again.
1579
1580 2013-03-13 Yao Qi <yao@codesourcery.com>
1581
1582 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
1583 Replace some "gdb_test" with "gdb_test_no_output".
1584
1585 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
1586
1587 * gdb.ada/expr_delims.exp: New file.
1588 * gdb.ada/expr_delims/foo.adb: New file.
1589 * gdb.ada/expr_delims/pck.ads: New file.
1590 * gdb.ada/expr_delims/pck.adb: New file.
1591
1592 2013-03-11 Keith Seitz <keiths@redhat.com>
1593
1594 * watchpoint.exp (test_no_hw_watchpoints): Add test using
1595 both condition and thread. Then delete the watchpoint.
1596
1597 2013-03-11 Christian Himpel <christian.himpel@intel.com>
1598
1599 * Makefile.in: Add btrace testsuite.
1600 * configure: Regenerated.
1601 * configure.ac: Add btrace testsuite.
1602 * gdb.btrace/Makefile.in: New file.
1603 * gdb.btrace/enable.c: New file.
1604 * gdb.btrace/enable.exp: New file.
1605 * gdb.btrace/function_call_history.c: New file.
1606 * gdb.btrace/function_call_history.exp: New file.
1607 * gdb.btrace/instruction_history.c: New file.
1608 * gdb.btrace/instruction_history.exp: New file.
1609 * gdb.btrace/instruction_history.S: New file.
1610 * lib/gdb.exp: Add btrace skip proc.
1611
1612 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1613
1614 Fix entry-values if the callee called a noreturn function.
1615 * gdb.arch/amd64-tailcall-noret.S: New file.
1616 * gdb.arch/amd64-tailcall-noret.c: New file.
1617 * gdb.arch/amd64-tailcall-noret.exp: New file.
1618
1619 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1620
1621 Fix entry-values in C++ across CUs.
1622 * gdb.arch/amd64-tailcall-cxx.exp: New file.
1623 * gdb.arch/amd64-tailcall-cxx1.S: New file.
1624 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
1625 * gdb.arch/amd64-tailcall-cxx2.S: New file.
1626 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
1627
1628 2013-03-08 Stan Shebs <stan@codesourcery.com>
1629 Hafiz Abid Qadeer <abidh@codesourcery.com>
1630
1631 gdb/testsuite/
1632 * gdb.trace/trace-buffer-size.exp: New file.
1633 * gdb.trace/trace-buffer-size.c: New file.
1634
1635 2013-03-06 Pedro Alves <palves@redhat.com>
1636
1637 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
1638 doesn't support the tested optional feature, call "unsupported"
1639 with the same test message as the "pass" case, instead of calling
1640 "pass" with a different message. Use the same text for the "fail"
1641 cases too.
1642
1643 2013-03-06 Yao Qi <yao@codesourcery.com>
1644
1645 * gdb.trace/tstatus.exp: Remove the invocation of
1646 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
1647 (test_tracepoints): Don't set fast tracepoint.
1648 (top level): Don't check agent library is loaded or not.
1649
1650 2013-03-06 Yao Qi <yao@codesourcery.com>
1651
1652 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
1653 parentheses by "\\".
1654
1655 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1656
1657 * gdb.linespec/base/one/thefile.cc (twodup): New.
1658 (m): Call it.
1659 * gdb.linespec/base/two/thefile.cc (dupname): New.
1660 (n): Call it.
1661 * gdb.linespec/break-ask.exp: New file.
1662 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
1663
1664 2013-02-28 Yao Qi <yao@codesourcery.com>
1665
1666 * gdb.trace/report.exp: Move some code to ...
1667 (use_collected_data): New.
1668 (top level): Call use_collected_data once on the live target.
1669 Save at file of the current trace session, load it with target
1670 tfile, and call use_collected_data again.
1671
1672 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1673
1674 * gdb.threads/fork-thread-pending.c (main): Add alarm.
1675
1676 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1677
1678 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
1679 Add final kill of ${valgrind_pid}.
1680
1681 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
1682
1683 * gdb.python/py-arch.c: New test case
1684 * gdb.python/py-arch.exp: New tests to test
1685 gdb.Architecture.disassemble
1686 * gdb.python/Makefile.in: Add py-arch to the list of
1687 EXECUTABLES.
1688
1689 2013-02-18 Tom Tromey <tromey@redhat.com>
1690
1691 * gdb.dwarf2/subrange.exp: New file.
1692
1693 2013-02-15 Pedro Alves <pedro@codesourcery.com>
1694 Hafiz Abid Qadeer <abidh@codesourcery.com>
1695
1696 * gdb.trace/tfile.exp: Add test for -trace-status command.
1697
1698 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1699
1700 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
1701 nanosleep by sleep.
1702
1703 2013-02-14 Pedro Alves <palves@redhat.com>
1704
1705 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
1706
1707 2013-02-14 Pedro Alves <pedro@codesourcery.com>
1708 Hafiz Abid Qadeer <abidh@codesourcery.com>
1709
1710 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
1711
1712 2013-02-12 Tom Tromey <tromey@redhat.com>
1713
1714 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
1715 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
1716
1717 2013-02-12 Pedro Alves <palves@redhat.com>
1718
1719 * gdb.base/catch-signal.c: Update copyright years.
1720 * gdb.base/catch-signal.exp: Update copyright years.
1721 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
1722 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
1723 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
1724 * gdb.dwarf2/dw2-error.S: Update copyright years.
1725 * gdb.dwarf2/dw2-error.c: Update copyright years.
1726 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
1727 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
1728 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
1729
1730 2013-02-12 Pedro Alves <palves@redhat.com>
1731
1732 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
1733 message.
1734 * gdb.base/sigaltstack.exp: Ditto.
1735 * gdb.base/siginfo.exp: Ditto.
1736 * gdb.base/sizeof.exp: Ditto.
1737
1738 2013-02-12 Pedro Alves <palves@redhat.com>
1739
1740 * gdb.mi/mi-basics.exp: Tweak intro comment.
1741 * gdb.mi/mi-break.exp: Tweak intro comment.
1742 * gdb.mi/mi-console.exp: Tweak intro comment.
1743 * gdb.mi/mi-file.exp: Tweak intro comment.
1744 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
1745 * gdb.mi/mi-return.exp: Tweak intro comment.
1746 * gdb.mi/mi-stepi.exp: Tweak intro comment.
1747 * gdb.mi/mi-until.exp: Tweak intro comment.
1748 * gdb.mi/mi-watch.exp: Tweak intro comment.
1749
1750 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1751
1752 * gdb.server/no-thread-db.exp: New file.
1753 * gdb.server/no-thread-db.c: New file.
1754 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
1755
1756 2013-02-11 Doug Evans <dje@google.com>
1757
1758 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
1759 two decfloats.
1760
1761 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1762
1763 * gdb.base/bitfields.c (struct internalvartest): New declaration.
1764 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1765
1766 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1767
1768 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1769
1770 2013-02-06 Yao Qi <yao@codesourcery.com>
1771
1772 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1773 to ...
1774 (test_create_delete_modify_tsv): ... here. New test on modifying
1775 the initial value of a tsv.
1776
1777 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1778
1779 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1780 (cd .../rdir): ... here.
1781
1782 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1783
1784 * gdb.linespec/base/one/header.h: New file.
1785 * gdb.linespec/base/two/header.h: New file.
1786 * gdb.linespec/macro-relative.c: New file.
1787 * gdb.linespec/macro-relative.exp: New file.
1788
1789 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1790
1791 * gdb.base/fullpath-expand-func.c: New file.
1792 * gdb.base/fullpath-expand.c: New file.
1793 * gdb.base/fullpath-expand.exp: New file.
1794 * gdb.base/realname-expand-real.c: New file.
1795 * gdb.base/realname-expand.c: New file.
1796 * gdb.base/realname-expand.exp: New file.
1797
1798 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1799
1800 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1801 * gdb.dwarf2/dw2-dir-file-name.c: New file.
1802
1803 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1804
1805 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1806 (compare_filenames_for_search does not match)
1807 (compare_filenames_for_search does match): New tests.
1808
1809 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1810
1811 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1812
1813 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1814
1815 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1816
1817 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1818
1819 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1820 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1821 ${binfile}.mini_debuginfo-debuglink and
1822 ${binfile}.mini_debuginfo-debuglink.xz.
1823
1824 2013-02-01 Tom Tromey <tromey@redhat.com>
1825
1826 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1827 attributes.
1828
1829 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1830 Tom Tromey <tromey@redhat.com>
1831
1832 * gdb.dwarf2/method-ptr.exp: Link with c++.
1833 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1834
1835 2013-01-31 Tom Tromey <tromey@redhat.com>
1836
1837 * gdb.base/jit.exp (compile_jit_test): New proc.
1838 Add PIE tests.
1839
1840 2013-01-31 Tom Tromey <tromey@redhat.com>
1841
1842 * gdb.dwarf2/method-ptr.cc: New file.
1843 * gdb.dwarf2/method-ptr.exp: New file.
1844
1845 2013-01-31 Tom Tromey <tromey@redhat.com>
1846
1847 * lib/dwarf.exp (namespace Dwarf): New.
1848
1849 2013-01-29 Tom Tromey <tromey@redhat.com>
1850
1851 * gdb.dwarf2/fission-reread.exp: Add unload test.
1852
1853 2013-01-28 Doug Evans <dje@google.com>
1854
1855 * gdb.dwarf2/fission-loclists.exp: New file.
1856 * gdb.dwarf2/fission-loclists.S: New file.
1857
1858 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1859
1860 Code cleanup.
1861 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1862 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1863 and prepare_for_testing.
1864 * gdb.base/store.exp: Likewise.
1865
1866 2013-01-25 Tom Tromey <tromey@redhat.com>
1867
1868 * gdb.python/py-explore.exp: Expect the gdb prompt.
1869
1870 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
1871
1872 * gdb.base/gnu_vector.c: New variable for use in tests.
1873 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1874 changes in scalar to vector casting and widening.
1875 * gdb.python/py-type.c: New variables for use in tests.
1876 * gdb.python/py-type.exp: Update vector related tests to reflect
1877 changes in scalar to vector casting and widening.
1878
1879 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1880
1881 * gdb.base/prologue-include.c: New file.
1882 * gdb.base/prologue-include.exp: New file.
1883 * gdb.base/prologue-include.h: New file.
1884
1885 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
1886
1887 PR gdb/13443
1888 * gdb.mi/mi-var-block.exp: Make test messages unique.
1889
1890 2013-01-23 Tom Tromey <tromey@redhat.com>
1891
1892 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1893
1894 2013-01-23 Tom Tromey <tromey@redhat.com>
1895
1896 * gdb.cp/converts.cc (main): Initialize 'a'.
1897
1898 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1899
1900 * testsuite/gdb.python/frame.exp: Add a test for
1901 gdb.Frame.architecture() method.
1902
1903 2013-01-22 Pedro Alves <palves@redhat.com>
1904
1905 * gdb.base/annota1.exp (signal sent): No longer expect
1906 breakpoints-invalid.
1907 * gdb.cp/annota2.exp (continue until exit)
1908 (watch triggered on a.x): Ditto.
1909
1910 2013-01-22 Pedro Alves <palves@redhat.com>
1911
1912 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1913 Adjust tests to breakpoints-invalid changes.
1914 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1915 variables.
1916 Adjust tests to breakpoints-invalid changes.
1917
1918 2013-01-22 Pedro Alves <palves@redhat.com>
1919
1920 * gdb.base/annota1.exp (annotate ignore count change): Add
1921 expected output for failure case.
1922
1923 2013-01-22 Tom Tromey <tromey@redhat.com>
1924
1925 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
1926 call.
1927
1928 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
1929
1930 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
1931 * gdb.mi/mi-catch-load.exp: Ditto.
1932 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
1933 Also handle 'thread' field.
1934 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
1935 * gdb.mi/mi-watch.exp: Ditto.
1936 * lib/mi-support.exp: Ditto.
1937
1938 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
1939
1940 * gdb.python/py-explore.exp: Improve a test
1941
1942 2013-01-18  David Blaikie  <dblaikie@gmail.com>
1943
1944 * gdb.base/label.c (main): Correct the type of the second
1945 parameter.
1946
1947 2013-01-18 Tom Tromey <tromey@redhat.com>
1948
1949 * gdb.dwarf2/trace-crash.s: New file.
1950 * gdb.dwarf2/trace-crash.exp: New file.
1951
1952 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
1953
1954 PR gdb/13443
1955 * gdb.base/checkpoint.exp: Update test messages to make them
1956 unique.
1957
1958 2013-01-18 Yao Qi <yao@codesourcery.com>
1959
1960 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
1961 output of 'info tracepoints'.
1962 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1963 Likewise.
1964 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1965 * gdb.trace/disconnected-tracing.c (struct foo): New.
1966
1967 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1968
1969 * gdb.dwarf2/dw2-dos-drive.S: New file.
1970 * gdb.dwarf2/dw2-dos-drive.exp: New file.
1971
1972 2013-01-17 Doug Evans <dje@google.com>
1973
1974 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
1975 CXX_FOR_TARGET.
1976
1977 * boards/cc-with-tweaks.exp: New file.
1978
1979 2013-01-17 Tom Tromey <tromey@redhat.com>
1980
1981 * gdb.base/completion.exp: Add "set cp-abi" completion test.
1982
1983 2013-01-17 Pedro Alves <palves@redhat.com>
1984
1985 Merge dg-extract-results.sh from upstream (svn 195224).
1986
1987 2013-01-15 David Blaikie <dblaikie@gmail.com>
1988 * dg-extract-results.sh: Fix order of summary counts.
1989
1990 2013-01-15 David Blaikie <dblaikie@gmail.com>
1991 * dg-extract-results.sh: Constrain the start-of-log pattern.
1992
1993 2013-01-15 David Blaikie <dblaikie@gmail.com>
1994 * dg-extract-results.sh: Handle KPASSes.
1995
1996 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1997 * dg-extract-results.sh: Redirect grep output to /dev/null instead
1998 of grep -q.
1999
2000 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2001
2002 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2003 interface.
2004 * gdb.base/jithost.c: New file.
2005 * gdb.base/jithost.h: New file.
2006 * gdb.base/jitreader.c : New file.
2007 * gdb.base/jit-protocol.h: New file.
2008
2009 2013-01-16 Tom Tromey <tromey@redhat.com>
2010
2011 * gdb.base/catch-signal.c: New file.
2012 * gdb.base/catch-signal.exp: New file.
2013
2014 2013-01-16 Tom Tromey <tromey@redhat.com>
2015
2016 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2017
2018 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2019
2020 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2021
2022 2013-01-14 Tom Tromey <tromey@redhat.com>
2023
2024 * gdb.base/completion.exp: Add "set gnutarget" test.
2025
2026 2013-01-14 Tom Tromey <tromey@redhat.com>
2027
2028 * gdb.dwarf2/dw2-restrict.S: New file.
2029 * gdb.dwarf2/dw2-restrict.c: New file.
2030 * gdb.dwarf2/dw2-restrict.exp: New file.
2031
2032 2013-01-14 Tom Tromey <tromey@redhat.com>
2033
2034 * gdb.dwarf2/dw2-error.exp: New file.
2035 * gdb.dwarf2/dw2-error.c: New file.
2036 * gdb.dwarf2/dw2-error.S: New file.
2037
2038 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2039
2040 * gdb.cp/parse-lang.cc: New file.
2041 * gdb.cp/parse-lang.exp: New file.
2042
2043 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2044
2045 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2046 (set substitute-path): New test.
2047 (fullname present): Remove content.
2048 (substituted fullname): New test.
2049
2050 2013-01-13 Joel Brobecker <brobecker@adacore.com>
2051
2052 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2053 check. Move $gdb_py_is_py24 value check right after.
2054
2055 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2056
2057 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2058 targets.
2059
2060 2013-01-11 Yao Qi <yao@codesourcery.com>
2061
2062 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2063 for dprintf.
2064 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2065 Check the fields in "=breakpoint-created" for dprintf.
2066
2067 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2068
2069 * gdb.mi/mi-fullname-deleted.exp: New file.
2070
2071 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2072
2073 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2074 expected output.
2075 (info skip with pending file): Remove.
2076 (ignoring function in solib, info skip for function multiply): Update
2077 the expected output.
2078 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2079 (info skip (delete 1), info skip after disabling all)
2080 (info skip after enabling all, info skip after disabling 4 2-3)
2081 (info skip after enabling 2-3, info skip 2-3)
2082 (info skip after deleting 2 3): Update the expected output.
2083 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2084 statement to its initialization and return.
2085 * gdb.linespec/skip-two.exp: New file.
2086
2087 2012-12-19 Doug Evans <dje@google.com>
2088
2089 * gdb.base/maint.exp: Handle testing with .gdb_index.
2090
2091 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2092
2093 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2094 Cavium to FSF.
2095
2096 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2097
2098 * dg-extract-results.sh: Update contact info in copyright notice.
2099 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2100 GPL v3 or later. Update contact info.
2101 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2102 gdb.threads/watchpoint-fork-mt.c,
2103 gdb.threads/watchpoint-fork-parent.c,
2104 gdb.threads/watchpoint-fork-st.c,
2105 gdb.threads/watchpoint-fork.h: Likewise.
2106
2107 2012-12-15 Yao Qi <yao@codesourcery.com>
2108
2109 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2110 'installed' field in '=breakpoint-modified'.
2111 (test_reconnect): Check 'installed' field in
2112 '=breakpoint-modified' and '=breakpoint-created'.
2113
2114 * gdb.trace/actions.exp: Update test for 'installed' field.
2115 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2116 (tracepoint_change_loc_2): Likewise.
2117 Check 'info tracepoint' display nothing else.
2118 * gdb.trace/deltrace.exp: Likewise.
2119 * gdb.trace/infotrace.exp: Likewise.
2120 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2121 Likewise.
2122 * gdb.trace/passcount.exp: Likewise.
2123 * gdb.trace/tracecmd.exp: Likewise.
2124 * gdb.trace/while-stepping.exp: Likewise.
2125
2126 2012-12-14 Tom Tromey <tromey@redhat.com>
2127
2128 * gdb.cp/member-name.exp: New file.
2129 * gdb.cp/member-name.cc: New file.
2130
2131 2012-12-14 Tom Tromey <tromey@redhat.com>
2132
2133 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2134
2135 2012-12-14 Doug Evans <dje@google.com>
2136
2137 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2138 DW_OP_GNU_implicit_pointer is section-relative.
2139
2140 2012-12-14 Tom Tromey <tromey@redhat.com>
2141
2142 * gdb.base/info-proc.exp: Add core file tests.
2143
2144 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2145
2146 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
2147
2148 2012-12-13 Doug Evans <dje@google.com>
2149
2150 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2151 * gdb.multi/multi-arch.exp: Ditto.
2152
2153 2012-12-12 Keven Boell <keven.boell@intel.com>
2154
2155 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2156 catch load test library source file.
2157 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2158 load test source file.
2159 * gdb.mi/mi-catch-load.exp: New. Test file for
2160 basic MI -catch-load and -catch-unload tests.
2161
2162 2012-12-11 Paul Koning <paul_koning@dell.com>
2163
2164 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2165 exception.
2166 (_iterator_except): New function.
2167 (ArrayPrinter): Use _iterator function instead of local _iterator
2168 class for Python 3 compatibility.
2169 (NoStringContainerPrinter): Use _iterator_except instead of
2170 _iterator.
2171 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2172 execfile for Python 3 compatibility.
2173 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2174 format in error_prompt test.
2175
2176 2012-12-10 Paul Koning <paul_koning@dell.com>
2177
2178 * gdb.base/charset.exp: Change print syntax for Python 3
2179 compatibility.
2180 * gdb.python/py-block.exp: Ditto.
2181 * gdb.python/py-breakpoint.exp: Ditto.
2182 * gdb.python/py-cmd.exp: Ditto.
2183 * gdb.python/py-events.py: Ditto.
2184 * gdb.python/py-finish-breakpoint.py: Ditto.
2185 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2186 * gdb.python/py-finish-breakpoint2.py: Ditto.
2187 * gdb.python/py-frame-inline.exp: Ditto.
2188 * gdb.python/py-frame.exp: Ditto.
2189 * gdb.python/py-infthread.exp: Ditto.
2190 * gdb.python/py-objfile.exp: Ditto.
2191 * gdb.python/py-parameter.exp: Ditto.
2192 * gdb.python/py-progspace.exp: Ditto.
2193 * gdb.python/py-prompt.exp: Ditto.
2194 * gdb.python/py-symbol.exp: Ditto.
2195 * gdb.python/py-symtab.exp: Ditto.
2196 * gdb.python/py-template.exp: Ditto.
2197 * gdb.python/py-value-cc.exp: Ditto.
2198 * gdb.python/python.exp: Ditto.
2199 * gdb.python/source2.py: Ditto.
2200 * gdb.python/lib-types.exp: Change print syntax for Python 3
2201 compatibility.
2202 Use sorted() function rather than sort() method.
2203 Accept either int or long values for enum values.
2204 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2205 execfile for Python 3 compatibility.
2206 * gdb.python/py-evsignal.exp: Ditto.
2207 * gdb.python/py-evthreads.exp: Ditto.
2208 * gdb.python/py-mi.exp: Ditto.
2209 * gdb.python/py-pp-maint.exp: Ditto.
2210 * gdb.python/py-prettyprint.exp: Ditto.
2211 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
2212 Python 3 compatibility.
2213 Skip tests for Python 2.4.
2214 * gdb.python/py-inferior.exp: Change print syntax for
2215 Python 3 compatibility.
2216 Use byte string rather than character string in memory write test
2217 if Python 3.
2218 * gdb.python/py-pp-maint.py: Change class declarations to "new
2219 class" syntax.
2220 * gdb.python/py-prettyprint.py: Change iterator class to generator
2221 function for Python 3 compatibility.
2222 Make all classes "new style".
2223 Fix indentation issue and stray semicolon.
2224 * gdb.python/py-shared.expChange print syntax for Python 3
2225 compatibility.
2226 Define "long" if Python 3.
2227 * gdb.python/py-type.exp: Change print syntax for Python 3
2228 compatibility.
2229 Accept either int or long values for enum values.
2230 * gdb.python/py-value.exp: Change print syntax for Python 3
2231 compatibility.
2232 Skip "long" and "unicode" tests if Python 3.
2233 Accept either "type" or "class" in type checks.
2234 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2235 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2236
2237 2012-12-10 Tom Tromey <tromey@redhat.com>
2238
2239 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2240 (test): Add "two_cu" argument.
2241 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2242 for types; allow two CUs.
2243
2244 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2245
2246 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2247 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2248
2249 2012-12-08 Yao Qi <yao@codesourcery.com>
2250 Pedro Alves <palves@redhat.com>
2251
2252 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2253 '=breakpoint-created' when GDB merges the tracepoints of both
2254 sides.
2255
2256 2012-12-07 Tom Tromey <tromey@redhat.com>
2257
2258 * gdb.base/break1.c (enum some_enum, union some_union): New.
2259 (some_enum_global, some_union_global, some_value): New globals.
2260 * gdb.base/completion.exp: Add tag completion tests.
2261
2262 2012-12-07 Tom Tromey <tromey@redhat.com>
2263
2264 * gdb.base/completion.exp: Add tests for ptype and whatis
2265 completion.
2266
2267 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2268
2269 * gdb.base/stale-infcall.exp: Fix copyright line.
2270
2271 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2272
2273 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2274
2275 2012-12-06 Pedro Alves <palves@redhat.com>
2276 Tom Tromey <tromey@redhat.com>
2277
2278 * gdb.base/exprs.exp: Add tests for cast to void.
2279
2280 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2281
2282 * gdb.python/py-mi.exp: Correct expected results for attribute
2283 "dynamic" returned by -var-update.
2284 Add test case for correct handling of "diplayhint" for children
2285 of dynamic varobjs.
2286 * gdb.python/py-prettyprint.c (set_itme): New function.
2287 (bug_14741) New function.
2288 (main) Add call to bug_14741().
2289 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2290
2291 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2292
2293 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2294 ${binfile}.funcsyms list.
2295
2296 2012-12-04 Yao Qi <yao@codesourcery.com>
2297
2298 PR gdb/13443
2299 * gdb.trace/actions.exp: Make test messages unique.
2300
2301 2012-11-29 Tom Tromey <tromey@redhat.com>
2302
2303 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2304
2305 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2306
2307 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2308 * gdb.opencl/datatypes.exp: Likewise.
2309 * gdb.opencl/operators.exp: Likewise.
2310 * gdb.opencl/vec_comps.exp: Likewise.
2311
2312 2012-11-29 Jerome Guitton <guitton@adacore.com>
2313
2314 * gdb.ada/iwide: New testcase.
2315
2316 2012-11-29 Jerome Guitton <guitton@adacore.com>
2317
2318 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2319 ptype test.
2320
2321 2012-11-29 Jerome Guitton <guitton@adacore.com>
2322
2323 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2324 form {VARIANT_TYPE}ADDRESS.
2325
2326 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2327
2328 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2329 (func): New function.
2330 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2331 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2332 pointers to members with pointer-to-function type.
2333
2334 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2335 Tom Tromey <tromey@redhat.com>
2336
2337 * gdb.base/gnu-debugdata.exp: New file.
2338 * gdb.base/gnu-debugdata.c: New file.
2339 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2340 (gdb_unload): Return 0 on success.
2341
2342 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2343
2344 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2345
2346 2012-11-26 Joel Brobecker <brobecker@adacore.com>
2347
2348 * gdb.base/empty_exe.exp: New testcase.
2349
2350 2012-11-20 Mike Frysinger <vapier@gentoo.org>
2351
2352 * gdb.base/completion.exp: Add test for help aliases completion.
2353
2354 2012-11-20 Yao Qi <yao@codesourcery.com>
2355
2356 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2357 Don't test 'maint set show-debug-regs'.
2358 Use command 'set remotecache' instead of
2359 'set circular-trace-buffer'.
2360
2361 2012-11-16 Keith Seitz <keiths@redhat.com>
2362
2363 PR c++/13615
2364 * gdb.cp/baseenum.cc: New file.
2365 * gdb.cp/baseenum.exp: New file.
2366 * gdb.cp/derivation.cc (A): Add copyright.
2367 Add a typedef.
2368 (B): Use A::value_type instead of int. Change all references.
2369 (D): Use value_type instead of int. Change all references.
2370 (E): Likewise.
2371 (F); Likewise.
2372 (Z): New class.
2373 (ZZ): New class.
2374 (N, Base, Derived): New namespace and classes.
2375 (main): Add instances of Z and ZZ.
2376 Make sure all symbols from N are kept.
2377 * gdb.cp/derivation.exp: Update typedef changes in tests.
2378 Add tests for class typedefs both before and after starting
2379 the inferior.
2380 Add tests for searching for a typedef while stopped in a
2381 method.
2382
2383 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2384
2385 * gdb.mi/mi-var-create-rtti.c: New file.
2386 * gdb.mi/mi-var-create-rtti.exp: New file.
2387
2388 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2389
2390 * gdb.base/structs3.exp: Run to main before doing any tests.
2391
2392 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
2393
2394 * gdb.python/py-type.exp: Uniquify test names.
2395
2396 2012-11-14 Yao Qi <yao@codesourcery.com>
2397
2398 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2399 (thread_function) [DEBUG]: Call 'printf'.
2400 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2401 command line if 'DEBUG=1' is passed to test.
2402 Remove a pattern to match inferior's output.
2403
2404 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
2405
2406 * gdb.mi/mi-fill-memory.exp: New test.
2407
2408 2012-11-12 Tom Tromey <tromey@redhat.com>
2409
2410 * gdb.base/completion.exp: Update for "info type-printers".
2411 * gdb.python/py-typeprint.cc: New file.
2412 * gdb.python/py-typeprint.exp: New file.
2413 * gdb.python/py-typeprint.py: New file.
2414
2415 2012-11-12 Tom Tromey <tromey@redhat.com>
2416
2417 * gdb.base/call-sc.exp: Use "ptype/r".
2418 * gdb.base/volatile.exp: Don't expect "int".
2419 * gdb.cp/ptype-flags.cc: New file.
2420 * gdb.cp/ptype-flags.exp: New file.
2421 * gdb.cp/templates.exp: Use ptype/r.
2422 (test_ptype_of_templates, test_template_typedef): Likewise.
2423 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2424 argument. Handle template names and template parameters.
2425 * gdb.mi/mi-var-cmd.exp: Accept "long".
2426 * gdb.mi/mi-var-child.exp: Accept "long".
2427 * gdb.mi/mi-var-display.exp: Accept "long".
2428 * gdb.mi/mi2-var-child.exp: Accept "long".
2429
2430 2012-11-12 Tom Tromey <tromey@redhat.com>
2431
2432 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2433 "ptype" from calls to cp_test_ptype_class.
2434 (test_enums): Likewise.
2435 * gdb.cp/derivation.exp: Remove "ptype" from calls to
2436 cp_test_ptype_class.
2437 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2438 calls to cp_test_ptype_class.
2439 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2440 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2441 from calls to cp_test_ptype_class.
2442 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2443 command here. Change "in_command" argument to "in_exp".
2444
2445 2012-11-10 Keith Seitz <keiths@redhat.com>
2446
2447 PR gdb/14288
2448 * gdb.base/printcmds.c: Add invalid_XXX globals
2449 for repeated byte tests.
2450 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2451 * gdb.base/wchar.c (main): Add and construct a wchar_t
2452 array with repeated characters.
2453 * gdb.base/wchar.exp: Add repeated character tests.
2454
2455 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
2456
2457 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2458 disassembly output.
2459
2460 2012-11-09 Pedro Alves <palves@redhat.com>
2461
2462 PR gdb/14306
2463
2464 * gdb.multi/multi-arch-exec.c: New file.
2465 * gdb.multi/multi-arch-exec.exp: New file.
2466
2467 2012-11-09 Yao Qi <yao@codesourcery.com>
2468
2469 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2470 (top level): Call it.
2471
2472 2012-11-09 Yao Qi <yao@codesourcery.com>
2473
2474 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2475 typo.
2476
2477 2012-11-09 Pedro Alves <palves@redhat.com>
2478
2479 * gdb.multi/multi-arch.exp: New.
2480
2481 2012-11-08 Tom Tromey <tromey@redhat.com>
2482
2483 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
2484 core files, if possible.
2485 * gdb.base/siginfo-thread.c: New file
2486 * gdb.base/siginfo-thread.exp: New file
2487
2488 2012-11-08 Tom Tromey <tromey@redhat.com>
2489
2490 * gdb.base/comprdebug.exp: New file.
2491
2492 2012-11-06 Pedro Alves <palves@redhat.com>
2493
2494 PR gdb/14810
2495
2496 * gdb.base/disabled-location.c: New file.
2497 * gdb.base/disabled-location.exp: New file.
2498
2499 2012-11-06 Tom Tromey <tromey@redhat.com>
2500
2501 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2502 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2503 gdb_gcore_cmd.
2504 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2505 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2506 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2507 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2508 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2509 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2510 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2511 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2512 * lib/gdb.exp (gdb_gcore_cmd): New proc.
2513
2514 2012-11-05 Pedro Alves <palves@redhat.com>
2515
2516 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2517 procedure.
2518 (do_vfork_and_follow_child_tests_exec)
2519 (do_vfork_and_follow_child_tests_exit): Call it.
2520
2521 2012-11-05 Pedro Alves <palves@redhat.com>
2522
2523 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2524 fails.
2525
2526 2012-11-03 Yao Qi <yao@codesourcery.com>
2527
2528 Fix PR gdb/14617.
2529 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2530 Remove setup_kfail, and update test.
2531
2532 2012-11-02 Tom Tromey <tromey@redhat.com>
2533
2534 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
2535 test.
2536
2537 2012-11-02 Pedro Alves <palves@redhat.com>
2538
2539 PR gdb/14766
2540
2541 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
2542 setup_kfail.
2543 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
2544 get registers".
2545
2546 2012-11-02 Pedro Alves <palves@redhat.com>
2547
2548 * gdb.base/foll-vfork-exit.c: New file.
2549 * gdb.base/foll-vfork.exp (top level): New file-describing
2550 comment.
2551 (vfork_child_follow_to_exit): New procedure.
2552 (tcatch_vfork_then_child_follow): Rename as ...
2553 (tcatch_vfork_then_child_follow_exec): ... this.
2554 (tcatch_vfork_then_child_follow_exit): New procedure.
2555 (do_vfork_and_follow_parent_tests): New procedure, factored out
2556 from do_vfork_and_exec_tests.
2557 (do_vfork_and_follow_child_tests_exec): Ditto.
2558 (do_vfork_and_exec_tests): Delete.
2559 (do_vfork_and_follow_child_tests_exit): New procedure.
2560 (top level): Run tests with both the program that has the vfork
2561 child execing, and the program has the vfork child exiting.
2562
2563 2012-11-02 Pedro Alves <palves@redhat.com>
2564
2565 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
2566 (check_vfork_catchpoints, vfork_parent_follow_through_step)
2567 (vfork_parent_follow_to_bp): Call it.
2568 (kill_child): Delete.
2569 (vfork_and_exec_child_follow_to_main_bp)
2570 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
2571 longer call kill_child.
2572 (tcatch_vfork_then_parent_follow): Call setup_gdb.
2573 (do_vfork_and_exec_tests): Don't runto_main before calling each
2574 test procedure.
2575 (top level): Don't clean restart and set verbose before running
2576 each test procedure.
2577
2578 2012-11-02 Pedro Alves <palves@redhat.com>
2579
2580 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
2581 (vfork_parent_follow_to_bp)
2582 (vfork_and_exec_child_follow_to_main_bp)
2583 (vfork_and_exec_child_follow_through_step)
2584 (tcatch_vfork_then_parent_follow)
2585 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2586 Use with_test_prefix.
2587
2588 2012-11-02 Pedro Alves <palves@redhat.com>
2589
2590 * gdb.base/foll-vfork.c: Add copyright header.
2591 * gdb.base/vforked-prog.c: Add copyright header.
2592
2593 2012-11-02 Pedro Alves <palves@redhat.com>
2594
2595 * gdb.base/foll-vfork.exp
2596 (vfork_and_exec_child_follow_through_step): Don't skip on
2597 non-HP/UX targets. Expect the next to only step one line on
2598 non-HP/UX targets, rather than stopping only after the exec.
2599
2600 2012-11-02 Pedro Alves <palves@redhat.com>
2601
2602 Don't hard code line numbers.
2603
2604 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
2605 Expect text from the sources instead of a line number.
2606 (vfork_parent_follow_to_bp)
2607 (vfork_and_exec_child_follow_to_main_bp)
2608 (vfork_and_exec_child_follow_through_step)
2609 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2610 Use gdb_get_line_number.
2611
2612 2012-11-02 Pedro Alves <palves@redhat.com>
2613
2614 Modernize.
2615
2616 * gdb.base/foll-vfork.exp: Use standard_testfile and
2617 build_executable. Pass descriptive string to untested.
2618 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
2619 (vfork_and_exec_child_follow_to_main_bp)
2620 (vfork_and_exec_child_follow_through_step)
2621 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
2622 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
2623 of send_gdb/gdb_expect.
2624
2625 (kill_child): New procedure.
2626 (vfork_and_exec_child_follow_to_main_bp)
2627 (vfork_and_exec_child_follow_through_step): Use it.
2628
2629 2012-11-02 Yao Qi <yao@codesourcery.com>
2630
2631 * gdb.base/setvar.exp: Test setting nested struct.
2632 * gdb.base/setvar.c (v_struct3): New.
2633
2634 2012-11-01 Doug Evans <dje@google.com>
2635
2636 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
2637 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
2638 use them.
2639
2640 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
2641
2642 PR cli/14772
2643 * gdb.base/gnu_vector.c (union_with_vector_1)
2644 (struct_with_vector_1): Add new struct and union for testing
2645 ptype.
2646 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
2647 structs / unions containing vectors.
2648
2649 2012-10-25 Yao Qi <yao@codesourcery.com>
2650
2651 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
2652 'setup_kfail' instead of 'setup_kfail_for_target'.
2653 * gdb.base/varargs.exp: Likewise.
2654 * lib/gdb.exp (setup_kfail_for_target): Remove.
2655
2656 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
2657
2658 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
2659
2660 2012-10-25 Mark Kettenis <kettenis@gnu.org>
2661
2662 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
2663
2664 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2665
2666 * gdb.ada/set_wstr: New testcase.
2667
2668 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2669
2670 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
2671
2672 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2673
2674 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
2675
2676 2012-10-24 Mark Kettenis <kettenis@gnu.org>
2677
2678 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
2679
2680 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2681
2682 * gdb.base/callfuncs.exp (do_function_calls): Fix
2683 setup_kfail_for_target for -m32 mode.
2684
2685 2012-10-23 Mark Kettenis <kettenis@gnu.org>
2686
2687 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
2688 are now fixed.
2689
2690 2012-10-23 Yao Qi <yao@codesourcery.com>
2691
2692 * gdb.base/info-os.exp: Resume the inferior until it exits.
2693
2694 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
2695
2696 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
2697 * gdb.base/print-file-var.exp: Likewise.
2698 * gdb.base/type-opaque.exp: Likewise.
2699
2700 2012-10-17 Yao Qi <yao@codesourcery.com>
2701
2702 * gdb.mi/mi-memory-changed.exp: New.
2703
2704 2012-10-16 Yao Qi <yao@codesourcery.com>
2705
2706 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
2707 returns true.
2708 Call gdb_load_shlibs.
2709 * gdb.reverse/solib-reverse.exp: Likewise.
2710
2711 2012-10-15 Keith Seitz <keiths@redhat.com>
2712
2713 * lib/cp-support.exp (cp_test_ptype_class): Add support
2714 for class typedefs.
2715
2716 * gdb.cp/derivation.exp: Add tests for g_instance.
2717
2718 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2719
2720 Fix entry values resolving in inlined frames.
2721 * gdb.arch/amd64-entry-value-inline.S: New file.
2722 * gdb.arch/amd64-entry-value-inline.c: New file.
2723 * gdb.arch/amd64-entry-value-inline.exp: New file.
2724
2725 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2726 Doug Evans <dje@google.com>
2727
2728 Fix recent gdb_breakpoint regression.
2729 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
2730 braces from the parameter.
2731 * gdb.java/jprint.exp: Likewise.
2732
2733 2012-10-15 Doug Evans <dje@google.com>
2734
2735 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
2736
2737 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
2738
2739 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2740
2741 2012-10-15 Tom Tromey <tromey@redhat.com>
2742
2743 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2744
2745 2012-10-15 Tom Tromey <tromey@redhat.com>
2746
2747 * gdb.python/py-symbol.exp: Test symbol destructor.
2748
2749 2012-10-14 Yao Qi <yao@codesourcery.com>
2750
2751 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
2752 * gdb.mi/mi-cli.exp: New.
2753
2754 * gdb.mi/mi2-basics.exp: Remove.
2755 * gdb.mi/mi2-break.exp: Remove.
2756 * gdb.mi/mi2-console.exp: Remove.
2757 * gdb.mi/mi2-disassemble.exp: Remove.
2758 * gdb.mi/mi2-eval.exp: Remove.
2759 * gdb.mi/mi2-file.exp: Remove.
2760 * gdb.mi/mi2-hack-cli.exp: Remove.
2761 * gdb.mi/mi2-pthreads.exp: Remove.
2762 * gdb.mi/mi2-read-memory.exp: Remove.
2763 * gdb.mi/mi2-regs.exp: Remove.
2764 * gdb.mi/mi2-return.exp: Remove.
2765 * gdb.mi/mi2-simplerun.exp: Remove.
2766 * gdb.mi/mi2-stack.exp: Remove.
2767 * gdb.mi/mi2-stepi.exp: Remove.
2768 * gdb.mi/mi2-syn-frame.exp: Remove.
2769 * gdb.mi/mi2-until.exp: Remove.
2770 * gdb.mi/mi2-watch.exp: Remove.
2771 * gdb.mi/mi2-var-block.exp: Remove.
2772 * gdb.mi/mi2-var-cmd.exp: Remove.
2773 * gdb.mi/mi2-var-display.exp: Remove.
2774
2775 2012-10-12 Yao Qi <yao@codesourcery.com>
2776
2777 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2778 trail '.*' on matching patterns.
2779
2780 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2781
2782 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2783 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2784 * gdb.arch/i386-disp-step.exp: Likewise.
2785 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2786 * gdb.arch/i386-prologue.exp: Likewise.
2787 * gdb.arch/i386-size-overlap.exp: Likewise.
2788 * gdb.arch/i386-size.exp: Likewise.
2789 * gdb.arch/i386-unwind.exp: Likewise.
2790
2791 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2792
2793 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2794 * gdb.arch/i386-word.exp: Likewise.
2795
2796 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2797
2798 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2799 is_ilp32_target to set nr_regs.
2800 * gdb.arch/i386-sse.exp: Likewise.
2801
2802 2012-10-11 Doug Evans <dje@google.com>
2803
2804 PR breakpoints/14643.
2805 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2806 * gdb.linespec/thread.c: New file.
2807 * gdb.linespec/thread.exp: New file.
2808
2809 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2810 Recognize "message" -> print pass and fail. Add eof case.
2811 (runto): Recognize message, no-message. Print pass/fail if requested,
2812 with same treatment as gdb_breakpoint.
2813 (runto_main): Pass no-message to runto.
2814 (gdb_internal_error_resync): Add log message.
2815 (gdb_file_cmd): Tweak internal error fail text for consistency.
2816
2817 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2818
2819 Fix crash during stepping on ppc32.
2820 * gdb.base/step-symless.c: New file.
2821 * gdb.base/step-symless.exp: New file.
2822
2823 2012-10-03 Doug Evans <dje@google.com>
2824
2825 PR symtab/14601
2826 * gdb.cp/using-crash.exp: New file.
2827 * gdb.cp/using-crash.cc: New file.
2828
2829 2012-10-02 Doug Evans <dje@google.com>
2830
2831 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2832 more consistent.
2833 (runto,gdb_debug_format): Ditto.
2834 (gdb_file_cmd): Watch for eof in nested gdb_expect.
2835 Clean up logging and error messages.
2836
2837 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
2838
2839 Test find command on unmapped memory.
2840 * gdb.base/find-unmapped.c: New file.
2841 * gdb.base/find-unmapped.exp: New file.
2842
2843 2012-09-29 Yao Qi <yao@codesourcery.com>
2844
2845 * gdb.trace/mi-tracepoint-changed.exp: New.
2846 * gdb.mi/mi-breakpoint-changed.exp: New.
2847 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2848 * gdb.mi/pendshr2.c: New.
2849
2850 2012-09-28 Yao Qi <yao@codesourcery.com>
2851
2852 * gdb.mi/pr11022.exp: New.
2853 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
2854
2855 2012-09-27 Tom Tromey <tromey@redhat.com>
2856
2857 * gdb.cp/derivation.exp: Add regression test.
2858 * gdb.cp/derivation.cc (class V_base, class V_inter, class
2859 V_derived): New.
2860 (vderived): New global.
2861
2862 2012-09-26 Tom Tromey <tromey@redhat.com>
2863
2864 * gdb.dwarf2/dw2-common-block.S: New file.
2865 * gdb.dwarf2/dw2-common-block.exp: New file.
2866
2867 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2868
2869 * gdb.fortran/common-block.exp: New file.
2870 * gdb.fortran/common-block.f90: New file.
2871
2872 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
2873
2874 * gdb.base/duplicate-bp.c: New file.
2875 * gdb.base/duplicate-bp.exp: New file.
2876
2877 2012-09-26 Yao Qi <yao@codesourcery.com>
2878
2879 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
2880
2881 Revert:
2882 2012-09-21 Yao Qi <yao@codesourcery.com>
2883
2884 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2885
2886 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2887
2888 * gdb.base/longest-types.c: New test case.
2889 * gdb.base/longest-types.exp: New test case.
2890
2891 2012-09-25 Yao Qi <yao@codesourcery.com>
2892
2893 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2894
2895 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2896
2897 Fix internal error on canonicalization of clang types.
2898 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2899 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2900 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2901
2902 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2903
2904 Fix disassemble without parameters in tailcall frame.
2905 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2906
2907 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
2908
2909 * gdb.dwarf2/dw2-op-out-param.S: New file.
2910 * gdb.dwarf2/dw2-op-out-param.exp: New file.
2911
2912 2012-09-21 Yao Qi <yao@codesourcery.com>
2913
2914 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2915
2916 2012-09-21 Yao Qi <yao@codesourcery.com>
2917
2918 * gdb.mi/mi-cli.exp: Remove.
2919 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2920
2921 2012-09-21 Yao Qi <yao@codesourcery.com>
2922
2923 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
2924 "=record-started" notification.
2925
2926 2012-09-21 Yao Qi <yao@codesourcery.com>
2927
2928 * gdb.mi/mi-record-changed.exp: New.
2929 * gdb.mi/mi-reverse.exp: Adjust expected output.
2930
2931 2012-09-20 Tom Tromey <tromey@redhat.com>
2932
2933 * gdb.python/python.exp: Test atexit.register.
2934
2935 2012-09-20 Doug Evans <dje@google.com>
2936
2937 * boards/dwarf4-gdb-index.exp: New file.
2938
2939 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
2940 while running the tests.
2941
2942 2012-09-18 Joel Brobecker <brobecker@adacore.com>
2943
2944 * gdb.ada/bp_reset: New testcase.
2945
2946 2012-09-18 Yao Qi <yao@codesourcery.com>
2947
2948 * gdb.trace/mi-tsv-changed.exp: New.
2949
2950 2012-09-18 Yao Qi <yao@codesourcery.com>
2951
2952 * gdb.trace/mi-traceframe-changed.exp: New.
2953
2954 2012-09-17 Yao Qi <yao@codesourcery.com>
2955
2956 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
2957 when it is less than 0.
2958
2959 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2960
2961 PR 14119
2962 * gdb.arch/amd64-tailcall-ret.S: New file.
2963 * gdb.arch/amd64-tailcall-ret.c: New file.
2964 * gdb.arch/amd64-tailcall-ret.exp: New file.
2965 * gdb.reverse/amd64-tailcall-reverse.S: New file.
2966 * gdb.reverse/amd64-tailcall-reverse.c: New file.
2967 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
2968
2969 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2970
2971 PR 14548
2972 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
2973 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
2974 * gdb.reverse/singlejmp-reverse.S: New file.
2975 * gdb.reverse/singlejmp-reverse.c: New file.
2976 * gdb.reverse/singlejmp-reverse.exp: New file.
2977
2978 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2979
2980 Fix compatibility with old GCC (~4.1).
2981 * gdb.cp/converts.cc (my_enum_var): New variable.
2982
2983 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
2984
2985 * gdb.xml/tdesc-regs.exp: Update expected output for new
2986 vector_size syntax of vector types.
2987
2988 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
2989
2990 Refactor Python "gdb" module into a proper Python package, by
2991 introducing a new "_gdb" module for code implemented in C, and
2992 using reload/__import__ instead of exec.
2993 * gdb.python/python.exp (Test stderr location): Update module
2994 location of GDB-specific sys.stderr.
2995 (Test stdout location): Ditto for sys.stdout.
2996
2997 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2998
2999 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3000
3001 2012-09-12 Keith Seitz <keiths@redhat.com>
3002
3003 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3004 conversion statement.
3005
3006 2012-09-12 Doug Evans <dje@google.com>
3007
3008 * gdb.base/help.exp: Remove testing of individual command help text,
3009 too much of a maintenance burden. Instead, test the functionality
3010 of "help" itself.
3011
3012 2012-09-11 Doug Evans <dje@google.com>
3013
3014 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3015 breakpoint.
3016
3017 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3018 * gdb.dwarf2/fission-reread.S: Ditto.
3019 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3020 * gdb.dwarf2/fission-reread.exp: Ditto.
3021
3022 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
3023
3024 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3025
3026 2012-09-10 Joel Brobecker <brobecker@adacore.com>
3027
3028 * gdb.ada/optim_drec: New testcase.
3029
3030 2012-09-10 Doug Evans <dje@google.com>
3031
3032 * boards/fission.exp: Explicitly mark "board" as not remote.
3033
3034 2012-09-10 Keith Seitz <keiths@redhat.com>
3035
3036 PR gdb/13483
3037 * gdb.cp/converts.cc (A::A): Add ctor.
3038 (A::member_): Add member.
3039 (enum my_enum): New enumeration.
3040 (main): Add calls to foo1_7 with various
3041 permitted arguments.
3042 * gdb.cp/converts.exp: Add tests for boolean
3043 conversions permitted by the standard.
3044
3045 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3046
3047 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3048 avoid spurious results due to ~/.gdbinit.
3049 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3050 $INTERNAL_GDBFLAGS in run command.
3051 * gdb.gdb/observer.exp (setup_test): Ditto.
3052 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3053 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3054
3055 2012-09-06 Doug Evans <dje@google.com>
3056
3057 * boards/fission.exp: New file.
3058
3059 * gdb.python/py-value.exp: Use clean_restart.
3060
3061 2012-09-05 Doug Evans <dje@google.com>
3062
3063 * gdb.base/info-macros.c: Fix whitespace.
3064
3065 2012-08-28 Pedro Alves <palves@redhat.com>
3066
3067 PR gdb/14428
3068
3069 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3070
3071 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3072
3073 * gdb.base/break-caller-line.c: New file.
3074 * gdb.base/break-caller-line.exp: New file.
3075
3076 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3077
3078 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3079 * gdb.arch/i386-cfi-notcurrent.S: New file.
3080 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3081
3082 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
3083 Yao Qi <yao@codesourcery.com>
3084 Pedro Alves <palves@redhat.com>
3085
3086 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3087 New procedures.
3088 (top level): Add overlap checking tests.
3089
3090 2012-08-24 Tom Tromey <tromey@redhat.com>
3091
3092 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3093 gdb_test_multiple fails for other reasons.
3094
3095 2012-08-24 Yao Qi <yao@codesourcery.com>
3096
3097 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3098
3099 2012-08-23 Pedro Alves <palves@redhat.com>
3100
3101 * gdb.base/help.exp: Adjust to "handle" help text change.
3102
3103 2012-08-23 Yao Qi <yao@codesourcery.com>
3104
3105 * gdb.trace/disconnected-tracing.c (start, end): New.
3106 (main): Call start and end.
3107 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3108 existing tests into this proc.
3109 (disconnected_tfind): New.
3110
3111 2012-08-23 Yao Qi <yao@codesourcery.com>
3112
3113 * boards/native-gdbserver.exp (${board}_upload): New.
3114 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3115 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3116 Execute tfile on remote target.
3117 Copy trace file from target to host.
3118
3119 2012-08-22 Joseph Myers <joseph@codesourcery.com>
3120
3121 * gdb.arch/thumb-bx-pc.S: New file.
3122 * gdb.arch/thumb-bx-pc.exp: New file.
3123
3124 2012-08-22 Tom Tromey <tromey@redhat.com>
3125
3126 * gdb.base/maint.exp: Update.
3127
3128 2012-08-22 Tom Tromey <tromey@redhat.com>
3129
3130 * lib/gdb.exp (skip_unwinder_tests): New proc.
3131 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3132 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3133
3134 2012-08-21 Tom Tromey <tromey@redhat.com>
3135
3136 * gdb.hp/gdb.aCC/exception.exp: Remove.
3137
3138 012-08-19 Andrew Pinski <apinski@cavium.com>
3139
3140 * gdb.arch/mips-octeon-bbit.c: New file.
3141 * gdb.arch/mips-octeon-bbit.exp: New Test.
3142
3143 012-08-19 Keith Seitz <keiths@redhat.com>
3144
3145 PR c++/14365
3146 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3147 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3148
3149 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3150
3151 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3152 verbose -log by more specific untested call.
3153
3154 2012-08-18 Yao Qi <yao@codesourcery.com>
3155
3156 * gdb.trace/tfind.exp: Move tests on various command help before
3157 checking target supports trace.
3158 Fix the expected output of 'help tfind end'.
3159
3160 2012-08-17 Keith Seitz <keiths@redhat.com>
3161
3162 PR c++/13356
3163 * gdb.base/default.exp: Update all "check type" tests.
3164 * gdb.base/help.exp: Likewise.
3165 * gdb.base/setshow.exp: Likewise.
3166 * gdb.cp/converts.cc (foo1_type_check): New function.
3167 (foo2_type_check): New function.
3168 (foo3_type_check): New function.
3169 (main): Call new functions.
3170 * converts.exp: Add tests for integer-to-pointer conversions
3171 with/without strict type-checking.
3172
3173 2012-08-16 Mike Frysinger <vapier@gentoo.org>
3174
3175 * gdb.base/help.exp: Update expected output.
3176
3177 2012-08-16 Joel Brobecker <brobecker@adacore.com>
3178
3179 * gdb.ada/rdv_wait: New testcase.
3180
3181 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3182
3183 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3184
3185 2012-08-13 Doug Evans <dje@google.com>
3186
3187 * gdb.base/help.exp: Update expected output.
3188 * gdb.base/default.exp: Update expected output of "show convenience".
3189
3190 2012-08-10 Doug Evans <dje@google.com>
3191
3192 * gdb.python/py-strfns.c: New file.
3193 * gdb.python/py-strfns.exp: New file.
3194 * gdb.python/py-type.exp (test_fields): Add vector tests.
3195
3196 2012-08-10 Mike Frysinger <vapier@gentoo.org>
3197
3198 PR cli/10436:
3199 * gdb.base/completion.exp: Add tests for handle completion.
3200
3201 2012-08-09 Yao Qi <yao@codesourcery.com>
3202
3203 * gdb.mi/mi-cmd-param-changed.exp: New.
3204 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3205 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3206 * gdb.mi/mi2-prompt.exp: Likewise.
3207
3208 2012-08-08 Doug Evans <dje@google.com>
3209
3210 * gdb.base/debug-expr.c: New file.
3211 * gdb.base/debug-expr.exp: New file.
3212 * gdb.base/exprs.exp: Test {type} casts.
3213 * gdb.cp/debug-expr.exp: New file.
3214
3215 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3216
3217 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3218 global variable loop, not a 'break'. Add loop count limit to 100.
3219 Add new fail case for terminated vgdb.
3220
3221 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3222 Jean-Marc Saffroy <saffroy@gmail.com>
3223
3224 PR 11804
3225 * gdb.base/gcore-relro.exp: New file.
3226 * gdb.base/gcore-relro-main.c: New file.
3227 * gdb.base/gcore-relro-lib.c: New file.
3228
3229 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3230
3231 Do not false FAIL with old GCCs.
3232 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3233 GCC < 4.5 in $no_hw mode.
3234
3235 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3236
3237 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3238
3239 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3240
3241 * gdb.base/list.exp (test_only_end): New function.
3242 Call it.
3243
3244 2012-08-06 Tom Tromey <tromey@redhat.com>
3245
3246 * gdb.python/py-mi.exp: Add test for printer whose children
3247 are a list.
3248 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3249 (main): New variable children_as_list.
3250 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3251 New.
3252 (register_pretty_printers): Register new printer.
3253
3254 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3255
3256 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3257 symbols. Abort if vgdb remote connection is closed.
3258
3259 2012-08-02 Doug Evans <dje@google.com>
3260
3261 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3262
3263 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3264
3265 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3266 s390x, PowerPC 64 and m68k-linux.
3267
3268 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3269
3270 * gdb.base/annota1.exp: Accept no frames-invalid notification
3271 when starting up the program.
3272 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3273 show a symbolic value as well.
3274 * gdb.server/server-exec-info.exp: Skip test when skipping
3275 gdbserver test and/or when skipping shared library tests.
3276 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3277 avoid name conflicts with other tests.
3278
3279 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3280
3281 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3282 Fix wrong output on big-endian systems.
3283 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3284 4-byte pointer types on 64-bit s390x.
3285
3286 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3287
3288 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3289 marker comment at the beginning (after intialization).
3290 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3291 breakpoint on marker comment instead of function begin.
3292 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3293 PowerPC.
3294 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3295 or 64-bit PowerPC.
3296 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3297 gdb,no_hardware_watchpoints flag is set.
3298 (initialize): Remove now redundant can-use-hw-watchpoints change.
3299
3300 2012-08-02 Yao Qi <yao@codesourcery.com>
3301 Pedro Alves <palves@redhat.com>
3302
3303 * boards/local-remote-host.exp: New.
3304
3305 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3306
3307 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3308 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3309 * gdb.base/print-file-var.exp: Likewise.
3310 * gdb.server/solib-list.exp: Skip on remote targets.
3311
3312 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3313
3314 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3315 watchpoints on ARM. When expecting software watchpoints, tolerate
3316 (remote) targets that report unsupported hardware watchpoint only
3317 at continue time.
3318 (test_wide_location_2): Likewise.
3319
3320 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3321
3322 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3323 valgrind versions.
3324
3325 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3326
3327 * gdb.base/valgrind-infcall.c: New file.
3328 * gdb.base/valgrind-infcall.exp: New file.
3329
3330 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3331
3332 2012-07-30 Keith Seitz <keiths@redhat.com>
3333
3334 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3335 linespecs.
3336
3337 2012-07-30 Doug Evans <dje@google.com>
3338
3339 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3340 * gdb.dwarf2/pr13961.S: Ditto.
3341
3342 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3343
3344 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
3345
3346 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3347 change its format immediately after reloading the binary.
3348
3349 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3350
3351 Fix testsuite regression after --use-deprecated-index-sections removal.
3352 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3353 string.
3354 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3355
3356 2012-07-27 Yao Qi <yao@codesourcery.com>
3357
3358 KFAIL for PR remote/14161.
3359 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3360 Cleanup socket files.
3361 (strace_info_marker): Detach inferior.
3362
3363 2012-07-26 Tom Tromey <tromey@redhat.com>
3364
3365 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
3366
3367 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3368
3369 * gdb.python/py-inferior.c (thread): New function.
3370 (check_threads): New function.
3371 (test_threads): New function.
3372 * gdb.python/py-inferior.exp: Added test.
3373 Replaced runto with continue to breakpoint.
3374
3375 2012-07-26 Tom Tromey <tromey@redhat.com>
3376
3377 * lib/ada.exp (standard_ada_testfile): New proc.
3378 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3379 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3380 * gdb.ada/array_return.exp: Use standard_ada_testfile.
3381 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3382 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3383 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3384 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3385 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3386 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3387 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3388 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3389 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3390 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3391 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3392 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3393 * gdb.ada/char_param.exp: Use standard_ada_testfile.
3394 * gdb.ada/complete.exp: Use standard_ada_testfile.
3395 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3396 standard_output_file.
3397 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3398 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3399 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3400 standard_output_file.
3401 * gdb.ada/exprs.exp: Use standard_ada_testfile.
3402 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3403 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3404 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3405 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3406 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3407 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3408 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3409 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3410 * gdb.ada/homonym.exp: Use standard_ada_testfile.
3411 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3412 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3413 * gdb.ada/interface.exp: Use standard_ada_testfile.
3414 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3415 standard_output_file
3416 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3417 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3418 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3419 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3420 * gdb.ada/nested.exp: Use standard_ada_testfile.
3421 * gdb.ada/null_array.exp: Use standard_ada_testfile.
3422 * gdb.ada/null_record.exp: Use standard_ada_testfile.
3423 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3424 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3425 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3426 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3427 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3428 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3429 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3430 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3431 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3432 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3433 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3434 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3435 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3436 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3437 * gdb.ada/start.exp: Use standard_ada_testfile.
3438 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3439 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3440 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3441 * gdb.ada/tagged.exp: Use standard_ada_testfile.
3442 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3443 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3444 * gdb.ada/tasks.exp: Use standard_ada_testfile.
3445 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3446 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3447 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3448 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3449 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3450 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3451 * gdb.ada/widewide.exp: Use standard_ada_testfile.
3452
3453 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3454
3455 Fix testsuite regression after --use-deprecated-index-sections removal.
3456 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3457
3458 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3459
3460 Fix compatibility with Tcl before 7.5.
3461 * lib/future.exp (lreverse): New function if it does not exist.
3462
3463 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
3464
3465 * gdb.mi/mi-pending.c: New method to set a second pending
3466 breakpoint.
3467 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3468 condition.
3469
3470 2012-07-20 Pedro Alves <palves@redhat.com>
3471
3472 PR threads/11692
3473 PR gdb/12203
3474
3475 * gdb.threads/create-fail.c: New file.
3476 * gdb.threads/create-fail.exp: New file.
3477
3478 2012-07-19 Pedro Alves <palves@redhat.com>
3479
3480 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3481 * config/vx.exp (gdb_start): Likewise.
3482 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3483 * gdb.base/setvar.exp (test_set): Likewise.
3484 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3485 * gdb.reverse/sigall-precsave.exp: Likewise.
3486 * gdb.reverse/sigall-reverse.exp: Likewise.
3487
3488 2012-07-19 Pedro Alves <palves@redhat.com>
3489
3490 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3491 handler before recording.
3492
3493 2012-07-19 Tom Tromey <tromey@redhat.com>
3494
3495 * gdb.cp/casts.exp: Add tests for typeof and decltype.
3496 * gdb.cp/casts.cc (decltype): New function.
3497 (main): Use it.
3498
3499 2012-07-19 Pedro Alves <palves@redhat.com>
3500
3501 * gdb.base/sigall.exp (signals): New list.
3502 <top level>: Loop over signals in the $signals list instead of
3503 calling a test function once per signal.
3504 * gdb.reverse/sigall-precsave.exp (signals): New list.
3505 <top level>: Loop over signals in the $signals list instead of
3506 calling a test function once per signal.
3507 * gdb.reverse/sigall-reverse.exp (signals): New list.
3508 <top level>: Loop over signals in the $signals list instead of
3509 calling a test function once per signal.
3510
3511 2012-07-19 Yao Qi <yao@codesourcery.com>
3512
3513 * gdb.base/setshow.exp: Test 'set args ~'.
3514
3515 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3516
3517 * gdb.base/store.exp (check_set): Import gdb_prompt.
3518 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3519 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3520
3521 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3522
3523 PR 11914
3524 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3525 (main): Call eval_sub.
3526 * gdb.python/py-prettyprint.exp:
3527 (python execfile ('py-prettyprint.py')): Move it earlier.
3528 New breakpoint for eval-break.
3529 (continue to breakpoint: eval-break, info locals): New test.
3530 (python execfile ('py-prettyprint.py')): Move it from here.
3531 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3532 (register_pretty_printers): Register pp_eval_type.
3533
3534 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3535
3536 Fix a testcase regression by me.
3537 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
3538 DW_FORM_data4.
3539
3540 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3541 Doug Evans <dje@google.com>
3542
3543 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
3544 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
3545
3546 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3547
3548 Fix gdbserver run regression.
3549 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
3550
3551 2012-07-12 Tom Tromey <tromey@redhat.com>
3552
3553 * lib/gdb.exp (standard_testfile): Don't declare objdir.
3554 (clean_restart): Likewise.
3555 (core_find): Use standard_output_file.
3556
3557 2012-07-12 Tom Tromey <tromey@redhat.com>
3558
3559 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
3560 * gdb.dwarf2/dw2-anonymous-func.exp: Use
3561 prepare_for_testing_full.
3562 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
3563 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
3564 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
3565 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
3566 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
3567 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
3568 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
3569 prepare_for_testing_full.
3570 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
3571 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
3572 prepare_for_testing_full.
3573 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
3574 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
3575 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
3576
3577 2012-07-12 Tom Tromey <tromey@redhat.com>
3578
3579 * lib/gdb.exp (build_executable_from_specs): New proc, from
3580 build_executable.
3581 (build_executable): Use it.
3582 (prepare_for_testing_full): New proc.
3583
3584 2012-07-11 Tom Tromey <tromey@redhat.com>
3585
3586 * gdb.reverse/break-precsave.exp: Use standard_output_file.
3587 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
3588 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
3589 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
3590 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
3591 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
3592 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
3593 * gdb.reverse/step-precsave.exp: Use standard_output_file.
3594 * gdb.reverse/until-precsave.exp: Use standard_output_file.
3595 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
3596
3597 2012-07-10 Tom Tromey <tromey@redhat.com>
3598
3599 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
3600 standard_output_file.
3601 * gdb.mi/gdb2549.exp: Use standard_testfile.
3602 * gdb.mi/gdb669.exp: Use standard_testfile.
3603 * gdb.mi/gdb701.exp: Use standard_testfile.
3604 * gdb.mi/gdb792.exp: Use standard_testfile.
3605 * gdb.mi/mi-async.exp: Use standard_testfile.
3606 * gdb.mi/mi-basics.exp: Use standard_testfile.
3607 * gdb.mi/mi-break.exp: Use standard_testfile.
3608 * gdb.mi/mi-cli.exp: Use standard_testfile.
3609 * gdb.mi/mi-console.exp: Use standard_testfile.
3610 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
3611 * gdb.mi/mi-eval.exp: Use standard_testfile.
3612 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
3613 * gdb.mi/mi-file.exp: Use standard_testfile.
3614 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
3615 * gdb.mi/mi-logging.exp: Use standard_testfile.
3616 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
3617 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
3618 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
3619 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
3620 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
3621 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
3622 * gdb.mi/mi-pending.exp: Use standard_testfile,
3623 standard_output_file.
3624 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
3625 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
3626 * gdb.mi/mi-regs.exp: Use standard_testfile.
3627 * gdb.mi/mi-return.exp: Use standard_testfile.
3628 * gdb.mi/mi-reverse.exp: Use standard_testfile.
3629 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
3630 * gdb.mi/mi-solib.exp: Use standard_testfile,
3631 standard_output_file.
3632 * gdb.mi/mi-stack.exp: Use standard_testfile.
3633 * gdb.mi/mi-stepi.exp: Use standard_testfile.
3634 * gdb.mi/mi-stepn.exp: Use standard_testfile.
3635 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
3636 * gdb.mi/mi-until.exp: Use standard_testfile.
3637 * gdb.mi/mi-var-block.exp: Use standard_testfile.
3638 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
3639 * gdb.mi/mi-var-child.exp: Use standard_testfile.
3640 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
3641 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
3642 * gdb.mi/mi-var-display.exp: Use standard_testfile.
3643 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
3644 standard_output_file.
3645 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
3646 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
3647 * gdb.mi/mi-watch.exp: Use standard_testfile.
3648 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
3649 * gdb.mi/mi2-basics.exp: Use standard_testfile.
3650 * gdb.mi/mi2-break.exp: Use standard_testfile.
3651 * gdb.mi/mi2-cli.exp: Use standard_testfile.
3652 * gdb.mi/mi2-console.exp: Use standard_testfile.
3653 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
3654 * gdb.mi/mi2-eval.exp: Use standard_testfile.
3655 * gdb.mi/mi2-file.exp: Use standard_testfile.
3656 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
3657 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
3658 * gdb.mi/mi2-regs.exp: Use standard_testfile.
3659 * gdb.mi/mi2-return.exp: Use standard_testfile.
3660 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
3661 * gdb.mi/mi2-stack.exp: Use standard_testfile.
3662 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
3663 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
3664 * gdb.mi/mi2-until.exp: Use standard_testfile.
3665 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
3666 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
3667 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
3668 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
3669 * gdb.mi/mi2-watch.exp: Use standard_testfile.
3670
3671 2012-07-10 Tom Tromey <tromey@redhat.com>
3672
3673 * gdb.cp/abstract-origin.exp: Use standard_testfile.
3674 * gdb.cp/ambiguous.exp: Use standard_testfile,
3675 prepare_for_testing.
3676 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
3677 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
3678 * gdb.cp/anon-ns.exp: Use standard_testfile.
3679 * gdb.cp/anon-struct.exp: Use standard_testfile.
3680 * gdb.cp/anon-union.exp: Use standard_testfile,
3681 prepare_for_testing.
3682 * gdb.cp/arg-reference.exp: Use standard_testfile,
3683 prepare_for_testing.
3684 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
3685 * gdb.cp/breakpoint.exp: Use standard_testfile,
3686 prepare_for_testing.
3687 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
3688 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
3689 standard_output_file.
3690 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
3691 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
3692 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
3693 (test_static_members): Update.
3694 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
3695 * gdb.cp/converts.exp: Use standard_testfile.
3696 * gdb.cp/cp-relocate.exp: Use standard_testfile.
3697 * gdb.cp/cpcompletion.exp: Use standard_testfile,
3698 prepare_for_testing.
3699 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
3700 * gdb.cp/cplabel.exp: Use standard_testfile.
3701 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
3702 prepare_for_testing.
3703 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
3704 * gdb.cp/derivation.exp: Use standard_testfile,
3705 prepare_for_testing.
3706 * gdb.cp/destrprint.exp: Use standard_testfile.
3707 * gdb.cp/dispcxx.exp: Use standard_testfile.
3708 * gdb.cp/exception.exp: Use standard_testfile,
3709 prepare_for_testing.
3710 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
3711 * gdb.cp/extern-c.exp: Use standard_testfile,
3712 prepare_for_testing.
3713 * gdb.cp/formatted-ref.exp: Use standard_testfile,
3714 prepare_for_testing.
3715 * gdb.cp/fpointer.exp: Use standard_testfile.
3716 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
3717 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
3718 standard_output_file.
3719 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
3720 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
3721 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
3722 standard_output_file.
3723 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
3724 (do_tests): Update.
3725 * gdb.cp/koenig.exp: Use standard_testfile.
3726 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
3727 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
3728 * gdb.cp/m-static.exp: Use standard_testfile,
3729 prepare_for_testing.
3730 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
3731 * gdb.cp/mb-inline.exp: Use standard_testfile,
3732 prepare_for_testing.
3733 * gdb.cp/mb-templates.exp: Use standard_testfile,
3734 prepare_for_testing.
3735 * gdb.cp/member-ptr.exp: Use standard_testfile,
3736 prepare_for_testing.
3737 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
3738 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
3739 * gdb.cp/method2.exp: Use standard_testfile.
3740 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
3741 standard_output_file.
3742 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
3743 (do_tests): Update.
3744 * gdb.cp/namespace-enum.exp: Use standard_testfile,
3745 prepare_for_testing.
3746 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
3747 prepare_for_testing.
3748 * gdb.cp/namespace.exp: Use standard_testfile,
3749 prepare_for_testing.
3750 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
3751 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
3752 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
3753 * gdb.cp/nsimport.exp: Use standard_testfile,
3754 prepare_for_testing.
3755 * gdb.cp/nsnested.exp: Use standard_testfile.
3756 * gdb.cp/nsnoimports.exp: Use standard_testfile.
3757 * gdb.cp/nsrecurs.exp: Use standard_testfile,
3758 prepare_for_testing.
3759 * gdb.cp/nsstress.exp: Use standard_testfile,
3760 prepare_for_testing.
3761 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3762 * gdb.cp/operator.exp: Use standard_testfile.
3763 * gdb.cp/oranking.exp: Use standard_testfile.
3764 * gdb.cp/overload-const.exp: Use standard_testfile.
3765 * gdb.cp/overload.exp: Use standard_testfile,
3766 prepare_for_testing.
3767 * gdb.cp/ovldbreak.exp: Use standard_testfile.
3768 * gdb.cp/ovsrch.exp: Use standard_testfile.
3769 * gdb.cp/paren-type.exp: Use standard_testfile.
3770 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3771 prepare_for_testing.
3772 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3773 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3774 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3775 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3776 * gdb.cp/pr10728.exp: Use standard_testfile,
3777 standard_output_file.
3778 * gdb.cp/pr12028.exp: Use standard_testfile.
3779 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3780 * gdb.cp/pr9167.exp: Use standard_testfile.
3781 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3782 * gdb.cp/printmethod.exp: Use standard_testfile,
3783 prepare_for_testing.
3784 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3785 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3786 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3787 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3788 standard_output_file.
3789 * gdb.cp/readnow-language.exp: Use standard_testfile.
3790 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3791 (gdb_start_again): Use clean_restart.
3792 * gdb.cp/ref-types.exp: Use standard_testfile,
3793 prepare_for_testing.
3794 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3795 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3796 * gdb.cp/smartp.exp: Use standard_testfile.
3797 * gdb.cp/static-method.exp: Use standard_testfile.
3798 * gdb.cp/static-print-quit.exp: Use standard_testfile.
3799 * gdb.cp/temargs.exp: Use standard_testfile.
3800 * gdb.cp/templates.exp: Use standard_testfile,
3801 prepare_for_testing.
3802 (do_tests): Update.
3803 * gdb.cp/try_catch.exp: Use standard_testfile,
3804 prepare_for_testing.
3805 * gdb.cp/typedef-operator.exp: Use standard_testfile.
3806 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3807 * gdb.cp/virtbase.exp: Use standard_testfile,
3808 prepare_for_testing.
3809 * gdb.cp/virtfunc.exp: Use standard_testfile,
3810 prepare_for_testing.
3811 (do_tests): Update.
3812 * gdb.cp/virtfunc2.exp: Use standard_testfile,
3813 prepare_for_testing.
3814
3815 2012-07-10 Tom Tromey <tromey@redhat.com>
3816
3817 * lib/gdb.exp (standard_testfile): Unset output variables from
3818 earlier invocations.
3819
3820 2012-07-10 Yao Qi <yao@codesourcery.com>
3821
3822 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3823 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3824 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3825 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3826 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3827 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3828 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3829 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3830 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3831 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3832 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3833 * gdb.mi/mi-var-display.exp: Likewise.
3834 * gdb.mi/mi-var-invalidate.exp: Likewise.
3835 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3836 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3837 * gdb.mi/mi2-console.exp: Likewise.
3838 * gdb.mi/mi2-disassemble.exp: Likewise.
3839 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3840 * gdb.mi/mi2-read-memory.exp: Likewise.
3841 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3842 * gdb.mi/mi2-simplerun.exp: Likewise.
3843 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3844 * gdb.mi/mi2-syn-frame.exp: Likewise.
3845 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3846 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3847 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3848
3849 2012-07-09 Tom Tromey <tromey@redhat.com>
3850
3851 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3852 * gdb.base/callfuncs.exp: Add cast-based test.
3853 * gdb.base/callfuncs.c (voidfunc): New function.
3854
3855 2012-07-08 Doug Evans <dje@google.com>
3856
3857 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3858
3859 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3860
3861 Fix XFAIL compatibility with old i386 systems.
3862 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3863 Check also 'Cannot insert breakpoint 0'.
3864
3865 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3866
3867 PR 14321
3868 * gdb.base/find.exp
3869 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3870
3871 2012-07-06 Tom Tromey <tromey@redhat.com>
3872
3873 * gdb.base/whatis.exp: Add test.
3874
3875 2012-07-06 Tom Tromey <tromey@redhat.com>
3876
3877 * gdb.base/whatis.exp: Add regression test.
3878
3879 2012-07-06 Tom Tromey <tromey@redhat.com>
3880
3881 * gdb.base/whatis.exp: Add tests.
3882
3883 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3884
3885 PR 12649
3886 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3887 gdb_test_multiple $gdb_prompt terminator.
3888
3889 2012-07-04 Pedro Alves <palves@redhat.com>
3890
3891 * gdb.mi/mi-reverse.exp: Use supports_reverse and
3892 supports_process_record.
3893
3894 2012-07-04 Pedro Alves <palves@redhat.com>
3895
3896 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3897 endings.
3898 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3899
3900 2012-07-03 Stan Shebs <stan@codesourcery.com>
3901
3902 * gdb.base/info-os.c (main): Retry resource acquisition until an
3903 available one is found.
3904 * gdb.base/info-os.exp: Collect resource keys from the program
3905 and use them in matching.
3906
3907 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3908
3909 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3910 Wrap the test into loop for corefile and core0file.
3911
3912 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3913
3914 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3915 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
3916 .note.GNU-stack.
3917
3918 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3919
3920 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
3921
3922 * gdb.base/help.exp (help b, help br, help bre, help brea, help
3923 break): Include help message for the new `-probe' and `-probe-stap'
3924 options.
3925
3926 2012-07-02 Stan Shebs <stan@codesourcery.com>
3927
3928 * gdb.base/dprintf.exp: Add agent style tests.
3929
3930 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3931
3932 * gdb.base/stale-infcall.c (infcall): New label test-next.
3933 (main): New labels test-pass and test-fail.
3934 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
3935 $test_fail_bpnum to test-fail.
3936 (test system longjmp tracking support): New test.
3937 Delete $test_fail_bpnum.
3938 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
3939 breakpoint.
3940
3941 2012-06-30 Doug Evans <dje@google.com>
3942
3943 * gdb.dwarf2/fission-reread.S: New file.
3944 * gdb.dwarf2/fission-reread.exp: New file.
3945
3946 2012-06-28 Stan Shebs <stan@codesourcery.com>
3947
3948 * gdb.mi/mi-logging.exp: New file.
3949
3950 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3951 Pedro Alves <palves@redhat.com>
3952
3953 * gdb.threads/siginfo-threads.exp: New file.
3954 * gdb.threads/siginfo-threads.c: New file.
3955 * gdb.threads/sigstep-threads.exp: New file.
3956 * gdb.threads/sigstep-threads.c: New file.
3957
3958 2012-06-28 Tom Tromey <tromey@redhat.com>
3959
3960 * gdb.go/package.exp: Partially revert earlier patch; use
3961 gdb_compile again. Use standard_output_file.
3962
3963 2012-06-27 Doug Evans <dje@google.com>
3964
3965 * gdb.dwarf2/fission-base.c: New file.
3966 * gdb.dwarf2/fission-base.S: New file.
3967 * gdb.dwarf2/fission-base.exp: New file.
3968
3969 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3970
3971 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
3972
3973 2012-06-27 Tom Tromey <tromey@redhat.com>
3974
3975 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
3976 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
3977
3978 2012-06-27 Tom Tromey <tromey@redhat.com>
3979
3980 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
3981 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
3982 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
3983 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
3984 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
3985 prepare_for_testing.
3986 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
3987 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
3988 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
3989 standard_testfile.
3990 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
3991 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
3992 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
3993 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
3994 prepare_for_testing.
3995 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
3996 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
3997 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
3998 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
3999 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4000 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4001 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4002 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4003 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4004 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4005 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4006 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4007 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4008 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4009 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4010 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4011 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4012 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4013 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4014 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4015 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4016 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4017 standard_output_file.
4018 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4019 standard_output_file.
4020 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4021 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4022 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4023 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4024 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4025 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4026 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4027 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4028 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4029 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4030 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4031 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4032 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4033 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4034 * gdb.dwarf2/valop.exp: Use standard_testfile,
4035 prepare_for_testing.
4036
4037 2012-06-27 Tom Tromey <tromey@redhat.com>
4038
4039 * gdb.python/python.exp: Fix regexps in pagination tests.
4040
4041 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4042
4043 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4044 'last' of gdb.Symtab_and_line.
4045 * gdb.python/py-symbol.c: Move break point comment to enable
4046 testing of gdb.Symtab_and_line.last.
4047
4048 2012-06-26 Tom Tromey <tromey@redhat.com>
4049
4050 * gdb.threads/step.c: Remove.
4051 * gdb.threads/step.exp: Remove.
4052 * gdb.threads/step2.exp: Remove.
4053
4054 2012-06-26 Tom Tromey <tromey@redhat.com>
4055
4056 * gdb.threads/watchpoint-fork.exp (test): Use
4057 standard_output_file. Don't declare objdir.
4058 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4059 standard_output_file.
4060 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4061 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4062 clean_restart. Remove incdir.
4063 * gdb.threads/corethreads.exp: Use standard_testfile.
4064 * gdb.threads/execl.exp: Use standard_testfile,
4065 standard_output_file, clean_restart.
4066 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4067 clean_restart.
4068 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4069 clean_restart.
4070 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4071 incdir.
4072 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4073 clean_restart. Remove incdir.
4074 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4075 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4076 clean_restart. Remove incdir.
4077 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4078 Remove incdir.
4079 * gdb.threads/leader-exit.exp: Use standard_testfile.
4080 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4081 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4082 clean_restart.
4083 * gdb.threads/manythreads.exp: Use standard_testfile,
4084 clean_restart. Remove incdir.
4085 * gdb.threads/multi-create.exp: Use standard_testfile,
4086 clean_restart.
4087 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4088 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4089 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4090 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4091 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4092 * gdb.threads/pending-step.exp: Use standard_testfile,
4093 clean_restart. Remove incdir.
4094 * gdb.threads/print-threads.exp: Use standard_testfile,
4095 clean_restart. Remove incdir.
4096 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4097 clean_restart. Remove incdir.
4098 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4099 Remove incdir.
4100 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4101 incdir.
4102 * gdb.threads/sigthread.exp: Use standard_testfile,
4103 clean_restart.
4104 * gdb.threads/staticthreads.exp: Use standard_testfile,
4105 clean_restart. Remove incdir.
4106 * gdb.threads/switch-threads.exp: Use standard_testfile,
4107 clean_restart. Remove incdir.
4108 * gdb.threads/thread-execl.exp: Use standard_testfile,
4109 clean_restart. Remove incdir.
4110 * gdb.threads/thread-find.exp: Use standard_testfile,
4111 clean_restart.
4112 * gdb.threads/thread-specific.exp: Use standard_testfile,
4113 clean_restart. Remove incdir.
4114 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4115 clean_restart. Remove incdir.
4116 * gdb.threads/thread_check.exp: Use standard_testfile,
4117 clean_restart. Remove incdir.
4118 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4119 incdir.
4120 * gdb.threads/threadapply.exp: Use standard_testfile,
4121 clean_restart. Remove incdir.
4122 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4123 clean_restart. Remove incdir.
4124 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4125 clean_restart.
4126 * gdb.threads/tls-shared.exp: Use standard_testfile,
4127 clean_restart, standard_output_file.
4128 * gdb.threads/tls-var.exp: Use standard_testfile,
4129 standard_output_file.
4130 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4131 Remove incdir.
4132 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4133 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4134 incdir.
4135 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4136 clean_restart. Remove incdir.
4137
4138 2012-06-26 Tom Tromey <tromey@redhat.com>
4139
4140 * gdb.trace/actions.exp: Use standard_testfile.
4141 * gdb.trace/ax.exp: Use standard_testfile.
4142 * gdb.trace/backtrace.exp: Use standard_testfile.
4143 * gdb.trace/change-loc.exp: Use standard_testfile.
4144 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4145 * gdb.trace/collection.exp: Use standard_testfile,
4146 prepare_for_testing.
4147 * gdb.trace/deltrace.exp: Use standard_testfile.
4148 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4149 * gdb.trace/ftrace.exp: Use standard_testfile.
4150 * gdb.trace/infotrace.exp: Use standard_testfile.
4151 * gdb.trace/packetlen.exp: Use standard_testfile.
4152 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4153 * gdb.trace/passcount.exp: Use standard_testfile.
4154 * gdb.trace/pending.exp: Use standard_testfile.
4155 * gdb.trace/report.exp: Use standard_testfile.
4156 * gdb.trace/save-trace.exp: Use standard_testfile.
4157 * gdb.trace/stap-trace.exp: Use standard_testfile.
4158 * gdb.trace/status-stop.exp: Use standard_testfile.
4159 * gdb.trace/strace.exp: Use standard_testfile.
4160 * gdb.trace/tfile.exp: Use standard_testfile.
4161 * gdb.trace/tfind.exp: Use standard_testfile.
4162 * gdb.trace/trace-break.exp: Use standard_testfile.
4163 * gdb.trace/trace-mt.exp: Use standard_testfile.
4164 * gdb.trace/tracecmd.exp: Use standard_testfile.
4165 * gdb.trace/tspeed.exp: Use standard_testfile.
4166 * gdb.trace/tstatus.exp: Use standard_testfile.
4167 * gdb.trace/tsv.exp: Use standard_testfile.
4168 * gdb.trace/unavailable.exp: Use standard_testfile,
4169 prepare_for_testing.
4170 * gdb.trace/while-dyn.exp: Use standard_testfile.
4171 * gdb.trace/while-stepping.exp: Use standard_testfile.
4172
4173 2012-06-26 Tom Tromey <tromey@redhat.com>
4174
4175 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4176 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4177 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4178 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4179 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4180 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4181 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4182 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4183 prepare_for_testing.
4184 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4185 prepare_for_testing.
4186 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4187 prepare_for_testing.
4188 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4189 prepare_for_testing.
4190 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4191 prepare_for_testing
4192 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4193 * gdb.reverse/machinestate.exp: Use standard_testfile.
4194 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4195 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4196 build_executable.
4197 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4198 build_executable.
4199 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4200 standard_output_file.
4201 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4202 standard_output_file.
4203 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4204 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4205 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4206 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4207 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4208 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4209
4210 2012-06-26 Tom Tromey <tromey@redhat.com>
4211
4212 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4213 standard_output_file.
4214 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4215 prepare_for_testing. Remove directory-checking code.
4216
4217 2012-06-25 Tom Tromey <tromey@redhat.com>
4218
4219 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4220 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4221 build_executable, not prepare_for_testing.
4222 * gdb.multi/base.exp: Use standard_output_file. Use
4223 build_executable, not prepare_for_testing.
4224
4225 2012-06-25 Tom Tromey <tromey@redhat.com>
4226
4227 * gdb.fortran/subarray.exp: Use standard_testfile,
4228 prepare_for_testing.
4229 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4230 * gdb.fortran/module.exp: Use standard_testfile.
4231 * gdb.fortran/logical.exp: Use standard_testfile.
4232 * gdb.fortran/library-module.exp: Use standard_testfile,
4233 standard_output_file.
4234 * gdb.fortran/derived-type.exp: Use standard_testfile,
4235 prepare_for_testing.
4236 * gdb.fortran/complex.exp: Use standard_testfile,
4237 prepare_for_testing.
4238 * gdb.fortran/charset.exp: Use standard_testfile.
4239 * gdb.fortran/array-element.exp: Use standard_testfile,
4240 prepare_for_testing.
4241
4242 2012-06-25 Keith Seitz <keiths@redhat.com>
4243
4244 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4245 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4246
4247 2012-06-25 Tom Tromey <tromey@redhat.com>
4248
4249 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4250 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4251 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4252 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4253
4254 2012-06-25 Tom Tromey <tromey@redhat.com>
4255
4256 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4257 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4258 * gdb.linespec/linespec.exp: Use standard_testfile.
4259
4260 2012-06-25 Tom Tromey <tromey@redhat.com>
4261
4262 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4263 prepare_for_testing.
4264
4265 2012-06-25 Tom Tromey <tromey@redhat.com>
4266
4267 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4268 prepare_for_testing.
4269 * gdb.opt/inline-break.exp: Use standard_testfile,
4270 prepare_for_testing.
4271 * gdb.opt/inline-bt.exp: Use standard_testfile,
4272 prepare_for_testing.
4273 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4274 prepare_for_testing.
4275 * gdb.opt/inline-locals.exp: Use standard_testfile,
4276 prepare_for_testing.
4277
4278 2012-06-25 Tom Tromey <tromey@redhat.com>
4279
4280 * gdb.asm/asm-source.exp: Use standard_output_file,
4281 standard_testfile. Construct .o files in proper subdir.
4282
4283 2012-06-25 Tom Tromey <tromey@redhat.com>
4284
4285 * gdb.server/ext-attach.exp: Use standard_testfile,
4286 prepare_for_testing.
4287 * gdb.server/ext-run.exp: Use standard_testfile,
4288 build_executable.
4289 * gdb.server/file-transfer.exp: Use standard_testfile,
4290 prepare_for_testing.
4291 * gdb.server/server-exec-info.exp: Use standard_testfile.
4292 * gdb.server/server-mon.exp: Use standard_testfile,
4293 prepare_for_testing.
4294 * gdb.server/server-run.exp: Use standard_testfile,
4295 build_executable.
4296 * gdb.server/solib-list.exp: Use standard_testfile,
4297 standard_output_file.
4298
4299 2012-06-25 Tom Tromey <tromey@redhat.com>
4300
4301 * lib/gdb.exp (standard_output_file): Use "file join".
4302 * gdb.go/chan.exp: Use standard_testfile.
4303 * gdb.go/handcall.exp: Use standard_testfile.
4304 * gdb.go/hello.exp: Use standard_testfile.
4305 * gdb.integers/chan.exp: Use standard_testfile.
4306 * gdb.go/methods.exp: Use standard_testfile.
4307 * gdb.go/package.exp: Use standard_testfile.
4308 * gdb.go/strings.exp: Use standard_testfile.
4309 * gdb.go/types.exp: Use standard_testfile.
4310 * gdb.go/unsafe.exp: Use standard_testfile.
4311
4312 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4313
4314 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4315
4316 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4317
4318 Fix regression by the previous commit.
4319 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4320
4321 2012-06-22 Tom Tromey <tromey@redhat.com>
4322
4323 * gdb.python/lib-types.exp: Use standard_testfile,
4324 prepare_for_testing.
4325 * gdb.python/py-block.exp: Use standard_testfile.
4326 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4327 * gdb.python/py-events.exp: Use standard_testfile,
4328 standard_output_file.
4329 * gdb.python/py-evsignal.exp: Use standard_testfile.
4330 * gdb.python/py-evethreads.exp: Use standard_testfile.
4331 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4332 * gdb.python/py-explore.exp: Use standard_testfile.
4333 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4334 standard_output_file.
4335 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4336 prepare_for_testing.
4337 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4338 * gdb.python/py-frame.exp: Use standard_testfile.
4339 * gdb.python/py-inferior.exp: Use standard_testfile.
4340 * gdb.python/py-infthread.exp: Use standard_testfile.
4341 * gdb.python/py-mi.exp: Use standard_testfile.
4342 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4343 build_executable.
4344 * gdb.python/py-objfile.exp: Use standard_testfile.
4345 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4346 prepare_for_testing.
4347 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4348 * gdb.python/py-progspace.exp: Use standard_testfile,
4349 build_executable.
4350 * gdb.python/py-prompt.exp: Use standard_testfile,
4351 build_executable.
4352 * gdb.python/py-section-script.exp: Use standard_testfile,
4353 build_executable.
4354 * gdb.python/py-shared.exp: Use standard_testfile,
4355 standard_output_file, clean_restart.
4356 * gdb.python/py-symbol.exp: Use standard_output_file,
4357 prepare_for_testing.
4358 * gdb.python/py-symtab.exp: Use standard_output_file,
4359 prepare_for_testing
4360 * gdb.python/py-template.exp: Use standard_testfile.
4361 * gdb.python/py-type.exp: Use standard_testfile.
4362 * gdb.python/py-value-cc.exp: Use standard_testfile.
4363 * gdb.python/py-value.exp: Use standard_testfile.
4364 * gdb.python/python.exp: Use standard_testfile, build_executable.
4365
4366 2012-06-22 Tom Tromey <tromey@redhat.com>
4367
4368 * gdb.objc/basicclass.exp: Use standard_testfile.
4369 (do_objc_tests): Don't declare objdir.
4370 * gdb.objc/nondebug.exp: Use standard_testfile.
4371 (do_objc_tests): Don't declare objdir.
4372 * gdb.objc/objcdecode.exp: Use standard_testfile.
4373 (do_objc_tests): Don't declare objdir.
4374
4375 2012-06-22 Tom Tromey <tromey@redhat.com>
4376
4377 * gdb.java/jmain.exp: Use standard_testfile.
4378 * gdb.java/jmisc.exp: Use standard_testfile.
4379 * gdb.java/jnpe.exp: Use standard_testfile.
4380 * gdb.java/jprint.exp: Use standard_testfile.
4381
4382 2012-06-22 Tom Tromey <tromey@redhat.com>
4383
4384 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4385 (standard_output_file, standard_testfile): New procs.
4386 (build_executable, clean_restart): Use standard_output_file.
4387
4388 2012-06-22 Yao Qi <yao@codesourcery.com>
4389
4390 * boards/native-gdbserver.exp: New proc ${board}_exec.
4391 * boards/native-stdio-gdbserver.exp: Likewise.
4392
4393 2012-06-21 Tom Tromey <tromey@redhat.com>
4394
4395 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4396 (build_executable): Update.
4397 (get_compiler_info): Remove 'binfile' argument.
4398 * gdb.ada/arrayidx.exp: Update.
4399 * gdb.ada/null_array.exp: Update.
4400 * gdb.arch/altivec-abi.exp: Update.
4401 * gdb.arch/altivec-regs.exp: Update.
4402 * gdb.arch/amd64-byte.exp: Update.
4403 * gdb.arch/amd64-dword.exp: Update.
4404 * gdb.arch/amd64-word.exp: Update.
4405 * gdb.arch/i386-avx.exp: Update.
4406 * gdb.arch/i386-byte.exp: Update.
4407 * gdb.arch/i386-sse.exp: Update.
4408 * gdb.arch/i386-word.exp: Update.
4409 * gdb.arch/ppc-dfp.exp: Update.
4410 * gdb.arch/ppc-fp.exp: Update.
4411 * gdb.arch/vsx-regs.exp: Update.
4412 * gdb.base/all-bin.exp: Update.
4413 * gdb.base/annota1.exp: Update.
4414 * gdb.base/async.exp: Update.
4415 * gdb.base/attach.exp: Update.
4416 * gdb.base/break-interp.exp: Update.
4417 * gdb.base/call-ar-st.exp: Update.
4418 * gdb.base/call-rt-st.exp: Update.
4419 * gdb.base/call-sc.exp: Update.
4420 * gdb.base/callfuncs.exp: Update.
4421 * gdb.base/catch-load.exp: Update.
4422 * gdb.base/completion.exp: Update.
4423 * gdb.base/complex.exp: Update.
4424 * gdb.base/condbreak.exp: Update.
4425 * gdb.base/consecutive.exp: Update.
4426 * gdb.base/constvars.exp: Update.
4427 * gdb.base/corefile.exp: Update.
4428 * gdb.base/eval-skip.exp: Update.
4429 * gdb.base/expand-psymtabs.exp: Update.
4430 * gdb.base/exprs.exp: Update.
4431 * gdb.base/fileio.exp: Update.
4432 * gdb.base/fixsection.exp: Update.
4433 * gdb.base/funcargs.exp: Update.
4434 * gdb.base/gdb11530.exp: Update.
4435 * gdb.base/gdb1555.exp: Update.
4436 * gdb.base/gnu-ifunc.exp: Update.
4437 * gdb.base/gnu_vector.exp: Update.
4438 * gdb.base/info-macros.exp: Update.
4439 * gdb.base/jit-simple.exp: Update.
4440 * gdb.base/jit-so.exp: Update.
4441 * gdb.base/jit.exp: Update.
4442 * gdb.base/langs.exp: Update.
4443 * gdb.base/list.exp: Update.
4444 * gdb.base/logical.exp: Update.
4445 * gdb.base/long_long.exp: Update.
4446 * gdb.base/longjmp.exp: Update.
4447 * gdb.base/macscp.exp: Update.
4448 * gdb.base/mips_pro.exp: Update.
4449 * gdb.base/miscexprs.exp: Update.
4450 * gdb.base/morestack.exp: Update.
4451 * gdb.base/nodebug.exp: Update.
4452 * gdb.base/opaque.exp: Update.
4453 * gdb.base/pc-fp.exp: Update.
4454 * gdb.base/pending.exp: Update.
4455 * gdb.base/permissions.exp: Update.
4456 * gdb.base/pointers.exp: Update.
4457 * gdb.base/prelink.exp: Update.
4458 * gdb.base/printcmds.exp: Update.
4459 * gdb.base/psymtab.exp: Update.
4460 * gdb.base/ptype.exp: Update.
4461 * gdb.base/relational.exp: Update.
4462 * gdb.base/scope.exp: Update.
4463 * gdb.base/setvar.exp: Update.
4464 * gdb.base/shlib-call.exp: Update.
4465 * gdb.base/shreloc.exp: Update.
4466 * gdb.base/signals.exp: Update.
4467 * gdb.base/sizeof.exp: Update.
4468 * gdb.base/so-impl-ld.exp: Update.
4469 * gdb.base/so-indr-cl.exp: Update.
4470 * gdb.base/solib-disc.exp: Update.
4471 * gdb.base/solib-display.exp: Update.
4472 * gdb.base/solib-nodir.exp: Update.
4473 * gdb.base/solib-overlap.exp: Update.
4474 * gdb.base/solib-symbol.exp: Update.
4475 * gdb.base/solib-weak.exp: Update.
4476 * gdb.base/solib.exp: Update.
4477 * gdb.base/store.exp: Update.
4478 * gdb.base/structs.exp: Update.
4479 * gdb.base/structs2.exp: Update.
4480 * gdb.base/type-opaque.exp: Update.
4481 * gdb.base/unload.exp: Update.
4482 * gdb.base/varargs.exp: Update.
4483 * gdb.base/volatile.exp: Update.
4484 * gdb.base/watch_thread_num.exp: Update.
4485 * gdb.base/watchpoint-solib.exp: Update.
4486 * gdb.base/watchpoint.exp: Update.
4487 * gdb.base/watchpoints.exp: Update.
4488 * gdb.base/whatis.exp: Update.
4489 * gdb.cell/arch.exp: Update.
4490 * gdb.cell/break.exp: Update.
4491 * gdb.cell/bt.exp: Update.
4492 * gdb.cell/core.exp: Update.
4493 * gdb.cell/data.exp: Update.
4494 * gdb.cell/ea-cache.exp: Update.
4495 * gdb.cell/f-regs.exp: Update.
4496 * gdb.cell/fork.exp: Update.
4497 * gdb.cell/gcore.exp: Update.
4498 * gdb.cell/mem-access.exp: Update.
4499 * gdb.cell/ptype.exp: Update.
4500 * gdb.cell/registers.exp: Update.
4501 * gdb.cell/sizeof.exp: Update.
4502 * gdb.cell/solib-symbol.exp: Update.
4503 * gdb.cell/solib.exp: Update.
4504 * gdb.cp/ambiguous.exp: Update.
4505 * gdb.cp/breakpoint.exp: Update.
4506 * gdb.cp/bs15503.exp: Update.
4507 * gdb.cp/casts.exp: Update.
4508 * gdb.cp/class2.exp: Update.
4509 * gdb.cp/cpexprs.exp: Update.
4510 * gdb.cp/cplusfuncs.exp: Update.
4511 * gdb.cp/ctti.exp: Update.
4512 * gdb.cp/dispcxx.exp: Update.
4513 * gdb.cp/gdb1355.exp: Update.
4514 * gdb.cp/gdb2384.exp: Update.
4515 * gdb.cp/gdb2495.exp: Update.
4516 * gdb.cp/infcall-dlopen.exp: Update.
4517 * gdb.cp/local.exp: Update.
4518 * gdb.cp/m-data.exp: Update.
4519 * gdb.cp/m-static.exp: Update.
4520 * gdb.cp/mb-ctor.exp: Update.
4521 * gdb.cp/mb-inline.exp: Update.
4522 * gdb.cp/mb-templates.exp: Update.
4523 * gdb.cp/member-ptr.exp: Update.
4524 * gdb.cp/method.exp: Update.
4525 * gdb.cp/namespace.exp: Update.
4526 * gdb.cp/nextoverthrow.exp: Update.
4527 * gdb.cp/nsdecl.exp: Update.
4528 * gdb.cp/nsrecurs.exp: Update.
4529 * gdb.cp/nsstress.exp: Update.
4530 * gdb.cp/nsusing.exp: Update.
4531 * gdb.cp/pr-1023.exp: Update.
4532 * gdb.cp/pr-1210.exp: Update.
4533 * gdb.cp/pr-574.exp: Update.
4534 * gdb.cp/pr9631.exp: Update.
4535 * gdb.cp/printmethod.exp: Update.
4536 * gdb.cp/psmang.exp: Update.
4537 * gdb.cp/re-set-overloaded.exp: Update.
4538 * gdb.cp/rtti.exp: Update.
4539 * gdb.cp/shadow.exp: Update.
4540 * gdb.cp/templates.exp: Update.
4541 * gdb.cp/try_catch.exp: Update.
4542 * gdb.dwarf2/dw2-ranges.exp: Update.
4543 * gdb.dwarf2/pr10770.exp: Update.
4544 * gdb.fortran/library-module.exp: Update.
4545 * gdb.hp/gdb.aCC/optimize.exp: Update.
4546 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
4547 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
4548 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
4549 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
4550 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
4551 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
4552 * gdb.hp/gdb.compat/xdb1.exp: Update.
4553 * gdb.hp/gdb.compat/xdb2.exp: Update.
4554 * gdb.hp/gdb.compat/xdb3.exp: Update.
4555 * gdb.hp/gdb.defects/bs14602.exp: Update.
4556 * gdb.hp/gdb.defects/solib-d.exp: Update.
4557 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
4558 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
4559 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
4560 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
4561 * gdb.mi/gdb792.exp: Update.
4562 * gdb.mi/mi-pending.exp: Update.
4563 * gdb.mi/mi-solib.exp: Update.
4564 * gdb.mi/mi-var-cp.exp: Update.
4565 * gdb.opt/clobbered-registers-O2.exp: Update.
4566 * gdb.opt/inline-bt.exp: Update.
4567 * gdb.opt/inline-cmds.exp: Update.
4568 * gdb.opt/inline-locals.exp: Update.
4569 * gdb.python/py-events.exp: Update.
4570 * gdb.python/py-finish-breakpoint.exp: Update.
4571 * gdb.python/py-type.exp: Update.
4572 * gdb.reverse/solib-precsave.exp: Update.
4573 * gdb.reverse/solib-reverse.exp: Update.
4574 * gdb.server/solib-list.exp: Update.
4575 * gdb.stabs/weird.exp: Update.
4576 * gdb.threads/attach-into-signal.exp: Update.
4577 * gdb.threads/attach-stopped.exp: Update.
4578 * gdb.threads/tls-shared.exp: Update.
4579 * gdb.trace/change-loc.exp: Update.
4580 * gdb.trace/strace.exp: Update.
4581
4582 2012-06-19 Tom Tromey <tromey@redhat.com>
4583
4584 * gdb.base/whatis.exp: Add tests.
4585
4586 2012-06-19 Tom Tromey <tromey@redhat.com>
4587
4588 * gdb.cp/m-static.cc (keepalive): New function.
4589 (gnu_obj_1::method): Use it.
4590
4591 2012-06-18 Doug Evans <dje@google.com>
4592
4593 * gdb.base/info-fun.exp: New file.
4594 * gdb.base/info-fun.c: New file.
4595 * gdb.base/info-fun-solib.c: New file.
4596
4597 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4598
4599 Remove stale dummy frames.
4600 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
4601 (maintenance info breakpoints): New tests.
4602 * gdb.base/stale-infcall.c: New file.
4603 * gdb.base/stale-infcall.exp: New file.
4604
4605 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4606
4607 * gdb.arch/amd64-entry-value-param.S: New file.
4608 * gdb.arch/amd64-entry-value-param.c: New file.
4609 * gdb.arch/amd64-entry-value-param.exp: New file.
4610
4611 2012-06-15 Tom Tromey <tromey@redhat.com>
4612
4613 * gdb.cp/namespace.exp: Add "show lang" test.
4614
4615 2012-06-15 Iain Sandoe <iain@codesourcery.com>
4616
4617 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
4618 case. (top level): Use gdb_file_cmd instead of gdb_load.
4619
4620 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4621
4622 PR tdep/14222
4623 * gdb.arch/i386-sse-stack-align.S: New file.
4624 * gdb.arch/i386-sse-stack-align.c: New file.
4625 * gdb.arch/i386-sse-stack-align.exp: New file.
4626
4627 2012-06-13 Keith Seitz <keiths@redhat.com>
4628
4629 PR breakpoints/13798 and mi/11541
4630 * gdb.linespec/ls-errs.exp: Add a few more tests for
4631 filenames with spaces and colons.
4632
4633 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4634
4635 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
4636 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
4637 (test_function): Call CV_f.
4638 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
4639 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
4640 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
4641 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
4642 (p CV_f(CV::i)): New tests.
4643
4644 2012-06-13 Tom Tromey <tromey@redhat.com>
4645
4646 * gdb.base/condbreak.exp: Add tests for "condition" completion.
4647
4648 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4649
4650 Fix regression by the "ambiguous linespec" series.
4651 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
4652 tests.
4653
4654 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4655
4656 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
4657 missing.
4658
4659 2012-06-11 Tom Tromey <tromey@redhat.com>
4660
4661 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
4662 location...
4663 (main): ...here.
4664
4665 2012-06-07 Yao Qi <yao@codesourcery.com>
4666
4667 * gdb.trace/strace.exp: Shorten some too-long lines.
4668
4669 2012-06-06 Pedro Alves <palves@redhat.com>
4670
4671 * gdb.threads/clone-new-thread-event.c: New file.
4672 * gdb.threads/clone-new-thread-event.exp: New file.
4673
4674 2012-06-06 Yao Qi <yao@codesourcery.com>
4675
4676 * gdb.base/dprintf.c (main): Add extra parameter when calling
4677 printf and fprintf.
4678 (bar): New function. It is a dead function, but to ensure
4679 'malloc' is linked explicitly.
4680
4681 2012-06-06 Yao Qi <yao@codesourcery.com>
4682
4683 * gdb.base/info-proc.exp: Return if target doesn't support
4684 'info proc'.
4685
4686 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4687
4688 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
4689 (run program with breakpoint commands): XFAIl if it is not.
4690
4691 2012-06-05 Joel Brobecker <brobecker@adacore.com>
4692
4693 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
4694 and add comment.
4695 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
4696 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
4697 "STOP" marker. Adjust testing strategy to make it work on
4698 all targets.
4699
4700 * gdb.base/print-file-var-main.c (main): Rewrite using local
4701 variables and adjust get_version_2's return value check.
4702 Add small comment.
4703 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
4704 marker. Adjust testing strategy to make it work on all targets.
4705
4706 2012-06-05 Joel Brobecker <brobecker@adacore.com>
4707
4708 * gdb.ada/bad-task-bp-keyword: New testcase.
4709
4710 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4711
4712 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
4713 Simplify it to ...
4714 (symbol-file ${testfile1}): ... here.
4715 (test eliminated var my_global_symbol)
4716 (test eliminated var my_static_symbol)
4717 (test eliminated var my_global_func, get address of main): Wrap them to
4718 'single psymtabs' and 'single symtabs'
4719 (get address of my_global_symbol, get address of my_static_symbol)
4720 (get address of my_global_func, get address of main): Wrap them to
4721 'order1' and 'order2'.
4722
4723 * gdb.base/code_elim.exp
4724 (add-symbol-file ${testfile1} 0x100000)
4725 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
4726 'order2'.
4727 (order1: add-symbol-file ${testfile1} 0x100000)
4728 (order1: add-symbol-file ${testfile2} 0x200000)
4729 (order2: add-symbol-file ${testfile2} 0x200000)
4730 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
4731 .bss as appropriate.
4732
4733 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4734
4735 * gdb.server/solib-list-lib.c: New file.
4736 * gdb.server/solib-list-main.c: New file.
4737 * gdb.server/solib-list.exp: New file.
4738
4739 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
4740
4741 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
4742 for 'set print symbol' change.
4743
4744 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4745
4746 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
4747 .debug_abbrev_seg3.
4748
4749 2012-05-24 John Steele Scott <toojays@toojays.net>
4750
4751 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
4752 * gdb.dwarf2/dw2-icc-opaque.S: New file.
4753 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
4754
4755 2012-05-23 Stan Shebs <stan@codesourcery.com>
4756
4757 * gdb.mi/mi-info-os.exp: New file.
4758
4759 2012-05-23 Keith Seitz <keiths@redhat.com>
4760
4761 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4762 return -1 to suppress the rest of the tests.
4763 (compile_stap_bin): Return boolean success value.
4764
4765 2012-05-21 Tom Tromey <tromey@redhat.com>
4766
4767 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4768 Remove kfails.
4769 (test_print_mi_member_types): Likewise.
4770
4771 2012-05-21 Tom Tromey <tromey@redhat.com>
4772
4773 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4774 print symbol' change.
4775
4776 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
4777
4778 * gdb.python/py-prompt.exp: Quit if the target is remote.
4779
4780 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4781
4782 Fix ERROR: internal buffer is full.
4783 * gdb.base/info-os.exp (expect_multiline): New function.
4784 (get process list, get process groups, get threads)
4785 (get file descriptors, get internet-domain sockets)
4786 (get shared-memory regions, get semaphores, get message queues): Use
4787 it for these tests.
4788
4789 2012-05-18 Tom Tromey <tromey@redhat.com>
4790
4791 * gdb.mi/mi-var-cmd.exp: Update.
4792 * gdb.objc/basicclass.exp (do_objc_tests): Update.
4793 * gdb.cp/virtbase.exp: Update.
4794 * gdb.cp/classes.exp (test_static_members): Update.
4795 * gdb.cp/casts.exp: Update.
4796 * gdb.base/pointers.exp: Update.
4797 * gdb.base/funcargs.exp (pointer_args): Update.
4798 (structs_by_reference): Update.
4799 * gdb.base/find.exp: Update.
4800 * gdb.base/call-strs.exp: Send "set print symbol off".
4801 * gdb.base/call-ar-st.exp: Update.
4802 * gdb.ada/fun_addr.exp: Update.
4803 * gdb.base/printcmds.exp (test_print_symbol): New proc.
4804 Call it.
4805 (test_print_repeats_10, test_print_strings)
4806 (test_print_char_arrays): Update.
4807
4808 2012-05-18 Tom Tromey <tromey@redhat.com>
4809
4810 * gdb.base/charset.exp (string_display): Update.
4811
4812 2012-05-18 Tom Tromey <tromey@redhat.com>
4813
4814 * gdb.mi/mi2-var-display.exp: Update.
4815 * gdb.mi/mi-var-display.exp: Update.
4816 * gdb.mi/mi-var-child.exp: Update.
4817 * gdb.cp/expand-psymtabs-cxx.exp: Update.
4818 * gdb.cp/cp-relocate.exp (get_func_address): Update.
4819
4820 2012-05-17 Doug Evans <dje@google.com>
4821
4822 * info-macros.exp: Pass "debug" to prepare_for_testing.
4823
4824 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4825 * gdb.ada/Makefile.in (clean): Ditto.
4826 * gdb.arch/Makefile.in (clean): Ditto.
4827 * gdb.asm/Makefile.in (clean): Ditto.
4828 * gdb.base/Makefile.in (clean): Ditto.
4829 * gdb.cell/Makefile.in (clean): Ditto.
4830 * gdb.cp/Makefile.in (clean): Ditto.
4831 * gdb.disasm/Makefile.in (clean): Ditto.
4832 * gdb.dwarf2/Makefile.in (clean): Ditto.
4833 * gdb.fortran/Makefile.in (clean): Ditto.
4834 * gdb.go/Makefile.in (clean): Ditto.
4835 * gdb.hp/Makefile.in (clean): Ditto.
4836 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4837 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4838 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4839 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4840 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4841 * gdb.java/Makefile.in (clean): Ditto.
4842 * gdb.linespec/Makefile.in (clean): Ditto.
4843 * gdb.mi/Makefile.in (clean): Ditto.
4844 * gdb.modula2/Makefile.in (clean): Ditto.
4845 * gdb.multi/Makefile.in (clean): Ditto.
4846 * gdb.objc/Makefile.in (clean): Ditto.
4847 * gdb.opencl/Makefile.in (clean): Ditto.
4848 * gdb.opt/Makefile.in (clean): Ditto.
4849 * gdb.pascal/Makefile.in (clean): Ditto.
4850 * gdb.python/Makefile.in (clean): Ditto.
4851 * gdb.reverse/Makefile.in (clean): Ditto.
4852 * gdb.server/Makefile.in (clean): Ditto.
4853 * gdb.stabs/Makefile.in (clean): Ditto.
4854 * gdb.threads/Makefile.in (clean): Ditto.
4855 * gdb.trace/Makefile.in (clean): Ditto.
4856 * gdb.xml/Makefile.in (clean): Ditto.
4857
4858 2012-05-16 Tom Tromey <tromey@redhat.com>
4859
4860 * gdb.base/macscp1.c (macscp_expr): Add comment.
4861 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4862
4863 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4864
4865 * gdb.base/return-nodebug.exp: Also test float and double types.
4866
4867 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4868
4869 PR testsuite/12649
4870 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4871
4872 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4873
4874 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
4875
4876 * gdb.base/stap-probe.exp (stap_test): Remove calls to
4877 `rerun_to_main'.
4878 (stap_test_no_debuginfo): Likewise.
4879
4880 2012-05-14 Stan Shebs <stan@codesourcery.com>
4881
4882 * gdb.base/dprintf.c: New file.
4883 * gdb.base/dprintf.exp: New file.
4884
4885 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
4886
4887 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4888 * gdb.trace/disconnected-tracing.c: New file.
4889 * gdb.trace/disconnected-tracing.exp: New file.
4890
4891 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
4892
4893 * gdb.python/python.c: Add a new breakpoint comment.
4894 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4895
4896 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
4897
4898 * gdb.base/info-os.exp: New file.
4899 * gdb.base/info-os.c: New file.
4900
4901 2012-05-10 Joel Brobecker <brobecker@adacore.com>
4902
4903 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4904 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4905 New files.
4906
4907 2012-05-10 Joel Brobecker <brobecker@adacore.com>
4908
4909 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4910 gdb.base/ctxobj.exp: New files.
4911
4912 2012-05-09 Tom Tromey <tromey@redhat.com>
4913
4914 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4915
4916 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
4917
4918 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4919
4920 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
4921
4922 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
4923 before using it.
4924
4925 2012-05-04 Tristan Gingold <gingold@adacore.com>
4926
4927 * gdb.base/set-noassign.exp: New test.
4928
4929 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
4930
4931 * gdb.python/py-symbol.exp: Add tests to test the new methods
4932 gdb.Symtab.global_block() and gdb.Symtab.static_block().
4933 * gdb.python/py-symbol.c: Add new struct to help test
4934 gdb.Symtab.static_block().
4935
4936 2012-05-03 Doug Evans <dje@google.com>
4937
4938 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
4939 commented out.
4940
4941 2012-05-03 Yao Qi <yao@codesourcery.com>
4942
4943 * gdb.base/catch-syscall.exp: Skip it before compilation if target
4944 doesn't support.
4945 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
4946 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
4947
4948 2012-05-03 Yao Qi <yao@codesourcery.com>
4949
4950 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
4951
4952 2012-04-30 Doug Evans <dje@google.com>
4953
4954 PR testsuite/13961
4955 * gdb.dwarf2/pr13961.S: New file.
4956 * gdb.dwarf2/pr13961.exp: New file.
4957
4958 2012-04-29 Yao Qi <yao@codesourcery.com>
4959
4960 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
4961
4962 2012-04-28 Doug Evans <dje@google.com>
4963
4964 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
4965 .Ltype_int_in_cu2. Use name "int2" instead of "int".
4966 All uses updated.
4967 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
4968 "ptype func_cu1" to expand cu2 before cu1.
4969
4970 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
4971 Tom Tromey <tromey@redhat.com>
4972
4973 * gdb.base/default.exp: Add `$_probe_arg*' convenience
4974 variables.
4975 * gdb.base/stap-probe.c: New file.
4976 * gdb.base/stap-probe.exp: New file.
4977 * gdb.trace/stap-trace.c: New file.
4978 * gdb.trace/stap-trace.exp: New file.
4979 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
4980 libgcc's unwinder.
4981
4982 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
4983
4984 * gdb.arch/mips16-thunks-inmain.c: New file.
4985 * gdb.arch/mips16-thunks-main.c: New file.
4986 * gdb.arch/mips16-thunks-sin.c: New file.
4987 * gdb.arch/mips16-thunks-sinfrob.c: New file.
4988 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
4989 * gdb.arch/mips16-thunks-sinmain.c: New file.
4990 * gdb.arch/mips16-thunks-sinmips16.c: New file.
4991 * gdb.arch/mips16-thunks.exp: New file.
4992
4993 2012-04-25 Doug Evans <dje@google.com>
4994
4995 * configure.ac: Create gdb.go/Makefile.
4996 * configure: Regenerate.
4997 * gdb.base/default.exp: Add "go" to "set language" testing.
4998 * gdb.go/Makefile.in: New file.
4999 * gdb.go/basic-types.exp: New file.
5000 * gdb.go/chan.exp: New file.
5001 * gdb.go/chan.go: New file.
5002 * gdb.go/handcall.exp: New file.
5003 * gdb.go/handcall.go: New file.
5004 * gdb.go/hello.exp: New file.
5005 * gdb.go/hello.go: New file.
5006 * gdb.go/integers.exp: New file.
5007 * gdb.go/integers.go: New file.
5008 * gdb.go/methods.exp: New file.
5009 * gdb.go/methods.go: New file.
5010 * gdb.go/package.exp: New file.
5011 * gdb.go/package1.go: New file.
5012 * gdb.go/package2.go: New file.
5013 * gdb.go/print.exp: New file.
5014 * gdb.go/strings.exp: New file.
5015 * gdb.go/strings.go: New file.
5016 * gdb.go/types.exp: New file.
5017 * gdb.go/types.go: New file.
5018 * gdb.go/unsafe.exp: New file.
5019 * gdb.go/unsafe.go: New file.
5020 * lib/future.exp: Add Go support.
5021 (gdb_find_go, gdb_find_go_linker): New procs.
5022 (gdb_default_target_compile): Add Go support.
5023 * lib/gdb.exp (skip_go_tests): New proc.
5024 * lib/go.exp: New file.
5025
5026 2012-04-25 Tom Tromey <tromey@redhat.com>
5027
5028 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5029
5030 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5031 Jan Kratochvil <jan.kratochvil@redhat.com>
5032
5033 PR symtab/7259:
5034 * gdb.base/enumval.c: New test case.
5035 * gdb.base/enumval.exp: New test case.
5036 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5037 field.bitpos.
5038
5039 2012-04-17 Pedro Alves <palves@redhat.com>
5040
5041 * Makefile.in (site.exp): Make site.exp source
5042 $srcdir/lib/append_gdb_boards_dir.exp.
5043 * lib/append_gdb_boards_dir.exp: New file.
5044
5045 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5046
5047 New option "set auto-load safe-path".
5048 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5049 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5050
5051 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5052
5053 auto-load: Implementation.
5054 * gdb.base/help.exp (test set height): Increase the height.
5055 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5056 to ...
5057 (info auto-load python-scripts): ... here.
5058 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5059 to ...
5060 (info auto-load python-scripts *): ... here.
5061
5062 2012-04-16 Yao Qi <yao@codesourcery.com>
5063
5064 * lib/trace-support.exp (get_in_proc_agent): New.
5065 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5066 of in process trace agent.
5067 * gdb.trace/ftrace.exp: Likewise.
5068 * gdb.trace/pending.exp: Likewise.
5069 * gdb.trace/trace-break.exp: Likewise.
5070 * gdb.trace/trace-mt.exp
5071 * gdb.trace/tspeed.exp: Likewise.
5072 * gdb.trace/tstatus.exp
5073 * gdb.trace/strace.exp: Likewise.
5074
5075 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5076
5077 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5078 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5079
5080 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5081
5082 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5083
5084 PR mi/13393
5085 * gdb.mi/mi-var-rtti.cc: New file.
5086 * gdb.mi/mi-var-rtti.exp: New file.
5087 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5088 function.
5089 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5090
5091 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
5092
5093 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5094 EXECUTABLES.
5095 * gdb.python/py-explore.c: C program used for testing the new
5096 'explore' command on C constructs.
5097 * gdb.python/py-explore.cc: C++ program used for testing the new
5098 'explore' command on C++ constructs.
5099 * gdb-python/py-explore.exp: Tests for the new 'explore'
5100 command on C constructs.
5101 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5102 command on C++ constructs.
5103
5104 2012-04-07 Mark Kettenis <kettenis@gnu.org>
5105
5106 * gdb.base/funcargs.exp (complex_args): Fix typo.
5107
5108 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5109
5110 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5111 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5112
5113 2012-04-05 Keith Seitz <keiths@redhat.com>
5114
5115 * gdb.base/advance.exp: Update error message for
5116 "advance malformed" test.
5117 * gdb.base/break.exp: Likewise for "breakpoint with
5118 trailing garbage" test.
5119 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5120 with trailing garbage" test.
5121 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5122 trailng garbage" test.
5123 * gdb.base/until.exp: Likewise for "malformed until" test.
5124 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5125 for "breakpoint info (after setting on all)".
5126 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5127 tests.
5128 * gdb.cp/cplabel.cc: New file.
5129 * gdb.cp/cplabel.exp: New test.
5130 * gdb.linespec/ls-errs.c: New file.
5131 * gdb.linespec/ls-errs.exp: New test.
5132
5133 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5134
5135 * gdb.trace/unavailable.exp
5136 (collect globals: print object on: print derived_partial)
5137 (collect globals: print object on: print derived_whole)
5138 (collect globals: print object off: print derived_partial)
5139 (collect globals: print object off: print derived_whole): Update
5140 expected output.
5141
5142 2012-03-30 Keith Seitz <keiths@redhat.com>
5143
5144 * gdb.python: Add test for linespecs with commas.
5145
5146 2012-03-28 Keith Seitz <keiths@redhat.com>
5147
5148 * gdb.linespec/ls-dollar.cc: New file.
5149 * gdb.linespec/ls-dollar.exp: New test.
5150
5151 2012-03-28 Keith Seitz <keiths@redhat.com>
5152
5153 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5154 starting with the global namespace.
5155
5156 2012-03-23 Doug Evans <dje@google.com>
5157
5158 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5159
5160 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5161
5162 * gdb.python/py-value.cc: Add test case for testing the
5163 methodology exposing C++ values to Python.
5164 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5165 exposing C++ values to Python.
5166 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5167
5168 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5169 Siddhesh Poyarekar <siddhesh@redhat.com>
5170
5171 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5172 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5173 (generate native core dump): Make the test unsupported if core cannot
5174 be generated.
5175
5176 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5177
5178 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5179 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5180 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5181
5182 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5183
5184 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5185
5186 2012-03-17 Doug Evans <dje@google.com>
5187
5188 * dg-extract-results.sh: Handle KFAILs.
5189
5190 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5191
5192 PR symtab/13777
5193 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5194
5195 2012-03-16 Joel Brobecker <brobecker@adacore.com>
5196
5197 * gdb.ada/set_pckd_arr_elt: New testcase.
5198
5199 2012-03-16 Gary Benson <gbenson@redhat.com>
5200
5201 PR breakpoints/10738
5202 * gdb.opt/inline-break.exp: New file.
5203 * gdb.opt/inline-break.c: Likewise.
5204 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5205 * gdb.dwarf2/dw2-inline-break.S: Likewise.
5206 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5207 * gdb.base/async-shell.exp: Likewise.
5208 * lib/mi-support.exp (library_loaded_re): Likewise.
5209
5210 2012-03-15 Tom Tromey <tromey@redhat.com>
5211
5212 * gdb.cp/virtfunc2.exp: Update expected output.
5213 * gdb.cp/pr9631.exp: Update expected output.
5214 * gdb.cp/member-ptr.exp: Update expected output.
5215 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5216 output.
5217 * gdb.cp/casts.exp: Update expected output.
5218
5219 2012-03-15 Tom Tromey <tromey@redhat.com>
5220
5221 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5222 (test_info_vtbl): Likewise.
5223 (do_tests): Call test_info_vtbl.
5224 * gdb.cp/virtfunc.cc (va): New global.
5225
5226 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5227
5228 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5229 describing DWARF data structures.
5230 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5231 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5232 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5233 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5234 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5235 * gdb.dwarf2/dw2-param-error.S: Likewise.
5236 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5237 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5238 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5239 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5240 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5241 * gdb.dwarf2/pr11465.S: Likewise.
5242
5243 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5244
5245 * gdb.mi/mi2-prompt.exp: New file.
5246
5247 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5248
5249 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5250
5251 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5252
5253 * gdb.ada/bp_range_type: New testcase.
5254
5255 2012-03-13 Doug Evans <dje@google.com>
5256
5257 * gdb.base/default.exp: Delete tests for symbol-reloading.
5258 * gdb.base/help.exp: Ditto.
5259 * gdb.base/setshow.exp: Ditto.
5260 * gdb.base/gdb_history: Delete references to symbol-reloading.
5261
5262 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5263
5264 * gdb.base/attach-twice.c: New files.
5265 * gdb.base/attach-twice.exp: New files.
5266
5267 2012-03-08 Keith Seitz <keiths@redhat.com>
5268
5269 * lib/gdb.exp (gdb_get_line_number): Throw an
5270 error instead of returning -1.
5271 * gdb.base/break.exp: Remove unused variable
5272 bp_location5.
5273 * gdb.base/hbreak2.exp: Likewise.
5274 * gdb.base/sepdebug.exp: Likewise.
5275
5276 2012-03-08 Yao Qi <yao@codesourcery.com>
5277 Pedro Alves <palves@redhat.com>
5278
5279 Fix PR server/13392.
5280 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5281 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5282 download tracepoints.
5283 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5284 (pending_tracepoint_resolved_during_trace): Likewise.
5285 (pending_tracepoint_installed_during_trace): Likewise.
5286 (pending_tracepoint_with_action_resolved): Likewise.
5287
5288 2012-03-08 Keith Seitz <keiths@redhat.com>
5289
5290 * gdb.ada/array_bounds.exp: Get breakpoint for line
5291 with "START", not "STOP".
5292 * gdb.python/py-infthread.exp: Do not continue to
5293 line marked "Break here.", which is undefined.
5294
5295 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
5296
5297 Revert:
5298
5299 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5300
5301 Implement testsuite workaround for PR breakpoints/13781.
5302 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5303 (set breakpoint condition-evaluation host): New conditional command.
5304
5305 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5306
5307 Fix CU relative vs. absolute DIE offsets.
5308 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5309 one.
5310
5311 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5312
5313 Fix false FAIL on distros with relro linkage as default.
5314 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5315 -Wl,-z,norelro first.
5316
5317 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5318
5319 * gdb.ada/bp_on_var: New testcase.
5320
5321 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5322
5323 * gdb.ada/bp_enum_homonym: New testcase.
5324
5325 2012-03-06 Yao Qi <yao@codesourcery.com>
5326
5327 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5328 x86_64-*-* and i?86-*-*.
5329 Set up KFAIL for gdb/13808.
5330
5331 2012-03-05 Tom Tromey <tromey@redhat.com>
5332
5333 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5334 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5335
5336 2012-03-05 Tom Tromey <tromey@redhat.com>
5337
5338 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5339
5340 2012-03-04 Yao Qi <yao@codesourcery.com>
5341
5342 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5343 messages for KFAIL.
5344
5345 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5346
5347 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5348 (print one_two_three, indexes off, print few_reps, indexes off)
5349 (print many_reps, indexes off, print empty, indexes off)
5350 (print one_two_three, print few_reps, print many_reps, print empty):
5351 Call setup_xfail if $gcc_old.
5352
5353 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5354
5355 Implement testsuite workaround for PR breakpoints/13781.
5356 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5357 (set breakpoint condition-evaluation host): New conditional command.
5358
5359 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5360
5361 Code cleanup.
5362 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5363 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5364 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5365 number 1 by $bpnum. Four times.
5366
5367 2012-03-03 Yao Qi <yao@codesourcery.com>
5368
5369 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5370
5371 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5372
5373 Setup KFAIL for PR server/13796.
5374 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5375
5376 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5377
5378 * gdb.ada/operator_bp: New testcase.
5379
5380 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5381
5382 * gdb.ada/info_locals_renaming: New testcase.
5383
5384 2012-03-02 Tom Tromey <tromey@redhat.com>
5385
5386 * gdb.base/nextoverexit.c: New file.
5387 * gdb.base/nextoverexit.exp: New file.
5388
5389 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5390
5391 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5392 parameter.
5393
5394 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5395
5396 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5397 core registers.
5398
5399 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5400 Maciej W. Rozycki <macro@codesourcery.com>
5401 Daniel Jacobowitz <dan@codesourcery.com>
5402
5403 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5404
5405 2012-03-01 Pedro Alves <palves@redhat.com>
5406
5407 PR gdb/13767
5408
5409 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5410 (gdb_collect_globals_test): Call it.
5411
5412 2012-03-01 Keith Seitz <keiths@redhat.com>
5413
5414 * gdb.cp/method2.exp: Output of overload menu is now
5415 alphabetized. Update tests for "break A::method".
5416 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5417 of hard-coding them.
5418 Overload menu is alphabetized: rewrite to accommodate.
5419 Unset variables LINE and TYPES which are used in other tests.
5420 Compute the output of "info break".
5421 Update the breakpoint table after all breakpoints are deleted.
5422 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5423 compute ACTUALS and the method body based on parameters.
5424 Update expected output accordingly.
5425 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5426 unique comments to allow the use of gdb_get_line_number.
5427
5428 2012-03-01 Keith Seitz <keiths@redhat.com>
5429
5430 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5431 some Tcl syntax.
5432 * gdb.cp/ovldbreak.exp: Likewise.
5433
5434 2012-03-01 Keith Seitz <keiths@redhat.com>
5435
5436 * gdb.base/help.exp (help show user): Update expected result
5437 for new doc string changes (add "non-python").
5438
5439 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
5440
5441 * gdb.python/py-cmd.exp: Add test to verify that python commands can
5442 be put in the user-defined category and that the commands appear in
5443 "help user-defined".
5444
5445 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5446
5447 * gdb.ada/tagged_not_init: New testcase.
5448
5449 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5450
5451 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5452 * gdb.ada/enum_idx_packed: New testcase.
5453
5454 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5455
5456 * gdb.ada/aliased_array: New testcase.
5457
5458 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5459
5460 * gdb.ada/whatis_array_val: New testcase.
5461
5462 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5463
5464 Fix disp-step-syscall.exp: fork: single step over fork.
5465 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5466 whitespaces.
5467 (single step over $syscall): Remove its check.
5468 (single step over $syscall final pc): New check.
5469
5470 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5471
5472 Support processors without SSSE3.
5473 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5474 pabsd into ...
5475 (ssse3_test): ... a new function.
5476 (main): Call ssse3_test.
5477 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5478 Update expected values everywhere.
5479 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5480 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5481 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5482 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5483 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5484 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5485 Move these tests lower.
5486 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5487 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5488 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5489 New tests.
5490
5491 2012-02-29 Yao Qi <yao@codesourcery.com>
5492 Pedro Alves <palves@redhat.com>
5493
5494 * gdb.trace/trace-mt.c: New.
5495 * gdb.trace/trace-mt.exp: New.
5496
5497 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
5498
5499 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5500 numbers instead of hardcoding them.
5501 * gdb.base/annota1.c: Provide suitable markers.
5502 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5503 numbers instead of hardcoding them.
5504 * gdb.base/annota3.c: Provide suitable markers.
5505
5506 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5507 * gdb.base/annota3.c: Likewise.
5508 * gdb.base/sigall.c: Likewise.
5509 * gdb.base/signals.c: Likewise.
5510 * gdb.reverse/sigall-reverse.c: Likewise.
5511
5512 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
5513
5514 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5515 failure return path.
5516
5517 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
5518
5519 * gdb.base/save-bp.exp: Account for new condition evaluator output.
5520
5521 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
5522
5523 * gdb.base/cond-eval-mode.exp: New file.
5524
5525 2012-02-24 Pedro Alves <palves@redhat.com>
5526
5527 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5528 (top level): Use with_test_prefix.
5529
5530 2012-02-24 Pedro Alves <palves@redhat.com>
5531
5532 * gdb.threads/attach-into-signal.exp (corefunc): Use
5533 with_test_prefix.
5534
5535 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5536
5537 Fix false FAILs on old CPUs without SSE.
5538 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
5539 Return untested for Illegal instruction.
5540
5541 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5542
5543 Fix false FAILs with glibc debug infos installed.
5544 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
5545 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
5546
5547 2012-02-22 Sterling Augustine <saugustine@google.com>
5548
5549 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
5550 constant with cast.
5551
5552 2012-02-21 Pedro Alves <palves@redhat.com>
5553
5554 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
5555
5556 2012-02-21 Pedro Alves <palves@redhat.com>
5557
5558 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
5559
5560 2012-02-21 Pedro Alves <palves@redhat.com>
5561
5562 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
5563 with_test_prefix.
5564
5565 2012-02-21 Pedro Alves <palves@redhat.com>
5566
5567 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
5568 with_test_prefix here.
5569 (top level): Do it here instead. Remove `:' from the
5570 with_test_prefix string.
5571 * gdb.base/attach-pie-misread.exp: Remove the leading space the
5572 the suffix `:' from the with_test_prefix prefix string.
5573 * gdb.base/break-interp.exp: Ditto.
5574 * gdb.base/catch-load.exp: Ditto.
5575 * gdb.base/disp-step-syscall.exp: Ditto.
5576 * gdb.base/jit-so.exp: Ditto.
5577 * gdb.base/jit.exp: Ditto.
5578 * gdb.base/sepdebug.exp: Ditto.
5579 * gdb.base/solib-display.exp: Ditto.
5580 * gdb.base/solib-overlap.exp: Ditto.
5581 * gdb.base/watch-cond-infcall.exp: Ditto.
5582 * gdb.base/watchpoint.exp: Ditto.
5583 * gdb.dwarf2/dw2-noloc.exp: Ditto.
5584 * gdb.mi/mi-watch.exp: Ditto.
5585 * gdb.mi/mi2-watch.exp: Ditto.
5586 * gdb.threads/non-ldr-exc-1.exp: Ditto.
5587 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5588 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5589 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5590 * gdb.threads/watchpoint-fork.exp: Ditto.
5591 * gdb.threads/watchthreads-reorder.exp: Ditto.
5592 * gdb.trace/change-loc.exp: Ditto.
5593 * gdb.trace/pending.exp: Ditto.
5594 * gdb.trace/status-stop.exp: Ditto.
5595 * gdb.trace/strace.exp: Ditto.
5596 * gdb.trace/trace-break.exp: Ditto.
5597 * gdb.trace/unavailable.exp: Ditto.
5598 * lib/gdb.exp (with_test_prefix): Always prefix with space and
5599 suffix with colon. Adjust leading comments.
5600
5601 2012-02-21 Pedro Alves <palves@redhat.com>
5602 Tom Tromey <tromey@redhat.com>
5603
5604 * lib/gdb.exp: Add description of test prefixes.
5605 (with_test_prefix): New procedure.
5606 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
5607 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
5608 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
5609 instead of lappend to append to pf_prefix.
5610 * gdb.base/catch-load.exp: Use with_test_prefix.
5611 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
5612 * gdb.base/jit-so.exp: Use with_test_prefix.
5613 * gdb.base/jit.exp: Use with_test_prefix.
5614 * gdb.base/return-nodebug.exp (do_test): Use append instead of
5615 lappend to append to pf_prefix.
5616 * gdb.base/sepdebug.exp: Use with_test_prefix.
5617 * gdb.base/solib-display.exp: Use with_test_prefix.
5618 * gdb.base/solib-overlap.exp: Use with_test_prefix.
5619 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
5620 * gdb.base/watchpoint.exp: Use with_test_prefix.
5621 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
5622 * gdb.mi/mi-watch.exp: Use with_test_prefix.
5623 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
5624 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
5625 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
5626 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
5627 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
5628 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
5629 append instead of lappend to append to pf_prefix.
5630 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
5631 * gdb.trace/change-loc.exp: Use with_test_prefix.
5632 * gdb.trace/pending.exp: Use with_test_prefix.
5633 * gdb.trace/status-stop.exp: Use with_test_prefix.
5634 * gdb.trace/strace.exp: Use with_test_prefix.
5635 * gdb.trace/trace-break.exp: Use with_test_prefix.
5636 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
5637 instead of lappend to append to pf_prefix.
5638
5639 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5640
5641 Fix racy FAILs.
5642 * gdb.base/inferior-died.c (main): Add return of 0.
5643 * gdb.base/inferior-died.exp (continue): Fix expectation of
5644 asynchronous events.
5645 (p 1): New test.
5646
5647 2012-02-20 Pedro Alves <palves@redhat.com>
5648
5649 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
5650 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
5651 gdb's internal debug output. For the non-threaded case, look for
5652 "Program received signal SIGLARM", for the threaded case, peek at
5653 the thread's siginfo.
5654
5655 2012-02-20 Pedro Alves <palves@redhat.com>
5656
5657 General cleanup, make output test messages unique, and build
5658 different executable files for the non-threaded and threaded
5659 cases.
5660
5661 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
5662 Delete.
5663 (executable_nothr, executable_thr): New globals.
5664 (top level): Adjust to delete both executables.
5665 (corefunc): New parameter $executable. Set $pf_prefix instead of
5666 hand writing a prefix in tests. Issue a clean_restart and enable
5667 lin-lwp debug output here.
5668 (top level): Adjust. Use build_executable. Don't start gdb here,
5669 and don't enable lin-lwp debug output here.
5670 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
5671
5672 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5673
5674 Fix racy FAILs.
5675 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
5676 "continue" command.
5677
5678 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5679
5680 Fix for gdbserver non-extended mode.
5681 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
5682 and gdb_run_cmd.
5683
5684 2012-02-17 Tom Tromey <tromey@redhat.com>
5685
5686 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
5687 * gdb.python/py-events.exp: Check 'dir' output.
5688 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
5689
5690 2012-02-17 Yao Qi <yao@codesourcery.com>
5691
5692 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
5693
5694 2012-02-16 Tom Tromey <tromey@redhat.com>
5695
5696 * gdb.base/inferior-died.c: Don't include stdio.h.
5697
5698 2012-02-16 Tom Tromey <tromey@redhat.com>
5699
5700 * gdb.base/inferior-died.c: New file.
5701 * gdb.base/inferior-died.exp: New file.
5702
5703 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
5704
5705 * gdb.base/break-inline.exp: New file.
5706 * gdb.base/break-inline.c: New file.
5707
5708 2012-02-15 Tom Tromey <tromey@redhat.com>
5709
5710 * gdb.base/pc-fp.exp: Add "info register" tests.
5711
5712 2012-02-15 Tom Tromey <tromey@redhat.com>
5713
5714 * gdb.base/regs.exp: Remove.
5715
5716 2012-02-15 Pedro Alves <palves@redhat.com>
5717
5718 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
5719 the target doesn't support tracepoints.
5720 * gdb.trace/circ.exp: Ditto.
5721 * gdb.trace/collection.exp: Ditto.
5722 * gdb.trace/packetlen.exp: Ditto.
5723 * gdb.trace/passc-dyn.exp: Ditto.
5724 * gdb.trace/report.exp: Ditto.
5725 * gdb.trace/tfind.exp: Ditto.
5726 * gdb.trace/tspeed.exp: Ditto.
5727 * gdb.trace/tsv.exp: Ditto.
5728 * gdb.trace/unavailable.exp: Ditto.
5729 * gdb.trace/while-dyn.exp: Ditto.
5730
5731 2012-02-15 Pedro Alves <palves@redhat.com>
5732
5733 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
5734 gdb_test_multiple, and call unsupported instead of fail, if the
5735 remote side does not support the request.
5736
5737 2012-02-15 Pedro Alves <palves@redhat.com>
5738
5739 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
5740 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
5741 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
5742 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
5743 * gdb.server/server-run.exp: Make sure gdb is disconnected.
5744 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
5745 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
5746 doesn't start with "extended-" already.
5747
5748 2012-02-15 Pedro Alves <palves@redhat.com>
5749
5750 Support extended-remote. Avoid cascading timeouts.
5751
5752 * gdb.base/attach.exp (do_attach_tests): Add expected output for
5753 the extended-remote target. If attaching with no file fails, load
5754 the file manually.
5755 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
5756
5757 2012-02-14 Stan Shebs <stan@codesourcery.com>
5758
5759 * gdb.base/ena-dis-br.exp: Add enable count test.
5760
5761 2012-02-13 Pedro Alves <palves@redhat.com>
5762
5763 * config/mips-idt.exp: Delete.
5764 * gdb.base/a2-run.exp: Remove mips-idt xfails.
5765 * gdb.base/bitfields.exp: Remove mips-idt restarts.
5766 * gdb.base/break.exp: Remove mips-idt references.
5767 * gdb.base/chng-syms.exp: Ditto.
5768 * gdb.base/default.exp: Ditto.
5769 * gdb.base/funcargs.exp (funcargs_reload): Delete.
5770 (top level): Don't call it.
5771 * gdb.base/opaque.exp: Remove mips-idt restarts.
5772 * gdb.base/ptype.exp: Remove mips-idt xfails.
5773 * gdb.base/scope.exp: Remove mips-idt restarts.
5774 * gdb.base/sepdebug.exp: Remove mips-idt references.
5775 * gdb.base/watchpoint.exp (maybe_clean_restart)
5776 (maybe_reinitialize): Delete.
5777 (test_disabling_watchpoints, test_disabling_watchpoints)
5778 (test_watchpoint_triggered_in_syscall)
5779 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5780 Don't call them.
5781
5782 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5783
5784 * gdb.server/server-exec-info.exp: New file.
5785
5786 2012-02-10 Pedro Alves <palves@redhat.com>
5787
5788 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5789 always non-empty.
5790 (test_attach): Always pass $exec to test_attach_gdb.
5791
5792 2012-02-08 Tom Tromey <tromey@redhat.com>
5793
5794 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5795 before inferior is started.
5796
5797 2012-02-07 Tom Tromey <tromey@redhat.com>
5798
5799 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5800 Symbol.value.
5801 * gdb.python/py-symbol.c (qq): Set default value.
5802
5803 2012-02-07 Tom Tromey <tromey@redhat.com>
5804
5805 * gdb.python/py-symbol.c (qq): New global.
5806 * gdb.python/py-symbol.exp: Add test for frame-less
5807 lookup_symbol.
5808 * gdb.python/py-symtab.exp: Fix line number.
5809
5810 2012-02-03 Joel Brobecker <brobecker@adacore.com>
5811
5812 * gdb.ada/mi_task_arg: New testcase.
5813
5814 2012-02-02 Pedro Alves <palves@redhat.com>
5815
5816 * gdb.reverse/until-precsave.exp: Also put "record save" under the
5817 extended timeout.
5818
5819 2012-02-02 Pedro Alves <palves@redhat.com>
5820
5821 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5822 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5823
5824 2012-02-02 Pedro Alves <palves@redhat.com>
5825
5826 * gdb.base/term.exp: Rewrite.
5827 * gdb.base/term.c: New.
5828
5829 2012-02-02 Pedro Alves <palves@redhat.com>
5830
5831 * gdb.base/default.exp (run "r" abbreviation, run): Add
5832 extended-remote expected output.
5833
5834 2012-02-02 Tom Tromey <tromey@redhat.com>
5835
5836 * gdb.cp/dispcxx.exp: New file.
5837 * gdb.cp/dispcxx.cc: New file.
5838
5839 2012-02-01 Tom Tromey <tromey@redhat.com>
5840
5841 * gdb.base/jit-simple.exp: New file.
5842 * gdb.base/jit-simple.c: New file.
5843
5844 2012-01-30 Yao Qi <yao@codesourcery.com>
5845
5846 * gdb.base/skip.exp: Make test result unique.
5847
5848 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5849
5850 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5851 compatibility with valgrind-3.7.0.
5852
5853 2012-01-27 Pedro Alves <palves@redhat.com>
5854
5855 * gdb.base/watchpoint.exp (no_hw): New global.
5856 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5857 disable hw watchpoints.
5858 (test_wide_location_1, test_wide_location_2): If no_hw is set,
5859 don't expect hw watchpoints.
5860 (no_hw_watchpoints): Always clean restart.
5861 (do_tests): New procedure, factored out from the top level.
5862 (top level): Run tests twice. Once with hw watchpoints enabled,
5863 another time with hw watchpoints disabled.
5864
5865 2012-01-27 Pedro Alves <palves@redhat.com>
5866
5867 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5868 out from the top level.
5869 (top level): Call it instead.
5870
5871 2012-01-27 Pedro Alves <palves@redhat.com>
5872
5873 * gdb.base/watchpoint.exp (top level): Re-enable hardware
5874 watchpoints sooner.
5875
5876 2012-01-27 Pedro Alves <palves@redhat.com>
5877
5878 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5879
5880 2012-01-27 Pedro Alves <palves@redhat.com>
5881
5882 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5883 "You may have requested too many hardware
5884 breakpoints/watchpoints".
5885
5886 2012-01-27 Pedro Alves <palves@redhat.com>
5887
5888 * gdb.base/watchpoint.exp (maybe_clean_restart)
5889 (maybe_reinitialize): New.
5890 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
5891 expect "hit N times".
5892 (test_disabling_watchpoints, test_complex_watchpoint)
5893 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5894 Call maybe_clean_restart.
5895 (top level): Use clean_restart. Remove "mips-idt-*"
5896 reinitialization.
5897
5898 2012-01-27 Pedro Alves <palves@redhat.com>
5899
5900 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5901
5902 2012-01-27 Pedro Alves <palves@redhat.com>
5903
5904 * gdb.base/watchpoint.exp: Clean restart after tests that don't
5905 require `initialize' anymore. Remove unnecessary `initialize'
5906 calls.
5907
5908 2012-01-27 Pedro Alves <palves@redhat.com>
5909
5910 * gdb.base/watchpoint.exp (wp_set): Delete.
5911 (initialize, test_simple_watchpoint, top level): Remove dead code.
5912
5913 2012-01-27 Pedro Alves <palves@redhat.com>
5914
5915 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5916 typo.
5917
5918 2012-01-27 Pedro Alves <palves@redhat.com>
5919
5920 * config/extended-gdbserver.exp: New file.
5921 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5922 comment.
5923 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
5924 * boards/native-extended-gdbserver.exp: New file.
5925
5926 2012-01-26 Pedro Alves <palves@redhat.com>
5927
5928 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
5929 and gdb_test_multiple.
5930
5931 2012-01-26 Pedro Alves <palves@redhat.com>
5932
5933 Make test messages unique, and more identifiable.
5934 * gdb.multi/watchpoint-multi.exp: Change test messages.
5935
5936 2012-01-25 Tom Tromey <tromey@redhat.com>
5937
5938 * gdb.base/solib-disc.exp: Fix regexps.
5939
5940 2012-01-24 Tom Tromey <tromey@redhat.com>
5941
5942 * lib/mi-support.exp (mi_expect_stop): Add special case for
5943 solib-event.
5944 * gdb.base/catch-load-so.c: New file.
5945 * gdb.base/catch-load.exp: New file.
5946 * gdb.base/catch-load.c: New file.
5947 * gdb.base/break-interp.exp (reach_1): Update regexp.
5948
5949 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5950
5951 Fix fuzzy results.
5952 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
5953 lpsimple and func.
5954
5955 2012-01-24 Gary Benson <gbenson@redhat.com>
5956
5957 Delete #if 0'd out code.
5958 * gdb.base/default.exp (info catch): Remove.
5959 * gdb.base/gdb_history (info catch): Likewise.
5960 * gdb.base/help.exp (info catch): Likewise.
5961
5962 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5963
5964 Fix watchpoints to be specific for each inferior.
5965 * gdb.multi/watchpoint-multi.c: New file.
5966 * gdb.multi/watchpoint-multi.exp: New file.
5967
5968 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5969
5970 Fix watchpoints across inferior fork.
5971 * gdb.threads/watchpoint-fork-child.c: New file.
5972 * gdb.threads/watchpoint-fork-mt.c: New file.
5973 * gdb.threads/watchpoint-fork-parent.c: New file.
5974 * gdb.threads/watchpoint-fork-st.c: New file.
5975 * gdb.threads/watchpoint-fork.exp: New file.
5976 * gdb.threads/watchpoint-fork.h: New file.
5977
5978 2012-01-23 Pedro Alves <palves@redhat.com>
5979
5980 * gdb.base/call-signal-resume.exp: Allow output after "return".
5981
5982 2012-01-20 Pedro Alves <palves@redhat.com>
5983
5984 * gdb.python/py-finish-breakpoint.py: Fix typo.
5985
5986 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
5987
5988 * gdb.base/info-proc.exp: Also run on remote targets. Main
5989 "info proc" command is now always present; whether target supports
5990 actual info proc operation is detected when attempting to issue
5991 the command.
5992
5993 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5994
5995 * .gdbinit: Remove.
5996
5997 2012-01-19 Pedro Alves <palves@redhat.com>
5998
5999 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6000 look at the funtions' returns.
6001 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6002 (jprint.print(int, int)): Change return type to int. Adjust.
6003
6004 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6005
6006 PR gdb/9538
6007 * gdb.base/sepdebug.exp: New test.
6008
6009 2012-01-18 Pedro Alves <palves@redhat.com>
6010
6011 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6012 Allow output before ^done.
6013
6014 2012-01-16 Tom Tromey <tromey@redhat.com>
6015
6016 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6017 Add tests for relative directory.
6018
6019 2012-01-16 Tom Tromey <tromey@redhat.com>
6020
6021 * gdb.base/printcmds.c (enum flag_enum): New.
6022 (three): New global.
6023 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6024 enum printing.
6025 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6026 FlagEnumerationPrinter.
6027 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6028 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6029 (fval): New global.
6030
6031 2012-01-16 Pedro Alves <palves@redhat.com>
6032
6033 * lib/gdb.exp (banned_procedures): New variable.
6034 (banned_variables_traced): Rename to ...
6035 (banned_traced): ... this.
6036 (gdb_init): Also trace banned procedures.
6037 (gdb_finish): Also untrace banned procedures.
6038
6039 2012-01-16 Pedro Alves <palves@redhat.com>
6040
6041 Remove all calls to strace.
6042
6043 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6044
6045 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6046 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6047
6048 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6049
6050 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6051 * gdb.base/pie-execl.exp: Likewise.
6052
6053 2012-01-12 Keith Seitz <keiths@redhat.com>
6054
6055 PR mi/10586
6056 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6057 (do_anonymous_type_tests): New function.
6058 (main): Call do_anonymous_type_tests.
6059 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6060 (verify_everything): New procedure.
6061 * gdb.mi/mi-var-cp.cc (class A): New class.
6062 (anonymous_structs_and_unions): New function.
6063 (main): Call anonymous_structs_and_unions.
6064 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6065 (verify_everything): New procedure.
6066
6067 2012-01-12 Keith Seitz <keiths@redhat.com>
6068
6069 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6070 (varobj_tree::get_path_expr): Assume that all varobjs are
6071 compound unless they are known simple types.
6072 Adjust path expressions based on parent type, path parent type,
6073 and tree language.
6074 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6075 the root varobj.
6076 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6077
6078 2012-01-11 Pedro Alves <palves@redhat.com>
6079
6080 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6081 core files on this machine" anymore.
6082
6083 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6084
6085 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6086 (main): Repeat recurser call.
6087 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6088 equivalent to 'local_x'.
6089
6090 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6091 Joel Brobecker <brobecker@adacore.com>
6092
6093 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6094
6095 2012-01-05 Pedro Alves <alves.ped@gmail.com>
6096
6097 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6098 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6099 * gdb.python/py-events.exp: Test that "step N" tripping on a
6100 breakpoint emits a breakpoint event.
6101
6102 2012-01-03 Joel Brobecker <brobecker@adacore.com>
6103
6104 * gdb.base/auxv.exp: Reformat the copyright notice.
6105
6106 2012-01-03 Yao Qi <yao@codesourcery.com>
6107
6108 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6109 (strace_trace_on_diff_addr): New.
6110 * gdb.trace/strace.c: (main): Add two local variables.
6111
6112 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6113
6114 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6115 * gdb.cell/gcore.exp: Likewise.
6116 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6117 to verify the correct instance of main is selected.
6118
6119 2012-01-02 Joel Brobecker <brobecker@adacore.com>
6120
6121 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6122 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6123 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6124 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6125 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6126 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6127 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6128 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6129 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6130 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6131 gdb.threads/thread_check.c: Reformat copyright header.
6132
6133 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6134
6135 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
6136 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6137 is not enabled.
6138
6139 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6140
6141 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6142 parameter to self_exec, adjust the function.
6143 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6144 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6145 (set var do_exit = 0): Remove test.
6146 (newline at end of file): Add one.
6147
6148 2011-12-27 Joel Brobecker <brobecker@adacore.com>
6149
6150 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6151 New files.
6152
6153 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6154
6155 Fix racy FAILs.
6156 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6157 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6158 (main): Call pthread_barrier_init for it.
6159
6160 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6161
6162 Fix double send_gdb leading to racy FAILs.
6163 * gdb.base/break.exp (set silent break bp_location1): Replace
6164 3x send_gdb and gdb_expect by gdb_test.
6165 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6166 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6167 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6168 instead of send_gdb. Twice.
6169 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6170 3x send_gdb and gdb_expect by gdb_test.
6171 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6172
6173 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6174
6175 * gdb.linespec/linespec.exp: Compile using {c++}.
6176
6177 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6178
6179 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6180 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6181 (verify GCC PR debug/51668): New test.
6182
6183 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
6184
6185 Introduce gdb.FinishBreakpoint in Python.
6186 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6187 py-finish-breakpoint2
6188 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6189 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6190 instead of line number.
6191 * gdb.python/py-finish-breakpoint.c: New file.
6192 * gdb.python/py-finish-breakpoint.exp: New file.
6193 * gdb.python/py-finish-breakpoint.py: New file.
6194 * gdb.python/py-finish-breakpoint2.cc: New file.
6195 * gdb.python/py-finish-breakpoint2.exp: New file.
6196 * gdb.python/py-finish-breakpoint2.py: New file.
6197
6198 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6199
6200 Partial fix of compatibility with gcc-4.7.
6201 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6202 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6203 Add comment to add a PASS case in the future.
6204
6205 Fix compatibility with gcc-4.7.
6206 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6207
6208 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6209
6210 PR tdep/12797
6211 * gdb.base/callfuncs.exp: Remove KFAIL.
6212
6213 2011-12-21 Joel Brobecker <brobecker@adacore.com>
6214
6215 * gdb.ada/task_bp: New testcase.
6216
6217 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6218
6219 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6220 -DNO_SECTIONS.
6221 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6222
6223 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6224
6225 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6226 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6227 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6228 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6229 conditional for gcc <= 4.5.
6230
6231 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6232
6233 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6234 by XFAIL.
6235 * gdb.cp/static-method.exp (info addr A::func())
6236 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6237 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6238 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6239 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6240 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6241 (test value of F in k3_m): Likewise.
6242 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6243 Likewise.
6244
6245 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6246
6247 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6248 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6249 Remove.
6250 * gdb.threads/attachstop-mt.c: Remove.
6251 * gdb.threads/attachstop-mt.exp: Remove.
6252
6253 2011-12-17 Mark Kettenis <kettenis@gnu.org>
6254
6255 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6256
6257 2011-12-16 Doug Evans <dje@google.com>
6258
6259 * boards/native-stdio-gdbserver.exp: New file.
6260 * boards/native-gdbserver.exp: New file.
6261
6262 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6263 gdbserver output.
6264 (gdbserver_default_get_remote_address): New function.
6265 (gdbserver_start): Call gdb,get_remote_address to compute argument
6266 to "target remote" command.
6267
6268 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6269
6270 * gdb.python/py-function.exp: Change "on" to "full" for
6271 python print-stack. Add set/show python print-stack
6272 off|full|message tests.
6273
6274 2011-12-15 Yao Qi <yao@codesourcery.com>
6275
6276 * gdb.trace/strace.c: New
6277 * gdb.trace/strace.exp: New.
6278
6279 2011-12-14 Tom Tromey <tromey@redhat.com>
6280
6281 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6282
6283 2011-12-14 Doug Evans <dje@google.com>
6284
6285 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6286
6287 2011-12-14 Pedro Alves <pedro@codesourcery.com>
6288
6289 PR threads/10729
6290
6291 * gdb.mi/watch-nonstop.c: New file.
6292 * gdb.mi/mi-watch-nonstop.exp: New file.
6293
6294 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6295 Doug Evans <dje@google.com>
6296
6297 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6298 (clean_restart): Remove references to the gdb_stub target board
6299 variable.
6300 (gdb_step_for_stub): Delete.
6301
6302 * gdb.base/annota1.exp: Remove all references to [target_info
6303 exists gdb_stub], gdb_step_for_stub and usestubs.
6304 * gdb.base/annota3.exp: Ditto.
6305 * gdb.base/async.exp: Ditto.
6306 * gdb.base/break.exp: Ditto.
6307 * gdb.base/code-expr.exp: Ditto.
6308 * gdb.base/commands.exp: Ditto.
6309 * gdb.base/completion.exp: Ditto.
6310 * gdb.base/condbreak.exp: Ditto.
6311 * gdb.base/consecutive.exp: Ditto.
6312 * gdb.base/cvexpr.exp: Ditto.
6313 * gdb.base/define.exp: Ditto.
6314 * gdb.base/display.exp: Ditto.
6315 * gdb.base/ena-dis-br.exp: Ditto.
6316 * gdb.base/environ.exp: Ditto.
6317 * gdb.base/gnu-ifunc.exp: Ditto.
6318 * gdb.base/maint.exp: Ditto.
6319 * gdb.base/pending.exp: Ditto.
6320 * gdb.base/sect-cmd.exp: Ditto.
6321 * gdb.base/sepdebug.exp: Ditto.
6322 * gdb.base/unload.exp: Ditto.
6323 * gdb.base/watchpoint-solib.exp: Ditto.
6324 * gdb.cp/annota2.exp: Ditto.
6325 * gdb.cp/annota3.exp: Ditto.
6326 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6327 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6328 * gdb.mi/mi-pending.exp: Ditto.
6329 * gdb.trace/circ.exp: Ditto.
6330 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6331 * gdb.base/list.exp: Ditto.
6332
6333 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6334 breakpoint function and all references to the usestubs macro.
6335 * gdb.base/exprs.c: Ditto.
6336 * gdb.base/freebpcmd.c: Ditto.
6337 * gdb.base/bitfields.c: Ditto.
6338 * gdb.base/bitfields2.c: Ditto.
6339 * gdb.base/break.c: Ditto.
6340 * gdb.base/call-sc.c: Ditto.
6341 * gdb.base/call-signals.c: Ditto.
6342 * gdb.base/callfuncs.c: Ditto.
6343 * gdb.base/charset.c: Ditto.
6344 * gdb.base/consecutive.c: Ditto.
6345 * gdb.base/constvars.c: Ditto.
6346 * gdb.base/funcargs.c: Ditto.
6347 * gdb.base/int-type.c: Ditto.
6348 * gdb.base/interrupt.c: Ditto.
6349 * gdb.base/langs0.c: Ditto.
6350 * gdb.base/list0.c: Ditto.
6351 * gdb.base/mips_pro.c: Ditto.
6352 * gdb.base/miscexprs.c: Ditto.
6353 * gdb.base/nodebug.c: Ditto.
6354 * gdb.base/opaque0.c: Ditto.
6355 * gdb.base/pointers.c: Ditto.
6356 * gdb.base/printcmds.c: Ditto.
6357 * gdb.base/ptype.c: Ditto.
6358 * gdb.base/recurse.c: Ditto.
6359 * gdb.base/reread1.c: Ditto.
6360 * gdb.base/reread2.c: Ditto.
6361 * gdb.base/restore.c: Ditto.
6362 * gdb.base/return.c: Ditto.
6363 * gdb.base/run.c: Ditto.
6364 * gdb.base/scope0.c: Ditto.
6365 * gdb.base/sepdebug.c: Ditto.
6366 * gdb.base/setshow.c: Ditto.
6367 * gdb.base/setvar.c: Ditto.
6368 * gdb.base/sigall.c: Ditto.
6369 * gdb.base/signals.c: Ditto.
6370 * gdb.base/structs.c: Ditto.
6371 * gdb.base/structs2.c: Ditto.
6372 * gdb.base/testenv.c: Ditto.
6373 * gdb.base/twice.c: Ditto.
6374 * gdb.base/unwindonsignal.c: Ditto.
6375 * gdb.base/watchpoint.c: Ditto.
6376 * gdb.base/watchpoints.c: Ditto.
6377 * gdb.base/whatis.c: Ditto.
6378 * gdb.cp/classes.cc: Ditto.
6379 * gdb.cp/cplusfuncs.cc: Ditto.
6380 * gdb.cp/derivation.cc: Ditto.
6381 * gdb.cp/formatted-ref.cc: Ditto.
6382 * gdb.cp/misc.cc: Ditto.
6383 * gdb.cp/overload.cc: Ditto.
6384 * gdb.cp/ovldbreak.cc: Ditto.
6385 * gdb.cp/ref-params.cc: Ditto.
6386 * gdb.cp/ref-types.cc: Ditto.
6387 * gdb.cp/templates.cc: Ditto.
6388 * gdb.cp/virtfunc.cc: Ditto.
6389 * gdb.hp/gdb.aCC/run.c: Ditto.
6390 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6391 * gdb.hp/gdb.compat/xdb0.c: Ditto.
6392 * gdb.reverse/consecutive-reverse.c: Ditto.
6393 * gdb.reverse/sigall-reverse.c: Ditto.
6394 * gdb.reverse/until-reverse.c: Ditto.
6395 * gdb.reverse/watch-reverse.c: Ditto.
6396 * gdb.trace/actions.c: Ditto.
6397 * gdb.trace/circ.c: Ditto.
6398 * gdb.trace/collection.c: Ditto.
6399
6400 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6401
6402 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6403 (func6, func7): New.
6404 (main): Call func6 and func7.
6405 * gdb.base/watchpoint.exp (test_wide_location_1)
6406 (test_wide_location_2): New.
6407 (top level): Re-enable hardware watchpoints if necessary. Call
6408 test_wide_location_1 and test_wide_location_2.
6409
6410 2011-12-11 Yao Qi <yao@codesourcery.com>
6411
6412 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6413
6414 2011-12-11 Joel Brobecker <brobecker@adacore.com>
6415
6416 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6417 expected output for unsupported case.
6418
6419 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6420
6421 PR testsuite/12649
6422 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6423 Protect gdb_test_multiple by final $gdb_prompt match.
6424
6425 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6426
6427 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6428 New variable, new test.
6429 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6430 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6431 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6432 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6433 them if HAVE_GCC_45682_FIXED is not set.
6434
6435 2011-12-10 Yao Qi <yao@codesourcery.com>
6436
6437 * gdb.trace/status-stop.exp: New.
6438 * gdb.trace/status-stop.c: New.
6439
6440 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6441
6442 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6443 timeout.
6444
6445 2011-12-08 Tom Tromey <tromey@redhat.com>
6446
6447 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6448 condition.
6449
6450 2011-12-07 Stan Shebs <stan@codesourcery.com>
6451
6452 * gdb.trace/tfind.exp: Update for output changes.
6453
6454 2011-12-07 Pedro Alves <pedro@codesourcery.com>
6455
6456 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6457 throws "Cannot insert catchpoints in this configuration".
6458 * gdb.ada/mi_catch_ex.exp: Likewise.
6459
6460 2011-12-06 Pedro Alves <pedro@codesourcery.com>
6461
6462 * gdb.base/break-always.exp: Test changing memory at addresses
6463 with breakpoints inserted.
6464
6465 2011-12-06 Joel Brobecker <brobecker@acacore.com>
6466
6467 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6468 involving a fully qualified function name.
6469
6470 2011-12-06 Tom Tromey <tromey@redhat.com>
6471
6472 * gdb.ada/homonym.exp: Add three breakpoint tests.
6473
6474 2011-12-06 Tom Tromey <tromey@redhat.com>
6475
6476 * gdb.base/solib-weak.exp (do_test): Remove kfail.
6477 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6478 * gdb.objc/objcdecode.exp: Update for output changes.
6479 * gdb.linespec/linespec.exp: New file.
6480 * gdb.linespec/lspec.cc: New file.
6481 * gdb.linespec/lspec.h: New file.
6482 * gdb.linespec/body.h: New file.
6483 * gdb.linespec/base/two/thefile.cc: New file.
6484 * gdb.linespec/base/one/thefile.cc: New file.
6485 * gdb.linespec/Makefile.in: New file.
6486 * gdb.cp/templates.exp (test_template_breakpoints): Update for
6487 output changes.
6488 * gdb.cp/re-set-overloaded.exp: Remove kfail.
6489 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
6490 makes one breakpoint.
6491 * gdb.cp/method2.exp (test_break): Update for output changes.
6492 * gdb.cp/mb-templates.exp: Update for output changes.
6493 * gdb.cp/mb-inline.exp: Update for output changes.
6494 * gdb.cp/mb-ctor.exp: Update for output changes.
6495 * gdb.cp/ovsrch.exp: Use fully-qualified names.
6496 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
6497 has multiple matches.
6498 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
6499 error message change.
6500 * gdb.base/list.exp (test_list_filename_and_number): Update for
6501 error message change.
6502 * gdb.base/break.exp: Disable pending breakpoints. Update for
6503 output changes.
6504 * configure.ac: Add gdb.linespec.
6505 * configure: Rebuild.
6506 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6507
6508 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
6509
6510 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6511 last_break register on s390*-*-* targets.
6512
6513 2011-12-06 Joel Brobecker <brobecker@adacore.com>
6514
6515 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6516 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6517 of parameter X in procedure Foo.
6518
6519 2011-12-05 Stan Shebs <stan@codesourcery.com>
6520
6521 * gdb.trace/tfind.exp: Update help string matches.
6522
6523 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6524
6525 * gdb.server/ext-run.exp (get process list): Accept also systemd
6526 as PID 1.
6527
6528 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6529 Pedro Alves <pedro@codesourcery.com>
6530
6531 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6532 starting GDB.
6533 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6534 $use_gdb_stub.
6535 * gdb.base/display.exp: Likewise.
6536 * gdb.base/ending-run.exp: Likewise.
6537 * gdb.base/list.exp (test_listsize): Likewise.
6538 * gdb.base/setshow.exp: Likewise.
6539 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
6540 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
6541 check by global $use_gdb_stub.
6542 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
6543 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
6544 (default_gdb_init): Unset global $use_gdb_stub.
6545 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
6546 by global $use_gdb_stub.
6547 * lib/gdbserver-support.exp: Extend comments for set_board_info
6548 gdb_protocol and gdb,socketport.
6549 (gdbserver_start_extended): Set global gdbserver_protocol and
6550 gdbserver_gdbport. Clear global use_gdb_stub.
6551 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
6552 from target use_gdb_stub.
6553 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
6554
6555 2011-12-03 Doug Evans <dje@google.com>
6556
6557 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
6558 (gdb_step_for_stub): Add comments.
6559
6560 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
6561
6562 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
6563 to the caller.
6564 (gdb_test_multiple): Likewise.
6565
6566 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6567
6568 Fix gdb.mi/mi-solib.exp without system debug info installed.
6569 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
6570 expect attribute, return 0 for it. Update comments.
6571
6572 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6573
6574 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
6575 (corrupted list): Adjust the expectation.
6576
6577 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6578
6579 PR threads/13448
6580 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
6581 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
6582 * gdb.threads/tls-var-main.c: New file.
6583 * gdb.threads/tls-var.c: New file.
6584 * gdb.threads/tls-var.exp: New file.
6585
6586 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6587
6588 PR testsuite/12649
6589 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
6590 Protect gdb_test_multiple by final $gdb_prompt match.
6591 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
6592 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
6593 (test_tracepoints): Likewise.
6594
6595 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6596
6597 PR breakpoints/13346
6598 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
6599 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
6600 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
6601
6602 2011-12-01 Joel Brobecker <brobecker@adacore.com>
6603
6604 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
6605 * gdb.ada/homonym/homonym.adb: For use of all types defined
6606 locally inside both Get_Value subprograms.
6607
6608 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6609
6610 Fix racy FAILs.
6611 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
6612 of send_gdb.
6613
6614 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6615
6616 * gdb.base/testenv.exp: Skip on remote targets. Unset global
6617 environment variable after test completed.
6618
6619 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6620
6621 * gdb.base/solib-nodir.exp: Skip if remote target.
6622 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
6623 application. Call gdb_load_shlibs.
6624 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
6625
6626 2011-11-29 Joel Brobecker <brobecker@adacore.com>
6627
6628 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
6629
6630 2011-11-28 Joel Brobecker <brobecker@adacore.com>
6631
6632 * gdb.ada/fullname_bp: New testcase.
6633
6634 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6635
6636 PR testsuite/12649
6637 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
6638 Wrap send_gdb into a new gdb_test.
6639
6640 Code cleanup.
6641 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
6642 Convert send_gdb and gdb_expect to gdb_test_multiple.
6643
6644 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6645
6646 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
6647
6648 2011-11-23 Keith Seitz <keiths@redhat.com>
6649
6650 * lib/mi-support.exp (varobj_tree): New namespace and procs.
6651 (mi_varobj_tree_test_children_callback): New proc.
6652 (mi_walk_varobj_tree): New proc.
6653
6654 2011-11-22 Tom Tromey <tromey@redhat.com>
6655
6656 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
6657 Add "use_mi_command" argument.
6658 (mi_run_cmd, mi_run_with_cli): New procs.
6659 * gdb.mi/solib-lib.c: New file.
6660 * gdb.mi/solib-main.c: New file.
6661 * gdb.mi/mi-solib.exp: New file.
6662
6663 2011-11-21 Doug Evans <dje@google.com>
6664
6665 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
6666 _Unwind_DebugHook is missing.
6667
6668 2011-11-20 Stan Shebs <stan@codesourcery.com>
6669
6670 * gdb.trace/tstatus.exp: New.
6671 * gdb.trace/actions.c: Include string.h.
6672
6673 2011-11-18 Yao Qi <yao@codesourcery.com>
6674
6675 * gdb.trace/pending.exp: New.
6676 * gdb.trace/pending.c: New.
6677 * gdb.trace/pendshr1.c: New.
6678 * gdb.trace/pendshr2.c: New.
6679 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
6680 tracepoint location becomes pending.
6681 (tracepoint_change_loc_2): New.
6682
6683 2011-11-16 David S. Miller <davem@davemloft.net>
6684
6685 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
6686 target is sparc*-*-linux*
6687
6688 2011-11-15 Paul Koning <paul_koning@dell.com>
6689
6690 * gdb.python/py-type.exp: New testcases for exceptions on scalar
6691 types.
6692
6693 2011-11-14 Doug Evans <dje@google.com>
6694
6695 * gdb.base/shell.exp: New file.
6696
6697 2011-11-14 Stan Shebs <stan@codesourcery.com>
6698
6699 * gdb.trace/ftrace.c: New.
6700 * gdb.trace/ftrace.exp: New.
6701
6702 2011-11-14 Yao Qi <yao@codesourcery.com>
6703
6704 * gdb.trace/change-loc-1.c: New.
6705 * gdb.trace/change-loc-2.c: New.
6706 * gdb.trace/change-loc.c: New.
6707 * gdb.trace/change-loc.exp: New.
6708 * gdb.trace/change-loc.h: New.
6709 * gdb.trace/trace-break.c (marker): Define new symbol.
6710 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6711 New.
6712 (break_trace_same_addr_6): New.
6713
6714 2011-11-12 Matt Rice <ratmice@gmail.com>
6715
6716 * gdb.base/info-macros.exp: Make tests for info definitions
6717 test info macro. Add tests for info macro argument processing.
6718 Rename a few tests.
6719
6720 2011-11-11 Keith Seitz <keiths@redhat.com>
6721
6722 PR gdb/12843
6723 * gdb.base/linespecs.exp: New file.
6724
6725 2011-11-11 Doug Evans <dje@google.com>
6726
6727 * gdb.threads/print-threads.exp: Extend timeout for slower
6728 tests.
6729
6730 2011-11-10 Doug Evans <dje@google.com>
6731
6732 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
6733 "record to end of main" test.
6734
6735 * gdb.python/py-type.c (TS): New typedef.
6736 (ts): New global.
6737 * gdb.python/py-type.exp: Test field list of typedef.
6738
6739 2011-11-10 Joel Brobecker <brobecker@adacore.com>
6740
6741 * gdb.ada/small_reg_param: New testcase.
6742
6743 2011-11-09 Tom Tromey <tromey@redhat.com>
6744
6745 * gdb.cp/destrprint.exp: New file.
6746 * gdb.cp/destrprint.cc: New file.
6747
6748 2011-11-08 Meador Inge <meadori@codesourcery.com>
6749
6750 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
6751 (switch_stack_to_other): New test function.
6752 * gdb.arch/thumb-prologue.exp: New test cases.
6753
6754 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
6755
6756 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
6757
6758 2011-11-08 Yao Qi <yao@codesourcery.com>
6759
6760 * gdb.exp (supports_process_record): New.
6761 (supports_reverse): New.
6762 * gdb.reverse/break-precsave.exp: Call support_process_record
6763 to run test conditionally.
6764 * gdb.reverse/consecutive-precsave.exp: Likewise.
6765 * gdb.reverse/i386-precsave.exp: Likewise.
6766 * gdb.reverse/machinestate-precsave.exp: Likewise.
6767 * gdb.reverse/solib-precsave.exp: Likewise.
6768 * gdb.reverse/step-precsave.exp: Likewise.
6769 * gdb.reverse/until-precsave.exp: Likewise.
6770 * gdb.reverse/watch-precsave.exp: Likewise.
6771 * gdb.reverse/break-reverse.exp: Call support_reverse to run
6772 test conditionally.
6773 * gdb.reverse/consecutive-reverse.exp: Likewise.
6774 * gdb.reverse/finish-precsave.exp: Likewise.
6775 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6776 * gdb.reverse/finish-reverse.exp: Likewise.
6777 * gdb.reverse/i386-reverse.exp: Likewise.
6778 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6779 * gdb.reverse/machinestate.exp: Likewise.
6780 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6781 * gdb.reverse/sigall-precsave.exp: Likewise.
6782 * gdb.reverse/sigall-reverse.exp: Likewise.
6783 * gdb.reverse/solib-reverse.exp: Likewise.
6784 * gdb.reverse/step-reverse.exp: Likewise.
6785 * gdb.reverse/until-reverse.exp: Likewise.
6786 * gdb.reverse/watch-reverse.exp: Likewise.
6787
6788 2011-11-05 Yao Qi <yao@codesourcery.com>
6789
6790 * gdb.trace/trace-break.exp: Add test on setting two
6791 fast tracepoints at the same address.
6792
6793 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6794
6795 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6796
6797 2011-11-02 Stan Shebs <stan@codesourcery.com>
6798
6799 * gdb.trace/collection.c: Add code using strings.
6800 * gdb.trace/collection.exp: Add tests of string collection.
6801
6802 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6803
6804 * gdb.base/skip-solib.exp (executable_main): New variable.
6805 (binfile_main): Base it on that.
6806 Use $executable_main in clean_restart calls. Drop gdb_exit and
6807 gdb_start calls.
6808
6809 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6810
6811 Fix racy FAILs.
6812 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6813 breakpoint_re globals import by async. Set string_regex to .* for
6814 async. Remove the optional thread_selected_re and breakpoint_re
6815 globals expectations.
6816
6817 2011-11-01 Joseph Myers <joseph@codesourcery.com>
6818
6819 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6820 well as Cygwin.
6821
6822 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
6823
6824 Add tests for skip command.
6825 * gdb.base/skip-solib-lib.c: New
6826 * gdb.base/skip-solib-main.c: New
6827 * gdb.base/skip-solib.exp: New
6828 * gdb.base/skip.c: New
6829 * gdb.base/skip.exp: New
6830 * gdb.base/skip1.c: New
6831 * gdb.base/Makefile.in: Adding new files.
6832
6833 2011-10-31 Yao Qi <yao@codesourcery.com>
6834 Pedro Alves <pedro@codesourcery.com>
6835
6836 * gdb.trace/trace-break.c: New.
6837 * gdb.trace/trace-break.exp: New.
6838
6839 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6840
6841 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6842 break-here-2.
6843
6844 2011-10-28 Pedro Alves <pedro@codesourcery.com>
6845
6846 * gdb.threads/no-unwaited-for-left.c: New.
6847 * gdb.threads/no-unwaited-for-left.exp: New.
6848 * gdb.threads/non-ldr-exc-1.c: New.
6849 * gdb.threads/non-ldr-exc-1.exp: New.
6850 * gdb.threads/non-ldr-exc-2.c: New.
6851 * gdb.threads/non-ldr-exc-2.exp: New.
6852 * gdb.threads/non-ldr-exc-3.c: New.
6853 * gdb.threads/non-ldr-exc-3.exp: New.
6854 * gdb.threads/non-ldr-exc-4.c: New.
6855 * gdb.threads/non-ldr-exc-4.exp: New.
6856
6857 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6858
6859 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6860 * gdb.base/attach-pie-misread.exp: Likewise.
6861 * gdb.base/break-interp.exp: Likewise.
6862 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6863 testcases for use_gdb_stub.
6864 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6865 (continue): New testcase.
6866 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6867 * gdb.threads/attach-into-signal.exp: Likewise.
6868 * gdb.threads/attach-stopped.exp: Likewise.
6869 * gdb.threads/attachstop-mt.exp: Likewise.
6870
6871 2011-10-28 Paul Koning <paul_koning@dell.com>
6872
6873 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6874
6875 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6876
6877 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6878 (mi_gdb_test): Import globals thread_selected_re
6879 and breakpoint_re. Expect them optionally at the regex start.
6880
6881 2011-10-27 Doug Evans <dje@google.com>
6882
6883 * gdb.python/python.exp: Test source -s.
6884
6885 2011-10-26 Paul Koning <paul_koning@dell.com>
6886
6887 * gdb.python/lib-types.cc (struct A): New structure.
6888 * gdb.python/lib-types.exp (deepitems): New tests.
6889
6890 2011-10-25 Paul Koning <paul_koning@dell.com>
6891
6892 PR python/13327
6893
6894 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6895 fetch_lazy method.
6896
6897 2011-10-24 Yao Qi <yao@codesourcery.com>
6898
6899 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6900 target is tic6x-*-*.
6901
6902 2011-10-21 Joel Brobecker <brobecker@adacore.com>
6903
6904 * gdb.ada/mi_task_info/task_switch.adb: New file.
6905 * gdb.ada/mi_task_info.exp: New file.
6906
6907 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6908
6909 * gdb.cp/expand-psymtabs-cxx.exp: New file.
6910 * gdb.cp/expand-psymtabs-cxx.cc: New file.
6911
6912 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
6913
6914 PR python/12656
6915
6916 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6917 global_block tests.
6918
6919 2011-10-18 Tom Tromey <tromey@redhat.com>
6920
6921 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6922
6923 2011-10-18 Tom Tromey <tromey@redhat.com>
6924
6925 * gdb.base/source.exp: Don't include full file name in test name.
6926 * gdb.python/python.exp: Don't include full file name in test
6927 name.
6928
6929 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6930
6931 * gdb.base/attach-pie-noexec.c: New files.
6932 * gdb.base/attach-pie-noexec.exp: New files.
6933
6934 2011-10-17 Joseph Myers <joseph@codesourcery.com>
6935
6936 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
6937 prompt for each extra line in command.
6938
6939 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6940
6941 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
6942 Revert the part of:
6943 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6944 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6945 Change the expected string.
6946
6947 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6948
6949 Fix results with system glibc debug info installed.
6950 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
6951 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
6952 Accept also __libc_ symbol prefix and no prefix.
6953
6954 2011-10-14 Keith Seitz <keiths@redhat.com>
6955
6956 PR c++/13225
6957 * gdb.cp/converts.cc (foo3_1): New function.
6958 (foo3_2): New functions.
6959 * gdb.cp/converts.exp: Add tests for int to pointer conversion
6960 and null pointer conversions of integer constant zero.
6961 Add test to check if all arguments are checked for incompatible
6962 conversion BADNESS.
6963
6964 2011-10-14 Tom Tromey <tromey@redhat.com>
6965
6966 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
6967 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
6968 linespec.
6969
6970 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6971
6972 Fix internal error regression.
6973 * gdb.dwarf2/implptr-optimized-out.S: New file.
6974 * gdb.dwarf2/implptr-optimized-out.exp: New file.
6975
6976 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6977
6978 Fix empty DWARF expressions DATA vs. SIZE conditionals.
6979 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
6980 (loclist): New.
6981 (4): New abbrev.
6982 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
6983 Use prepare_for_testing, remove clean_restart.
6984 (p arraynoloc, p arraycallnoloc): New tests.
6985
6986 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6987
6988 * gdb.cp/namespace-enum.exp (executable): New variable.
6989 (binfile): Use ${objdir}/${subdir}/ prefix.
6990 Use ${executable} for clean_restart.
6991
6992 2011-10-11 Sterling Augustine <saugustine@google.com>
6993
6994 * gdb.cp/Makefile.in: Add namespace-enum test.
6995 * gdb.cp/namespace-enum.exp: New file.
6996 * gdb.cp/namespace-enum.c: New file.
6997 * gdb.cp/namespace-enum-main.c: New file.
6998
6999 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7000
7001 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7002 sysroot.
7003
7004 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7005
7006 Reimplement @entry in input expressions.
7007 * gdb.base/exprs.c (v_int_array_init): New variable.
7008 * gdb.base/exprs.exp (print v_int_array_init)
7009 (print *v_int_array_init@1, print *v_int_array_init@2)
7010 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7011 (print v_int_array_init[1]@1): New tests.
7012
7013 2011-10-10 Joseph Myers <joseph@codesourcery.com>
7014
7015 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7016 expected message.
7017
7018 2011-10-09 Doug Evans <dje@google.com>
7019
7020 * gdb.base/alias.exp: Add tests for alias command.
7021
7022 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7023
7024 * gdb.arch/amd64-entry-value.s: New file.
7025 * gdb.mi/mi2-amd64-entry-value.s: New file.
7026
7027 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7028
7029 Display @entry parameter values even for references.
7030 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7031 functions.
7032 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7033 reference and datap_input.
7034 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7035 breakpoints.
7036 (continue to breakpoint: entry_reference: reference)
7037 (entry_reference: bt at entry)
7038 (continue to breakpoint: entry_reference: breakhere_reference)
7039 (entry_reference: bt, entry_reference: ptype regparam)
7040 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7041 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7042 (entry_reference: p regcopy, entry_reference: p nodataparam)
7043 (entry_reference: p nodataparam@entry): New tests.
7044
7045 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7046
7047 Support @entry in input expressions.
7048 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7049 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7050 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7051 (tailcall: p j@entry): New tests.
7052 * gdb.cp/koenig.cc (A::entry): New function.
7053 (main): Call it.
7054 * gdb.cp/koenig.exp (p entry (c)): New test.
7055
7056 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7057
7058 Display @entry parameter values (without references).
7059 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7060 (different, validity, invalid): New functions.
7061 (main): Call them.
7062 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7063 stacktest, breakhere_stacktest, different, breakhere_different,
7064 breakhere_validity and breakhere_invalid.
7065 (entry: bt): Update for @entry.
7066 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7067 (entry_validity: *, entry_invalid: *): Many new tests.
7068 * gdb.base/break.exp
7069 (run until breakpoint set at small function, optimized file): Accept
7070 also the @entry suffix.
7071 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7072 * gdb.mi/mi2-amd64-entry-value.c: New files.
7073 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7074
7075 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7076
7077 Protect entry values against self tail calls.
7078 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7079 (main): Call self.
7080 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7081 (set debug entry-values 1, self: bt debug entry-values): New tests.
7082
7083 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7084
7085 Recognize virtual tail call frames.
7086 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7087 (amb_b, amb_a): New.
7088 (main): Call a and b.
7089 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7090 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7091 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7092 New tests.
7093
7094 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7095
7096 Implement basic support for DW_TAG_GNU_call_site.
7097 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7098 * gdb.arch/amd64-entry-value.cc: New file.
7099 * gdb.arch/amd64-entry-value.exp: New file.
7100
7101 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7102
7103 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7104 * gdb.dwarf2/implptr-64bit.S: New file.
7105 * gdb.dwarf2/implptr-64bit.exp: New file.
7106
7107 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7108
7109 Fix initial language detection with -readnow.
7110 * gdb.cp/readnow-language.cc: New file.
7111 * gdb.cp/readnow-language.exp: New file.
7112
7113 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7114
7115 Fix printed anonymous struct name.
7116 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7117
7118 2011-10-09 Joseph Myers <joseph@codesourcery.com>
7119
7120 * gdb.base/solib-symbol.exp: Do not include directories in
7121 filenames in expected messages.
7122
7123 2011-10-07 Doug Evans <dje@google.com>
7124
7125 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7126
7127 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
7128
7129 Allow Python notification of new object-file loadings.
7130 * gdb.python/py-events.exp: Test newobjfile event.
7131 * gdb.python/py-events.py: Register newobjfile callback.
7132 * gdb.python/py-events.c: Add call to shared library
7133 * gdb.python/py-events-shlib.c: New file.
7134
7135 2011-10-06 Joseph Myers <joseph@codesourcery.com>
7136
7137 * gdb.base/fixsection.exp: Do not include directories in filename
7138 in expected message.
7139
7140 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7141
7142 Add tests for passing of environment variables to inferior.
7143 * gdb.base/testenv.c: New test source.
7144 * gdb.base/testenv.exp: New expect test.
7145
7146 2011-10-04 Paul Koning <paul_koning@dell.com>
7147
7148 * gdb.python/py-value.c (main): Break before return.
7149
7150 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
7151
7152 PR python/12691: Add the inferior to Python exited event
7153 * gdb.python/py-events.exp: Test the inferior attribute of exited
7154 event with a fork.
7155 * gdb.python/py-events.py: Print inferior number on exit.
7156 * gdb.python/py-events.c: Fork the inferior.
7157
7158 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7159
7160 * gdb.base/jit.exp: Add testcase name to log message
7161
7162 2011-10-03 Paul Koning <paul_koning@dell.com>
7163 Jan Kratochvil <jan.kratochvil@redhat.com>
7164
7165 * gdb.python/py-value.exp
7166 (python inval = gdb.parse_and_eval('*(int*)0'))
7167 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7168 (set argc=2, python print argc_lazy): New tests.
7169
7170 2011-10-02 Joel Brobecker <brobecker@adacore.com>
7171
7172 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7173
7174 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7175 Pedro Alves <pedro@codesourcery.com>
7176
7177 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7178 can_read_0, test for it.
7179 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7180 (parse_and_eval with memory error): ... here, make it untested if
7181 can_read_0.
7182
7183 2011-09-30 Marek Polacek <mpolacek@redhat.com>
7184
7185 * gdb.python/python.exp (verify pagination beforehand)
7186 (verify pagination afterwards): Fix race by splitting the line.
7187
7188 2011-09-29 Joseph Myers <joseph@codesourcery.com>
7189
7190 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7191 for 64-bit multilibs from i?86-* targets.
7192
7193 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7194
7195 * lib/gdb.exp: Fix a typo in one of the comments.
7196
7197 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7198
7199 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7200 matching pattern.
7201
7202 2011-09-28 Paul Koning <paul_koning@dell.com>
7203
7204 * gdb.python/py-type.c (enum E): New.
7205 * gdb.python/py-type.exp (test_fields): Add tests for Python
7206 mapping access to fields.
7207 (test_enums): New test for field access on enums.
7208
7209 2011-09-27 Stan Shebs <stan@codesourcery.com>
7210
7211 * gdb.trace/collection.exp: Test collection of $_ret.
7212
7213 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
7214
7215 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7216 list of compilation switches for <*-*-freebsd*>.
7217
7218 2011-09-19 Stan Shebs <stan@codesourcery.com>
7219
7220 * gdb.trace/tspeed.exp: New file.
7221 * gdb.trace/tspeed.c: New file.
7222
7223 2011-09-18 Yao Qi <yao@codesourcery.com>
7224
7225 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7226 instructions.
7227 (test_adr_32bit, test_pop_pc): Likewise.
7228 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7229 Thumb instructions.
7230 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7231 in gdb_test_multiple.
7232 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7233
7234 2011-09-17 Yao Qi <yao@codesourcery.com>
7235
7236 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7237 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7238 support single step to signal handler.
7239
7240 2011-09-17 Yao Qi <yao@codesourcery.com>
7241
7242 * gdb.base/disp-step-fork.c: New.
7243 * gdb.base/disp-step-syscall.exp: New.
7244 * gdb.base/disp-step-vfork.c: New.
7245
7246 2011-09-16 Joel Brobecker <brobecker@adacore.com>
7247
7248 * gdb.ada/tasks.exp: Make the expected output for
7249 the `info tasks' tests more resilient to spacing
7250 changes.
7251
7252 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7253
7254 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7255 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7256
7257 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
7258
7259 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7260 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7261
7262 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
7263
7264 Handle multiple breakpoint hits in Python interface:
7265 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7266 presence.
7267 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7268 breakpoint hits.
7269
7270 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7271 Jan Kratochvil <jan.kratochvil@redhat.com>
7272
7273 * gdb.python/py-events.exp: Remove pretty printing comment.
7274 * gdb.python/py-evsignal.exp: New file.
7275 * gdb.python/py-evthreads.c: Include signal.h.
7276 (thread3): Remove variable count3. Remove variable bad and use raise
7277 instead.
7278 (thread2): Remove variable count2. Move thread3 pthread_create here,
7279 merge pthread_join to a single line.
7280 (main): Remove variable count1. Merge pthread_join with pthread_create
7281 to a single line.
7282 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7283 KFAIL python/12966 for gdbserver. Test return value of
7284 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7285 gdb_expect by gdb_test and gdb_test_multiple.
7286 (thread 2, thread 3): New tests.
7287
7288 2011-09-12 Matt Rice <ratmice@gmail.com>
7289 Pedro Alves <pedro@codesourcery.com>
7290
7291 PR gdb/13175
7292
7293 * gdb.base/interp.exp: New tests.
7294 * gdb.base/interp.c: New file.
7295
7296 2011-09-12 Doug Evans <dje@google.com>
7297
7298 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7299 * gdb.dwarf2/typeddwarf.exp: Ditto.
7300
7301 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7302
7303 Fix compatibility with x32 arch.
7304 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7305 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7306 is_x86_like_target.
7307 * testsuite/gdb.trace/collection.exp: Likewise.
7308 * testsuite/gdb.trace/report.exp: Likewise.
7309 * testsuite/gdb.trace/unavailable.exp: Likewise.
7310 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7311 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7312 (is_x86_like_target): Check also is_amd64_regs_target.
7313
7314 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7315
7316 PR breakpoints/12435
7317 * gdb.arch/amd64-prologue-xmm.c: New file.
7318 * gdb.arch/amd64-prologue-xmm.exp: New file.
7319 * gdb.arch/amd64-prologue-xmm.s: New file.
7320
7321 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7322
7323 * gdb.dwarf2/dw2-param-error-main.c: New file.
7324 * gdb.dwarf2/dw2-param-error.S: New file.
7325 * gdb.dwarf2/dw2-param-error.exp: New file.
7326
7327 2011-09-08 Pedro Alves <pedro@codesourcery.com>
7328
7329 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7330 inferior's pid and look for a core dump named core.$pid. Use
7331 `remote_file' commands on the host instead of hand coding shell
7332 commands on the build.
7333 * gdb.base/valgrind-db-attach.exp: Kill the program before
7334 finishing the test.
7335
7336 2011-09-02 Matt Rice <ratmice@gmail.com>
7337
7338 * lib/prompt.exp: New file for testing the first prompt.
7339 * gdb.python/py-prompt.exp: Ditto.
7340 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7341
7342 2011-09-02 Pedro Alves <pedro@codesourcery.com>
7343
7344 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7345 0, before testing gcore.
7346
7347 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7348
7349 * dw2-ifort-parameter-debug.S: Update copyright year.
7350 * dw2-ifort-parameter.c: Update copyright year.
7351 * dw2-ifort-parameter.exp: Update copyright year.
7352
7353 * dw2-ifort-parameter-debug.S: New file.
7354 * dw2-ifort-parameter.c: New file.
7355 * dw2-ifort-parameter.exp: New file.
7356
7357 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7358
7359 * gdb.base/commands.exp (error_clears_commands_left): New function.
7360 (): Call it.
7361
7362 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7363
7364 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7365 (C): Initialize `a'.
7366 * gdb.mi/mi-inheritance-syntax-error.exp
7367 (-data-evaluate-expression $path): Expect `a' as 5.
7368
7369 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7370
7371 PR mi/11912
7372 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7373 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7374 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7375 keyword in output of -var-info-path-expression.
7376
7377 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7378
7379 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7380 * gdb.trace/collection.exp: Likewise.
7381 * gdb.trace/report.exp: Likewise.
7382 * gdb.trace/unavailable.exp: Likewise.
7383 * gdb.trace/while-dyn.exp: Likewise.
7384
7385 2011-08-18 Keith Seitz <keiths@redhat.com>
7386
7387 PR c++/12266
7388 * gdb.cp/meth-typedefs.cc: New file.
7389 * gdb.cp/meth-typedefs.exp: New file.
7390
7391 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
7392
7393 * gdb.python/python.exp: Add extended-prompt tests.
7394
7395 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7396
7397 * gdb.arch/i386-dr3-watch.exp
7398 (watchpoint on gap1 does not fit debug registers)
7399 (delete all watchpoints): Fix racy expect strings.
7400
7401 2011-08-14 Yao Qi <yao@codesourcery.com>
7402
7403 * gdb.base/maint.exp: set data_section to ".neardata".
7404 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7405 * gdb.base/savedregs.exp: Handle SIGILL.
7406 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7407 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7408
7409 2011-08-12 Doug Evans <dje@google.com>
7410
7411 * gdb.python/py-symbol.exp: Add test for symbol.type.
7412
7413 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
7414
7415 * gdb.threads/pthreads.exp: Enable on non-native configurations.
7416 * gdb.mi/mi-pthreads.exp: Likewise.
7417 * gdb.mi/mi2-pthreads.exp: Likewise.
7418 * gdb.mi/gdb669.exp.exp: Likewise.
7419
7420 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7421
7422 * lib/mi-support.exp (detect_async): Rename to...
7423 (mi_detect_async): ... this.
7424 * gdb.mi/mi-nonstop-exit.exp: Adjust.
7425 * gdb.mi/mi-nonstop.exp: Adjust.
7426 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7427 * gdb.mi/mi-nsintrall.exp: Adjust.
7428 * gdb.mi/mi-nsmoribund.exp: Adjust.
7429 * gdb.mi/mi-nsthrexec.exp: Adjust.
7430
7431 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7432
7433 * gdb.base/display.c (do_loops): New `p_i' local.
7434 * gdb.base/display.exp: Test displaying a variable that is
7435 temporarily at a bad address.
7436
7437 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7438
7439 * gdb.dwarf2/dw2-op-stack-value.S: New file.
7440 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7441
7442 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7443
7444 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
7445 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7446 (p fuNC_symtab): Permit also ppc64 leading dot.
7447
7448 2011-08-05 Pedro Alves <pedro@codesourcery.com>
7449
7450 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7451 procedure.
7452 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7453
7454 2011-08-05 Yao Qi <yao@codesourcery.com>
7455
7456 * gdb.base/callfuncs.exp: Set language after main.
7457 * gdb.cp/cplusfuncs.exp: Likewise.
7458 * gdb.cp/inherit.exp: Likewise.
7459
7460 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7461
7462 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7463 * gdb.base/watch-vfork.exp: Skip on remote targets.
7464
7465 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7466
7467 * gdb.threads/thread-find.exp: Support remote targets.
7468
7469 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7470
7471 * gdb.base/jit.exp: Download solib_binfile to target.
7472 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
7473 and call dlopen without full path name.
7474 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7475 dlopen without full path name.
7476
7477 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7478
7479 * gdb.base/break-always.exp: Complete the test
7480 with duplicated breakpoints and enabling/disabling them.
7481
7482 2011-08-02 Tom Tromey <tromey@redhat.com>
7483
7484 PR gdb/11289:
7485 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
7486
7487 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7488
7489 PR gdb/13045
7490 * gdb.base/float.exp: Add new test case for PR gdb/13045
7491 * gdb.base/float.c: New file.
7492
7493 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
7494
7495 * gdb.python/py-mi.exp: Test printers returning string hint, and
7496 also not returning a value.
7497 * gdb.python/py-prettyprint.c: Add testcase for above.
7498 * gdb.python/py-prettyprint.py: Add test printer for above.
7499
7500 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7501
7502 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7503 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7504 (.Ldie30) Add as field "data4".
7505 (.Ldie32) Rename field "b" to "shl".
7506 (abbrev4) Change for the "data4" field.
7507 (abbrev5, abbrev6) Remove.
7508 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7509 (p &s.shl): ... here. Add comment.
7510 (p &s.data4): New.
7511
7512 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7513
7514 Fix crash on lval_computed values.
7515 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7516
7517 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7518
7519 * gdb.base/help.exp (help whatis): Update the expected string.
7520
7521 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7522
7523 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7524 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7525 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7526 Change the expected string.
7527
7528 2011-07-26 Pedro Alves <pedro@codesourcery.com>
7529
7530 * gdb.base/watchpoint.exp
7531 (test_disable_enable_software_watchpoint): New procedure.
7532 (top level): Run it.
7533
7534 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
7535
7536 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
7537 executable file "${binfile}", C++ version "${binfile}-cxx".
7538 * gdb.python/py-prettyprint.exp: Likewise.
7539 * gdb.python/py-symbol.exp: Likewise.
7540 * gdb.python/py-type.exp: Likewise.
7541 * gdb.python/py-value.exp: Likewise.
7542 * gdb.python/py-template.exp (test_template_arg): Pass full executable
7543 file name instead of just suffix.
7544
7545 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7546
7547 Fix implicit pointer offsets.
7548 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
7549 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
7550 (continue to breakpoint: continue to baz breakpoint for implptr)
7551 (sanity check element 0, sanity check element 1)
7552 (enter the inlined function, check element 0 for the offset)
7553 (check element 1 for the offset)
7554 (continue to breakpoint: ignore the second baz breakpoint): New tests.
7555 (set foo breakpoint for implptr): Update the breakpoint number.
7556
7557 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7558
7559 * gdb.python/py-mi.exp: Use different file names for different
7560 versions of the executable under test.
7561 * gdb.python/py-prettyprint.exp: Likewise.
7562 * gdb.python/py-symbol.exp: Likewise.
7563 * gdb.python/py-template.exp: Likewise.
7564 * gdb.python/py-type.exp: Likewise.
7565 * gdb.python/py-value.exp: Likewise.
7566
7567 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7568
7569 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
7570 flag after restarting GDB if necessary.
7571
7572 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7573
7574 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
7575
7576 2011-07-22 Pedro Alves <pedro@codesourcery.com>
7577
7578 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
7579 backend doesn't leave used debug registers behind.
7580
7581 2011-07-22 Tom Tromey <tromey@redhat.com>
7582
7583 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
7584 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
7585 argument.
7586 * gdb.dwarf2/typeddwarf-amd64.S: New file.
7587
7588 2011-07-21 Matt Rice <ratmice@gmail.com>
7589
7590 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
7591 in mostlyclean rule. Add files ending in .core.
7592
7593 2011-07-21 Matt Rice <ratmice@gmail.com>
7594
7595 PR macros/12999
7596 * gdb.base/info-macros.c: New test sources.
7597 * gdb.base/info-macros.exp: New tests.
7598
7599 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
7600
7601 * gdb.python/python.exp: Add prompt substitution tests.
7602
7603 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7604
7605 Fix crash if referenced CU is aged out.
7606 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
7607 New.
7608 * gdb.dwarf2/implptr.exp: Likewise.
7609
7610 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7611
7612 * gdb.dwarf2/implptr.S: Rebuilt.
7613 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
7614 (bar): Use them for j, k, l.
7615 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
7616 COMPILE.
7617 (print j in implptr:bar): Update for the intp typedef.
7618 (print p[0].x in implptr:foo): Use more exact regex.
7619
7620 2011-07-18 Tom Tromey <tromey@redhat.com>
7621
7622 * gdb.cp/static-method.exp: Add missing single quote.
7623
7624 2011-07-18 Yao Qi <yao@codesourcery.com>
7625
7626 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
7627 supported.
7628 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7629 * gdb.mi/mi-nonstop.exp: Likewise.
7630 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7631 * gdb.mi/mi-nsintrall.exp: Likewise.
7632 * gdb.mi/mi-nsmoribund.exp: Likewise.
7633 * gdb.mi/mi-nsthrexec.exp: Likewise.
7634 * gdb.python/py-evthreads.exp: Likewise.
7635
7636 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7637
7638 Code cleanup.
7639 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
7640 it. Substitute it instead of test_compiler_info everywhere.
7641
7642 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7643
7644 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
7645 remote targets as well.
7646
7647 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7648
7649 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
7650 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
7651
7652 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7653
7654 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
7655 a remote machine, not the host.
7656 (gdb_compile_shlib): Set soname if target is remote.
7657
7658 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7659
7660 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
7661
7662 2011-07-13 Matt Rice <ratmice@gmail.com>
7663
7664 * gdb.python/py-objfile-script-gdb.py: Renamed to
7665 py-objfile-script-gdb.py.in.
7666 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
7667 py-objfile-script-gdb.py.
7668 * gdb.python/py-objfile-script.exp: Update reference to
7669 py-objfile-script-gdb.py.
7670
7671 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7672
7673 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
7674 reference undefined label.
7675
7676 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7677
7678 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
7679 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
7680 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
7681 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
7682
7683 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
7684
7685 PR python/12438
7686 * gdb.python/python.exp: Add maint set/show python print-stack
7687 deprecated tests. Add set/show python print-backtrace tests.
7688
7689 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7690
7691 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
7692 debug info.
7693
7694 2011-07-06 Matt Rice <ratmice@gmail.com>
7695
7696 * gdb.python/python.exp: Update filename paths.
7697 * gdb.python/py-symtab.exp: Ditto.
7698
7699 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7700
7701 * gdb.python/py-evthreads.exp: Add missing `$'.
7702
7703 2011-07-06 Jie Zhang <jie.zhang@analog.com>
7704
7705 * config/bfin.exp: New file.
7706 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
7707 * gdb.asm/bfin.inc: New file.
7708
7709 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7710
7711 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
7712 the whole output.
7713
7714 2011-07-05 Tom Tromey <tromey@redhat.com>
7715
7716 * gdb.java/jprint.java (jprint.hi): New field.
7717 * gdb.java/jprint.exp: Print string.
7718
7719 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
7720
7721 * gdb.base/call-sc.c: Fix typos.
7722 * gdb.base/ifelse.exp: Likewise.
7723 * gdb.base/structs.c: Likewise.
7724
7725 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7726
7727 * gdb.base/jit-so.exp: New test.
7728 * gdb.base/jit-dlmain.c: New file.
7729 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
7730
7731 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7732
7733 * gdb.cp/m-static.exp: Call get_compiler_info.
7734 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
7735 * gdb.cp/pr9167.exp (p b): Likewise.
7736 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
7737 (test value of P in inner_m, test type of Z in inner_m): Call
7738 setup_xfail for gcc <= 4.5.
7739
7740 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7741
7742 * gdb.cp/paren-type.cc: New files.
7743 * gdb.cp/paren-type.exp: New files.
7744
7745 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7746
7747 Stop on first linespec terminator instead of eating what we can.
7748 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
7749 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
7750 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
7751 (break C::f()): ... this one.
7752 (break C::operator()()): New test.
7753 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
7754 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
7755 test.
7756
7757 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7758
7759 Fall back linespec to minimal symbols.
7760 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
7761 error message.
7762 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7763 * gdb.cp/minsym-fallback-main.cc: New file.
7764 * gdb.cp/minsym-fallback.cc: New file.
7765 * gdb.cp/minsym-fallback.exp: New file.
7766 * gdb.cp/minsym-fallback.h: New file.
7767
7768 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7769
7770 * gdb.cp/no-dmgl-verbose.cc: New file.
7771 * gdb.cp/no-dmgl-verbose.exp: New file.
7772
7773 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7774
7775 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7776 __GI_.
7777 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7778 (f): New function.
7779 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7780 (complete p 'func<short>(): ... here.
7781 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7782 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7783 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7784 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7785 Make them KFAIL gcc/49546.
7786
7787 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7788
7789 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7790
7791 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7792
7793 Test GCC PR debug/49546.
7794 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7795 (test type of F in k3_m, test value of F in k3_m): New.
7796 * gdb.cp/temargs.cc (struct S3, struct K3): New.
7797 (main): New variable k3. Call k3.k3_m.
7798
7799 2011-07-01 Jean-Charles Delay <delay@adacore.com>
7800
7801 * gdb.ada/packed_array.exp: Fix expected outout.
7802
7803 2011-07-01 Jean-Charles Delay <delay@adacore.com>
7804
7805 * gdb.ada/packed_array.exp: fixed expected output.
7806
7807 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7808
7809 * gdb.ada/same_enum: New testcase.
7810
7811 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7812
7813 * gdb.ada/ptr_typedef: New testcase.
7814
7815 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7816
7817 * gdb.ada/arrayptr.exp: Add ptype test.
7818
7819 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7820
7821 * gdb.ada/char_enum: New testcase.
7822
7823 2011-07-01 Yao Qi <yao@codesourcery.com>
7824
7825 * gdb.base/dump.exp (capture_pointer_with_type): New.
7826 Get value from address instead of name.
7827 Start GDB once, and do `dump' and `restore'
7828 tests together.
7829
7830 2011-06-30 Jie Zhang <jie.zhang@analog.com>
7831 Mike Frysinger <vapier@gentoo.org>
7832
7833 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7834 helper functions for getting/setting remotetimeout variable.
7835 * lib/gdb.exp (gdb_load): If the target is remote, set
7836 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7837 with $loadtimeout. Set $load_ok to 0 before doing the load.
7838 Instead of returning, immediately, set $load_ok to 0. Call
7839 set_remotetimeout with $oldremotetimeout, and then return if
7840 $load_ok is 1.
7841
7842 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
7843
7844 * gdb.python/py-template.exp: Don't run this test if the target
7845 does not support c++ tests.
7846
7847 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7848
7849 Fix non-only rename list for Fortran modules import.
7850 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7851 tests.
7852 * gdb.fortran/module.f90 (module moduse): New.
7853 (program module): use moduse, test var_x, var_y and var_z.
7854
7855 2011-06-29 Tom Tromey <tromey@redhat.com>
7856
7857 PR testsuite/12040:
7858 * gdb.fortran/array-element.exp: Use f90, not f77.
7859 * gdb.fortran/complex.exp: Use f90, not f77.
7860 * gdb.fortran/derived-type.exp: Use f90, not f77.
7861 * gdb.fortran/library-module.exp: Use f90, not f77.
7862 * gdb.fortran/logical.exp: Use f90, not f77.
7863 * gdb.fortran/module.exp: Use f90, not f77.
7864 * gdb.fortran/multi-dim.exp: Use f90, not f77.
7865 * gdb.fortran/subarray.exp: Use f90, not f77.
7866
7867 2011-06-29 Tom Tromey <tromey@redhat.com>
7868
7869 * gdb.fortran/charset.exp: New file.
7870 * gdb.fortran/charset.f90: New file.
7871
7872 2011-06-29 Tom Tromey <tromey@redhat.com>
7873
7874 PR testsuite/12040:
7875 * lib/future.exp: New file, mostly extracted from ada.exp.
7876 Rewrote compatibility code to use rename.
7877 (gdb_find_gfortran): New proc.
7878 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7879 gfortran patch.
7880 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7881 Move to future.exp.
7882 * lib/gdb.exp: Always load future.exp.
7883
7884 2011-06-28 Yao Qi <yao@codesourcery.com>
7885
7886 * gdb.cp/exception.cc: Don't include iostream.
7887 (bar): Remove print statement.
7888 (catcher): New.
7889 (main): Remove print statements. Call function catcher.
7890 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7891 Set breakpoint on catcher, and check the value of parameter.
7892
7893 2011-06-23 Yao Qi <yao@codesourcery.com>
7894
7895 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7896 breakpoint 1.2 is disabled. KFAIL for uclinux.
7897
7898 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7899
7900 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7901 mi_gdb_test.
7902
7903 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7904
7905 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7906
7907 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7908
7909 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7910
7911 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7912
7913 * gdb.mi/mi2-basics.exp: Fix races. Honour the
7914 `test_exec_and_symbol_mi_operatons' return value.
7915 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7916 gdb_test_multiple.
7917 (test_exec_and_symbol_mi_operatons): Likewise.
7918 (test_path_specification): Likewise.
7919
7920 2011-06-23 Yao Qi <yao@codesourcery.com>
7921
7922 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
7923 supported.
7924 * lib/gdb.exp (support_displaced_stepping): New.
7925
7926 2011-06-23 Yao Qi <yao@codesourcery.com>
7927
7928 * gdb.threads/execl.exp: Skip on remote target.
7929
7930 2011-06-21 Marek Polacek <mpolacek@redhat.com>
7931
7932 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
7933 mi_gdb_test.
7934
7935 2011-06-20 Marek Polacek <mpolacek@redhat.com>
7936
7937 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
7938
7939 2011-06-20 Marek Polacek <mpolacek@redhat.com>
7940
7941 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
7942 mi_gdb_test.
7943
7944 2011-06-20 Marek Polacek <mpolacek@redhat.com>
7945
7946 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7947
7948 2011-06-14 Yao Qi <yao@codesourcery.com>
7949
7950 gdb/testsuite/
7951 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
7952
7953 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7954
7955 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
7956
7957 2011-06-10 Tom Tromey <tromey@redhat.com>
7958
7959 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
7960 Add tests for pointer-to-member-function.
7961 * gdb.cp/temargs.cc (S::somefunc): New function.
7962 (K2): New class.
7963 (main): Instantiate K2; call method.
7964
7965 2011-06-08 Joel Brobecker <brobecker@adacore.com>
7966
7967 * gdb.python/py-inferior.c (f2): Make str an array rather
7968 than a pointer.
7969 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
7970
7971 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7972
7973 * gdb.base/async-shell.c: New file.
7974 * gdb.base/async-shell.exp: New file.
7975
7976 2011-06-06 Pedro Alves <pedro@codesourcery.com>
7977
7978 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
7979
7980 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
7981
7982 From Stephen Kitt <steve@sk2.org>
7983 * gdb.base/help.exp: Adjust following some spelling corrections
7984 in GDB.
7985
7986 2011-06-01 Yao Qi <yao@codesourcery.com>
7987
7988 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
7989
7990 2010-05-31 Keith Seitz <keiths@redhat.com>
7991
7992 PR c++/12750
7993 * gdb.cp/static-method.cc: New file.
7994 * gdb.cp/static-method.exp: New file.
7995
7996 2010-05-31 Keith Seitz <keiths@redhat.com>
7997
7998 PR symtab/12704
7999 * gdb.cp/anon-ns.cc: New file.
8000 * gdb.cp/anon-ns.exp: New file.
8001
8002 2011-05-31 Pedro Alves <pedro@codesourcery.com>
8003
8004 * gdb.arch/i386-dr3-watch.c: New file.
8005 * gdb.arch/i386-dr3-watch.exp: New file.
8006
8007 2011-05-30 Yao Qi <yao@codesourcery.com>
8008
8009 * gdb.base/callfuncs.c (t_structs_fc): New.
8010 (t_structs_dc, t_structs_ldc): New.
8011 (t_double_many_args):
8012 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8013 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8014 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8015 * gdb.base/callfuncs.exp: Call new functions.
8016
8017 2011-05-30 Yao Qi <yao@codesourcery.com>
8018
8019 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8020 Call rerun_and_prepare for each test to isolate effects.
8021
8022 2011-05-30 Yao Qi <yao@codesourcery.com>
8023
8024 * gdb.base/varargs.c (find_max_float_real): New.
8025 (find_max_double_real, find_max_long_double_real): New.
8026 * gdb.base/varargs.exp: Call these new added functions.
8027 * lib/gdb.exp (setup_kfail_for_target): New.
8028
8029 2011-05-30 Yao Qi <yao@codesourcery.com>
8030
8031 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8032 (callcd, callce, callcf, callc1a, callc1b): New.
8033 (callc2a, callc2b): New.
8034 * gdb.base/funcargs.exp (complex_args): New.
8035 (complex_integral_args, complex_float_integral_args): New.
8036 * lib/gdb.exp (support_complex_tests): New. Determine
8037 whether to run test cases on _Complex types.
8038
8039 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8040
8041 * gdb.threads/leader-exit.c: New file.
8042 * gdb.threads/leader-exit.exp: New file.
8043
8044 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8045
8046 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
8047
8048 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8049
8050 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8051 remove the `supported' variable.
8052 * gdb.mi/mi-nonstop.exp: Likewise.
8053 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8054 * gdb.mi/mi-nsintrall.exp: Likewise.
8055 * gdb.mi/mi-nsmoribund.exp: Likewise.
8056 * gdb.mi/mi-nsthrexec.exp: Likewise.
8057
8058 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8059
8060 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8061
8062 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8063
8064 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8065
8066 2011-05-24 Keith Seitz <keiths@redhat.com>
8067
8068 PR breakpoint/12803
8069 * gdb.cp/cmpd-minsyms.cc (a): New method.
8070 (b): New method.
8071 (c): New method.
8072 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8073
8074 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8075
8076 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8077 watchpoint's command list didn't execute when the watchpoint went
8078 out of scope.
8079
8080 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8081
8082 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8083 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8084 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8085 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8086 * gdb.arch/i386-permbkpt.exp: Likewise.
8087 * gdb.arch/i386-prologue.exp: Likewise.
8088 * gdb.arch/i386-size-overlap.exp: Likewise.
8089 * gdb.arch/i386-size.exp: Likewise.
8090 * gdb.arch/i386-unwind.exp: Likewise.
8091 * gdb.reverse/i386-precsave.exp: Likewise.
8092 * gdb.reverse/i386-reverse.exp: Likewise.
8093 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8094 * gdb.reverse/i387-env-reverse.exp: Likewise.
8095 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8096
8097 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8098
8099 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8100 file doesn't error, using MI.
8101
8102 2011-05-23 Tom Tromey <tromey@redhat.com>
8103
8104 * gdb.base/charset.exp (string_display): Add tests to assign to
8105 arrays.
8106 * gdb.base/charset.c (short_array, int_array, long_array): New.
8107
8108 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8109
8110 Cope with async mode.
8111
8112 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8113 into gdb_test + mi_expect_stop.
8114
8115 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8116
8117 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8118 (callme): Remove printf call.
8119
8120 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8121
8122 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8123 quote pattern to avoid problems with Cygwin/mingw expect versions.
8124 * gdb.base/default.exp (show convenience): Use double
8125 quote pattern for regular expressions.
8126
8127 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8128
8129 Fix -readnow for -gdwarf-4 unused type units.
8130 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8131 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8132
8133 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8134
8135 * gdb.base/kill-after-signal.c: New file.
8136 * gdb.base/kill-after-signal.exp: New file.
8137
8138 2011-05-16 Pedro Alves <pedro@codesourcery.com>
8139
8140 * gdb.ada/start.exp: Call untested with the correct test filename.
8141 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8142 test filename. Make the test's binary unique.
8143 * gdb.arch/i386-signal.exp: Call untested with the correct test
8144 filename.
8145 * gdb.arch/i386-size-overlap.exp: Ditto.
8146 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8147 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8148 * gdb.cp/call-c.exp: Ditto.
8149 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8150 filename. Make the test's binary unique.
8151 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8152 * gdb.python/py-mi.exp: Ditto.
8153 * gdb.python/Makefile.in (EXECUTABLES): Update.
8154 * gdb.reverse/i386-precsave.exp: Ditto.
8155 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8156 test filename.
8157 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8158 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8159 unique.
8160 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8161 test filename.
8162 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8163 * gdb.trace/tfile.exp: Ditto.
8164
8165 2011-05-14 Yao Qi <yao@codesourcery.com>
8166
8167 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8168 type.
8169
8170 2011-05-13 Doug Evans <dje@google.com>
8171
8172 * gdb.python/py-objfile-script.exp: New file.
8173 * gdb.python/py-objfile-script.c: New file.
8174 * gdb.python/py-objfile-script-gdb.py: New file.
8175 * testsuite/gdb.python/py-section-script.exp: Test
8176 "info auto-load-scripts".
8177
8178 2011-05-13 Tom Tromey <tromey@redhat.com>
8179
8180 * gdb.dwarf2/clztest.exp: New file.
8181 * gdb.dwarf2/clztest.c: New file.
8182 * gdb.dwarf2/clztest.S: New file.
8183
8184 2011-05-13 Doug Evans <dje@google.com>
8185
8186 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8187 String16 tests.
8188
8189 2011-05-13 Tom Tromey <tromey@redhat.com>
8190
8191 * lib/gdb.exp (is_x86_like_target): New proc.
8192 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8193 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8194 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8195 -nostdlib to compiler.
8196 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8197 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8198 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8199 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8200 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8201
8202 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8203
8204 * gdb.python/py-function.exp: Test setting a value from a function
8205 which executes a command.
8206
8207 2011-05-12 Tom Tromey <tromey@redhat.com>
8208
8209 * gdb.dwarf2/typeddwarf.S: New file.
8210 * gdb.dwarf2/typeddwarf.c: New file.
8211 * gdb.dwarf2/typeddwarf.exp: New file.
8212
8213 2011-05-12 Marek Polacek <mpolacek@redhat.com>
8214
8215 * gdb.mi/mi-basics.exp: Fix races. Honour the
8216 `test_exec_and_symbol_mi_operatons' return value.
8217 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8218 gdb_test_multiple.
8219 (test_exec_and_symbol_mi_operatons): Likewise.
8220 (test_path_specification): Likewise.
8221
8222 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8223
8224 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8225 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8226 Replace `file copy' and `file rename' by `file mtime'. Twice.
8227
8228 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8229
8230 * gdb.base/readline-ask.c: New file.
8231 * gdb.base/readline-ask.exp: New file.
8232 * gdb.base/readline-ask.inputrc: New file.
8233
8234 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8235
8236 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8237 to avoid race condition.
8238 * gdb.cell/coremaker.c: Use small stack size.
8239 * gdb.cell/ea-standalone.exp: Use file name without path as
8240 argument to c_to.
8241 * gdb.cell/fork.exp: Allow other output when continuing to end.
8242
8243 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8244
8245 * gdb.threads/corethreads.c: New file.
8246 * gdb.threads/corethreads.exp: New file.
8247
8248 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8249
8250 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8251 Try to compile the test using -Wl,-z,norelro first.
8252 (load_core): New variable libthread_db_seen, initialize it.
8253 (zeroed-threads cannot be listed): Protect it by XFAIL on
8254 !$libthread_db_seen.
8255
8256 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8257
8258 PR 12573
8259 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8260 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8261 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8262
8263 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8264
8265 * gdb.cp/psymtab-parameter.cc: New file.
8266 * gdb.cp/psymtab-parameter.exp: New file.
8267
8268 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8269
8270 Fix a race.
8271 * gdb.cp/static-print-quit.exp (print c): Split to ...
8272 (print c - <return>, print c - q <return>, print c - to quit):
8273 ... these. Make the testfile untested on gdb-7.1.
8274
8275 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
8276
8277 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8278 gdb_rename_execfile, gdb_touch_execfile): New.
8279 * gdb.base/reread.exp: Use new procs to handle multiple
8280 exec files.
8281
8282 2011-05-05 Yao Qi <yao@codesourcery.com>
8283
8284 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8285 (test_adr_32bit, test_pop_pc): New.
8286 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8287 (test_adr_32bit, test_pop_pc): New.
8288
8289 2011-05-04 Joseph Myers <joseph@codesourcery.com>
8290
8291 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8292 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8293 targets.
8294 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8295 handle targets.
8296
8297 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8298
8299 * gdb.base/completion.exp (complete help info wat): Rename to ...
8300 (complete 'help info wat'): ... here.
8301 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8302 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8303
8304 2011-05-04 Pedro Alves <pedro@codesourcery.com>
8305
8306 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8307 gdb_test and explicit $gdb_prompt/timeout matches.
8308
8309 2011-05-04 Yao Qi <yao@codesourcery.com>
8310
8311 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8312 and __thumb2__.
8313
8314 2011-05-03 Marek Polacek <mpolacek@redhat.com>
8315
8316 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8317 in place of `gdb_test "delete breakpoints"'. This eliminates two
8318 testcases.
8319
8320 2011-05-02 Pedro Alves <pedro@codesourcery.com>
8321
8322 PR testsuite/12649
8323 Fix races.
8324
8325 * gdb.base/completion.exp: Remove all sleep calls. Remove
8326 unnecessary regexs. Don't explicitly expect anything after the
8327 prompt. Eat the prompt if necessary.
8328
8329 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8330
8331 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8332 accept to show the caller line again as well as the line after.
8333
8334 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8335
8336 PR mi/12531
8337
8338 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8339 compile target.
8340 * gdb.python/py-prettyprint.exp: Add C++ object for
8341 CPLUS_FAKE_CHILD test.
8342
8343 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8344
8345 * gdb.base/signest.exp: New file.
8346 * gdb.base/signest.c: Likewise.
8347
8348 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8349
8350 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8351 thread and breakpoint notifications.
8352
8353 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8354
8355 * gdb.base/fortran-sym-case.c: New file.
8356 * gdb.base/fortran-sym-case.exp: New file.
8357 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8358 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8359 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8360
8361 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8362
8363 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8364 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8365 false #1', `if true else false #2' and `if true else false #3'.
8366
8367 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8368
8369 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8370 while delivering signal.
8371
8372 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
8373
8374 MI breakpoint notifications.
8375
8376 * testsuite/gdb.mi/mi-cli.exp: Adust.
8377 * testsuite/gdb.mi/mi2-cli.exp: Adust.
8378 * testsuite/gdb.mi/mi-watch.exp: Adust.
8379 * testsuite/gdb.mi/mi2-watch.exp: Adust.
8380 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8381 notifications.
8382
8383 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8384
8385 * gdb.base/gdbindex-stabs-dwarf.c: New file.
8386 * gdb.base/gdbindex-stabs.c: New file.
8387 * gdb.base/gdbindex-stabs.exp: New file.
8388
8389 2011-04-25 Yao Qi <yao@codesourcery.com>
8390
8391 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8392 with /*...*/.
8393 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8394
8395 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8396
8397 * gdb.python/py-value.exp (test_objfiles): Name the first test
8398 `py-value in file.filename'.
8399
8400 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8401
8402 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8403 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8404 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8405 !gdbserver_reconnect_p..
8406 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8407
8408 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8409
8410 * gdb.cp/cpcompletion.exp (complete class methods)
8411 (complete class methods beginning with F): Move them above runto. New
8412 comment about the runto delimiter.
8413
8414 2011-04-20 Pedro Alves <pedro@codesourcery.com>
8415
8416 * gdb.base/maint.exp: Test that "maint print registers" works
8417 without a running program.
8418
8419 2011-04-20 Marek Polacek <mpolacek@redhat.com>
8420
8421 * gdb.base/setshow.exp: Fix racy tests.
8422 ($old_gdb_prompt): New variable.
8423
8424 2011-04-19 Tom Tromey <tromey@redhat.com>
8425
8426 * gdb.mi/mi-nsmoribund.exp:
8427 * gdb.hp/gdb.objdbg/objdbg01.exp:
8428 * gdb.base/structs.exp (test_struct_returns):
8429 * gdb.base/call-sc.exp (test_scalar_returns):
8430 * gdb.base/bigcore.exp: Remove duplicate words.
8431
8432 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8433
8434 * gdb.base/break-interp-lib.c (v, vptr): New variables.
8435 * gdb.base/break-interp.exp (test_attach): New comment.
8436
8437 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8438
8439 * gdb.threads/gcore-thread.exp ($core0file): New variable.
8440 (clear __stack_user.next, clear stack_used.next)
8441 (save a zeroed-threads corefile): New test.
8442 Call core_load for $core0file.
8443 (zeroed-threads cannot be listed): New test.
8444
8445 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8446
8447 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8448 filename.
8449 ($srcfile): Preserve the original value.
8450 ($testfile): Match it the .exp filename.
8451 ($corefile): New variable. Substitute it around.
8452 Use clean_restart.
8453 ($prev_timeout): Remove.
8454 (load_core): Move core loading into this proc.
8455 Fix restore of $timeout if load_core fails.
8456
8457 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8458
8459 * gdb.base/eu-strip-infcall.c: New file.
8460 * gdb.base/eu-strip-infcall.exp: New file.
8461
8462 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8463
8464 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8465 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8466
8467 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8468
8469 Fix Python access to inlined frames.
8470 * gdb.python/py-frame-inline.c: New file.
8471 * gdb.python/py-frame-inline.exp: New file.
8472
8473 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
8474
8475 * gdb.base/gdb1090.exp: Change breakpoint location to read the
8476 content of 's24' correctly (avoiding "optimized out").
8477 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8478
8479 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8480
8481 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8482
8483 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8484
8485 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8486 expect a colon in watch -location output.
8487
8488 2011-04-13 Marek Polacek <mpolacek@redhat.com>
8489
8490 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
8491 New testcase `expect response to define backtrace'. Also remove
8492 redundant `default' block.
8493
8494 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8495
8496 * gdb.python/py-prettyprint.c (struct hint_error): New.
8497 (main): New variable hint_error.
8498 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8499 "print hint_error".
8500 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8501 (register_pretty_printers): Register it.
8502
8503 2011-04-04 Tom Tromey <tromey@redhat.com>
8504
8505 * gdb.cp/maint.exp (test_help): Update.
8506 (test_namespace): Likewise.
8507
8508 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8509
8510 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8511 * gdb.ada/arrayptr.exp: Add new tests.
8512
8513 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8514
8515 * gdb.ada/mi_catch_ex: New testcase.
8516
8517 2011-04-01 Pedro Alves <pedro@codesourcery.com>
8518
8519 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8520 base::overload(void) method without specifying "const".
8521
8522 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
8523
8524 * gdb.arch/thumb-singlestep.S: New file.
8525 * gdb.arch/thumb-singlestep.exp: Likewise.
8526
8527 2011-03-31 Tom Tromey <tromey@redhat.com>
8528
8529 * gdb.python/py-prettyprint.py (exception_flag): New global.
8530 (NoStringContainerPrinter._iterator.next): Check it.
8531 * gdb.python/py-prettyprint.c (main): New variable nstype2.
8532 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8533
8534 2011-03-29 Tom Tromey <tromey@redhat.com>
8535
8536 * gdb.cp/anon-struct.cc: New file.
8537 * gdb.cp/anon-struct.exp: New file.
8538
8539 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8540
8541 Test STT_GNU_IFUNC support.
8542 * gdb.base/gnu-ifunc-lib.c: New file.
8543 * gdb.base/gnu-ifunc.c: New file.
8544 * gdb.base/gnu-ifunc.exp: New file.
8545
8546 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8547
8548 Support a ring of related breakpoints.
8549 * gdb.base/watchpoint-delete.c: New file.
8550 * gdb.base/watchpoint-delete.exp: New file.
8551
8552 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8553
8554 * gdb.ada/arrayparam.exp (print first after function call): Use
8555 explicit package name. Add a comment
8556 (print lasta after function call): Rename ...
8557 (print last after function call): ... it and use explicit package
8558 name.
8559 (print length after function call): Use explicit package name.
8560 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
8561 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
8562 (multiple matches for symbol i): Rename ...
8563 (multiple matches for symbol integervar): ... it.
8564 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
8565 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
8566
8567 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
8568
8569 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
8570 environment variable to make grep output more predictable. Move
8571 all the environment setup into gdb_init so it's done once per test
8572 case rather than each time we start gdb.
8573
8574 2011-03-24 Tom Tromey <tromey@redhat.com>
8575
8576 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
8577 test.
8578
8579 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8580
8581 * gdb.dwarf2/dw2-entry-value-main.c: New file.
8582 * gdb.dwarf2/dw2-entry-value.S: New file.
8583 * gdb.dwarf2/dw2-entry-value.exp: New file.
8584
8585 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
8586
8587 PR python/12183
8588
8589 * gdb.python/py-function.exp: Add GdbError tests.
8590
8591 2011-03-18 Pedro Alves <pedro@codesourcery.com>
8592
8593 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
8594 (reglocal_test_func, statlocal_test_func): New functions.
8595 (globals_test_func): Call new functions.
8596 * gdb.trace/unavailable.exp (gdb_collect_args_test)
8597 (gdb_collect_locals_test): New procedure.
8598 (gdb_trace_collection_test): Call new procedures.
8599
8600 2011-03-18 Pedro Alves <pedro@codesourcery.com>
8601
8602 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
8603 (test_register, test_register_unavailable): New procedures.
8604 (gdb_unavailable_registers_test): New procedure.
8605 (gdb_trace_collection_test): Call it.
8606
8607 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
8608
8609 PR python/12149
8610
8611 * gdb.python/python.exp: Add gdb.write tests.
8612
8613 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
8614
8615 * gdb.python/Makefile.in: Add py-objfile.
8616 * gdb.python/py-objfile.exp: New file.
8617 * gdb.python/py-objfile.c: New file.
8618 * gdb.python/py-block.exp: Add is_valid tests.
8619 * gdb.python/py-inferior.exp: Ditto.
8620 * gdb.python/py-infthread.exp: Ditto.
8621 * gdb.python/py-symbol.exp: Ditto.
8622 * gdb.python/py-symtab.exp: Ditto.
8623
8624 2011-03-16 Keith Seitz <keiths@redhat.com>
8625
8626 PR c++/12273
8627 * gdb.cp/cmpd-minsyms.exp: New test.
8628 * gdb.cp/cmpd-minsyms.cc: New file.
8629
8630 PR c++/11734
8631 * gdb.cp/ovsrch.exp: New test.
8632 * gdb.cp/ovsrch.h: New file.
8633 * gdb.cp/ovsrch1.cc: New file.
8634 * gdb.cp/ovsrch2.cc: New file.
8635 * gdb.cp/ovsrch3.cc: New file.
8636 * gdb.cp/ovsrch4.cc: New file.
8637
8638 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8639
8640 PR gdb/12528
8641 * gdb.base/Makefile.in: Adjust EXECUTABLES.
8642 * gdb.base/break-on-linker-gcd-function.exp: New test.
8643 * gdb.base/break-on-linker-gcd-function.cc: New file.
8644
8645 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
8646
8647 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
8648
8649 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
8650
8651 * lib/gdb.exp (gdb_unload): Add another termination case.
8652
8653 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8654
8655 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
8656 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
8657 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
8658 Provide a stub byte there.
8659 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
8660 DW_AT_entry_pc.
8661 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
8662
8663 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
8664
8665 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
8666 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
8667 "generic ABI, auto".
8668 (altivec_abi_tests): Accept vectors returned by reference.
8669
8670 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
8671
8672 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
8673
8674 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
8675
8676 * gdb.python/py-section-script.exp: Skip test if no Python support.
8677
8678 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8679
8680 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
8681
8682 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
8683
8684 * gdb.python/py-parameter.exp: Update tests to the new Python
8685 parameter API. Add "no documentation" test. Add deprecated API
8686 backward compatibility test.
8687
8688 2011-03-09 Tom Tromey <tromey@redhat.com>
8689
8690 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
8691 gdb_continue_to_end.
8692
8693 2011-03-09 Mark Kettenis <kettenis@gnu.org>
8694
8695 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
8696 tabs.
8697
8698 2011-03-09 Tom Tromey <tromey@redhat.com>
8699
8700 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
8701 parentheses.
8702 (gdb_continue_to_end): Add "allow_extra" parameter. Use
8703 $command.
8704 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8705 argument to gdb_continue_to_end.
8706 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
8707 argument to gdb_continue_to_end.
8708 * gdb.cp/annota3.exp: Fix regex.
8709 * gdb.cp/annota2.exp: Fix regex.
8710 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
8711 gdb_continue_to_end.
8712 * gdb.base/call-signal-resume.exp: Revert earlier patch.
8713 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
8714 gdb_continue_to_end.
8715
8716 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8717
8718 * gdb.server/ext-run.exp
8719 (load new file without any gdbserver inferior): New test.
8720
8721 2011-03-07 Tom Tromey <tromey@redhat.com>
8722
8723 * Makefile.in (TAGS): Rewrite.
8724
8725 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8726
8727 * gdb.trace/report.exp (12.1: trace report #1): New match for the
8728 initial commands echo. New match for `Found trace'. Anchor all the
8729 other matches. Anchor and match for `No trace frame found' the final
8730 match.
8731
8732 2011-03-07 Tom Tromey <tromey@redhat.com>
8733
8734 * Makefile.in (TAGS): New target.
8735
8736 2011-03-07 Tom Tromey <tromey@redhat.com>
8737
8738 * lib/opencl.exp (skip_opencl_tests): Update for exit message
8739 change.
8740 * lib/mi-support.exp (mi_gdb_test): Update for exit message
8741 change.
8742 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
8743 exit message change.
8744 (skip_altivec_tests): Update for exit message change.
8745 (skip_vsx_tests): Likewise.
8746 (gdb_continue_to_end): Likewise. Add 'command' argument.
8747 * lib/cell.exp (skip_cell_tests): Update for exit message change.
8748 * gdb.threads/tls.exp: Update for exit message change.
8749 * gdb.threads/thread-unwindonsignal.exp: Use
8750 gdb_continue_to_end.
8751 * gdb.threads/step.exp (step_it): Update for exit message change.
8752 (continue_all): Likewise.
8753 * gdb.threads/print-threads.exp (test_all_threads): Update for
8754 exit message change.
8755 * gdb.threads/interrupted-hand-call.exp: Use
8756 gdb_continue_to_end.
8757 * gdb.threads/execl.exp: Use gdb_continue_to_end.
8758 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
8759 gdb_continue_to_end.
8760 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
8761 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8762 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8763 * gdb.cp/method.exp: Update for exit message change.
8764 * gdb.cp/mb-templates.exp: Update for exit message change.
8765 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8766 * gdb.cp/annota3.exp: Update for exit message change.
8767 * gdb.cp/annota2.exp: Update for exit message change.
8768 * gdb.cell/fork.exp: Use gdb_continue_to_end.
8769 * gdb.base/term.exp: Update for exit message change.
8770 * gdb.base/step-test.exp (test_i): Update for exit message change.
8771 * gdb.base/sigstep.exp (advance): Update for exit message change.
8772 (advancei): Likewise.
8773 * gdb.base/siginfo.exp: Update for exit message change.
8774 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8775 * gdb.base/reread.exp: Use gdb_continue_to_end.
8776 * gdb.base/langs.exp: Use gdb_continue_to_end.
8777 * gdb.base/interrupt.exp: Update for exit message change.
8778 * gdb.base/gdb1555.exp: Update for exit message change.
8779 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8780 * gdb.base/ending-run.exp: Update for exit message change.
8781 * gdb.base/chng-syms.exp: Update for exit message change.
8782 * gdb.base/checkpoint.exp: Update for exit message change.
8783 * gdb.base/catch-syscall.exp (check_for_program_end): Use
8784 gdb_continue_to_end.
8785 (test_catch_syscall_with_wrong_args): Likewise.
8786 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8787 * gdb.base/break-interp.exp (test_ld): Update for exit message
8788 change.
8789 * gdb.base/bang.exp: Update for exit message change.
8790 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8791 (do_call_attach_tests): Likewise.
8792 * gdb.base/a2-run.exp: Update for exit message change.
8793 * gdb.arch/ppc-dfp.exp: Update for exit message change.
8794 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8795 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8796
8797 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8798
8799 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8800
8801 2011-03-03 Tom Tromey <tromey@redhat.com>
8802
8803 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8804 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8805 * gdb.hp/gdb.aCC/configure.ac: Remove.
8806 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8807 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8808 * gdb.hp/gdb.base-hp/configure.ac: Remove.
8809 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8810 * gdb.hp/gdb.compat/configure (Makefile): Remove.
8811 * gdb.hp/gdb.compat/configure.ac: Remove.
8812 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8813 * gdb.hp/gdb.defects/configure (Makefile): Remove.
8814 * gdb.hp/gdb.defects/configure.ac: Remove.
8815 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8816 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8817 * gdb.hp/gdb.objdbg/configure.ac: Remove.
8818 * gdb.hp/configure.ac: Remove.
8819 * gdb.hp/configure: Remove.
8820 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8821 substitution.
8822 (Makefile): Remove rule.
8823 * gdb.cell/configure.ac: Remove.
8824 * gdb.cell/configure: Remove.
8825 * gdb.stabs/Makefile.in (Makefile): Remove.
8826 (distclean): Don't remove config.status or config.log.
8827 * gdb.stabs/configure (Makefile): Remove.
8828 * gdb.stabs/configure.ac: Remove.
8829 * configure: Rebuild.
8830 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8831 Remove stabs- and cell-specific logic. Test for existence of
8832 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
8833 subdirectories, gdb.cell, and and gdb.stabs.
8834 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8835
8836 2011-03-03 Joel Brobecker <brobecker@adacore.com>
8837
8838 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8839 end of buffer.
8840
8841 2011-03-02 Joel Brobecker <brobecker@adacore.com>
8842
8843 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8844 gdb_test when running a test where we expected no output back.
8845
8846 2011-02-28 Michael Snyder <msnyder@vmware.com>
8847
8848 * gdb.cp/overload.cc: Change initializer value to integer.
8849
8850 2011-02-27 Michael Snyder <msnyder@vmware.com>
8851
8852 * gdb.multi/base.exp: Add test for remove-inferiors.
8853
8854 2011-02-26 Joel Brobecker <brobecker@adacore.com>
8855
8856 * gdb.python/py-frame.exp: Simplify the initialization phase
8857 using prepare_for_testing.
8858
8859 2011-02-25 Michael Snyder <msnyder@vmware.com>
8860
8861 * gdb.multi/base.exp: Add tests for info inferiors with args.
8862
8863 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8864
8865 * gdb.dwarf2/dw2-ranges.S: Rename to ...
8866 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8867 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8868 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8869 asmfile3. Comment the STABS (#3) file compilation. Compile
8870 everything through assembler. Provide KFAIL for symtab/12497.
8871 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8872 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8873 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8874 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8875
8876 2011-02-24 Michael Snyder <msnyder@vmware.com>
8877
8878 * gdb.base/break.exp: Add tests for delete breakpoints using
8879 convenience variables and value history references.
8880
8881 2011-02-24 Michael Snyder <msnyder@vmware.com>
8882
8883 * gdb.base/break.exp: Remove debugging 'printf' accidentally
8884 left behind in previous check-in.
8885
8886 2011-02-23 Michael Snyder <msnyder@vmware.com>
8887
8888 * gdb.base/break.exp: Add tests for "info break" with arguments.
8889 * gdb.trace/infotrace.exp: Update patterns for error and help.
8890 * gdb.base/completion.exp: Update pattern.
8891 * gdb.base/ena-dis-br.exp: Update pattern.
8892 * gdb.base/help.exp: Update patterns.
8893
8894 2011-02-23 Michael Snyder <msnyder@vmware.com>
8895
8896 * gdb.base/memattr.exp: New test.
8897 * gdb.base/memattr.c: Test load for memattr.exp.
8898
8899 2011-02-22 Doug Evans <dje@google.com>
8900
8901 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8902
8903 2011-02-22 Michael Snyder <msnyder@vmware.com>
8904
8905 * Makefile.in: Make more clean.
8906 * gdb.ada/Makefile.in: Ditto.
8907 * gdb.arch/Makefile.in: Ditto.
8908 * gdb.asm/Makefile.in: Ditto.
8909 * gdb.base/Makefile.in: Ditto.
8910 * gdb.cp/Makefile.in: Ditto.
8911 * gdb.dwarf2/Makefile.in: Ditto.
8912 * gdb.java/Makefile.in: Ditto.
8913 * gdb.mi/Makefile.in: Ditto.
8914 * gdb.modula2/Makefile.in: Ditto.
8915 * gdb.python/Makefile.in: Ditto.
8916 * gdb.server/Makefile.in: Ditto.
8917 * gdb.stabs/Makefile.in: Ditto.
8918 * gdb.threads/Makefile.in: Ditto.
8919 * gdb.trace/Makefile.in: Ditto.
8920
8921 2011-02-22 Michael Snyder <msnyder@vmware.com>
8922
8923 * gdb.threads/thread-find.exp: Add tests for bad input to
8924 info threads.
8925
8926 2011-02-22 Joel Brobecker <brobecker@adacore.com>
8927
8928 * gdb.python/py-breakpoint.exp: Fix the expected output of
8929 one of the "maint info breakpoints" tests to accept the output
8930 generated on platforms that do not have hardware watchpoints.
8931
8932 2011-02-22 Joel Brobecker <brobecker@adacore.com>
8933
8934 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
8935 clean_restart. Be a little stricter in the expected output
8936 for one of the tests. Fix a typo in one of the comments.
8937
8938 2011-02-22 Joel Brobecker <brobecker@adacore.com>
8939
8940 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
8941 Delete variable binfile, no longer use. Add or modify test
8942 comments to make them unique.
8943
8944 2011-02-21 Michael Snyder <msnyder@vmware.com>
8945
8946 * Makefile.in: Update for make clean.
8947 * gdb.ada/Makefile.in: Ditto.
8948 * gdb.arch/Makefile.in: Ditto.
8949 * gdb.asm/Makefile.in: Ditto.
8950 * gdb.base/Makefile.in: Ditto.
8951 * gdb.cp/Makefile.in: Ditto.
8952 * gdb.dwarf2/Makefile.in: Ditto.
8953 * gdb.java/Makefile.in: Ditto.
8954 * gdb.mi/Makefile.in: Ditto.
8955 * gdb.modula2/Makefile.in: Ditto.
8956 * gdb.python/Makefile.in: Ditto.
8957 * gdb.server/Makefile.in: Ditto.
8958 * gdb.stabs/Makefile.in: Ditto.
8959 * gdb.threads/Makefile.in: Ditto.
8960 * gdb.trace/Makefile.in: Ditto.
8961
8962 2011-02-21 Michael Snyder <msnyder@vmware.com>
8963
8964 * gdb.threads/thread-find.exp: Update patterns for changes in
8965 output of "info threads" command.
8966
8967 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8968 Ulrich Weigand <uweigand@de.ibm.com>
8969
8970 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
8971 (skip_hw_watchpoint_tests): Likewise.
8972 (skip_hw_watchpoint_multi_tests): Likewise.
8973
8974 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
8975
8976 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
8977 (skip_hw_watchpoint_tests): Likewise.
8978 (skip_hw_watchpoint_multi_tests): Likewise.
8979 (skip_hw_watchpoint_access_tests): Likewise.
8980
8981 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
8982 * gdb.base/pr11022.exp: Likewise.
8983 * gdb.base/watch-read.exp: Likewise.
8984 * gdb.base/watch_thread_num.exp: Likewise.
8985 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8986 * gdb.base/watchpoint-hw.exp: Likewise.
8987 * gdb.base/watchpoint.exp: Likewise.
8988 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
8989 * gdb.threads/watchthreads-reorder.exp: Likewise.
8990 * gdb.threads/watchthreads.exp: Likewise.
8991 * gdb.threads/watchthreads2.exp: Likewise.
8992
8993 2011-02-21 Joel Brobecker <brobecker@adacore.com>
8994
8995 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
8996 the debugger is unable to find the array bounds.
8997
8998 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8999
9000 * gdb.cp/typedef-operator.exp: New file.
9001 * gdb.cp/typedef-operator.cc: New file.
9002
9003 2011-02-17 Michael Snyder <msnyder@vmware.com>
9004
9005 * gdb.threads/thread-find.exp: Fix regular expressions.
9006
9007 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9008
9009 * gdb.ada/packed_array: Expand testcase to test printing of
9010 unconstrained packed array.
9011
9012 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9013
9014 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9015
9016 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9017
9018 * gdb.trace/collection.c (globalarr3): New global.
9019 (main): Initialize it before collecting, and and clear it
9020 afterwards.
9021 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9022 collecting with '{type} addr', where the addr expression is not an
9023 rvalue.
9024
9025 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
9026
9027 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9028 a bool variable. Expect correct OpenCL names for vector types. Use the
9029 uc3 variable name instead of referring to the uchar3 built-in type.
9030 Escape the asterisk at the half pointer test.
9031
9032 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9033
9034 * gdb.trace/collection.c (globalarr2): New global.
9035 (main): Initialize it before collecting, and and clear it
9036 afterwards.
9037 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9038 collecting overlapping memory ranges.
9039
9040 2011-02-15 Michael Snyder <msnyder@vmware.com>
9041
9042 * gdb.base/default.exp: Add tests for thread commands.
9043 * gdb.base/help.exp: Add tests for thread commands.
9044 * gdb.threads/thread-find.exp: New test for thread find command.
9045
9046 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
9047
9048 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9049
9050 2011-02-15 Yao Qi <yao@codesourcery.com>
9051
9052 PR tdep/12352
9053 * gdb.arch/arm-disp-step.S : New test for str instruction.
9054 * gdb.arch/arm-disp-step.exp : Likewise.
9055
9056 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9057
9058 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9059 "vector_register2_vr" test strings. Test the extended floating
9060 point registers (F32~F63).
9061 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9062 IBM XL C compiler. Make the test program use a register provided
9063 by the compiler for the lxvd2x instruction.
9064
9065 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9066
9067 * gdb.trace/unavailable.cc (class Base, class Middle, class
9068 Derived): New types.
9069 (derived_unavail, derived_partial, derived_whole): New globals.
9070 (virtual_partial): New global.
9071 (virtualp): Point at virtual_partial.
9072 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9073 related to unavailable vptr.
9074
9075 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9076
9077 * gdb.trace/unavailable.cc (a, b, c): New globals.
9078 (main): Set and clear them.
9079 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9080 `a' and `c', and check that `b' isn't collected, although `a' and
9081 `c' are.
9082
9083 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9084
9085 * gdb.trace/unavailable.cc (struct Virtual): New.
9086 (virtualp): New global pointer.
9087 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9088 printing a pointer to an object whose type has a vtable, with
9089 print object on.
9090
9091 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9092
9093 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9094 value repeat handles unavailableness.
9095
9096 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9097
9098 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9099 tests for building arrays from unavailable values, subscripting
9100 non-memory rvalue unvailable arrays, and accessing fields or
9101 baseclasses of non-lazy unavailable values,
9102 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9103 struct types.
9104 (g_smallstruct, g_smallstruct_b): New globals.
9105
9106 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9107
9108 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9109
9110 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9111
9112 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9113 * gdb.cp/overload-const.exp: New file.
9114 * gdb.cp/overload-const.cc: New file.
9115
9116 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9117
9118 * gdb.opencl/callfuncs.cl: New file.
9119 * gdb.opencl/callfuncs.exp: New test.
9120 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9121
9122 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9123
9124 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9125 when computing result.
9126 * gdb.arch/altivec-abi.exp: Update expected results.
9127
9128 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9129
9130 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9131 * gdb.base/jit.exp: Likewise.
9132 * gdb.base/pie-execl.exp: Likewise.
9133 * gdb.base/solib-nodir.exp: Likewise.
9134 * gdb.base/solib-overlap.exp: Likewise.
9135
9136 2011-02-07 Pedro Alves <pedro@codesourcery.com>
9137
9138 * gdb.trace/collection.c (global_pieces): New.
9139 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9140 New procedure.
9141 (gdb_trace_collection_test): Call it.
9142
9143 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9144
9145 * gdb.python/py-evthreads.c: New file.
9146 * gdb.python/py-evthreads.exp: New file.
9147 * gdb.python/py-events.py: New file.
9148 * gdb.python/py-events.exp: New file.
9149 * gdb.python/py-events.c: New file.
9150
9151 2011-02-04 David Daney <ddaney@caviumnetworks.com>
9152
9153 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9154
9155 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
9156
9157 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9158 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9159 boundary between two compilation units.
9160
9161 2011-02-02 Pedro Alves <pedro@codesourcery.com>
9162
9163 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9164 (Virtual): New structs.
9165 (virtual_o, virtual_middle_b): New globals.
9166 * gdb.cp/virtbase.exp: New tests.
9167
9168 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9169
9170 * gdb.base/jit.exp: New file.
9171 * gdb.base/jit-main.c: New file.
9172 * gdb.base/jit-solib.c: New file.
9173
9174 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9175
9176 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9177 proceed to initial kernel entry point.
9178 * gdb.opencl/datatypes.exp: Likewise.
9179 * gdb.opencl/operators.exp: Likewise.
9180 * gdb.opencl/vec_comps.exp: Likewise.
9181
9182 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9183
9184 * gdb.cp/nsnested.cc: New.
9185 * gdb.cp/nsnested.exp: New.
9186 * gdb.cp/nsnoimports.exp: New.
9187 * gdb.cp/nsnoimports.cc: New.
9188
9189 2011-01-31 Joel Brobecker <brobecker@adacore.com>
9190
9191 * gdb.base/interact.exp: Add extra tests that verify that
9192 the value of the interactive-mode setting does not change
9193 after the script is sourced.
9194
9195 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9196
9197 * gdb.cp/noparam.exp: New file.
9198 * gdb.cp/noparam.cc: New file.
9199
9200 2011-01-28 Pedro Alves <pedro@codesourcery.com>
9201
9202 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9203 there's no stack or registers.
9204
9205 2011-01-26 Tom Tromey <tromey@redhat.com>
9206
9207 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9208 space before string output. Add test for "set print pretty off"
9209 case.
9210
9211 2011-01-25 Pedro Alves <pedro@codesourcery.com>
9212
9213 * gdb.base/frame-args.exp: Adjust.
9214 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9215 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9216 * gdb.dwarf2/pieces.exp: Adjust.
9217 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9218 * gdb.opt/inline-locals.exp: Adjust.
9219 * gdb.threads/fork-child-threads.exp: Adjust.
9220
9221 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
9222
9223 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9224 OpenCL kernel function. Add a comment as marker. Add address space
9225 qualifiers for the remaining program scope variables.
9226 * gdb.opencl/datatypes.cl: Likewise.
9227 * gdb.opencl/operators.cl: Likewise.
9228 * gdb.opencl/vec_comps.cl: Likewise.
9229 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9230 Add breakpoint at the marker comment.
9231 * gdb.opencl/datatypes.exp: Likewise.
9232 * gdb.opencl/operators.exp: Likewise.
9233 * gdb.opencl/vec_comps.exp: Likewise.
9234
9235 2011-01-24 Pedro Alves <pedro@codesourcery.com>
9236
9237 * gdb.base/printcmds.c (some_struct): New struct and instance.
9238 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9239 procedure.
9240 <global scope>: Call it.
9241
9242 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
9243
9244 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9245 argument to the gdb_compile_opencl_hostapp call.
9246
9247 2011-01-19 Yao Qi <yao@codesourcery.com>
9248
9249 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9250 positve list.
9251
9252 2011-01-19 Yao Qi <yao@codesourcery.com>
9253
9254 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9255 canonical form.
9256 Remove "xscale-*-*"
9257 * gdb.xml/tdesc-regs.exp: Likewise.
9258 * gdb.python/py-section-script.exp: Replace ARM target triplet
9259 with canonical form.
9260 Match arm*-*-symbianelf*.
9261 * gdb.base/dup-sect.exp: Likewise.
9262 * lib/dwarf.exp: New.
9263 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9264 dwarf2_support.
9265 * gdb.dwarf2/dup-psym.exp: Likewise.
9266 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9267 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9268 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9269 * gdb.dwarf2/dw2-basic.exp: Likewise.
9270 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9271 * gdb.dwarf2/dw2-const.exp: Likewise.
9272 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9273 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9274 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9275 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9276 * gdb.dwarf2/dw2-filename.exp: Likewise.
9277 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9278 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9279 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9280 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9281 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9282 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9283 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9284 * gdb.dwarf2/dw2-producer.exp: Likewise.
9285 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9286 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9287 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9288 * gdb.dwarf2/dw2-strp.exp: Likewise.
9289 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9290 * gdb.dwarf2/implptr.exp: Likewise.
9291 * gdb.dwarf2/mac-fileno.exp: Likewise.
9292 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9293 * gdb.dwarf2/pieces.exp: Likewise.
9294 * gdb.dwarf2/pr11465.exp: Likewise.
9295 * gdb.dwarf2/valop.exp: Likewise.
9296 * gdb.dwarf2/watch-notconst.exp: Likewise.
9297 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9298
9299 2011-01-19 Tom Tromey <tromey@redhat.com>
9300
9301 * gdb.python/py-infthread.exp: Add thread tests.
9302
9303 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9304
9305 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9306
9307 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9308
9309 * gdb.ada/widewide: New testcase.
9310
9311 2011-01-13 Joel Brobecker <brobecker@adacore.com>
9312
9313 * gdb.base/interact.exp: New testcase.
9314
9315 2011-01-12 Tom Tromey <tromey@redhat.com>
9316
9317 * gdb.mi/gdb2549.exp: Update for error message changes.
9318 * gdb.mi/mi-cli.exp: Likewise.
9319 * gdb.mi/mi-disassemble.exp: Likewise.
9320 * gdb.mi/mi-pthreads.exp: Likewise.
9321 * gdb.mi/mi-regs.exp: Likewise.
9322 * gdb.mi/mi-stack.exp: Likewise.
9323 * gdb.mi/mi-var-block.exp: Likewise.
9324 * gdb.mi/mi-var-cmd.exp: Likewise.
9325 * gdb.mi/mi2-cli.exp: Likewise.
9326 * gdb.mi/mi2-disassemble.exp: Likewise.
9327 * gdb.mi/mi2-pthreads.exp: Likewise.
9328 * gdb.mi/mi2-regs.exp: Likewise.
9329 * gdb.mi/mi2-stack.exp: Likewise.
9330 * gdb.mi/mi2-var-block.exp: Likewise.
9331 * gdb.mi/mi2-var-cmd.exp: Likewise.
9332
9333 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9334 Jan Kratochvil <jan.kratochvil@redhat.com>
9335
9336 PR fortran/11104 and DWARF unbound arrays detection.
9337 * gdb.fortran/multi-dim.exp: New file.
9338 * gdb.fortran/multi-dim.f90: New file.
9339
9340 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9341
9342 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9343 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9344 add new tests for opcode dumping.
9345
9346 2011-01-11 Tom Tromey <tromey@redhat.com>
9347
9348 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9349
9350 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9351
9352 Convert hardware watchpoints to use breakpoint_ops.
9353 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9354 type is not supported.
9355 * gdb.base/foll-fork.exp: Likewise.
9356 * gdb.base/foll-vfork.exp: Likewise.
9357
9358 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9359
9360 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9361 Use load_lib gdb-python.exp.
9362 * gdb.python/python.exp: Ditto.
9363 * gdb.python/py-function.exp: Ditto.
9364
9365 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9366
9367 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9368
9369 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9370
9371 * configure: Regenerate.
9372
9373 2011-01-06 Tom Tromey <tromey@redhat.com>
9374
9375 * gdb.python/py-frame.exp: Test gdb.newest_frame.
9376
9377 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9378
9379 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9380 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9381 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9382 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9383 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9384 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9385 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9386 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9387 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9388 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9389 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9390 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9391 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9392 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9393 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9394 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9395 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9396 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9397 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9398 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9399 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9400 gdb.ada/uninitialized_vars.exp,
9401 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9402 Simplify by using clean_restart.
9403
9404 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9405
9406 Add marker to be used as anchor for inserting breakpoints.
9407 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9408 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9409 Likewise.
9410
9411 Remove uses of gdb_start_cmd.
9412 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9413 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9414
9415 Do not run testcase if testing with GDBserver.
9416 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9417 if testing with GDBserver.
9418
9419 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9420
9421 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9422 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9423 copyright header.
9424
9425 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9426
9427 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9428 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9429 testsuite/gdb.fortran/complex.f,
9430 testsuite/gdb.fortran/derived-type.f90,
9431 testsuite/gdb.fortran/library-module-lib.f90,
9432 testsuite/gdb.fortran/library-module-main.f90,
9433 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9434 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9435 Copyright year update.
9436
9437 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9438
9439 * gdb.base/langs1.f: Add copyright header.
9440
9441 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9442
9443 * gdb.base/morestack.exp: New file.
9444 * gdb.base/morestack.c: New file.
9445
9446 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9447
9448 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9449
9450 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9451
9452 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9453 * gdb.ada/arrayptr.exp: Add test printing that new variable.
9454
9455 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9456
9457 * gdb.ada/lang_switch.exp: Correct expected parameter value.
9458
9459 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
9460
9461 * gdb.threads/tls.exp: Fix typo.
9462
9463 * gdb.threads/thread-specific.exp (get_thread_list): Update.
9464 * gdb.threads/execl.exp: Update.
9465
9466 2010-12-23 Yao Qi <yao@codesourcery.com>
9467
9468 * gdb.arch/arm-disp-step.exp: New.
9469 * gdb.arch/arm-disp-step.S: New.
9470
9471 2010-12-21 Tom Tromey <tromey@redhat.com>
9472
9473 * gdb.threads/execl.exp: Update.
9474 * gdb.threads/linux-dp.exp: Update.
9475 * gdb.threads/manythreads.exp: Update.
9476 * gdb.threads/tls.exp: Update.
9477
9478 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9479
9480 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9481 (NextOverThrowDerivates) <resumebpt>: New.
9482 (resumebpt_test): New.
9483 (main): Call resumebpt_test.
9484 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9485
9486 2010-12-12 Stan Shebs <stan@codesourcery.com>
9487
9488 * gdb.trace/tsv.exp: Test print command on trace state variables.
9489
9490 2010-12-09 Tom Tromey <tromey@redhat.com>
9491
9492 * gdb.base/interp.exp: Add regression test.
9493
9494 2010-12-09 Tom Tromey <tromey@redhat.com>
9495
9496 * gdb.java/jnpe.java: New file.
9497 * gdb.java/jnpe.exp: New file.
9498 * gdb.cp/nextoverthrow.exp: New file.
9499 * gdb.cp/nextoverthrow.cc: New file.
9500
9501 2010-12-07 Doug Evans <dje@google.com>
9502
9503 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9504 of data-directory.
9505 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9506 updated.
9507 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9508
9509 2010-11-29 Michael Snyder <msnyder@vmware.com>
9510
9511 * gdb.base/callfuncs.exp: Test for skip_float_tests.
9512 * gdb.base/call-sc.exp: Ditto.
9513 * gdb.base/finish.exp: Ditto.
9514 * gdb.base/return.exp: Ditto.
9515 * gdb.base/return2.exp: Ditto.
9516
9517 2010-11-30 Doug Evans <dje@google.com>
9518
9519 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9520 (gdb_expect_list): Fix spelling errors in comments.
9521 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9522 send_gdb/gdb_expect_list where applicable.
9523 * gdb.base/call-ar-st.exp: Ditto.
9524 * gdb.base/funcargs.exp: Ditto.
9525 * gdb.base/gcore.exp: Ditto.
9526 * gdb.base/page.exp: Ditto.
9527 * gdb.base/sigaltstack.exp: Ditto.
9528 * gdb.base/siginfo.exp: Ditto.
9529 * gdb.base/sigstep.exp: Ditto.
9530 * gdb.base/trace-commands.exp: Ditto.
9531
9532 2010-11-29 Doug Evans <dje@google.com>
9533
9534 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
9535 printer-name;subprinter-name.
9536
9537 2010-11-29 Tom Tromey <tromey@redhat.com>
9538
9539 * gdb.dwarf2/implptr.exp: New file.
9540 * gdb.dwarf2/implptr.c: New file.
9541 * gdb.dwarf2/implptr.S: New file.
9542
9543 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
9544
9545 PR python/12199
9546
9547 * gdb.python/py-breakpoint.exp: Test the delete method.
9548
9549 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9550
9551 Fix step_resume_breakpoint unsaved during an infcall.
9552 * gdb.base/step-resume-infcall.exp: New file.
9553 * gdb.base/step-resume-infcall.c: New file.
9554
9555 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
9556
9557 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
9558
9559 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
9560
9561 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
9562 on ppc64's symbols; "finish" and "return" commands must accept to
9563 show the caller line again as well as the line after.
9564 * gdb.asm/powerpc64.inc: New file.
9565
9566 2010-11-23 Doug Evans <dje@google.com>
9567
9568 * lib/gdb.exp (gdb_test_sequence): New function.
9569 (gdb_expect_list): Add verbose -log call for each pattern.
9570 * gdb.base/signals.exp (test_handle_all_print): Call it.
9571 Reduce timeout increment from 6 minutes to 1 minute.
9572 * gdb.server/ext-run.exp: Call it.
9573
9574 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
9575
9576 PR python/12212
9577
9578 * gdb.python/python.exp: Check that selected_thread raises an
9579 error when no inferior is loaded.
9580
9581 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9582
9583 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
9584 * gdb.dwarf2/dw2-stack-boundary.S: New file.
9585
9586 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9587
9588 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
9589 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
9590
9591 2010-11-18 Doug Evans <dje@google.com>
9592
9593 * gdb.server/ext-run.exp: Fix intermittent failures.
9594
9595 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9596
9597 * gdb.stabs/gdb11479.exp: Use runto_main.
9598
9599 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9600
9601 * gdb.base/break-entry.exp: Skip if using a stub.
9602
9603 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9604
9605 * gdb.python/py-inferior.exp: Pack values in target endianness.
9606
9607 2010-11-12 Tom Tromey <tromey@redhat.com>
9608
9609 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
9610 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
9611 MemoryError.
9612 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
9613 type.
9614 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
9615 MemoryError.
9616 (test_subscript_regression): Update exception type.
9617
9618 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
9619
9620 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
9621 breakpoint tests.
9622
9623 2010-11-09 Pedro Alves <pedro@codesourcery.com>
9624
9625 * gdb.base/watchpoint.exp: Test "watch -location" with an
9626 innacessible location.
9627
9628 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
9629 Luis Machado <luisgpm@br.ibm.com>
9630
9631 * gdb.base/maint.exp: Expect "." prefix.
9632 * gdb.base/nodebug.exp: Expect "." Likewise.
9633 * gdb.base/sepsymtab.exp: Expect "." Likewise.
9634 * gdb.base/watchpoint-cond-gone.exp: Likewise.
9635 * gdb.base/watchpoint.exp: Expect a software watch to be created for
9636 POWER server processors.
9637
9638 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
9639 Luis Machado <luisgpm@br.ibm.com>
9640
9641 * gdb.base/break-entry.exp: convert entry point for
9642 ppc64 and expect leading `.' on ppc64's symbols
9643
9644 2010-11-05 Doug Evans <dje@google.com>
9645
9646 * gdb.base/help.exp: Update expected output.
9647 * gdb.python/py-param.exp: Delete, contents moved to ...
9648 * gdb.python/py-parameter.exp: ... here. New file.
9649 Add test for gdb.parameter ("directories").
9650
9651 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
9652
9653 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
9654 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
9655 * configure: Regenerate.
9656 * gdb.opencl/Makefile.in: New File.
9657 * gdb.opencl/datatypes.exp: Likewise.
9658 * gdb.opencl/datatypes.cl: Likewise.
9659 * gdb.opencl/operators.exp: Likewise.
9660 * gdb.opencl/operators.cl: Likewise.
9661 * gdb.opencl/vec_comps.exp: Likewise.
9662 * gdb.opencl/vec_comps.cl: Likewise.
9663 * gdb.opencl/convs_casts.exp: Likewise.
9664 * gdb.opencl/convs_casts.cl: Likewise.
9665 * lib/opencl.exp: Likewise.
9666 * lib/opencl_hostapp.c: Likewise.
9667 * lib/opencl_kernel.cl: Likewise.
9668 * lib/cl_util.c: Likewise.
9669 * lib/cl_util.c: Likewise.
9670 * gdb.base/default.exp (set language): Add "opencl" to the list of
9671 languages.
9672
9673 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
9674
9675 * gdb.cp/overload.exp: Added test for inheritance overload.
9676 * gdb.cp/overload.cc: Ditto.
9677 * gdb.cp/oranking.exp: Removed releveant kfails.
9678
9679 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9680 Joel Brobecker <brobecker@adacore.com>
9681
9682 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
9683 check test_compiler_info.
9684
9685 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9686
9687 * gdb.base/gnu_vector.exp: Adjust expect messages.
9688
9689 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9690
9691 * gdb.base/gnu_vector.exp: Add unary operator tests.
9692
9693 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9694
9695 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
9696
9697 2010-11-02 Doug Evans <dje@google.com>
9698
9699 * gdb.python/py-pp-maint.c: New file.
9700 * gdb.python/py-pp-maint.exp: New file.
9701 * gdb.python/py-pp-maint.py: New file.
9702
9703 2010-11-02 Tom Tromey <tromey@redhat.com>
9704
9705 * gdb.base/default.exp: Remove "scheme" from language list.
9706
9707 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9708
9709 Revert:
9710 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9711 * gdb.threads/sigstep-threads.exp: New file.
9712 * gdb.threads/sigstep-threads.c: New file.
9713
9714 2010-10-20 Michael Snyder <msnyder@vmware.com>
9715
9716 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
9717
9718 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9719
9720 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
9721 Skip test completely if gdb,no_hardware_watchpoints.
9722
9723 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9724
9725 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
9726 strict, but do not check for any particular function name within libc.
9727
9728 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9729
9730 * gdb.cp/smartp.exp: New test.
9731 * gdb.cp/smartp.cc : New test.
9732
9733 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9734
9735 * gdb.cp/converts.exp: Test pointer to bool conversion.
9736 Test pointer to long conversion.
9737 * gdb.cp/oranking.exp: Removed relevant kfail.
9738
9739 2010-10-18 Tom Tromey <tromey@redhat.com>
9740
9741 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
9742 argument to lazy_string.
9743 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
9744 (pp_ls.to_string): Use it.
9745 * gdb.python/py-prettyprint.c (main): Move declarations to top.
9746 Add "estring2" local.
9747
9748 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9749
9750 Fix s390x compatibility.
9751 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
9752 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
9753
9754 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9755
9756 * gdb.threads/sigstep-threads.exp: New file.
9757 * gdb.threads/sigstep-threads.c: New file.
9758
9759 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9760
9761 * gdb.base/pie-execl.exp: New file.
9762 * gdb.base/pie-execl.c: New file.
9763
9764 2010-10-13 Doug Evans <dje@google.com>
9765 Jan Kratochvil <jan.kratochvil@redhat.com>
9766
9767 PR exp/12117
9768 * gdb.cp/ptype-cv-cp.cc: New file.
9769 * gdb.cp/ptype-cv-cp.exp: New file.
9770
9771 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
9772
9773 * gdb.cp/converts.cc: New test program.
9774 * gdb.cp/converts.exp: New test.
9775 * gdb.cp/overload.exp: Added test for void* vs int*.
9776 * gdb.cp/overload.exp: Ditto.
9777 * gdb.cp/oranking.exp: Removed related kfail.
9778
9779 2010-10-13 Doug Evans <dje@google.com>
9780
9781 * lib/gdb-python.exp (gdb_check_python_config): New function.
9782 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9783 * gdb.python/lib-types.cc: New file.
9784 * gdb.python/lib-types.exp: New file.
9785
9786 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9787
9788 * gdb.python/py-error.exp: New file.
9789 * gdb.python/py-error.py: New file.
9790
9791 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9792
9793 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9794 gdb_test_multiple.
9795
9796 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9797
9798 * gdb.base/break-interp.exp: Use ldlags for linking flags.
9799 * gdb.base/prelink.exp: Likewise.
9800 * gdb.base/solib-nodir.exp: Likewise.
9801 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9802 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9803 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9804
9805 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
9806
9807 * break-interp.exp (test_ld): Use two separate gdb_expect statements
9808 for the "info files" test to avoid timeouts on slow machines.
9809
9810 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9811
9812 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9813 (main): Make openlib dummy call.
9814
9815 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9816
9817 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9818 * break-interp.exp (reach): Move the core body ...
9819 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
9820 (test_ld): Provide always real argument, even to the linker. Replace
9821 dl_main by _dl_debug_state.
9822
9823 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9824
9825 Fix results of prelinked PIEs on ppc*.
9826 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9827 Accept also DISPLACEMENT "PRESENT".
9828 (main): Replace "ZERO" displacements by "PRESENT".
9829
9830 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
9831
9832 * gdb.cp/oranking.exp: New test.
9833 * gdb.cp/oranking.cc: New test program.
9834
9835 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
9836
9837 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9838 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9839
9840 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
9841
9842 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9843 lush, lynx) New constant.
9844 * gdb.base/constvars.exp: Test const array types.
9845 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9846
9847 2010-10-06 Doug Evans <dje@google.com>
9848
9849 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9850 of syscall staging area.
9851
9852 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
9853
9854 * gdb.base/gnu_vector.c: Add variable c4.
9855 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9856 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9857
9858 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
9859
9860 * gdb.arch/altivec-abi.exp: Fix a typo.
9861
9862 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
9863
9864 * lib/mi-support.exp (thread_selected_re): Correct pattern used
9865 to match a thread ID.
9866
9867 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9868
9869 Fix s390x testcase compatibility.
9870 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9871
9872 2010-10-01 Doug Evans <dje@google.com>
9873
9874 * lib/gdb-python.exp: New file.
9875 * gdb.python/py-block.exp: Use it.
9876 * gdb.python/py-breakpoint.exp: Ditto.
9877 * gdb.python/py-frame.exp: Ditto.
9878 * gdb.python/py-inferior.exp: Ditto.
9879 * gdb.python/py-param.exp: Ditto.
9880 * gdb.python/py-prettyprint.exp: Ditto.
9881 * gdb.python/py-shared.exp: Ditto.
9882 * gdb.python/py-symbol.exp: Ditto.
9883 * gdb.python/py-symtab.exp: Ditto.
9884 * gdb.python/py-type.exp: Ditto.
9885 * gdb.python/py-value.exp: Ditto.
9886 * gdb.python/python.exp: Ditto.
9887
9888 2010-09-30 Tom Tromey <tromey@redhat.com>
9889
9890 * gdb.base/anon.exp: New file.
9891 * gdb.base/anon.c: New file.
9892
9893 2010-09-30 Tom Tromey <tromey@redhat.com>
9894
9895 * gdb.base/completion.exp: Test completion through anonymous
9896 union.
9897 * gdb.base/break1.c (struct some_struct): Add anonymous union.
9898
9899 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9900
9901 Fix printing parameters of inlined functions.
9902 * gdb.dwarf2/dw2-inline-param.exp: New file.
9903 * gdb.dwarf2/dw2-inline-param-main.c: New file.
9904 * gdb.dwarf2/dw2-inline-param.S: New file.
9905
9906 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9907
9908 PR corefiles/12071.
9909 * gdb.base/corefile.exp (quit with a process, no question: load core)
9910 (quit with a core file): New tests.
9911
9912 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9913
9914 Fix GDB crash on inferior calls with self-referencing classes.
9915 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9916 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9917 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9918
9919 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9920
9921 Fix lost siginfo_t for inferior calls.
9922 * gdb.base/siginfo-infcall.exp: New file.
9923 * gdb.base/siginfo-infcall.c: New file.
9924
9925 2010-09-22 Joel Brobecker <brobecker@adacore.com>
9926
9927 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
9928
9929 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9930
9931 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
9932 New test.
9933 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
9934
9935 2010-09-22 Joel Brobecker <brobecker@adacore.com>
9936
9937 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
9938 type of our const type.
9939
9940 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
9941
9942 * gdb.cp/pr12028.cc: New.
9943 * gdb.cp/pr12028.exp: New.
9944
9945 2010-09-22 Joel Brobecker <brobecker@adacore.com>
9946
9947 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
9948
9949 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
9950 Jan Kratochvil <jan.kratochvil@redhat.com>
9951
9952 PR mi/11407
9953 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
9954 * gdb.mi/dw2-ref-missing-frame-main.c New File.
9955 * gdb.mi/dw2-ref-missing-frame.S New File.
9956 * gdb.mi/dw2-ref-missing-frame.exp New File.
9957
9958 2010-09-14 Tom Tromey <tromey@redhat.com>
9959
9960 PR symtab/8399:
9961 * gdb.threads/tls.exp: Remove kfail. Update expected output.
9962
9963 2010-09-14 Tom Tromey <tromey@redhat.com>
9964
9965 PR exp/11803:
9966 * gdb.threads/tls.exp: Use C++.
9967 (check_thread_local): Use K::another_thread_local.
9968 * gdb.threads/tls.c (class K): New.
9969 (another_thread_local): Now a member of K.
9970 (spin): Update. No longer K&R C.
9971
9972 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
9973
9974 * gdb.cp/koenig.cc: created class for testing member lookup.
9975 * gdb.cp/koenig.exp: Added test for member lookup.
9976
9977 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9978
9979 Fix false FAILs on sourcetree topdir directory containing "kill".
9980 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
9981 source line matching regexp.
9982
9983 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9984
9985 * gdb.python/python.exp (set height 0, collect help from uiout)
9986 (verify help to uiout): New tests.
9987
9988 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9989
9990 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
9991 is_lp64_target to check 64bit target.
9992
9993 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9994
9995 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
9996 (test_ld) <powerpc64-*>: New.
9997
9998 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9999
10000 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10001
10002 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10003
10004 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10005 (FunctionArg::method): New function.
10006 (empty, arg): New variables.
10007 (main): Call arg.method.
10008 * gdb.cp/templates.exp (test_template_args): New function.
10009 (do_tests): Call it.
10010
10011 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10012
10013 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10014 of "next" to proceed over pthread_exit call.
10015
10016 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10017
10018 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10019 "maint print statistics" output to prevent expect timeouts.
10020
10021 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10022
10023 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10024 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10025 (test_float_rejected): ... here.
10026 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10027 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10028 (test_float_rejected): ... here.
10029 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10030 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10031 (test_float_rejected): ... here.
10032 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10033 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10034 (test_float_rejected): ... here.
10035
10036 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10037
10038 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10039 before disabling hardware watchpoints.
10040 (test_inaccessible_watchpoint): Check that hardware watchpoints
10041 are used. Test for watchpoints on a constant address.
10042
10043 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10044
10045 * gdb.base/ui-redirect.exp: New file.
10046
10047 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10048 Joel Brobecker <brobecker@adacore.com>
10049
10050 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10051
10052 2010-08-31 Doug Evans <dje@google.com>
10053
10054 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10055
10056 2010-08-30 Tom Tromey <tromey@redhat.com>
10057
10058 PR python/11792:
10059 * gdb.python/py-value.exp (test_subscript_regression): Add
10060 dynamic_type test.
10061
10062 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10063
10064 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10065 instead of running to main. Do not test the main function.
10066 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10067 Add new main.
10068
10069 2010-08-26 Pedro Alves <pedro@codesourcery.com>
10070
10071 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10072 one test.
10073
10074 2010-08-24 Doug Evans <dje@google.com>
10075
10076 PR symtab/11942
10077 * gdb.dwarf2/dw4-sig-types.cc: New file.
10078 * gdb.dwarf2/dw4-sig-types.h: New file.
10079 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10080 * gdb.dwarf2/dw4-sig-types.exp: New file.
10081
10082 2010-08-23 Tom Tromey <tromey@redhat.com>
10083
10084 PR python/11145:
10085 * gdb.python/py-value.c (Base, Derived): New types.
10086 (base): New global.
10087 * gdb.python/py-value.exp (test_subscript_regression): Add
10088 dynamic_cast test.
10089
10090 2010-08-23 Tom Tromey <tromey@redhat.com>
10091
10092 PR python/10676:
10093 * gdb.python/py-type.exp (test_fields): Add tests for type
10094 equality.
10095
10096 2010-08-23 Tom Tromey <tromey@redhat.com>
10097
10098 PR python/11915:
10099 * gdb.python/py-type.exp (test_fields): Add tests for array.
10100
10101 2010-08-23 Keith Seitz <keiths@redhat.com>
10102
10103 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10104 have any children. Create a new abbrev for it.
10105 Add missing terminal sequence to .debug_abbrev.
10106
10107 2010-08-20 Keith Seitz <keiths@redhat.com>
10108
10109 PR symtab/11465:
10110 * gdb.dwarf2/pr11465.exp: New test.
10111 * gdb.dwarf2/pr11465.S: New file.
10112 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10113 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10114
10115 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10116
10117 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10118 registers. Update data sets with the new v2_double element in the
10119 VSX register union. Add vector_register3_vr data set for the AltiVec
10120 registers. Use gdb_test_no_output instead of send_gdb.
10121
10122 2010-08-19 Pedro Alves <pedro@codesourcery.com>
10123
10124 * gdb.python/py-shared.exp: New file, factored out from
10125 python.exp.
10126 * gdb.python/py-shared.c: New file.
10127 * gdb.python/py-shared-sl.c: New file.
10128 * gdb.python/python-1.c: New file.
10129 * gdb.python/python-sl.c: Delete.
10130 * gdb.python/python.c: Mention python-1.c.
10131 * gdb.python/python.exp: Move shared library tests to
10132 py-shared.exp.
10133 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10134 (MISCELLANEOUS): New.
10135 (clean mostlyclean): Also remove $MISCELLANEOUS.
10136
10137 2010-08-19 Doug Evans <dje@google.com>
10138
10139 PR exp/11926
10140 * gdb.base/printcmds.exp (test_float_accepted): New function.
10141 Move existing float tests there. Add tests for floats with suffixes.
10142 (test_float_rejected): New function.
10143 * gdb.java/jv-print.exp (test_float_accepted): New function.
10144 (test_float_rejected): New function.
10145 * gdb.objc/print.exp: New file.
10146 * gdb.pascal/print.exp: New file.
10147 * lib/objc.exp: New file.
10148
10149 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10150
10151 * gdb.base/default.exp (info set): Avoid full buffer error and force
10152 reading up to final gdb prompt.
10153 (show): Likewise.
10154
10155 2010-08-18 Tom Tromey <tromey@redhat.com>
10156
10157 PR symtab/11919:
10158 * gdb.base/completion.exp: Add test.
10159
10160 2010-08-18 Doug Evans <dje@google.com>
10161
10162 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10163 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10164 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10165 Simplify, early exit if runto_main fails.
10166 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10167 (set_lang_fortran): Moved to lib/fortran.exp.
10168 * gdb.fortran/types.exp: load_lib fortran.exp.
10169 (set_lang_fortran): Moved to lib/fortran.exp.
10170 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10171 * gdb.java/jprint.exp (set_lang_java): Ditto.
10172 * gdb.java/jv-exp.exp: load_lib java.exp.
10173 If set_lang_java fails, issue a warning instead of failure to be
10174 consistent with other set_lang_foo uses.
10175 (set_lang_java): Moved to lib/java.exp.
10176 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10177 If set_lang_java fails, issue a warning instead of failure to be
10178 consistent with other set_lang_foo uses.
10179 * gdb.pascal/types.exp: load_lib pascal.exp.
10180 (set_lang_pascal): Moved to lib/pascal.exp.
10181 * lib/fortran.exp: New file.
10182 * lib/java.exp (set_lang_java): New function.
10183 * lib/pascal.exp (set_lang_pascal): New function.
10184
10185 2010-08-18 Yao Qi <yao@codesourcery.com
10186
10187 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10188 func_nofb_start and func_loopfb_start, so that address of functions
10189 is equal to these labels on Thumb.
10190
10191 2010-08-18 Yao Qi <yao@codesourcery.com>
10192
10193 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10194 to reflect latest c source file.
10195
10196 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10197
10198 * gdb.cp/infcall-dlopen.exp: New file.
10199 * gdb.cp/infcall-dlopen.cc: New file.
10200 * gdb.cp/infcall-dlopen-lib.cc: New file.
10201
10202 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10203 Pedro Alves <pedro@codesourcery.com>
10204
10205 PR breakpoints/11371
10206
10207 * gdb.base/watch-cond-infcall.exp: New file.
10208 * gdb.base/watch-cond-infcall.c: New file.
10209
10210 2010-08-16 Tom Tromey <tromey@redhat.com>
10211
10212 * gdb.base/help.exp: Update.
10213 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10214 watchpoint.
10215 (test_watch_location): New proc.
10216 (test_watchpoint_in_big_blob): Delete watchpoint.
10217 * gdb.base/watchpoint.c (func5): New function.
10218 (main): Call it.
10219
10220 2010-08-16 Doug Evans <dje@google.com>
10221
10222 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10223
10224 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10225
10226 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10227 tests.
10228
10229 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
10230
10231 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10232 * gdb.base/gnu_vector.c: New File.
10233 * gdb.base/gnu_vector.exp: Likewise.
10234
10235 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10236
10237 * gdb.python/python.c: New File.
10238 * gdb.python/python-sl.c: New File.
10239 * gdb.python/python.exp: Test solib_address and decode_line
10240 * functions.
10241
10242 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10243
10244 * gdb.python/python.exp (show height, set height 10)
10245 (verify pagination beforehand, verify pagination beforehand: q)
10246 (gdb.execute does not page, verify pagination afterwards)
10247 (verify pagination afterwards: q): New.
10248
10249 2010-08-02 Doug Evans <dje@google.com>
10250
10251 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10252 because of an older gcc, change test2
10253 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10254 to unsupported.
10255
10256 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
10257
10258 * gdb.base/break-always.exp: Do not expect full paths to file
10259 names.
10260 * gdb.base/commands.exp: Likewise.
10261
10262 2010-07-30 Doug Evans <dje@google.com>
10263
10264 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10265 xfail them when run with older gccs.
10266
10267 * lib/gdb.exp (build_executable): Forward "c++" option to
10268 get_compiler_info.
10269
10270 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10271 "python print ttype.template_argument(1)" and
10272 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10273 if using gcc 4.4 or earlier.
10274
10275 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10276 attach-to-debugger handling.
10277
10278 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10279
10280 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10281 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10282 (main): Use copyreloc.
10283 * gdb.base/prelink.exp (split debug of executable)
10284 (.dynbss vs. .bss address shift): New tests.
10285
10286 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10287
10288 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10289 in gdb_test_multiple.
10290
10291 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10292
10293 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10294 environment.
10295
10296 2010-07-28 Tom Tromey <tromey@redhat.com>
10297
10298 PR python/11060:
10299 * gdb.python/py-type.c (Temargs): New template.
10300 (temvar): New variable.
10301 * gdb.python/py-type.exp (test_template): New proc.
10302
10303 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10304
10305 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10306 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10307
10308 2010-07-28 Tom Tromey <tromey@redhat.com>
10309
10310 PR c++/9946:
10311 * gdb.cp/temargs.exp: New file.
10312 * gdb.cp/temargs.cc: New file.
10313
10314 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10315
10316 * gdb.base/help.exp (help disassemble): Update the content.
10317
10318 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10319
10320 * gdb.threads/ia64-sigill.exp: New file.
10321 * gdb.threads/ia64-sigill.c: New file.
10322
10323 2010-07-27 Tom Tromey <tromey@redhat.com>
10324
10325 * gdb.opt/inline-cmds.c (ATTR): New define.
10326 (func1): Use it.
10327 (func2): Likewise.
10328 (func3): Likewise.
10329 (outer_inline1): Likewise.
10330 (outer_inline2): Likewise.
10331 * gdb.opt/inline-bt.c (ATTR): New define.
10332 (func1): Use it.
10333 (func2): Likewise.
10334 * gdb.opt/inline-locals.c (ATTR): New define.
10335 (func1): Use it.
10336 (func2): Likewise.
10337
10338 2010-07-27 Tom Tromey <tromey@redhat.com>
10339
10340 * gdb.stabs/gdb11479.c (hack): New function.
10341 (test): Use it.
10342 (test2): Use it.
10343 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10344 (int32_search_buf, int64_search_buf): No longer static.
10345 (x): Remove.
10346 * gdb.base/relocate.c (hack): New function.
10347
10348 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10349
10350 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10351 * gdb.python/py-value.c (func1): New function.
10352 (func2): Likewise.
10353
10354 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
10355
10356 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10357 as not to clash with .data section.
10358
10359 2010-07-26 Jerome Guitton <guitton@adacore.com>
10360
10361 * gdb.base/code_elim.exp: New file.
10362 * gdb.base/code_elim1.c: New file.
10363 * gdb.base/code_elim2.c: New file.
10364
10365 2010-07-21 Pedro Alves <pedro@codesourcery.com>
10366
10367 PR symtab/11827
10368
10369 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10370 (some_volatile_enum): New variable.
10371 * gdb.base/printcmds.exp (test_print_enums): New.
10372 <top level>: Call it.
10373
10374 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
10375
10376 * gdb.cp/fpointer.cc: New test.
10377 * gdb.cp/fpointer.exp: New test.
10378
10379 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10380
10381 * gdb.base/solib-nodir.exp: New file.
10382 * lib/gdb.exp (runto): New case for a GDB internal error.
10383
10384 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10385 Ulrich Weigand <uweigand@de.ibm.com>
10386 Tom Tromey <tromey@redhat.com>
10387
10388 * gdb.base/charset-malloc.c: New file.
10389 * gdb.base/charset.c (malloc_stub): New prototype.
10390 (main): Call it instead of malloc itself.
10391 * gdb.base/charset.exp: Use only prepare_for_testing.
10392 (binfile): Remove the variable.
10393
10394 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10395
10396 Make core files the process_stratum.
10397 * gdb.base/corefile.exp (run: load core again)
10398 (run: sanity check we see the core file, run: with core)
10399 (run: core file is cleared, attach: load core again)
10400 (attach: sanity check we see the core file, attach: with core)
10401 (attach: core file is cleared): New tests.
10402 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
10403
10404 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
10405
10406 * gdb.arch/altivec-abi.exp: New tests.
10407
10408 2010-07-13 Tom Tromey <tromey@redhat.com>
10409
10410 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10411 (main): Use it.
10412 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10413
10414 2010-07-13 Tom Tromey <tromey@redhat.com>
10415
10416 * gdb.base/label.exp: New file.
10417 * gdb.base/label.c: New file.
10418
10419 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
10420 H.J. Lu <hongjiu.lu@intel.com>
10421
10422 * lib/gdb.exp (is_ilp32_target): New.
10423 (is_lp64_target): Likewise.
10424
10425 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10426 target.
10427 * gdb.arch/amd64-disp-step.exp: Likewise.
10428 * gdb.arch/amd64-dword.exp: Likewise.
10429 * gdb.arch/amd64-i386-address.exp: Likewise.
10430 * gdb.arch/amd64-word.exp: Likewise.
10431
10432 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10433 target.
10434 * gdb.arch/i386-bp_permanent.exp: Likewise.
10435 * gdb.arch/i386-byte.exp: Likewise.
10436 * gdb.arch/i386-disp-step.exp: Likewise.
10437 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10438 * gdb.arch/i386-prologue.exp: Likewise.
10439 * gdb.arch/i386-size-overlap.exp: Likewise.
10440 * gdb.arch/i386-size.exp: Likewise.
10441 * gdb.arch/i386-sse.exp: Likewise.
10442 * gdb.arch/i386-unwind.exp: Likewise.
10443 * gdb.arch/i386-word.exp: Likewise.
10444
10445 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10446 test only when building 64-bit executables. Do not hard-code
10447 -m64 option.
10448
10449 2010-07-07 Doug Evans <dje@google.com>
10450
10451 * lib/gdb.exp (gdb_test_list_exact): New function.
10452 * gdb.base/default.exp (show convenience): Call it, add tests for
10453 $_sdata = void, $_thread = 0.
10454
10455 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10456 Joel Brobecker <brobecker@adacore.com>
10457
10458 Fix re-run of PIE executable, PR shlibs/11776.
10459 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10460 Remove $displacement_main to match the solib-svr4.c change. New "kill"
10461 and re-"run" of the inferior.
10462
10463 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10464 Joel Brobecker <brobecker@adacore.com>
10465
10466 Cope with missing /usr/sbin/prelink.
10467 * lib/prelink-support.exp (prelink_no):
10468 <result == 1 && $output is "no such file or directory">: New.
10469 (prelink_yes): Likewise. Return on failed prelink_no.
10470
10471 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10472 Joel Brobecker <brobecker@adacore.com>
10473
10474 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
10475 build_executable by build_executable_own_libs. Replace "prelink -R"
10476 execution by a call of prelink_yes. Comment why "prelink -r" needs no
10477 change.
10478 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
10479 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
10480 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10481 Replace build_executable by build_executable_own_libs's function
10482 build_executable_own_libs.
10483 (prelinkNO): Create new stub to call prelink_no.
10484 (prelinkYES): Create new stub to call prelink_yes.
10485 (test_attach): Rename calls of copy to file_copy.
10486 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10487 (copy): Move to ...
10488 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
10489 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10490 * gdb.base/prelink.exp: Disable testcase also for is_remote and
10491 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
10492 special flags by gdb_compile_shlib. Replace second gdb_compile by
10493 build_executable_own_libs. Replace "prelink -R" execution by a call of
10494 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
10495 a second call of prelink_yes. Replace restart commands by
10496 clean_restart.
10497 (prelink): Rename to ...
10498 (seen displacement message): ... this test. Extend its expectation
10499 strictness.
10500
10501 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10502
10503 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10504 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10505 displacement message exactly once.
10506
10507 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10508 Joel Brobecker <brobecker@adacore.com>
10509
10510 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
10511 its restore after the <$relink_args != ""> loop. new comment.
10512
10513 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10514 Joel Brobecker <brobecker@adacore.com>
10515
10516 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10517 code for it. New variable relink_args.
10518 (prelinkYES): Call prelinkNO.
10519 (test_attach): Accept new parameter relink_args. Re-prelink the binary
10520 in such case. Move the core code to ...
10521 (test_attach_gdb): ... a new function. Send GDB command "file".
10522 Extend expected "Attaching to " string.
10523
10524 2010-07-02 Tom Tromey <tromey@redhat.com>
10525
10526 * gdb.base/bitops.exp: Remove extraneous "pass".
10527
10528 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
10529
10530 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10531
10532 2010-07-01 Pedro Alves <pedro@codesourcery.com>
10533
10534 * gdb.base/help.exp: Adjust expected output.
10535
10536 2010-07-01 Pedro Alves <pedro@codesourcery.com>
10537
10538 * gdb.base/help.exp: Adjust expected output.
10539
10540 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10541
10542 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
10543 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
10544 c++/11702.
10545
10546 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10547 Doug Evans <dje@google.com>
10548
10549 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
10550 add .dynamic entry'.
10551
10552 2010-06-29 Doug Evans <dje@google.com>
10553
10554 Test PR c++/11702.
10555 * gdb.cp/m-static.exp: Add testcase.
10556 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
10557
10558 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
10559 Tom Tromey <tromey@redhat.com>
10560 Thiago Jung Bauermann <bauerman@br.ibm.com>
10561
10562 * gdb.python/py-inferior.c: New File.
10563 * gdb.python/py-infthread.c: New File.
10564 * gdb.python/py-inferior.exp: New File.
10565 * gdb.python/py-infthread.exp: New File.
10566
10567 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10568
10569 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
10570 (ptype ::C::OtherFileClass typedefs): New.
10571 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
10572 (C::OtherFileClass::cOtherFileClassVar2): New.
10573 (C::OtherFileClass::cOtherFileClassVar_use): Use also
10574 cOtherFileClassVar2.
10575 (C::cOtherFileType2, C::cOtherFileVar2): New.
10576 (C::cOtherFileVar_use): use also cOtherFileVar2.
10577 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
10578
10579 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10580
10581 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
10582 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
10583 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
10584 (print ::C::cOtherFileVar)
10585 (whatis C::OtherFileClass::cOtherFileClassType)
10586 (whatis ::C::OtherFileClass::cOtherFileClassType)
10587 (print C::OtherFileClass::cOtherFileClassVar)
10588 (print ::cOtherFileClassVar)
10589 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
10590 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
10591 trailing content.
10592 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
10593 (C::OtherFileClass::cOtherFileClassVar)
10594 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
10595 (C::cOtherFileVar, C::cOtherFileVar_use): New.
10596
10597 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10598
10599 Test PR c++/11703 and PR gdb/1448.
10600 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
10601 gdb/1448.
10602
10603 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10604
10605 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
10606 (main) <rtti_data>: New.
10607 * gdb.cp/virtbase.exp (print rtti_data): New.
10608
10609 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10610 Joel Brobecker <brobecker@adacore.com>
10611
10612 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
10613
10614 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10615
10616 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
10617
10618 2010-06-28 Doug Evans <dje@google.com>
10619
10620 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
10621
10622 2010-06-27 Doug Evans <dje@google.com>
10623
10624 * gdb.cp/m-static.exp: Update expected test output.
10625
10626 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
10627
10628 * gdb.gdb/selftest.exp: Adjust expected message for
10629 capturing start-up runtime.
10630
10631 2010-06-25 Tom Tromey <tromey@redhat.com>
10632
10633 PR python/10808:
10634 * gdb.python/python.exp: Add new tests.
10635
10636 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
10637
10638 * gdb.cp/operator.cc: Created an import loop.
10639 * gdb.cp/operator.exp: Added testcase for import loop.
10640
10641 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10642
10643 Test PR python/11407.
10644 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
10645 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
10646 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
10647 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
10648 executable_nofb and executable_fb. New variables srcsfile, objsfile,
10649 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
10650 binfile. Call gdb_compile with clean_restart twice.
10651 (func_nofb print, func_nofb backtrace, func_loopfb print)
10652 (func_loopfb backtrace): New.
10653
10654 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10655
10656 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
10657 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
10658 by a hand made one.
10659 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
10660 i?86 requirement. Remove variables srcfile and binfile. New variable
10661 sources, executable_nofb and executable_fb. Call prepare_for_testing.
10662
10663 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10664
10665 * gdb.cell/dwarfaddr.exp: New file.
10666 * gdb.cell/dwarfaddr.S: New file.
10667
10668 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10669
10670 Test PR 9436.
10671 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
10672
10673 2010-06-24 Hui Zhu <teawater@gmail.com>
10674
10675 * gdb.base/eval.exp: New file.
10676
10677 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10678
10679 * gdb.cell/fork.exp: New file.
10680 * gdb.cell/fork.c: Likewise.
10681 * gdb.cell/fork-spu.c: Likewise.
10682
10683 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
10684
10685 * lib/gdb.exp (banned_variables_traced): New global variable.
10686 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
10687 (gdb_init): Use `trace add variable' instead of obsolete
10688 `trace variable'.
10689
10690 2010-06-21 Doug Evans <dje@google.com>
10691
10692 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
10693
10694 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10695
10696 * gdb.arch/spu-ls.exp: New file.
10697 * gdb.arch/spu-ls.c: Likewise.
10698
10699 2010-06-18 Stan Shebs <stan@codesourcery.com>
10700
10701 * gdb.threads/thread-specific.exp: Add tests of $_thread.
10702
10703 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10704
10705 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
10706 * gdb.base/watch-cond.exp: Likewise.
10707 * gdb.python/py-breakpoint.exp: Likewise.
10708
10709 2010-06-18 Pedro Alves <pedro@codesourcery.com>
10710
10711 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
10712 clean_restart, make sure every test has a distinct message, and
10713 that messages don't include the executable' full path.
10714
10715 2010-06-17 Doug Evans <dje@google.com>
10716
10717 * gdb.arch/i386-size.exp: Updated expected output for
10718 DISASSEMBLY_OMIT_FNAME.
10719
10720 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10721 Sergio Durigan Junior <sergiodj@redhat.com>
10722
10723 * gdb.base/watch-notconst.c: New file.
10724 * gdb.base/watch-notconst.S: New file.
10725 * gdb.base/watch-notconst2.c: New file.
10726 * gdb.base/watch-notconst2.S: New file.
10727 * gdb.base/watch-notconst.exp: New file.
10728 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
10729 (func4): Add operations on `global_ptr_ptr'.
10730 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
10731 routine to test watchpoints created with a constant expression.
10732 (test_inaccessible_watchpoint): Include tests for watchpoints
10733 created with a constant expression.
10734
10735 2010-06-14 Kevin Buettner <kevinb@redhat.com>
10736
10737 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10738 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
10739 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
10740 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
10741 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10742 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10743 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
10744 of `_start'.
10745
10746 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10747
10748 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
10749 not supported on the target.
10750 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10751 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10752 * gdb.mi/mi-nsintrall.exp: Likewise.
10753 * gdb.mi/mi-nsmoribund.exp: Likewise.
10754 * gdb.mi/mi-nsthrexec.exp: Likewise.
10755
10756 2010-06-11 Stan Shebs <stan@codesourcery.com>
10757
10758 * gdb.base/permissions.exp: New file.
10759
10760 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10761
10762 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10763 does not support ELF executable class.
10764
10765 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10766
10767 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10768
10769 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10770
10771 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10772 (runto): Catch "The target does not support running in non-stop mode.".
10773
10774 2010-06-11 Michael Snyder <msnyder@vmware.com>
10775
10776 * gdb.base/setshow.exp (set language asm): Don't use
10777 gdb_test_no_output, fails on some targets.
10778
10779 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10780
10781 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10782 * gdb.cp/pr9167.exp: Likewise.
10783
10784 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10785
10786 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10787
10788 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10789
10790 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10791
10792 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10793
10794 * gdb.base/charset.c (main): Make sure malloc gets linked in.
10795
10796 2010-06-11 Tom Tromey <tromey@redhat.com>
10797
10798 PR gdb/9977, PR exp/11636::
10799 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10800 (pieces_test_f6): Update expected output.
10801
10802 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10803
10804 * gdb.base/moribund-step.exp: New.
10805
10806 2010-06-08 Michael Snyder <msnyder@vmware.com>
10807
10808 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
10809 * gdb.ada/boolean_expr.exp:
10810 * gdb.ada/frame_args.exp: Ditto.
10811 * gdb.ada/lang_switch.exp: Ditto.
10812 * gdb.ada/ptype_arith_binop.exp: Ditto.
10813 * gdb.ada/ref_param.exp: Ditto.
10814 * gdb.ada/type_coercion.exp:Ditto.
10815
10816 * gdb.asm/asm-source.exp: Ditto.
10817
10818 * gdb.base/attach.exp: Ditto.
10819 * gdb.base/bitfields2.exp: Ditto.
10820 * gdb.base/call-signal-resume.exp: Ditto.
10821 * gdb.base/callfuncs.exp: Ditto.
10822 * gdb.base/commands.exp: Ditto.
10823 * gdb.base/dbx.exp: Ditto.
10824 * gdb.base/default.exp: Ditto.
10825 * gdb.base/dump.exp: Ditto.
10826 * gdb.base/exprs.exp: Ditto.
10827 * gdb.base/freebpcmd.exp: Ditto.
10828 * gdb.base/interrupt.exp: Ditto.
10829 * gdb.base/list.exp: Ditto.
10830 * gdb.base/long_long.exp: Ditto.
10831 * gdb.base/maint.exp: Ditto.
10832 * gdb.base/ptype.exp: Ditto.
10833 * gdb.base/return.exp: Ditto.
10834 * gdb.base/setshow.exp: Ditto.
10835 * gdb.base/sigbpt.exp: Ditto.
10836 * gdb.base/sigrepeat.exp: Ditto.
10837
10838 * gdb.cp/classes.exp: Ditto.
10839
10840 * gdb.dwarf2/dw2-restore.exp: Ditto.
10841
10842 * gdb.gdb/selftest.exp: Ditto.
10843
10844 * gdb.multi/base.exp: Ditto.
10845 * gdb.multi/bkpt-multi-exec.exp: Ditto.
10846
10847 * gdb.python/py-block.exp: Ditto.
10848 * gdb.python/py-prettyprint.exp: Ditto.
10849 * gdb.python/py-template.exp: Ditto.
10850
10851 * gdb.server/ext-attach.exp: Ditto.
10852 * gdb.server/ext-run.exp: Ditto.
10853 * gdb.server/server-mon.exp: Ditto.
10854
10855 * gdb.threads/fork-thread-pending.exp: Ditto.
10856 * gdb.threads/hand-call-in-threads.exp: Ditto.
10857 * gdb.threads/interrupted-hand-call.exp: Ditto.
10858 * gdb.threads/linux-dp.exp: Ditto.
10859 * gdb.threads/manythreads.exp: Ditto.
10860 * gdb.threads/print-threads.exp: Ditto.
10861 * gdb.threads/pthreads.exp: Ditto.
10862 * gdb.threads/schedlock.exp: Ditto.
10863 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10864 * gdb.threads/threadapply.exp: Ditto.
10865
10866 2010-06-08 Michael Snyder <msnyder@vmware.com>
10867
10868 * gdb.ada/exec_changed.exp:
10869 Use ".*" instead of "" as wildcard regexp.
10870
10871 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10872 * gdb.base/call-ar-st.exp: Ditto.
10873 * gdb.base/checkpoint.exp: Ditto.
10874 * gdb.base/default.exp: Ditto.
10875 * gdb.base/dump.exp: Ditto.
10876 * gdb.base/ending-run.exp: Ditto.
10877 * gdb.base/fileio.exp: Ditto.
10878 * gdb.base/miscexprs.exp: Ditto.
10879 * gdb.base/pointers.exp: Ditto.
10880 * gdb.base/readline.exp: Ditto.
10881 * gdb.base/reread.exp: Ditto.
10882 * gdb.base/restore.exp: Ditto.
10883 * gdb.base/shlib-call.exp: Ditto.
10884 * gdb.base/valgrind-db-attach.exp: Ditto.
10885 * gdb.base/volatile.exp: Ditto.
10886 * gdb.base/watchpoints.exp: Ditto.
10887
10888 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10889
10890 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10891 * gdb.python/py-value.exp: Ditto.
10892
10893 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10894 * gdb.trace/circ.exp: Ditto.
10895 * gdb.trace/collection.exp: Ditto.
10896 * gdb.trace/packetlen.exp: Ditto.
10897 * gdb.trace/passc-dyn.exp: Ditto.
10898 * gdb.trace/report.exp: Ditto.
10899 * gdb.trace/tfile.exp: Ditto.
10900 * gdb.trace/tfind.exp: Ditto.
10901 * gdb.trace/while-dyn.exp: Ditto.
10902
10903 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10904
10905 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10906
10907 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10908
10909 Test PR 10640.
10910 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10911
10912 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
10913
10914 * gdb.cp/koenig.exp: Test for ADL operators.
10915 * gdb.cp/koenig.cc: Added ADL operators.
10916 * gdb.cp/operator.exp: New test.
10917 * gdb.cp/operator.cc: New test.
10918
10919 2010-06-04 Michael Snyder <msnyder@vmware.com>
10920
10921 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10922 * gdb.base/pending.exp: Ditto.
10923
10924 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
10925
10926 2010-06-04 Doug Evans <dje@google.com>
10927
10928 * gdb.python/py-prettyprint.exp: Add new test for enabled and
10929 disabled printers.
10930 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
10931 (enable_lookup_function): New function.
10932
10933 2010-06-04 Tom Tromey <tromey@redhat.com>
10934
10935 * gdb.python/py-value.exp (test_value_hash): Don't test equality
10936 of hash and id.
10937
10938 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10939
10940 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
10941 newline.
10942 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
10943 (empty verbose non-noisy clear, empty verbose noisy clear)
10944 (empty non-verbose noisy clear): Likewise.
10945
10946 2010-06-03 Michael Snyder <msnyder@vmware.com>
10947
10948 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
10949 * gdb.base/display.exp: Ditto.
10950 * gdb.base/find.exp: Ditto.
10951 * gdb.base/ifelse.exp: Ditto.
10952 * gdb.base/multi-forks.exp: Ditto.
10953 * gdb.base/recurse.exp: Ditto.
10954 * gdb.base/setshow.exp: Ditto.
10955 * gdb.base/value-double-free.exp: Ditto.
10956 * gdb.base/watch-vfork.exp: Ditto.
10957 * gdb.base/watch_thread_num.exp: Ditto.
10958 * gdb.base/watchpoint-solib.exp: Ditto.
10959 * gdb.base/watchpoint.exp: Ditto.
10960 * gdb.base/watchpoints.exp: Ditto.
10961
10962 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
10963 * gdb.cp/overload.exp: Ditto.
10964 * gdb.cp/virtfunc.exp: Ditto.
10965
10966 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
10967
10968 * gdb.reverse/watch-precsave.exp:
10969 Replace gdb_test with gdb_test_no_output.
10970
10971 * gdb.threads/attach-into-signal.exp:
10972 Replace gdb_test with gdb_test_no_output.
10973 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10974 * gdb.threads/watchthreads.exp: Ditto.
10975 * gdb.threads/watchthreads2.exp: Ditto.
10976
10977 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
10978 * gdb.trace/tfind.exp: Ditto.
10979
10980 2010-06-03 Joel Brobecker <brobecker@adacore.com>
10981
10982 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
10983 successful test if message is the empty string.
10984
10985 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10986
10987 * gdb.fortran/module.exp (stopped language detection): New test.
10988
10989 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10990
10991 Support DW_TAG_module as separate namespaces.
10992 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
10993 gdb.fortran/library-module-lib.f90: New.
10994 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
10995 (print i): Remove.
10996 (continue to breakpoint: i-is-1, print var_i value 1)
10997 (continue to breakpoint: i-is-2, print var_i value 2)
10998 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
10999 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11000 (complete `modmany, complete `modmany`, complete `modmany`var)
11001 (show language, setting breakpoint at module): New tests.
11002 * gdb.fortran/module.f90 (module mod): Remove.
11003 (module mod1, module mod2, module modmany, subroutine sub1)
11004 (subroutine sub2, program module): New.
11005
11006 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11007
11008 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11009 (print value of rUC, print value of rI, print value of UI): ... here.
11010 * gdb.cp/anon-union.exp (pass): Rename to ...
11011 (print z 2): ... here.
11012
11013 2010-06-02 Michael Snyder <msnyder@vmware.com>
11014
11015 * gdb.trace/actions.exp: Use gdb_test_no_output.
11016 * gdb.trace/circ.exp: Ditto.
11017 * gdb.trace/packetlen.exp: Ditto.
11018 * gdb.trace/save-trace.exp: Ditto.
11019 * gdb.trace/tracecmd.exp: Ditto.
11020 * gdb.trace/tsv.exp: Ditto.
11021
11022 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11023 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11024 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11025 * gdb.threads/manythreads.exp: Ditto.
11026 * gdb.threads/print-threads.exp: Ditto.
11027 * gdb.threads/pthreads.exp: Ditto.
11028 * gdb.threads/schedlock.exp: Ditto.
11029 * gdb.threads/staticthreads.exp: Ditto.
11030 * gdb.threads/thread-specific.exp: Ditto.
11031 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11032 * gdb.threads/threadapply.exp: Ditto.
11033 * gdb.threads/watchthreads.exp: Ditto.
11034 * gdb.threads/watchthreads2.exp: Ditto.
11035
11036 * gdb.python/py-block.exp: Use gdb_test_no_output.
11037 * gdb.python/py-prettyprint.exp: Ditto.
11038 * gdb.python/py-template.exp: Ditto.
11039 * gdb.python/py-value.exp: Ditto.
11040
11041 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11042 * gdb.reverse/watch-reverse.exp: Ditto.
11043
11044 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11045 * gdb.server/ext-run.exp: Ditto.
11046
11047 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11048 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11049 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11050 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11051 * gdb.dwarf2/dw2-producer.exp: Ditto.
11052 * gdb.dwarf2/mac-fileno.exp: Ditto.
11053
11054 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11055 * gdb.gdb/selftest.exp: Ditto.
11056
11057 * gdb.multi/base.exp: Use gdb_test_no_output.
11058
11059 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11060
11061 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11062
11063 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11064
11065 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11066
11067 * gdb.cp/class2.exp: Use gdb_test_no_output.
11068 * gdb.cp/classes.exp: Ditto.
11069 * gdb.cp/extern-c.exp: Ditto.
11070 * gdb.cp/inherit.exp: Ditto.
11071 * gdb.cp/maint.exp: Ditto.
11072 * gdb.cp/mb-inline.exp: Ditto.
11073 * gdb.cp/mb-templates.exp: Ditto.
11074 * gdb.cp/method2.exp: Ditto.
11075 * gdb.cp/misc.exp: Ditto.
11076 * gdb.cp/ovldbreak.exp: Ditto.
11077 * gdb.cp/punctuator.exp: Ditto.
11078 * gdb.cp/templates.exp: Ditto.
11079 * gdb.cp/virtbase.exp: Ditto.
11080
11081 * gdb.threads/attach-stopped.exp:
11082 Replace uses of send_gdb / gdb_expect.
11083 * gdb.threads/attachstop-mt.exp:
11084 Replace uses of send_gdb / gdb_expect.
11085 * gdb.threads/gcore-thread.exp:
11086 Replace uses of send_gdb / gdb_expect.
11087 * gdb.threads/hand-call-in-threads.exp:
11088 Replace uses of send_gdb / gdb_expect.
11089 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
11090 * gdb.threads/print-threads.exp:
11091 Replace uses of send_gdb / gdb_expect.
11092 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11093 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11094 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11095
11096 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11097 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11098 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11099 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11100 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11101 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11102 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11103 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11104 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11105 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11106 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11107
11108 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11109
11110 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11111
11112 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11113
11114 * gdb.cp/koenig.exp: Added new test case.
11115 * gdb.cp/koenig.cc: Ditto.
11116
11117 2010-06-01 Michael Snyder <msnyder@vmware.com>
11118
11119 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11120 * gdb.base/arrayidx.exp: Ditto.
11121 * gdb.base/attach.exp: Ditto.
11122 * gdb.base/auxv.exp: Ditto.
11123 * gdb.base/bigcre.exp: Ditto.
11124 * gdb.base/break-always.exp: Ditto.
11125 * gdb.base/break-interp.exp: Ditto.
11126 * gdb.base/break.exp: Ditto.
11127 * gdb.base/breakpoint-shadow.exp: Ditto.
11128 * gdb.base/call-ar-st.exp: Ditto.
11129 * gdb.base/call-sc.exp: Ditto.
11130 * gdb.base/call-signal-resume.exp: Ditto.
11131 * gdb.base/callfuncs.exp: Ditto.
11132 * gdb.base/catch-syscall.exp: Ditto.
11133 * gdb.base/charset.exp: Ditto.
11134 * gdb.base/code-expr.exp: Ditto.
11135 * gdb.base/commands.exp: Ditto.
11136 * gdb.base/cond-expr.exp: Ditto.
11137 * gdb.base/condbreak.exp: Ditto.
11138 * gdb.base/cursal.exp: Ditto.
11139 * gdb.base/cvexpr.exp: Ditto.
11140 * gdb.base/default.exp: Ditto.
11141 * gdb.base/del.exp: Ditto.
11142 * gdb.base/detach.exp: Ditto.
11143 * gdb.base/display.exp: Ditto.
11144 * gdb.base/ena-dis-br.exp: Ditto.
11145 * gdb.base/eval-skip.exp: Ditto.
11146 * gdb.base/foll-fork.exp: Ditto.
11147 * gdb.base/foll-vfork.exp: Ditto.
11148 * gdb.base/frame-args.exp: Ditto.
11149 * gdb.base/funcargs.exp: Ditto.
11150 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11151 * gdb.base/gdbvars.exp: Ditto.
11152 * gdb.base/help.exp: Ditto.
11153 * gdb.base/ifelse.exp: Ditto.
11154 * gdb.base/included.exp: Ditto.
11155 * gdb.base/list.exp: Ditto.
11156 * gdb.base/macscp.exp: Ditto.
11157 * gdb.base/maint.exp: Ditto.
11158 * gdb.base/multi-fork.exp: Ditto.
11159 * gdb.base/overlays.exp: Ditto.
11160 * gdb.base/page.exp: Ditto.
11161 * gdb.base/pending.exp: Ditto.
11162 * gdb.base/pointers.exp: Ditto.
11163 * gdb.base/pr11022.exp: Ditto.
11164 * gdb.base/prelink.exp: Ditto.
11165 * gdb.base/printcmds.exp: Ditto.
11166 * gdb.base/psymtab.exp: Ditto.
11167 * gdb.base/randomize.exp: Ditto.
11168 * gdb.base/relational.exp: Ditto.
11169 * gdb.base/relocate.exp: Ditto.
11170 * gdb.base/remote.exp: Ditto.
11171 * gdb.base/sepdebug.exp: Ditto.
11172 * gdb.base/set-lang-auto.exp: Ditto.
11173 * gdb.base/setshow.exp: Ditto.
11174 * gdb.base/setvar.exp: Ditto.
11175 * gdb.base/signals.exp: Ditto.
11176 * gdb.base/signull.exp: Ditto.
11177 * gdb.base/sigstep.exp: Ditto.
11178 * gdb.base/sizeof.exp: Ditto.
11179 * gdb.base/solib-disc.exp: Ditto.
11180 * gdb.base/store.exp: Ditto.
11181 * gdb.base/structs.exp: Ditto.
11182 * gdb.base/structs2.exp: Ditto.
11183 * gdb.base/subst.exp: Ditto.
11184 * gdb.base/term.exp: Ditto.
11185 * gdb.base/trace-commands.exp: Ditto.
11186 * gdb.base/unwindonsignal.exp: Ditto.
11187 * gdb.base/valgrind-db-attach.exp: Ditto.
11188 * gdb.base/varargs.exp: Ditto.
11189 * gdb.base/watch-cond.exp: Ditto.
11190 * gdb.base/watch_thread_num.exp: Ditto.
11191 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11192 * gdb.base/watchpoint.exp: Ditto.
11193 * gdb.base/whatis-exp.exp: Ditto.
11194
11195 2010-06-01 Michael Snyder <msnyder@vmware.com>
11196
11197 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11198 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11199 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11200 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11201 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11202 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11203 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11204 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11205 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11206 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11207 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11208 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11209 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11210 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11211 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11212
11213 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11214
11215 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11216 trailing newline.
11217 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11218 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11219 (p *args): ... here and remove excessive trailing newline.
11220
11221 2010-05-31 Joel Brobecker <brobecker@adacore.com>
11222
11223 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11224
11225 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11226
11227 Accept the new Linux kernel "t (tracing stop)" string.
11228 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11229 Update comment.
11230 (state_wait) <T (tracing stop)>: New.
11231 (main): Update the state_wait expect string.
11232
11233 2010-05-28 Pedro Alves <pedro@codesourcery.com>
11234
11235 * limits.c, limits.exp: Delete files.
11236 * Makefile.in (clean mostlyclean): Adjust.
11237 * tracecmd.exp: Adjust.
11238
11239 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11240
11241 * gdb.base/tui-layout.exp: New.
11242
11243 2010-05-28 Michael Snyder <msnyder@vmware.com>
11244
11245 * gdb.reverse/break-precsave.exp:
11246 Replace uses of send_gdb / gdb_expect.
11247 * gdb.reverse/break-reverse.exp:
11248 Replace uses of send_gdb / gdb_expect.
11249 * gdb.reverse/consecutive-precsave.exp:
11250 Replace uses of send_gdb / gdb_expect.
11251 * gdb.reverse/consecutive-reverse.exp:
11252 Replace uses of send_gdb / gdb_expect.
11253 * gdb.reverse/finish-precsave.exp:
11254 Replace uses of send_gdb / gdb_expect.
11255 * gdb.reverse/finish-reverse.exp:
11256 Replace uses of send_gdb / gdb_expect.
11257 * gdb.reverse/i386-precsave.exp:
11258 Replace uses of send_gdb / gdb_expect.
11259 * gdb.reverse/i386-reverse.exp:
11260 Replace uses of send_gdb / gdb_expect.
11261 * gdb.reverse/i386-sse-reverse.exp:
11262 Replace uses of send_gdb / gdb_expect.
11263 * gdb.reverse/i387-env-reverse.exp:
11264 Replace uses of send_gdb / gdb_expect.
11265 * gdb.reverse/i387-stack-reverse.exp:
11266 Replace uses of send_gdb / gdb_expect.
11267 * gdb.reverse/machinestate-precsave.exp:
11268 Replace uses of send_gdb / gdb_expect.
11269 * gdb.reverse/machinestate.exp:
11270 Replace uses of send_gdb / gdb_expect.
11271 * gdb.reverse/sigall-precsave.exp:
11272 Replace uses of send_gdb / gdb_expect.
11273 * gdb.reverse/sigall-reverse.exp:
11274 Replace uses of send_gdb / gdb_expect.
11275 * gdb.reverse/solib-precsave.exp:
11276 Replace uses of send_gdb / gdb_expect.
11277 * gdb.reverse/solib-reverse.exp:
11278 Replace uses of send_gdb / gdb_expect.
11279 * gdb.reverse/step-precsave.exp:
11280 Replace uses of send_gdb / gdb_expect.
11281 * gdb.reverse/step-reverse.exp:
11282 Replace uses of send_gdb / gdb_expect.
11283 * gdb.reverse/until-precsave.exp:
11284 Replace uses of send_gdb / gdb_expect.
11285 * gdb.reverse/until-reverse.exp:
11286 Replace uses of send_gdb / gdb_expect.
11287 * gdb.reverse/watch-precsave.exp:
11288 Replace uses of send_gdb / gdb_expect.
11289 * gdb.reverse/watch-reverse.exp:
11290 Replace uses of send_gdb / gdb_expect.
11291
11292 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11293
11294 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11295 excessive newline.
11296
11297 2010-05-27 Michael Snyder <msnyder@vmware.com>
11298
11299 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
11300 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11301 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11302 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11303 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11304 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11305 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11306 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11307 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11308 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11309 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11310 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11311 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11312 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11313 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11314 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11315 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11316 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11317 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
11318
11319 2010-05-26 Michael Snyder <msnyder@vmware.com>
11320
11321 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11322 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11323
11324 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11325 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11326 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11327
11328 * gdb.reverse/consecutive-reverse.exp:
11329 Replace uses of send_gdb / gdb_expect.
11330 * gdb.reverse/consecutive-precsave.exp:
11331 Replace uses of send_gdb / gdb_expect.
11332
11333 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11334 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11335 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
11336 * gdb.mi/mi-ns-stale-regcache.exp:
11337 Replace uses of send_gdb / gdb_expect.
11338 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11339 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11340 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11341 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11342 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11343 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11344 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11345 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11346 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
11347
11348 2010-05-26 Michael Snyder <msnyder@vmware.com>
11349
11350 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
11351
11352 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
11353
11354 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11355 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11356 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11357 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11358 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11359 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11360 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11361 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11362 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
11363
11364 2010-05-25 Tom Tromey <tromey@redhat.com>
11365
11366 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11367
11368 2010-05-25 Tom Tromey <tromey@redhat.com>
11369
11370 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11371 argument order.
11372 * gdb.base/macscp.exp: Fix setup_kfail argument order.
11373 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11374 order.
11375 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11376 order.
11377 * gdb.base/call-sc.exp (setup_kfails): Remove.
11378 (setup_compiler_kfails): Remove.
11379 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11380 argument order.
11381 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11382 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11383 (advancei): Fix setup_kfail argument order.
11384 * gdb.base/radix.exp: Fix setup_kfail argument order.
11385 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11386 order.
11387 * gdb.base/structs.exp (setup_kfails): Remove.
11388 (setup_compiler_kfails): Fix setup_kfail argument order.
11389 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11390 order.
11391 * gdb.java/jmain.exp: Fix setup_kfail argument order.
11392 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11393 setup_kfail argument order.
11394 * gdb.cp/overload.exp: Fix setup_kfail argument order.
11395
11396 2010-05-25 Tom Tromey <tromey@redhat.com>
11397
11398 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11399
11400 2010-05-25 Michael Snyder <msnyder@vmware.com>
11401
11402 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11403 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11404 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11405 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11406 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11407 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11408 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11409 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11410 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
11411 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11412 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11413 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11414 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11415 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11416 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11417 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11418 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11419 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11420 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11421 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11422 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11423 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11424 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
11425 * gdb.base/default.exp: Replace send_gdb with gdb_test.
11426 * gdb.base/define.exp: Replace send_gdb with gdb_test.
11427 * gdb.base/display.exp: Replace send_gdb with gdb_test.
11428 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11429 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11430 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11431 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11432 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11433 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11434 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11435 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11436 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11437 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11438 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11439 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11440 * gdb.base/help.exp: Replace send_gdb with gdb_test.
11441 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11442 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11443 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
11444 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11445 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11446 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11447 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11448 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
11449 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
11450
11451 2010-05-25 Doug Evans <dje@google.com>
11452
11453 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11454 gdb.string_to_argv.
11455
11456 2010-05-21 Tom Tromey <tromey@redhat.com>
11457
11458 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11459 Call it.
11460 * gdb.dwarf2/pieces.S: Update.
11461 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11462
11463 2010-05-21 Tom Tromey <tromey@redhat.com>
11464
11465 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11466 Call it.
11467 * gdb.dwarf2/pieces.c (struct C): New.
11468 (f6): New function.
11469 * gdb.dwarf2/pieces.S: Replace.
11470
11471 2010-05-21 Tom Tromey <tromey@redhat.com>
11472
11473 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11474 Call it.
11475
11476 2010-05-21 Tom Tromey <tromey@redhat.com>
11477
11478 * gdb.dwarf2.pieces.exp: New file.
11479 * gdb.dwarf2.pieces.S: New file.
11480 * gdb.dwarf2.pieces.c: New file.
11481
11482 2010-05-20 Pedro Alves <pedro@codesourcery.com>
11483 Joel Brobecker <brobecker@adacore.com>
11484
11485 * lib/gdb.exp (gdb_test_no_output): New function.
11486 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11487 when testing commands that should produce no output.
11488
11489 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11490
11491 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11492 parameter that we want to watch being a constant.
11493
11494 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11495
11496 * gdb.ada/cond_lang: New testcase.
11497
11498 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11499
11500 * lib/gdb.exp (banned_variables): New variable/constant.
11501 (gdb_init): Add write trace on variables listed in banned_variables.
11502 (gdb_finish): Remove write traces on variables listed in
11503 banned_variables.
11504
11505 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11506
11507 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11508 * gdb.cp/koenig.exp: Likewise.
11509
11510 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
11511
11512 PR python/11482
11513
11514 * gdb.python/py-value.exp (test_value_hash): New function.
11515
11516 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
11517
11518 PR exp/11530.
11519 * gdb.base/gdb11530.c: New file.
11520 * gdb.base/gdb11530.exp: New file.
11521
11522 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11523
11524 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11525 * gdb.dwarf2/dw2-modula2-self-type.S: New.
11526
11527 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
11528
11529 * gdb.cp/koenig.exp: New test.
11530 * gdb.cp/koenig.cc: New test program.
11531
11532 2010-05-05 Joel Brobecker <brobecker@adacore.com>
11533
11534 Remove the use of prms_id and bug_id throughout the testsuite.
11535
11536 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
11537
11538 PR exp/11349.
11539 * testsuite/gdb.cp/ref-types.exp: Add test to examine
11540 use a reference local variable.
11541
11542 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11543
11544 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
11545 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
11546 variable different_dir. Move debugfile into a full directory pathname
11547 under DIFFERENT_DIR.
11548 * lib/gdb.exp (separate_debug_filename): Remove.
11549 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
11550 variable debug_dir and mkdir of it. Update function comments.
11551
11552 2010-04-29 Pedro Alves <pedro@codesourcery.com>
11553
11554 PR gdb/11557
11555
11556 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
11557 files.
11558
11559 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
11560
11561 * gdb.python/py-param.exp: New File.
11562
11563 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
11564
11565 * gdb.base/default.exp: Fix "set language" test.
11566
11567 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
11568
11569 PR breakpoints/11531.
11570 * gdb.base/gdb11531.c: New file.
11571 * gdb.base/gdb11531.exp: New file.
11572
11573 2010-04-26 Tom Tromey <tromey@redhat.com>
11574
11575 * gdb.base/completion.exp: Add tests for completion and deprecated
11576 commands.
11577
11578 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11579
11580 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
11581 (print /x char_array): Escape curly brackets.
11582
11583 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11584
11585 Fix deadlock on looped list of loaded shared objects.
11586 * gdb.base/solib-corrupted.exp: New.
11587
11588 2010-04-23 Doug Evans <dje@google.com>
11589
11590 * gdb.python/py-section-script.c: New file.
11591 * gdb.python/py-section-script.exp: New file.
11592 * gdb.python/py-section-script.py: New file.
11593
11594 2010-04-20 Chris Moller <cmoller@redhat.com>
11595
11596 PR 10179
11597
11598 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
11599 * gdb.base/pr10179-a.c:
11600 * gdb.base/pr10179-b.c:
11601 * gdb.base/pr10179.exp: New files.
11602
11603 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11604
11605 Fix crashes on dangling display expressions.
11606 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
11607 is SEP.
11608 (lib_flags): Remove the "debug" keyword.
11609 (libsepdebug): New variable for iterating new loop.
11610 (save_pf_prefix): New variable wrapping the loop.
11611 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
11612 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
11613
11614 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11615
11616 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
11617
11618 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11619
11620 PR stabs/11479.
11621 * gdb.stabs/gdb11479.exp: New file.
11622 * gdb.stabs/gdb11479.c: New file.
11623
11624 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11625
11626 * gdb.base/charset.c (Strin16, String32): New variables.
11627 * gdb.base/charset.exp (gdb_test): Test correct display
11628 of 16 or 32 bit strings.
11629
11630 2010-04-21 Chris Moller <cmoller@redhat.com>
11631
11632 PR 9167
11633 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
11634 * gdb.cp/pr9167.cc: New file.
11635 * gdb.cp/pr9167.exp: New file.
11636
11637
11638 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
11639
11640 PR pascal/11492.
11641 * gdb.pascal/gdb11492.pas: New file.
11642 * gdb.pascal/gdb11492.exp: New file.
11643
11644 2010-04-20 Joel Brobecker <brobecker@adacore.com>
11645
11646 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
11647
11648 2010-04-20 Joel Brobecker <brobecker@adacore.com>
11649
11650 * gdb.ada/dyn_loc: New testcase.
11651
11652 2010-04-20 Chris Moller <cmoller@redhat.com>
11653
11654 PR 10867
11655
11656 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
11657 * gdb.cp/pr10687.cc: New file.
11658 * gdb.cp/pr10687.exp: New file.
11659
11660
11661 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11662 Sergio Durigan Junior <sergiodj@redhat.com>
11663
11664 * gdb.fortran/logical.exp: New testcase.
11665 * gdb.fortran/logical.f90: New file.
11666
11667 2010-04-19 Doug Evans <dje@google.com>
11668
11669 * gdb.base/help.exp (help source): Update expected output.
11670
11671 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11672
11673 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
11674 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
11675 gdb_exit and return.
11676 (executable): New variable.
11677 (binfile): Use it.
11678
11679 2010-04-19 Pedro Alves <pedro@codesourcery.com>
11680
11681 PR breakpoints/8554.
11682
11683 * gdb.trace/save-trace.exp: Adjust.
11684
11685 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
11686
11687 PR corefiles/11511
11688 * gdb.arch/system-gcore.exp: New.
11689 * gdb.arch/gcore.c: Likewise.
11690
11691 2010-04-15 Doug Evans <dje@google.com>
11692
11693 * gdb.python/py-progspace.c: New file.
11694 * gdb.python/py-progspace.exp: New file.
11695
11696 * gdb.base/source.exp: Add tests for "source -s".
11697
11698 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
11699
11700 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
11701 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
11702 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
11703 * gdb.python/py-mi.exp: New test for to_string returning None.
11704
11705 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
11706
11707 * gdb.python/py-breakpoint.c: Make result global.
11708
11709 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11710
11711 Fix non-GNU make compatibility.
11712 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
11713
11714 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
11715
11716 * gdb.python/py-breakpoint.exp: New File.
11717 * gdb.python/py-breakpoint.C: Ditto.
11718
11719 2010-04-08 Stan Shebs <stan@codesourcery.com>
11720
11721 * gdb.trace/actions.exp: Clear default-collect.
11722 * gdb.trace/save-trace.exp: Clear default-collect.
11723
11724 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
11725
11726 * gdb.python/py-value: Add null string variable.
11727 (test_lazy_string): Test zero length, NULL address lazy
11728 strings.
11729
11730 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
11731
11732 * gdb.arch/i386-avx.c: New.
11733 * gdb.arch/i386-avx.exp: Likewise.
11734
11735 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
11736
11737 2010-04-06 Doug Evans <dje@google.com>
11738
11739 * gdb.base/source-test.gdb: New file.
11740 * gdb.base/source.exp: Test source -v.
11741
11742 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11743
11744 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
11745
11746 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
11747
11748 * gdb.stabs/aout.sed: Convert all backslash to double backslash
11749 within one line, unless it is followed by a double quote.
11750 * gdb.stabs/hppa.sed: Idem.
11751 * gdb.stabs/weird.def: Add char and String constants
11752 * gdb.stabs/weird.exp: Check for correct parsing of
11753 char and string constants.
11754 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
11755 in .stabs to .stabx substitution.
11756
11757 2010-04-05 Stan Shebs <stan@codesourcery.com>
11758
11759 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
11760 constant global.
11761 * gdb.trace/tfile.exp: Try to print them.
11762
11763 2010-04-04 Stan Shebs <stan@codesourcery.com>
11764
11765 * gdb.base/completion.exp: Update for new "info watchpoints".
11766 * gdb.base/default.exp: Ditto.
11767 * gdb.base/help.exp: Ditto.
11768 * gdb.base/watchpoint.exp: Ditto.
11769 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
11770
11771 2010-04-04 Stan Shebs <stan@codesourcery.com>
11772
11773 * gdb.trace/tfile.exp: Sharpen tfind test.
11774
11775 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11776
11777 * gdb.base/break-entry.exp: New.
11778
11779 2010-04-02 Hui Zhu <teawater@gmail.com>
11780 Michael Snyder <msnyder@vmware.com>
11781
11782 * gdb.reverse/i386-sse-reverse.exp: New file.
11783 * gdb.reverse/i386-sse-reverse.c: New file.
11784
11785 2010-04-02 Pedro Alves <pedro@codesourcery.com>
11786
11787 * gdb.trace/tfind.exp: Adjust expected disassembly output.
11788
11789 2010-04-01 Stan Shebs <stan@codesourcery.com>
11790
11791 * gdb.trace/actions.exp: Tweak expected output.
11792 * gdb.trace/while-stepping.exp: Tweak expected output.
11793
11794 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
11795
11796 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11797
11798 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11799
11800 * gdb.base/commands.exp: Adjust.
11801 * gdb.cp/extern-c.exp: Adjust.
11802
11803 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11804
11805 * gdb.trace/collection.c (local_test_func): Define a local struct,
11806 and instanciate it.
11807
11808 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11809
11810 * gdb.trace/collection.exp (gdb_collect_args_test)
11811 (gdb_collect_argarray_test): XFAIL the tests that assume the
11812 argarray argument's elements are collected.
11813
11814 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11815
11816 * gdb.dwarf2/dw2-bad-parameter-type.exp,
11817 gdb.dwarf2/dw2-bad-parameter-type.S: New.
11818
11819 2010-03-31 Stan Shebs <stan@codesourcery.com>
11820
11821 * gdb.trace/save-trace.exp: Test save/restore of default-collect
11822 and tracepoint conditionals.
11823 (gdb_verify_tracepoints): Delete unused return.
11824
11825 2010-03-26 Keith Seitz <keiths@redhat.com>
11826
11827 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11828 appear in the output before main.
11829 Remove KFAIL for gdb/2215 aka bz 9320.
11830
11831 2010-03-30 Doug Evans <dje@google.com>
11832
11833 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11834 by dejagnu.
11835 * gdb.arch/amd64-dword.exp: Ditto.
11836
11837 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11838 match.
11839 (break printf): Ditto.
11840
11841 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
11842
11843 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11844 gcc < 4.4.
11845 * gdb.cp/shadow.exp: Ditto.
11846
11847 2010-03-29 Pedro Alves <pedro@codesourcery.com>
11848
11849 * gdb.trace/collection.exp (run_trace_experiment): Make sure
11850 "tstart" is silent.
11851
11852 2010-03-29 Pedro Alves <pedro@codesourcery.com>
11853
11854 * gdb.trace/collection.exp (executable): New.
11855 (binfile): Use it.
11856 (fpreg, spreg, pcreg): New.
11857 (test_register): Use gdb_test_multiple. Pass /x to print.
11858 (prepare_for_trace_test): New.
11859 (run_trace_experiment): Use "continue", not gdb_run_cmd.
11860 (gdb_collect_args_test, gdb_collect_argstruct_test)
11861 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11862 prepare_for_trace_test.
11863 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
11864 fpreg, spreg and pcreg.
11865 (gdb_collect_expression_test, gdb_collect_globals_test): Use
11866 prepare_for_trace_test.
11867 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
11868 try to detect tracing support here. Don't set breakpoints at
11869 `begin' or `end' here.
11870 <global scope>: Use clean_restart. Run to main before checking
11871 for tracing support. Check for for tracing support here.
11872
11873 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11874
11875 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11876 " as $displacement" to "seen displacement message".
11877
11878 2010-03-28 Pedro Alves <pedro@codesourcery.com>
11879
11880 * gdb.trace/while-dyn.exp (executable): New variable.
11881 (binfile): Use it.
11882 (test_while_stepping): New function. Move most tests here. Call
11883 it once for each of the while-stepping, stepping and ws aliases.
11884
11885 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11886
11887 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11888 that do not provide the tagless_struct type name at all.
11889 (test_print_anon_union): Do not check value of uninitialized
11890 union member. Do not use cp_test_ptype_class, so we can accept
11891 "long" as well as "long int".
11892
11893 2010-03-26 Pedro Alves <pedro@codesourcery.com>
11894
11895 * gdb.trace/tfile.c (tohex, bin2hex): New.
11896 (write_error_trace_file): Hexify error description.
11897
11898 2010-03-25 Stan Shebs <stan@codesourcery.com>
11899
11900 * gdb.trace/tfile.c: Generate an additional trace file, improve
11901 portability.
11902 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11903 files in a better way.
11904
11905 2010-03-25 Keith Seitz <keiths@redhat.com>
11906
11907 * gdb.java/jprint.exp: XFAIL printing of static class members
11908 because of GCC debuginfo problem.
11909
11910 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11911
11912 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11913
11914 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11915
11916 * gdb.base/completion.exp: Allow long instead of long int.
11917 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11918 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
11919 variable p.
11920 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11921 * gdb.base/pointers.exp: Allow long instead of long int.
11922 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
11923 * gdb.base/step-line.exp: Allow a directory before the source file name.
11924
11925 2010-03-24 Tom Tromey <tromey@redhat.com>
11926
11927 PR breakpoints/9352:
11928 * gdb.base/default.exp: Update.
11929 * gdb.base/commands.exp: Update.
11930 * gdb.cp/extern-c.exp: Test setting commands on multiple
11931 breakpoints at once.
11932
11933 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11934
11935 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
11936 if gdb,nosignals.
11937 * gdb.base/watchpoints.c: Do not include unnecessary headers.
11938 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
11939 exited".
11940
11941 2010-03-24 Stan Shebs <stan@codesourcery.com>
11942
11943 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
11944
11945 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11946
11947 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
11948 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
11949 argument. Handle "short" and "long".
11950 (Top level): Pass overprototyped output for old_fptr and xptr.
11951
11952 2010-03-23 Pedro Alves <pedro@codesourcery.com>
11953
11954 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
11955 format strings and add casts to avoid compiler warnings.
11956
11957 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
11958
11959 * lib/trace-support.exp (gdb_trace_setactions):
11960 Don't expect whitespace after ">" prompt.
11961 * gdb.trace/actions.exp: Adjust for output changes.
11962 * gdb.trace/while-stepping.exp: Likewise.
11963
11964 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11965
11966 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
11967 and r157645).
11968
11969 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11970
11971 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
11972 New.
11973
11974 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
11975
11976 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
11977 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
11978
11979 2010-03-19 Stan Shebs <stan@codesourcery.com>
11980
11981 * gdb.trace/ax.exp: New file.
11982
11983 2010-03-19 Doug Evans <dje@google.com>
11984
11985 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
11986 output from gcc.
11987
11988 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
11989 named /usr/sbin/prelink<foo>.
11990
11991 2010-03-18 Stan Shebs <stan@codesourcery.com>
11992
11993 * gdb.trace/circ.exp: Test circular-trace-buffer.
11994 * gdb.trace/tfile.exp: Update tstatus test.
11995
11996 2010-03-18 Joel Brobecker <brobecker@adacore.com>
11997
11998 * gdb.dwarf2/dw2-anonymous-func.S: New file.
11999 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12000
12001 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12002
12003 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12004
12005 2010-03-18 Pedro Alves <pedro@codesourcery.com>
12006
12007 * gdb.base/default.exp: Adjust the expected output of the finish
12008 and until commands when the inferior is not being run.
12009
12010 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12011
12012 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12013 * gdb.cp/nsusing.exp: Ditto.
12014
12015 2010-03-15 Tom Tromey <tromey@redhat.com>
12016
12017 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12018 * gdb.cp/userdef.cc (operator==): New function.
12019 (main): New locals mem1, mem2.
12020
12021 2010-03-15 Jie Zhang <jie@codesourcery.com>
12022
12023 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12024 Declare and use new loadtimeout variable.
12025
12026 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12027
12028 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12029 Use gdb_load later.
12030
12031 2010-03-14 Pedro Alves <pedro@codesourcery.com>
12032
12033 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12034 literal. Add missing endlines to prints to stderr.
12035
12036 2010-03-12 Tom Tromey <tromey@redhat.com>
12037
12038 PR c++/9708:
12039 * gdb.cp/m-static.exp: Add regression test.
12040 * gdb.cp/m-static.cc (method): New method.
12041 (main): Call it.
12042
12043 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12044
12045 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12046 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12047
12048 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12049
12050 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12051
12052 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12053
12054 * lib/gdb.exp (skip_stl_tests): New.
12055 (gdb_compile): Symbian needs -ldl.
12056 (shlib_target_file): New.
12057 (shlib_symbol_file): New.
12058 (gdb_load_shlibs): Use shlib_target_file.
12059 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12060 * gdb.cp/exception.exp: Use skip_stl_tests.
12061 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12062 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12063 * gdb.cp/mb-templates.exp: Ditto.
12064 * gdb.base/commands.exp: Relax regexes.
12065 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12066 shlib_target_file and shlib_symbol_file.
12067 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12068 sections.
12069 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12070 * gdb.base/solib-disc.exp: Use
12071 shlib_target_file and shlib_symbol_file.
12072 * gdb.base/unload.exp: Don't skip on symbian. Use
12073 shlib_target_file and shlib_symbol_file.
12074 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12075
12076 2010-03-12 Pedro Alves <pedro@codesourcery.com>
12077
12078 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12079 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12080 Issue a tfind end before looking for a tracepoint frame.
12081 * gdb.trace/tfind.exp: Adjust tstatus output.
12082 Adjust disassembly output.
12083 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12084
12085 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12086
12087 * gdb.base/break-interp.exp: Create new displacement parameter value
12088 for the test_ld calls.
12089 (reach): New parameter displacement, verify its content. New push of
12090 pf_prefix "reach-$func:". Import global expect_out.
12091 (test_core): New parameter displacement, verify its content. New push
12092 of pf_prefix "core:". New command "set verbose on". Import global
12093 expect_out.
12094 (test_attach): New parameter displacement, verify its content. New
12095 push of pf_prefix "attach:". New command "set verbose on". Import
12096 global expect_out.
12097 (test_ld): New parameter displacement, pass it to the reach, test_core
12098 and test_attach calls and verify its content in the "ld.so exit" test.
12099 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12100 (prelink): Update expected text, use gdb_test.
12101
12102 2010-03-10 Doug Evans <dje@google.com>
12103
12104 * gdb.base/checkpoint.exp: Fix comment.
12105 Lengthen timeout while doing >600 checkpoints test.
12106 Rename duplicate "kill all one" test to keep test names unique.
12107
12108 2010-03-10 Pedro Alves <pedro@codesourcery.com>
12109
12110 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12111
12112 2010-03-08 Keith Seitz <keiths@redhat.com>
12113
12114 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12115 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12116 (dm_type_long): New function.
12117 (dm_type_unsigned_short): New function.
12118 (dm_type_unsigned_long): New function.
12119 (myint): New typedef.
12120 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12121 long, unsigned shor and long, operator char*, and typedef.
12122 (test_lookup_operator_functions): Add operator char* test.
12123 (test_paddr_operator_functions): Likewise.
12124 (test_paddr_overloaded_functions): Use probe values for
12125 short, long, and unsigned short and long.
12126 (test_paddr_hairy_functions): If the demangler probe detected
12127 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12128 demangler.
12129 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12130 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12131 and "print null_pmf".
12132 Add test "ptype a.*pmf".
12133 * gdb.cp/overload.exp: Allow optional "int" to appear with
12134 "short" and "long".
12135 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12136 long expect value for men_overload1arg.
12137 Allow "int" to appear with "short" and "long".
12138 When testing "info break", add argument for main (void).
12139 Also allow "int" to appear with "short" and "long".
12140 Ditto with "unsigned" and "long long".
12141 * gdb.java/jmain.exp: Do not enclose methods names in single
12142 quotes.
12143 * gdb.java/jmisc.exp: Likewise.
12144 * gdb.java/jprint.exp: Likewise.
12145 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12146
12147 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12148 * gdb.cp/exception.exp (backtrace after first throw)
12149 (backtrace after second throw): Allow a namespace before __cxa_throw.
12150 (backtrace after first catch, backtrace after second catch): Allow
12151 a namespace before __cxa_begin_catch.
12152
12153 * gdb.cp/cpexprs.exp: New file.
12154 * gdb.cp/cpexprs.cc: New file.
12155
12156 From Daniel Jacobowitz <dan@codesourcery.com>
12157 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12158 to use string_to_regexp.
12159 (ctor, dtor): New functions. Use them to match constructor
12160 and destructor function types.
12161 (Top level): Use runto_main.
12162
12163 2010-03-05 Tom Tromey <tromey@redhat.com>
12164
12165 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12166 gdb.target_charset.
12167 (pp_ns.to_string): Likewise.
12168
12169 2010-03-04 Keith Seitz <keiths@redhat.com>
12170
12171 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12172 can be quoted. Test that both the filename and function/line
12173 portions can be quoted at the same time.
12174
12175 2010-03-04 Pedro Alves <pedro@codesourcery.com>
12176
12177 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12178
12179 2010-03-03 Doug Evans <dje@google.com>
12180
12181 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12182 libc contains libpthread.
12183
12184 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12185 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12186 of gdb_compile. Add another pattern to match android backtrace.
12187
12188 2010-03-03 Tom Tromey <tromey@redhat.com>
12189
12190 PR gdb/11345:
12191 * gdb.base/printcmds.exp (test_printf): Add test.
12192
12193 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12194
12195 * gdb.arch/amd64-byte.exp: New.
12196 * gdb.arch/amd64-dword.exp: Likewise.
12197 * gdb.arch/amd64-pseudo.c: Likewise.
12198 * gdb.arch/amd64-word.exp: Likewise.
12199 * gdb.arch/i386-byte.exp: Likewise.
12200 * gdb.arch/i386-pseudo.c: Likewise.
12201 * gdb.arch/i386-word.exp: Likewise.
12202
12203 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12204
12205 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12206 types. Add structreg, bitfields, and flags registers.
12207 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12208 registers.
12209
12210 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12211
12212 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12213 (load_description): Set architecture if defined.
12214
12215 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12216
12217 * gdb.python/py-frame.exp: Add read_var block tests.
12218 * gdb.python/py-frame.c (block): New function.
12219
12220 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12221 Daniel Jacobowitz <dan@codesourcery.com>
12222
12223 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12224
12225 2010-02-25 David S. Miller <davem@davemloft.net>
12226
12227 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12228 fix logic for setting all_syscalls_numbers.
12229
12230 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12231
12232 * Makefile.in: Add py-block and py-symbol.
12233 * gdb.python/py-symbol.exp: New File.
12234 * gdb.python/py-symtab.exp: New File.
12235 * gdb.python/py-block.exp: New File.
12236 * gdb.python/py-symbol.c: New File.
12237 * gdb.python/py-block.c: New File.
12238
12239 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12240
12241 PR python/11314
12242 * lib/gdb.exp (skip_python_tests): New function.
12243 * gdb.python/py-cmd.exp: Use skip_python_tests.
12244 * gdb.python/py-frame.exp: Likewise.
12245 * gdb.python/py-function.exp: Likewise.
12246 * gdb.python/py-prettyprint.exp: Likewise.
12247 * gdb.python/py-template.exp: Likewise.
12248 * gdb.python/py-type.exp: Likewise.
12249 * gdb.python/py-value.exp: Likewise.
12250
12251 2010-02-22 Pedro Alves <pedro@codesourcery.com>
12252
12253 PR9605
12254
12255 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12256
12257 2010-02-19 Tom Tromey <tromey@redhat.com>
12258
12259 PR c++/8693, PR c++/9496:
12260 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12261 regression tests.
12262
12263 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12264
12265 Fix compatibility with m68k as.
12266 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12267 Use only /* comments */.
12268
12269 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12270
12271 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12272 * configure: Regenerate.
12273
12274 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12275
12276 * gdb.python/py-type.exp: Check for Python support.
12277
12278 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12279
12280 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12281 `regsub' syntax available.
12282
12283 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12284
12285 * gdb.base/shmain.c (main): Remove printf call.
12286 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12287 * gdb.base/unload.c (main): Make format of fprintf a string
12288 literal. Add missing endlines to prints to stderr.
12289 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12290
12291 2010-02-17 Tom Tromey <tromey@redhat.com>
12292
12293 * gdb.java/jprint.java (jprint.props): New field.
12294 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12295
12296 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12297
12298 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12299 available.
12300
12301 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12302
12303 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12304 creation to support remote host testing.
12305
12306 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12307
12308 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12309 Recognize "command not found".
12310
12311 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12312
12313 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12314 single-stepping.
12315
12316 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12317
12318 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12319 if arguments are not supported.
12320
12321 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12322
12323 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12324 be const or non-const.
12325
12326 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12327
12328 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12329 mi_send_resuming_command to send -exec-continue.
12330
12331 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12332
12333 * gdb.base/list.exp (test_list_filename_and_function): Add test
12334 with single quotes.
12335 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12336 matching.
12337 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12338 Add KFAIL'd tests for PR gdb/11289.
12339
12340 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12341
12342 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12343
12344 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12345
12346 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12347 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12348 a temporary directory.
12349
12350 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12351
12352 * gdb.base/charset.exp: Use a single regular expression to match
12353 show host-charset and show target-charset output.
12354
12355 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12356
12357 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12358 "Illegal process-id" expect string more exact.
12359 (attach to digits-starting nonsense is prohibited): New.
12360
12361 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12362
12363 * gdb.base/prelink.exp (set verbose on): New.
12364
12365 2010-02-12 Tomas Holmberg <th@virtutech.com>
12366
12367 * mi-reverse.exp: New file. Test for reverse option to the
12368 following MI commands: exec-continue, exec-finish, exec-next,
12369 exec-step, exec-next-instruction, exec-step-instruction.
12370
12371 2010-02-09 Joel Brobecker <brobecker@adacore.com>
12372
12373 * gdb.ada/ptype_tagged_param: New testcase.
12374
12375 2010-02-08 Tom Tromey <tromey@redhat.com>
12376
12377 PR c++/8017:
12378 * gdb.cp/overload.exp: Add tests.
12379 * gdb.cp/overload.cc (struct K): New.
12380 (namespace N): New.
12381 (main): Call new functions.
12382 (K::staticoverload): Define.
12383
12384 2010-02-08 Chris Moller <moller@mollerware.com>
12385
12386 PR gdb/10728
12387 * gdb.cp/pr10728-x.h: New file.
12388 * gdb.cp/pr10728-x.cc: New file.
12389 * gdb.cp/pr10728-y.cc: New file.
12390 * gdb.cp/pr10728.exp: New file.
12391 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12392
12393 2010-02-08 Chris Moller <moller@mollerware.com>
12394
12395 PR gdb/9067
12396 * gdb.cp/pr9067.exp: New
12397 * gdb.cp/pr9067.cc: New
12398 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12399
12400 2010-02-08 Joel Brobecker <brobecker@adacore.com>
12401
12402 * lib/gdb.exp (gdb_test_timeout): New global variable.
12403 Set it to timeout if not already set.
12404 (gdb_init): Reset the value of timeout to gdb_test_timeout.
12405
12406 2010-02-05 Doug Evans <dje@google.com>
12407
12408 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12409 user.
12410
12411 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
12412
12413 PR c++/7935:
12414 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12415
12416 2010-02-04 Tom Tromey <tromey@redhat.com>
12417
12418 * gdb.cp/virtbase.exp: Make test case names unique.
12419
12420 2010-02-02 Tom Tromey <tromey@redhat.com>
12421
12422 * gdb.cp/virtbase.exp: Add regression tests.
12423 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12424 (main): Instantiate RHC.
12425
12426 2010-02-02 Tom Tromey <tromey@redhat.com>
12427
12428 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12429 type-printing change.
12430
12431 2010-02-02 Tom Tromey <tromey@redhat.com>
12432
12433 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12434 * gdb.cp/virtbase.cc: New file.
12435 * gdb.cp/virtbase.exp: New file.
12436 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12437
12438 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12439
12440 PR libc/11214:
12441 * gdb.threads/current-lwp-dead.c: Include features.h.
12442 (HAS_NOMMU): New.
12443 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12444
12445 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12446
12447 * gdb.base/symbol-without-target_section.exp,
12448 gdb.base/symbol-without-target_section.c: New.
12449
12450 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12451
12452 * gdb.base/bigcore.exp: Reset increased timeout.
12453 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12454
12455 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12456
12457 * gdb.base/gcore.exp (capture_command_output): Use
12458 gdb_test_multiple.
12459
12460 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12461
12462 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12463 * gdb.arch/thumb2-it.exp (test_it_break): New function.
12464 (Top level): Call it.
12465
12466 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12467
12468 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12469
12470 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12471
12472 * gdb.base/call-strs.exp, gdb.base/default.exp,
12473 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12474 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12475 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12476 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12477 gdb.base/watchpoint-solib.exp: Save and restore timeout.
12478 * gdb.base/ending-run.exp: Correct restore of timeout.
12479 * gdb.base/page.exp: Remove unnecessary timeout setting.
12480
12481 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12482
12483 * gdb.ada/rec_return: New testcase.
12484
12485 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12486
12487 * gdb.ada/call_pn: New testcase.
12488
12489 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12490
12491 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12492 (Top level): Use it to resume.
12493 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12494 the Thumb mode displaced stepping error as unsupported.
12495
12496 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
12497
12498 * gdb.cp/nsusing.exp: Added more tests.
12499 * gdb.cp/nsrecurs.exp: Ditto.
12500 * gdb.cp/nsusing.cc: Added test functions.
12501 * gdb.cp/nsrecurs.cc: Ditto.
12502
12503 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12504
12505 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12506 absolute directory pathnames in gdb.sum file.
12507
12508 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
12509
12510 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12511 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12512
12513 2010-01-26 Tom Tromey <tromey@redhat.com>
12514
12515 PR exp/7643:
12516 * gdb.base/printcmds.exp (test_print_string_constants): Remove
12517 setup_kfail.
12518
12519 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
12520
12521 * gdb.cp/nsrecurs.exp: New test.
12522 * gdb.cp/nsrecurs.cc: New test program.
12523 * gdb.cp/nsstress.exp: New test.
12524 * gdb.cp/nsstress.cc: New test program.
12525 * gdb.cp/nsdecl.exp: New test.
12526 * gdb.cp/nsdecl.cc: New test program.
12527
12528 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
12529
12530 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12531 imported into file scope.
12532 Marked test as xfail.
12533 * gdb.cp/namespace-using.cc (marker5): New function.
12534 * gdb.cp/shadow.exp: New test.
12535 * gdb.cp/shadow.cc: New test program.
12536 * gdb.cp/nsimport.exp: New test.
12537 * gdb.cp/nsimport.cc: New test program.
12538
12539 2010-01-25 Tom Tromey <tromey@redhat.com>
12540
12541 PR gdb/11049:
12542 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
12543 with "set print null-stop on".
12544
12545 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12546
12547 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
12548 Adjust it for DISASSEMBLY_OMIT_FNAME.
12549
12550 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12551
12552 PR symtab/11199:
12553 * gdb.dwarf2/member-ptr-forwardref.exp,
12554 gdb.dwarf2/member-ptr-forwardref.S: New.
12555
12556 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12557
12558 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
12559 (thread1_func): Protect thread1_tid with thread1_tid_cond by
12560 thread1_tid_mutex. Remove gdbstop_mutex handling.
12561 (thread2_func): Protect thread2_tid with thread2_tid_cond by
12562 thread2_tid_mutex. Remove gdbstop_mutex handling.
12563 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
12564 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
12565 pthread_cond_wait conditionalizations by while loops.
12566
12567 2010-01-20 Tom Tromey <tromey@redhat.com>
12568
12569 PR backtrace/10770:
12570 * gdb.dwarf2/pr10770.exp: New file.
12571 * gdb.dwarf2/pr10770.c: New file.
12572 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
12573
12574 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
12575
12576 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
12577 that target was removed, and the test always runs native anyway.
12578
12579 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12580
12581 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
12582 gdb.base/watchpoint-cond-gone-stripped.c: New.
12583
12584 2010-01-19 Tom Tromey <tromey@redhat.com>
12585
12586 PR c++/8000:
12587 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
12588 existing tests.
12589 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
12590 (main): Use AAA::SomeEnum.
12591
12592 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12593
12594 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
12595 (test_ignore_count): Declare line_callme_body global.
12596 (run to breakpoint with ignore count): Use line_callme_body.
12597 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
12598 (set line_main_hello, set line_main_return): Reindent.
12599 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
12600 New.
12601 (continue to callee4): Use line_callee4_body.
12602 (check *stopped from CLI command): Use line_callee4_next.
12603 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
12604 (set line_main_hello, set line_main_return): Reindent.
12605 (set line_callee4_head, set line_callee4_body): New.
12606 (continue to callee4): Use line_callee4_body.
12607
12608 2010-01-18 Tom Tromey <tromey@redhat.com>
12609
12610 PR c++/9680:
12611 * gdb.cp/casts.cc: Add new classes and variables.
12612 * gdb.cp/casts.exp: Test new operators.
12613
12614 2010-01-18 Tom Tromey <tromey@redhat.com>
12615 Thiago Jung Bauermann <bauerman@br.ibm.com>
12616
12617 * gdb.python/source2.py: New file.
12618 * gdb.python/source1: New file.
12619 * gdb.python/python.exp: Test "source" command.
12620
12621 2010-01-15 Stan Shebs <stan@codesourcery.com>
12622
12623 * gdb.trace/tfile.c: New file.
12624 * gdb.trace/tfile.exp: New file.
12625
12626 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12627
12628 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
12629
12630 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12631
12632 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
12633
12634 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12635
12636 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
12637 (libfunc): New parameter action. Implement also selectable "sleep".
12638 * gdb.base/break-interp-main.c: Include assert.h.
12639 (libfunc): New parameter action.
12640 (main): New parameters argc and argv. Assert argc. Pass argv.
12641 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
12642 (test_attach): New proc.
12643 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
12644 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
12645
12646 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12647
12648 * gdb.base/break-interp.exp (test_core): New proc.
12649 (test_ld): Call it.
12650
12651 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12652
12653 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
12654 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
12655 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
12656 and gdb_compile_shlib. Use new -Wl compiler options.
12657 (dl bt, main bt): New tests.
12658
12659 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12660
12661 Support PIEs with no symfile_objfile.
12662 * gdb.base/break-interp.exp: New argument at the test_ld calls.
12663 (test_ld): New parameter trynosym.
12664 (test_ld <$trynosym>): New block.
12665
12666 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12667
12668 * gdb.base/break-interp.exp: New file.
12669
12670 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
12671
12672 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
12673 * gdb.python/py-prettyprint.py (pp_ls): New printer.
12674 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
12675 test.
12676 * gdb.python/py-prettyprint.c: Define lazystring test structure.
12677 * gdb.python/py-mi.exp: Add lazy string test.
12678
12679 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
12680
12681 * lib/mi-support.exp (mi_check_thread_states): Handle
12682 core number in thread listing.
12683
12684 2010-01-12 Joel Brobecker <brobecker@adacore.com>
12685
12686 * gdb.base/maint.exp: Adjust the expected output for the
12687 "maint print type" test. Use gdb_test_multiple instead of
12688 gdb_sent/gdb_expect.
12689
12690 2010-01-11 Doug Evans <dje@google.com>
12691
12692 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
12693 from gdbserver_download. All callers updated.
12694
12695 * gdb.server/ext-run.exp: "info os processes" requires xml support.
12696
12697 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12698
12699 Implement binary numbers parsing.
12700 * gdb.base/printcmds.exp (test_integer_literals_accepted)
12701 (test_integer_literals_rejected): New binary tests.
12702
12703 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12704
12705 * gdb.cell/configure: Regenerate.
12706
12707 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12708
12709 * gdb.base/corefile.exp: Move the core finding block out and call it as
12710 core_find, new variable $corefile, replace corefile by $corefile and
12711 [file tail $corefile] for usage vs. test names resp.
12712 * lib/gdb.exp (core_find): Move it as a new function here. New
12713 parameter binfile and deletefiles. New variable $destcore. Pre-delete
12714 $destcore. Return "" on error.
12715
12716 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12717
12718 Workaround PR binutils/10802.
12719 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
12720 (twice).
12721
12722 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12723
12724 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
12725
12726 2010-01-08 Joel Brobecker <brobecker@adacore.com>
12727
12728 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
12729 call, to avoid interruption.
12730
12731 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12732
12733 * gdb.stabs/weird.def (args93): New.
12734
12735 2010-01-07 Doug Evans <dje@google.com>
12736
12737 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
12738
12739 2010-01-07 Tom Tromey <tromey@redhat.com>
12740
12741 * gdb.base/source.exp: Use correct line number.
12742
12743 2010-01-05 Stan Shebs <stan@codesourcery.com>
12744
12745 * gdb.trace/tracecmd.exp: Test ftrace.
12746
12747 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12748
12749 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
12750
12751 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12752
12753 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
12754 "uint_for_mi_testing".
12755
12756 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12757
12758 Test indented comment in file being sourced.
12759 * gdb.base/commands.exp: Test indented comment in file being sourced.
12760
12761 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12762
12763 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12764 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12765 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12766 notice.
12767
12768 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12769
12770 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12771 notice.
12772
12773 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12774
12775 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12776 missing $after_stopped and comma (,) expectation.
12777
12778 2009-12-31 Stan Shebs <stan@codesourcery.com>
12779
12780 * gdb.trace/actions.exp: Test teval action.
12781
12782 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12783
12784 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12785 (top level): Call test_watchpoint_in_big_blob.
12786 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12787 watchpoints.
12788 (func3): Write to buf.
12789
12790 2009-12-29 Stan Shebs <stan@codesourcery.com>
12791
12792 * gdb.trace/actions.exp: Test default-collect.
12793
12794 2009-12-28 Stan Shebs <stan@codesourcery.com>
12795
12796 * gdb.trace/tsv.exp: New file.
12797 * gdb.base/completion.exp: Update ambiguous info output.
12798
12799 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
12800
12801 * gdb.base/find.c (main): Reference search buffers.
12802 * gdb.base/included.c (main): Reference integer.
12803 * gdb.base/ptype.c (charfoo): Declare.
12804 (intfoo): Call charfoo.
12805 * gdb.base/scope0.c (useitp): New function.
12806 (usestatics): Use useitp.
12807 (useit): Add a type for val.
12808 * gdb.base/scope1.c (useit1): Take a pointer argument.
12809 (usestatics1): Update calls to useit1.
12810 * gdb.cp/call-c.cc: Declare foo.
12811 (main): Call foo.
12812 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12813 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12814 (main): Call C::ensureRefs and ensureOtherRefs.
12815 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12816 variables.
12817 (ensureOtherRefs): New function.
12818 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12819 * gdb.cp/templates.cc (main): Call t5i.value.
12820
12821 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12822
12823 Fix compatibility with G++-4.5.
12824 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12825 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12826 (uncaught return): Remove.
12827
12828 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12829 Phil Muldoon <pmuldoon@redhat.com>
12830
12831 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12832 (bp_location13, bp_location14, bp_location17, bp_location18)
12833 (marker3_proto, marker4_proto): New variables.
12834 (breakpoint info): Update output.
12835 (run until breakpoint at marker3, run until breakpoint at marker4): New
12836 tests.
12837
12838 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12839
12840 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12841 Replace the printf call of Y by provided "y-set-1" label. New block
12842 for the second shared library.
12843 * gdb.base/unload.exp: Compile also the second library, call
12844 gdb_load_shlibs also for it. Use now gdb_breakpoint.
12845 (single pending breakpoint info): Rename to ...
12846 (pending breakpoint info before run): ... this extended test.
12847 (libfile2, libname2, libsrcfile2, libsrc2)
12848 (lib_sl2): New variables.
12849 (exec_opts): Set also SHLIB_NAME2.
12850 (pending breakpoint info on first run at shrfunc1)
12851 (pending breakpoint info on second run at shrfunc1)
12852 (pending breakpoint info on second run at shrfunc2)
12853 (print y from libfile, print y from libfile2): New tests.
12854 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12855 * gdb.base/unloadshr2.c: New.
12856
12857 2009-12-22 Hui Zhu <teawater@gmail.com>
12858
12859 * gdb.reverse/sigall-reverse.exp: Adjust.
12860
12861 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
12862
12863 PR gdb/10884
12864
12865 * gdb.mi/var-cmd.c (do_bitfield_tests): New
12866 (main): Call do_bitfield_tests.
12867 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
12868
12869 2009-12-20 Joel Brobecker <brobecker@adacore.com>
12870
12871 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12872 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12873 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12874 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12875 gdb.modula2/unbounded1.c: Update copyright header.
12876
12877 2009-12-10 Chris Moller <moller@mollerware.com>
12878
12879 PR gdb/9399
12880 * gdb.cp/virtfunc2.exp: New tests
12881 * gdb.cp/virtfunc2.cc: New tests
12882 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12883
12884 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
12885
12886 * gdb.reverse/i387-env-reverse.c: New file.
12887 * gdb.reverse/i387-env-reverse.exp: New file.
12888 * gdb.reverse/i387-stack-reverse.c: New file.
12889 * gdb.reverse/i387-stack-reverse.exp: New file.
12890
12891 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
12892
12893 * gdb.python/py-type.exp (test_range): New test.
12894
12895 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
12896
12897 PR python/10805
12898
12899 * gdb.python/py-type.exp: New file.
12900 * gdb.python/py-type.c: New file.
12901 * Makefile.in: Add py-type.
12902
12903 2009-12-03 Tom Tromey <tromey@redhat.com>
12904
12905 * gdb.python/py-value.exp (test_parse_and_eval): New
12906 function.
12907
12908 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12909
12910 PR gdb/11022
12911
12912 * gdb.base/pr11022.exp: New test.
12913 * gdb.base/pr11022.c: New test.
12914
12915 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12916
12917 Fix spurious false FAILs.
12918 * gdb.base/structs.c (chartest): New.
12919 (main): Fill-in chartest.
12920 * gdb.base/structs.exp (anychar_re, first): New.
12921 (start_structs_test): Import global anychar_re and first.
12922 New gdb_test call "set print elements 300; ${testfile}"
12923 (start_structs_test <$first>): New block.
12924 (any): Import global anychar_re. New variable ac. Use ${ac}.
12925
12926 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12927
12928 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
12929
12930 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12931
12932 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
12933 Force $srcfile file.
12934 * gdb.base/foll-fork.c (callee): Comment out the printf call.
12935
12936 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12937
12938 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
12939 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
12940 * gdb.threads/watchthreads-reorder.exp: Likewise.
12941
12942 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
12943
12944 PR gdb/8704
12945
12946 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
12947 "if", and "thread". Correct matching in the previous test.
12948
12949 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
12950
12951 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
12952
12953 2009-11-23 Michael Snyder <msnyder@vmware.com>
12954
12955 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
12956 * gdb.reverse-watch-precsave.exp: Ditto.
12957
12958 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
12959
12960 * gdb.asm/asm-source.exp: Adjust.
12961 * gdb.base/help.exp: Adjust.
12962
12963 2009-11-22 Pedro Alves <pedro@codesourcery.com>
12964
12965 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
12966 (do_syscall_tests_without_xml): Set data-directory to
12967 /the/path/to/nowhere.
12968
12969 2009-11-21 Pedro Alves <pedro@codesourcery.com>
12970
12971 * gdb.threads/local-watch-wrong-thread.c,
12972 gdb.threads/local-watch-wrong-thread.exp: New files.
12973
12974 2009-11-21 Pedro Alves <pedro@codesourcery.com>
12975
12976 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
12977 assume new `regsub' syntax available.
12978
12979 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12980
12981 * gdb.base/watchpoint-hw-hit-once.exp,
12982 gdb.base/watchpoint-hw-hit-once.c: New.
12983
12984 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12985
12986 * gdb.threads/watchthreads-reorder.exp,
12987 gdb.threads/watchthreads-reorder.c: New.
12988
12989 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
12990
12991 * gdb.xml/tdesc-regs.exp: Use for m68k.
12992
12993 2009-11-15 Pedro Alves <pedro@codesourcery.com>
12994
12995 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
12996
12997 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12998
12999 * lib/gdb.exp (current_target_name): New procedure.
13000 (gdb_wrapper_target): New variable.
13001 (gdb_wrapper_init): Set gdb_wrapper_target.
13002 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13003 wrapper.
13004
13005 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13006
13007 * gdb.base/remote.exp: Delete the slowest load test.
13008 Do not load with fixed packet sizes.
13009
13010 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13011
13012 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13013
13014 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13015
13016 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13017 srcfile when setting a breakpoint.
13018
13019 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13020
13021 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13022 macros.
13023
13024 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13025
13026 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13027 to be in memory.
13028 * gdb.base/display.c (force_mem): New.
13029 (do_loops): Use it. Add breakpoint comments.
13030 (do_vars): Add a breakpoint comment.
13031 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13032 line numbers.
13033
13034 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13035
13036 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13037 instead of a bare "run".
13038
13039 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13040
13041 * gdb.python/py-prettyprint.exp: Adjust.
13042
13043 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13044
13045 * lib/cell.exp (skip_cell_tests): Clean up test files before
13046 returning.
13047
13048 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13049
13050 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13051 and the breakpoint menu. Do not call perror if a prompt is seen.
13052 Consume the following GDB prompt.
13053 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13054 * gdb.cp/namespace.exp: Use gdb_test.
13055 * gdb.cp/templates.exp: Use gdb_test.
13056 (test_template_breakpoints): Use gdb_test_multiple.
13057
13058 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13059
13060 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13061 (marker4): Reference values.
13062
13063 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13064
13065 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13066 is missing.
13067
13068 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13069
13070 * gdb.base/break.c (need_malloc): New.
13071 * gdb.base/constvars.c (main): Reference crass and crisp.
13072 * gdb.base/gdb1821.c (main): Reference bar.
13073 * gdb.cp/gdb1355.cc (main): Reference s1.
13074 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13075 (main): Call them.
13076 * gdb.cp/hang2.cc (dummy2): Define.
13077 * gdb.cp/hang3.cc (dummy3): Define.
13078 * gdb.cp/m-data.cc (main): Reference shadow.
13079
13080 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13081 Nathan Froyd <froydnj@codesourcery.com>
13082
13083 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13084 remote host.
13085
13086 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13087
13088 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13089 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13090 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13091 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13092 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13093 * gdb.dwarf2/dw2-producer.exp: Likewise.
13094 * gdb.dwarf2/mac-fileno.exp: Likewise.
13095 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13096 py-prettyprint.py to the remote host.
13097 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13098
13099 2009-11-11 Keith Seitz <keiths@redhat.com>
13100
13101 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13102 use it instead of "Foo".
13103 * gdb.cp/classes.exp (do_tests): Add a test to access
13104 a method through a typedef'd class name.
13105
13106 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13107
13108 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13109 exponents.
13110 * gdb.base/pointers.exp: Likewise.
13111 * gdb.cp/ref-types.exp: Likewise.
13112
13113 2009-11-11 Keith Seitz <keiths@redhat.com>
13114
13115 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13116 new[] and delete[].
13117 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13118 "void".
13119 (probe_demangler): Remove all single-quoting of
13120 method and variable names.
13121 (info_func_regexp): Remove the word "void" from any
13122 occurrence of "(void)".
13123 (print_addr_2): Remove all single-quoting of
13124 method names.
13125 (print_addr_2_kfail): Likewise.
13126 (print_addr): Single-quote C function names before
13127 passing to print_addr_2.
13128 (test_paddr_operator_functions): Remove single-quoting
13129 for method names.
13130 Add tests for operator new[] and operator delete[].
13131
13132 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13133
13134 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13135
13136 2009-11-09 Keith Seitz <keiths@redhat.com>
13137
13138 * gdb.cp/overload.exp: Add tests for resolving overloaded
13139 methods in expression parsing/evaluation.
13140
13141 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13142
13143 * lib/gdb.exp (default_gdb_version): Use --version instead of
13144 --command.
13145
13146 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13147
13148 * lib/gdb.exp (gdb_compile_test): New.
13149 (skip_ada_tests, skip_java_tests): New.
13150 (gdb_compile): Use gdb_compile_test for f77.
13151 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13152 * lib/java.exp (compile_java_from_source): Remove runtests check,
13153 use gdb_compile_test to record result.
13154 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13155 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13156 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13157 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13158 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13159 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13160 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13161 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13162 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13163 adjust gdb_compile invocations.
13164
13165 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13166
13167 * Makefile.in (abs_builddir): New.
13168 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13169 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13170 `$(abs_builddir)/site.exp'.
13171
13172 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13173
13174 * config/m68k-emc.exp, lib/emc-support.exp,
13175 gdb.trace/gdb_c_test.c: Delete.
13176 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13177 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13178 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13179 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13180 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13181 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13182 casing for m68k-*-elf.
13183
13184 2009-11-03 Pedro Alves <pedro@codesourcery.com>
13185
13186 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13187 * gdb.arch/i386-prologue.exp: Likewise.
13188 * gdb.arch/i386-unwind.exp: Likewise.
13189
13190 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13191
13192 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13193
13194 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13195
13196 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13197
13198 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13199
13200 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13201
13202 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13203
13204 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13205
13206 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13207
13208 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13209 * gdb.base/sepdebug2.c: New file.
13210
13211 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13212
13213 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13214 the modified warnings for catch syscall. Verify if GDB was compiled
13215 with support for lib expat, and choose which tests to run depending
13216 on this.
13217
13218 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13219
13220 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13221 that composite commands are parsed OK. And also test
13222 that breakpoint commands do work.
13223
13224 2009-10-23 Michael Snyder <msnyder@vmware.com>
13225
13226 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13227 to allow for new disassembly style.
13228
13229 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13230
13231 * gdb.asm/asm-source.exp: Adjust.
13232
13233 2009-10-22 Michael Snyder <msnyder@vmware.com>
13234
13235 * gdb.reverse/break-precsave.exp: New test.
13236 * gdb.reverse/consecutive-precsave.exp: Ditto.
13237 * gdb.reverse/finish-precsave.exp: Ditto.
13238 * gdb.reverse/i386-precsave.exp: Ditto.
13239 * gdb.reverse/machinestate-precsave.exp: Ditto.
13240 * gdb.reverse/sigall-precsave.exp: Ditto.
13241 * gdb.reverse/solilb-precsave.exp: Ditto.
13242 * gdb.reverse/step-precsave.exp: Ditto.
13243 * gdb.reverse/until-precsave.exp: Ditto.
13244 * gdb.reverse/watch-precsave.exp: Ditto.
13245
13246 2009-10-22 Michael Snyder <msnyder@vmware.com>
13247
13248 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13249 for gdb_expect. Adjust one test's expect strings for the new
13250 format of disassemble.
13251 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13252 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13253 gdb_test_multiple.
13254 * gdb.reverse/step-reverse.exp: Delete 'return'.
13255 * gdb.reverse/until-reverse.exp: Delete blank lines.
13256 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13257
13258 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13259
13260 * gdb.base/consecutive.exp: Adjust.
13261 * gdb.base/display.exp: Likewise.
13262 * gdb.base/pc-fp.exp: Likewise.
13263 * gdb.base/sigbpt.exp: Likewise.
13264
13265 2009-10-19 Michael Snyder <msnyder@vmware.com>
13266
13267 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13268 * gdb.reverse/finish-reverse.c: Ditto.
13269 * gdb.reverse/sigall-reverse.c: Ditto.
13270 * gdb.reverse/solib-reverse.c: Ditto.
13271 * gdb.reverse/step-reverse.c: Ditto.
13272 * gdb.reverse/watch-reverse.c: Ditto.
13273
13274 2009-10-19 Pedro Alves <pedro@codesourcery.com>
13275 Stan Shebs <stan@codesourcery.com>
13276
13277 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13278 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13279 "Executing new program".
13280 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13281 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13282 left listed after having been killed.
13283 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13284 * gdb.base/maint.exp: Adjust test.
13285
13286 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13287 * gdb.multi/Makefile.in: New.
13288 * gdb.multi/base.exp: New.
13289 * gdb.multi/goodbye.c: New.
13290 * gdb.multi/hangout.c: New.
13291 * gdb.multi/hello.c: New.
13292 * gdb.multi/bkpt-multi-exec.c: New.
13293 * gdb.multi/bkpt-multi-exec.exp: New.
13294 * gdb.multi/crashme.c: New.
13295
13296 2009-10-13 Tristan Gingold <gingold@adacore.com>
13297
13298 * gdb.base/sepdebug.exp: Check debug info are found.
13299
13300 2009-10-08 Pedro Alves <pedro@codesourcery.com>
13301
13302 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13303 bits.
13304
13305 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13306
13307 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13308
13309 2009-10-07 Joel Brobecker <brobecker@adacore.com>
13310
13311 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13312 of the comments.
13313
13314 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13315
13316 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13317 * gdb.base/annota3.exp: Idem.
13318 * gdb.base/maint.exp: Idem.
13319
13320 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13321
13322 * lib/gdb.exp (default_gdb_init): Set current value of match_max
13323 to default.
13324
13325 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13326
13327 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
13328 mingw and cygwin targets.
13329
13330 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13331 Pedro Alves <pedro@codesourcery.com>
13332
13333 * lib/gdb.exp (gdb_compile): Avoid adding
13334 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13335
13336 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13337
13338 * gdb.base/shr1.c: Use %p in format string.
13339 * gdb.base/unload.c: Avoid warning in fprintf.
13340 * gdb.base/watchpoint-solib.c: Idem.
13341
13342 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13343
13344 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13345 long type.
13346 (test_unlink): Correct printf string.
13347 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13348 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13349
13350 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13351
13352 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13353 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13354 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13355
13356 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13357
13358 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13359 * gdb.objc/nondebug.exp: Likewise.
13360
13361 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13362
13363 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13364 target_info setting.
13365
13366 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13367 that detect new threads during "info threads".
13368
13369 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13370
13371 * gdb.threads/manythreads.c (main): Increase thread stack size
13372 to 2*PTHREAD_STACK_MIN.
13373 * gdb.threads/multi-create.c (main): Likewise.
13374 (create_function): Likewise.
13375
13376 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13377
13378 * gdb.base/dump.exp: Pass difference of pointer types instead
13379 of integer types as offset to restore in intarr3.srec case.
13380
13381 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13382
13383 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13384
13385 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13386
13387 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13388
13389 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
13390
13391 New test for two watchpoints, with disabling of
13392 the first inserted.
13393 * testsuite/gdb.base/watchpoints.c: New file.
13394 * testsuite/gdb.base/watchpoints.exp: New file.
13395
13396 2009-09-25 Tom Tromey <tromey@redhat.com>
13397
13398 * gdb.base/charset.exp: Test utf-16 strings with Python.
13399
13400 2009-09-25 Tom Tromey <tromey@redhat.com>
13401
13402 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13403 UCS-4.
13404 * gdb.base/charset.c (utf_32_string): Rename.
13405 (init_utf32): Rename.
13406 (main): Update.
13407
13408 2009-09-22 Tom Tromey <tromey@redhat.com>
13409
13410 * gdb.python/py-function.exp: Add regression tests.
13411
13412 2009-09-21 Keith Seitz <keiths@redhat.com>
13413
13414 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13415 with invalid operator.
13416
13417 2009-09-21 Keith Seitz <keiths@redhat.com>
13418
13419 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13420 and destructor using typedef name of class.
13421 * gdb.cp/classes.cc (class Base1): Add a destructor.
13422 (base1): New typedef.
13423 (use_methods): Instanitate an object of type base1.
13424 * gdb.cp/templates.exp (test_template_typedef): New procedure.
13425 (do_tests): Call test_template_typedef.
13426 * gdb.cp/templates.cc (Baz::~Baz): New method.
13427 (intBazOne): New typedef.
13428 (main): Instantiate intBazOne.
13429
13430 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13431
13432 PR python/10633
13433
13434 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13435 Function.
13436 (run_lang_tests): Add print elements test.
13437
13438 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13439
13440 * gdb.python/py-value.exp (test_subscript_regression): New
13441 function. Test for invalid subscripts.
13442 * gdb.python/py-value.c (main): Add test array, and pointer to it.
13443 (ptr_ref): New function.
13444
13445 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13446
13447 * gdb.base/default.exp: Fix "show convenience".
13448
13449 2009-09-15 Tom Tromey <tromey@redhat.com>
13450
13451 * lib/mi-support.exp (mi_create_varobj): Update.
13452 (mi_create_floating_varobj): Likewise.
13453 (mi_create_dynamic_varobj): New proc.
13454 (mi_varobj_update): Update.
13455 (mi_varobj_update_with_type_change): Likewise.
13456 (mi_varobj_update_kv_helper): New proc.
13457 (mi_varobj_update_dynamic_helper): Rewrite.
13458 (mi_varobj_update_dynamic): New proc.
13459 (mi_list_varobj_children): Update.
13460 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13461 * gdb.python/python-prettyprint.py (pp_outer): New class.
13462 (pp_nullstr): Likewise.
13463 (lookup_function): Register new printers.
13464 * gdb.python/python-prettyprint.c (struct substruct): New type.
13465 (struct outerstruct): Likewise.
13466 (substruct_test): New function.
13467 (struct nullstr): New type.
13468 (string_1, string_2): New globals.
13469 (main): Add new tests.
13470 * gdb.python/python-mi.exp: Added regression tests.
13471 * gdb.mi/mi2-var-display.exp: Update.
13472 * gdb.mi/mi2-var-cmd.exp: Update.
13473 * gdb.mi/mi2-var-child.exp: Update.
13474 * gdb.mi/mi2-var-block.exp: Update.
13475 * gdb.mi/mi-var-invalidate.exp: Update.
13476 * gdb.mi/mi-var-display.exp: Update.
13477 * gdb.mi/mi-var-cmd.exp: Update.
13478 * gdb.mi/mi-var-child.exp: Update.
13479 * gdb.mi/mi-var-block.exp: Update.
13480 * gdb.mi/mi-break.exp: Update.
13481 * gdb.mi/gdb701.exp: Update.
13482
13483 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13484
13485 * Makefile.in: Inclusion of catch-syscall object.
13486 * gdb.base/catch-syscall.c: New file.
13487 * gdb.base/catch-syscall.exp: New file.
13488
13489 2009-09-12 Michael Snyder <msnyder@vmware.com>
13490
13491 * gdb.reverse/step-reverse.exp: Explicitly check for targets
13492 that can support reverse debuggnig.
13493
13494 2009-09-11 Tom Tromey <tromey@redhat.com>
13495
13496 * gdb.dwarf2/valop.S: New file.
13497 * gdb.dwarf2/valop.exp: New file.
13498
13499 2009-09-11 Mark Kettenis <kettenis@gnu.org>
13500
13501 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13502
13503 2009-09-10 Doug Evans <dje@google.com>
13504
13505 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13506 Add $gdb_prompt to second breakpoint regexp.
13507
13508 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
13509
13510 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13511 names, add missing ones.
13512 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13513 * gdb.python/py-frame.c: Rename from python-frame.c.
13514 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
13515 testfile name.
13516 * gdb.python/py-function.exp: Rename from python-function.exp.
13517 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
13518 testfile name.
13519 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13520 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13521 Adjust testfile name.
13522 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13523 * gdb.python/py-template.cc: Rename from python-template.cc.
13524 * gdb.python/py-template.exp: Rename from python-template.exp.
13525 Adjust testfile name.
13526 * gdb.python/py-value.c: Rename from python-value.c.
13527 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
13528 testfile name.
13529
13530 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13531
13532 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13533 $bpt2address.
13534 (Second breakpoint address is valid on ia64)
13535 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
13536
13537 2009-09-03 Joseph Myers <joseph@codesourcery.com>
13538
13539 * gdb.base/ending-run.exp: Restrict regular expression matching
13540 line number to require closing brace following.
13541
13542 2009-09-03 Doug Evans <dje@google.com>
13543
13544 * gdb.base/store.exp (check_set): Fix typo in expected value message.
13545
13546 2009-09-02 Tom Tromey <tromey@redhat.com>
13547
13548 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
13549
13550 2009-09-02 Tom Tromey <tromey@redhat.com>
13551
13552 * gdb.dwarf2/callframecfa.exp: New file.
13553 * gdb.dwarf2/callframecfa.S: New file.
13554
13555 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13556
13557 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
13558 gdb.base/solib-overlap-main.c: New.
13559
13560 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
13561
13562 PR gdb/10565
13563
13564 * gdb.base/bitfields.c (struct container, container): New.
13565 (main): Initialize it and call break5.
13566 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
13567
13568 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13569
13570 Support constant DW_AT_data_member_location by GCC PR debug/40659.
13571 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
13572
13573 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13574
13575 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
13576
13577 2009-08-26 Michael Snyder <msnyder@vmware.com>
13578
13579 * gdb.base/i386-reverse.c: New file.
13580 * gdb.base/i386-reverse.exp: New file.
13581 * gdb.base/Makefile.in: Add new files to be removed.
13582
13583 2009-08-26 Joseph Myers <joseph@codesourcery.com>
13584
13585 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
13586 environment-pwd for remote host.
13587 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
13588
13589 2009-08-24 Keith Seitz <keiths@redhat.com>
13590
13591 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
13592 Add two new C++ completer tests which limit the output to a
13593 given class.
13594
13595 2009-08-24 Michael Snyder <msnyder@vmware.com>
13596
13597 * gdb.base/del.exp: Fix typo in comment.
13598 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
13599
13600 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13601
13602 * configure: Regenerate.
13603 * gdb.hp/configure: Likewise.
13604 * gdb.hp/gdb.aCC/configure: Likewise.
13605 * gdb.hp/gdb.base-hp/configure: Likewise.
13606 * gdb.hp/gdb.compat/configure: Likewise.
13607 * gdb.hp/gdb.defects/configure: Likewise.
13608 * gdb.hp/gdb.objdbg/configure: Likewise.
13609 * gdb.stabs/configure: Likewise.
13610
13611 2009-08-19 Doug Evans <dje@google.com>
13612
13613 * gdb.base/gdbvars.c: New file.
13614 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
13615
13616 2009-08-14 Pedro Alves <pedro@codesourcery.com>
13617
13618 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13619 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
13620
13621 2009-08-13 Pedro Alves <pedro@codesourcery.com>
13622
13623 * gdb.base/default.exp: Adjust "set language test": it's now an
13624 enum command. Larger help string moved to "help set language".
13625 * gdb.base/help.exp: Adjust "help set language" expected output,
13626 now lists all known languages.
13627
13628 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
13629
13630 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
13631 all frame arguments.
13632 * gdb.arch/altivec-regs.exp: Likewise.
13633
13634 2009-08-07 Tom Tromey <tromey@redhat.com>
13635
13636 * gdb.base/setshow.exp: Add tests for changes to set language, set
13637 check range, and set check type.
13638
13639 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
13640
13641 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
13642 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
13643 Call it.
13644
13645 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13646
13647 * configure.ac: Run gdb.cell tests when appropriate.
13648 * configure: Regenerate.
13649 * lib/cell.exp: New file.
13650 * gdb.cell: New directory.
13651 * gdb.cell/configure.ac: New file.
13652 * gdb.cell/configure: New file.
13653 * gdb.cell/Makefile.in: New file.
13654 * gdb.cell/arch.exp: New file.
13655 * gdb.cell/break.c: New file.
13656 * gdb.cell/break.exp: New file.
13657 * gdb.cell/break-spu.c: New file.
13658 * gdb.cell/bt.c: New file.
13659 * gdb.cell/bt2-spu.c: New file.
13660 * gdb.cell/bt-spu.c: New file.
13661 * gdb.cell/bt.exp: New file.
13662 * gdb.cell/coremaker.c: New file.
13663 * gdb.cell/coremaker-spu.c: New file.
13664 * gdb.cell/core.exp: New file.
13665 * gdb.cell/gcore.exp: New file.
13666 * gdb.cell/data.c: New file.
13667 * gdb.cell/data.exp: New file.
13668 * gdb.cell/data-spu.c: New file.
13669 * gdb.cell/ea-cache.exp: New file.
13670 * gdb.cell/ea-cache.c: New file.
13671 * gdb.cell/ea-cache-spu.c: New file.
13672 * gdb.cell/ea-standalone.c: New file.
13673 * gdb.cell/ea-standalone.exp: New file.
13674 * gdb.cell/ea-test.c: New file.
13675 * gdb.cell/ea-test.exp: New file.
13676 * gdb.cell/f-regs.exp: New file.
13677 * gdb.cell/mem-access.c: New file.
13678 * gdb.cell/mem-access.exp: New file.
13679 * gdb.cell/mem-access-spu.c: New file.
13680 * gdb.cell/ptype.exp: New file.
13681 * gdb.cell/registers.exp: New file.
13682 * gdb.cell/size.c: New file.
13683 * gdb.cell/sizeof.exp: New file.
13684 * gdb.cell/size-spu.c: New file.
13685 * gdb.cell/solib.exp: New file.
13686 * gdb.cell/solib-symbol.exp: New file.
13687
13688 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13689
13690 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
13691
13692 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
13693
13694 * gdb.base/float.exp: Handle VFP registers.
13695
13696 2009-07-14 Michael Snyder <msnyder@vmware.com>
13697
13698 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
13699 to bring gdb to the beginning of the calling line.
13700
13701 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
13702 confusing the i386 epilogue unwinder.
13703
13704 2009-07-14 Stan Shebs <stan@codesourcery.com>
13705
13706 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
13707
13708 2009-07-14 Michael Snyder <msnyder@vmware.com>
13709
13710 * gdb.reverse/step-reverse.exp (stepi into function call):
13711 Call instruction may not be first instruction in the line.
13712 (reverse stepi from a function call): Used wrong line number.
13713
13714 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13715
13716 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
13717
13718 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13719
13720 Fix gdb.base/macscp.exp when using custom inputrc.
13721 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
13722 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
13723 env(TERM) set.
13724 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
13725 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
13726
13727 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13728
13729 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
13730 * gdb.base/annota1.exp (thread_test): Import global $testfile.
13731 Change the compilation target to match the testcase name.
13732 * gdb.base/sect-cmd.exp: Change the compilation target to match the
13733 testcase name.
13734 * a2-run.exp: Use for setup prepare_for_testing. Change the
13735 compilation target to match the testcase name.
13736 * gdb.base/commands.exp: Likewise.
13737 * gdb.base/finish.exp: Likewise.
13738 * gdb.base/float.exp: Likewise.
13739 * gdb.base/info-target.exp: Likewise.
13740 * gdb.base/relational.exp: Likewise.
13741 * gdb.base/term.exp: Likewise.
13742 * gdb.base/until.exp: Likewise.
13743 * gdb.base/volatile.exp: Likewise.
13744 * gdb.base/whatis-exp.exp: Likewise.
13745
13746 2009-07-11 Hui Zhu <teawater@gmail.com>
13747
13748 * gdb.base/help.exp (disassemble): Update expected help text.
13749
13750 2009-07-09 Tom Tromey <tromey@redhat.com>
13751
13752 * lib/gdb.exp: Handle TRANSCRIPT.
13753 (remote_spawn, remote_close, send_gdb): New procs.
13754
13755 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
13756
13757 * gdb.python/python-prettyprint.c: Add counted null string
13758 structure.
13759 * gdb.python/python-prettyprint.exp: Print null string. Test for
13760 embedded nulls.
13761 * gdb.python/python-prettyprint.py (pp_ns): New Function.
13762 * gdb.python/python-value.exp (test_value_in_inferior): Add
13763 variable length string fetch tests.
13764 * gdb.python/python-value.c (main): Add strings for string fetch tests.
13765
13766 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13767
13768 * gdb.base/dump.exp (inaccessible memory is reported): New test.
13769
13770 2009-07-07 Tom Tromey <tromey@redhat.com>
13771
13772 * gdb.base/call-rt-st.exp: Update for change to escape output.
13773 * gdb.base/callfuncs.exp: Likewise.
13774 * gdb.base/charset.exp: Likewise.
13775 * gdb.base/constvars.exp: Likewise.
13776 * gdb.base/long_long.exp: Likewise.
13777 * gdb.base/pointers.exp: Likewise.
13778 * gdb.base/printcmds.exp: Likewise.
13779 * gdb.base/setvar.exp: Likewise.
13780 * gdb.base/store.exp: Likewise.
13781 * gdb.cp/ref-types.exp: Likewise.
13782 * gdb.mi/mi-var-child.exp: Likewise.
13783 * gdb.mi/mi-var-display.exp: Likewise.
13784 * gdb.mi/mi2-var-display.exp: Likewise.
13785 * gdb.base/charset.exp: Test octal escape sequence length.
13786 Update for change to escape output.
13787
13788 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13789
13790 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13791
13792 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
13793
13794 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13795
13796 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13797
13798 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13799 gdbserver increasing $portnum if "Can't bind address" has been seen.
13800
13801 2009-07-05 Pedro Alves <pedro@codesourcery.com>
13802
13803 * gdb.base/ending-run.exp: Add "step out of main" pattern for
13804 mingw32ce.
13805
13806 2009-07-05 Pedro Alves <pedro@codesourcery.com>
13807
13808 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13809 VFP format.
13810
13811 2009-07-02 Pedro Alves <pedro@codesourcery.com>
13812
13813 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13814 linux. Adjust to use "inferior", "info inferiors", "detach
13815 inferior" and "kill inferior" instead of "restart", "info fork",
13816 "detach fork" and "delete fork".
13817 * gdb.base/ending-run.exp: Spell out "info".
13818 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13819 the "kill" command.
13820
13821 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13822
13823 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13824 change to prefix TLS offset in hex with 0x.
13825
13826 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13827
13828 * gdb.base/default.exp: Update test case for "x" changes.
13829
13830 2009-07-01 Tristan Gingold <gingold@adacore.com>
13831
13832 * gdb.base/bigcore.exp: Make darwin untested.
13833
13834 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13835
13836 * gdb.base/completion.exp (directory completion): Create the directory.
13837 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13838 escapeuniquesub.
13839 (directory completion 2): Expect now ${escapeuniquesub}.
13840 (Glob remaining of directory test): Remove one excessive newline.
13841 Expect the real output.
13842
13843 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13844
13845 Fix `make check//%' target after `make check' has been ran.
13846 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
13847 a mkdir call.
13848 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13849 (%/.dir): Remove.
13850
13851 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13852
13853 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13854 the expected result record.
13855
13856 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13857
13858 Remove racy FAILs relying just on the timeouts.
13859 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13860 (annotation_level 2): Remove racy FAILs.
13861
13862 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13863
13864 gdb/10275
13865 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13866
13867 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
13868
13869 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13870
13871 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
13872
13873 * gdb.mi/mi-stack.exp: Testing symbolic options
13874 to -stack-list-locals and -stack-list-arguments.
13875
13876 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13877
13878 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13879
13880 2009-06-29 Tom Tromey <tromey@redhat.com>
13881
13882 * dg-extract-results.sh: New file.
13883 * Makefile.in (FORCE_PARALLEL): New variable.
13884 (CHECK_TARGET): New conditional variable.
13885 (check): Use CHECK_TARGET.
13886 (DO_RUNTEST): New variable.
13887 (check-single): New target.
13888 (TEST_DIRS): New variable.
13889 (TEST_TARGETS): Likewise.
13890 (check-parallel): New target.
13891 (check-gdb.%): New pattern.
13892 (BASE1_FILES): New variable.
13893 (BASE2_FILES): Likewise.
13894 (check-gdb.base%): New pattern.
13895 (%/.dir): New pattern.
13896 * configure: Rebuild.
13897 * aclocal.m4 (AM_CONDITIONAL): New defun.
13898 * configure.ac: Check whether user is using GNU make.
13899 (GMAKE): New conditional.
13900
13901 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
13902
13903 * gdb.cp/namespace-nested-import.cc: New test.
13904 * gdb.cp/namespace-nested-import.exp: New test.
13905
13906 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
13907
13908 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13909 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13910 * gdb.opt/Makefile.in (EXECUTABLES): Update.
13911 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13912 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13913 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13914 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13915 gdb.opt/inline-markers.c: New files.
13916 * lib/gdb.exp (skip_inline_frame_tests): New function.
13917 (skip_inline_var_tests): New function.
13918
13919 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
13920
13921 * gdb.cp/exception.exp: Don't require $hex before inner frame in
13922 backtrace.
13923
13924 2009-06-27 Michael Snyder <msnyder@vmware.com>
13925
13926 * gdb.reverse: New directory.
13927 * gdb.reverse/break-reverse.c: New test.
13928 * gdb.reverse/break-reverse.exp: New test.
13929 * gdb.reverse/consecutive-reverse.c: New test.
13930 * gdb.reverse/consecutive-reverse.exp: New test.
13931 * gdb.reverse/finish-reverse.c: New test.
13932 * gdb.reverse/finish-reverse.exp: New test.
13933 * gdb.reverse/machinestate.c: New test.
13934 * gdb.reverse/ms1.c: New test.
13935 * gdb.reverse/machinestate.exp: New test.
13936 * gdb.reverse/Makefile.in: New file.
13937 * gdb.reverse/shr2.c: New test.
13938 * gdb.reverse/solib-reverse.c: New test.
13939 * gdb.reverse/solib-reverse.exp: New test.
13940 * gdb.reverse/step-reverse.c: New test.
13941 * gdb.reverse/step-reverse.exp: New test.
13942 * gdb.reverse/until-reverse.c: New test.
13943 * gdb.reverse/ur1.c: New test.
13944 * gdb.reverse/until-reverse.exp: New test.
13945 * gdb.reverse/watch-reverse.c: New test.
13946 * gdb.reverse/watch-reverse.exp: New test.
13947 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
13948 * configure: Regenerate.
13949
13950 2009-06-26 Doug Evans <dje@google.com>
13951
13952 * gdb.base/psymtab.exp: Turn off pending breakpoints.
13953
13954 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
13955
13956 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
13957 windows problem for 'file delete $binfile'.
13958
13959 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
13960
13961 * gdb.cp/namespace-using.exp: New test.
13962 * gdb.cp/namespace-using.cc: New test.
13963
13964 2009-05-20 Joel Brobecker <brobecker@adacore.com>
13965
13966 * gdb.ada/variant_record_packed_array: New testcase.
13967
13968 2009-06-23 Tom Tromey <tromey@redhat.com>
13969
13970 * gdb.base/charset.exp (test_combination): Regression test.
13971 * gdb.base/charset.c (my_wchar_t): New typedef.
13972 (myvar): New global.
13973 (main): Set myvar.
13974
13975 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
13976
13977 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
13978 target.
13979
13980 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13981
13982 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
13983
13984 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13985
13986 * gdb.mi/gdb680.exp: Update test for error message.
13987
13988 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13989
13990 * gdb.base/annota1.exp: Allow multiple occurrences of the
13991 frames-invalid annotation.
13992 * gdb.cp/annota2.exp: Likewise.
13993
13994 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
13995
13996 * gdb.cp/gdb2495.cc: New file.
13997 * gdb.cp/gdb2495.exp: New file.
13998
13999 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14000
14001 Report error on GDB crash during runto.
14002 * lib/gdb.exp (runto <eof>): New.
14003
14004 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14005
14006 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14007 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14008 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14009 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14010 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14011 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14012 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14013 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14014 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14015 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14016 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14017 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14018 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14019 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14020 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14021 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14022 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14023 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14024 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14025 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14026 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14027 gdb.trace/passcount.exp, gdb.trace/report.exp,
14028 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14029 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14030 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14031 executable.
14032
14033 2009-06-07 Pedro Alves <pedro@codesourcery.com>
14034
14035 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14036 defined before referencing it.
14037
14038 2009-06-03 Doug Evans <dje@google.com>
14039
14040 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14041 * gdb.arch/i386-see.c: Ditto.
14042
14043 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14044
14045 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14046 (check_macro): Return 1 if undefined.
14047 If first test fails, check if macro debug information is available,
14048 and report unsupported test if no macro information is found.
14049
14050 2009-05-29 Doug Evans <dje@google.com>
14051
14052 * gdb.threads/hand-call-in-threads.exp: New.
14053 * gdb.threads/hand-call-in-threads.c: New.
14054
14055 2009-05-29 Michael Snyder <msnyder@vmware.com>
14056
14057 * gdb.base/break-always.exp: Change "1" to "on".
14058 Add confirmation check.
14059
14060 2009-05-28 Pedro Alves <pedro@codesourcery.com>
14061
14062 * gdb.threads/threxit-hop-specific.c: New.
14063 * gdb.threads/threxit-hop-specific.exp: New.
14064 * gdb.threads/thread-execl.c: New.
14065 * gdb.threads/thread-execl.exp: New.
14066
14067 2009-05-27 Tom Tromey <tromey@redhat.com>
14068 Thiago Jung Bauermann <bauerman@br.ibm.com>
14069
14070 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14071 (mi_child_regexp): Likewise.
14072 (mi_list_varobj_children_range): Likewise.
14073 (mi_get_features): Likewise.
14074 (mi_list_varobj_children): Rewrite.
14075 * gdb.python/python-mi.exp: New file.
14076
14077 2009-05-27 Tom Tromey <tromey@redhat.com>
14078 Thiago Jung Bauermann <bauerman@br.ibm.com>
14079 Phil Muldoon <pmuldoon@redhat.com>
14080 Paul Pluzhnikov <ppluzhnikov@google.com>
14081
14082 * gdb.python/python-prettyprint.exp: New file.
14083 * gdb.python/python-prettyprint.c: New file.
14084 * gdb.python/python-prettyprint.py: New file.
14085 * gdb.base/display.exp: print/r is now valid.
14086
14087 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14088 Tom Tromey <tromey@redhat.com>
14089 Pedro Alves <pedro@codesourcery.com>
14090 Paul Pluzhnikov <ppluzhnikov@google.com>
14091
14092 * gdb.python/python-template.exp: New file.
14093 * gdb.python/python-template.cc: New file.
14094 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14095 tests.
14096 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14097 Call it.
14098 (test_value_after_death): New proc.
14099 * gdb.python/python-value.c (PTR): New typedef.
14100 (main): New variable 'x'.
14101
14102 2009-05-27 Tom Tromey <tromey@redhat.com>
14103
14104 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14105 tests.
14106 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14107 Call it.
14108
14109 2009-05-27 Pedro Alves <pedro@codesourcery.com>
14110
14111 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14112
14113 2009-05-24 Pedro Alves <pedro@codesourcery.com>
14114
14115 * gdb.threads/fork-thread-pending.c: New.
14116 * gdb.threads/fork-thread-pending.exp: New.
14117
14118 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14119
14120 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14121 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14122
14123 2009-05-18 Jon Beniston <jon@beniston.com>
14124
14125 * gdb.asm/asm-source.exp: Add lm32 target.
14126
14127 2009-05-17 Pedro Alves <pedro@codesourcery.com>
14128
14129 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14130 `gdb_get_line_number'. Call `callee' in both parent and child.
14131 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14132 `gdb_get_line_number' instead of hardcoding line numbers.
14133 (catch_fork_unpatch_child): New procedure to test detaching
14134 breakpoints from child fork.
14135 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14136 hardcoding line numbers.
14137 (do_fork_tests): Run `catch_fork_unpatch_child'.
14138
14139 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14140
14141 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14142 of structure type enters or leaves the scope, it
14143 is reported by -var-update.
14144
14145 2009-05-11 Doug Evans <dje@sebabeach.org>
14146
14147 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
14148 * gdb.threads/pending-step.c (main): Fix off-by-one error.
14149 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14150
14151 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14152
14153 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14154
14155 2009-04-30 Doug Evans <dje@google.com>
14156
14157 * gdb.threads/watchthreads2.exp: New testcase.
14158 * gdb.threads/watchthreads2.c: New testcase.
14159
14160 2009-04-29 Doug Evans <dje@google.com>
14161
14162 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14163 * gdb.cp/mb-ctor.cc: Ditto.
14164 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14165 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14166 * gdb.cp/mb-inline1.cc: Call it.
14167 * gdb.cp/mb-inline2.cc: Ditto.
14168 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14169 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14170
14171 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14172
14173 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14174 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14175 Replace all uses of `decimal' by `nonzero'.
14176 (info macro FROM_COMMANDLINE): New test.
14177
14178 2009-04-27 Tom Tromey <tromey@redhat.com>
14179
14180 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14181
14182 2009-04-27 Doug Evans <dje@google.com>
14183
14184 * gdb.threads/watchthreads.c (main): Initialize args before starting
14185 the threads. Plus formatting cleanup.
14186 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14187 biased scheduling of one thread.
14188
14189 2009-04-27 Jerome Guitton <guitton@adacore.com>
14190
14191 * gdb.cp/templates.cc (GetMax): New template.
14192 (main): Declare two instances of GetMax.
14193 * gdb.cp/templates.exp: Add new test.
14194
14195 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14196
14197 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14198
14199 2009-04-22 Joseph Myers <joseph@codesourcery.com>
14200
14201 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14202
14203 2009-04-15 Tom Tromey <tromey@redhat.com>
14204
14205 * gdb.base/charset.exp: Add regression test.
14206
14207 2009-04-14 Joel Brobecker <brobecker@adacore.com>
14208
14209 * gdb.base/exe-lock.exp: New testcase.
14210
14211 2009-04-13 Tom Tromey <tromey@redhat.com>
14212
14213 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14214 operator on Frame.
14215
14216 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14217
14218 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14219 * gdb.server/ext-attach.exp: Likewise.
14220
14221 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14222
14223 Eliminate some sleep usage.
14224
14225 * gdb.mi/basics.c (do_nothing): New.
14226 (main): Use do_nothing instead of printf, so that
14227 not to introduce race condition between output of
14228 inferiour and output of gdb. Do not use sleep as it
14229 is not generally available on embedded targets.
14230
14231 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14232
14233 * gdb.server/ext-attach.exp: Expect an optional process id after
14234 "Detached from remote process".
14235
14236 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14237
14238 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14239 gdb.dwarf2/dw2-unresolved.exp: New.
14240
14241 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14242
14243 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14244 mi_run_to_main.
14245
14246 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14247
14248 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14249 mi_run_to_main. Skip thread exit test on remote targets.
14250 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14251 mi_run_to_main.
14252 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14253 mi_run_to_main.
14254 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14255 when expecting ^connected. Detect when the target doesn't support
14256 non-stop mode.
14257 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14258 supported. Return -1 on error, 0 on success.
14259 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14260 (mi_runto): Return mi_runto_helper's result explicitly.
14261
14262 2009-04-01 Pedro Alves <pedro@codesourcery.com>
14263
14264 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14265
14266 2009-04-01 Tom Tromey <tromey@redhat.com>
14267
14268 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14269 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14270 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14271 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14272
14273 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14274 Jan Kratochvil <jan.kratochvil@redhat.com>
14275
14276 PR gdb/931
14277 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14278 output.
14279 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14280 for gdb/931.
14281 * dw2-strp.S (DW_AT_language): Change to C++.
14282 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14283
14284 2009-03-31 Joel Brobecker <brobecker@adacore.com>
14285
14286 * gdb.ada/tasks: New testcase.
14287
14288 2009-03-30 Stan Shebs <stan@codesourcery.com>
14289
14290 * gdb.trace/actions.exp: Update to match new info trace format.
14291 * gdb.trace/deltrace.exp: Ditto.
14292 * gdb.trace/infotrace.exp: Ditto.
14293 * gdb.trace/passcount.exp: Ditto.
14294 * gdb.trace/save-trace.exp: Ditto.
14295 * gdb.trace/while-stepping.exp: Ditto.
14296 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14297
14298 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14299
14300 * gdb.python/python-frame.c: New file.
14301 * gdb.python/python-frame.exp: New file.
14302
14303 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14304
14305 * gdb.python/python-value.exp: Add tests for the address
14306 attribute.
14307
14308 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14309
14310 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14311
14312 2009-03-26 Doug Evans <dje@google.com>
14313
14314 * gdb.mi/mi-nonstop-exit.exp: New file.
14315 * gdb.mi/non-stop-exit.c: New file.
14316
14317 2009-03-26 Tom Tromey <tromey@redhat.com>
14318
14319 Update for change to prologue skipping:
14320 * gdb.mi/mi2-simplerun.exp: Update.
14321 * gdb.mi/mi2-break.exp: Update.
14322 * gdb.mi/mi-simplerun.exp: Update.
14323 * gdb.mi/mi-break.exp: Update.
14324 * gdb.base/ending-run.exp: Update.
14325
14326 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14327
14328 * gdb.python/python-value.exp (test_value_in_inferior): Test
14329 gdb.Value.is_optimized_out attribute.
14330
14331 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14332
14333 * gdb.dwarf2/dw2-noloc-main.c: New file.
14334 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14335 (.text): Remove.
14336 (.data): New.
14337 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14338 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14339 (DW_TAG_subprogram func_cu1, noloc): Remove.
14340 (main): New.
14341 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14342 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14343 (file_symbols): New procedure.
14344
14345 2009-03-25 Tom Tromey <tromey@redhat.com>
14346
14347 * gdb.base/charset.exp (valid_target_charset): New proc.
14348 Use it to skip tests on invalid charsets.
14349
14350 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14351
14352 * gdb.base/completion.exp: Add a test for directory completion.
14353
14354 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14355
14356 Fix a racy FAIL.
14357 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14358 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14359
14360 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14361
14362 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14363 * gdb.python/python-function.exp: Add test for function returning
14364 a GDB value.
14365
14366 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14367
14368 * gdb.python/python-function.exp: New file.
14369
14370 2009-03-20 Tom Tromey <tromey@redhat.com>
14371
14372 * gdb.base/store.exp: Update for change to escape output.
14373 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14374 to escape output.
14375 * gdb.base/pointers.exp: Update for change to escape output.
14376 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14377 to escape output.
14378 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14379 escape output.
14380 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14381 to escape output.
14382 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14383 escape output.
14384 * gdb.base/setvar.exp: Update for change to escape output.
14385 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14386 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14387 to escape output.
14388 (test_print_string_constants): Likewise.
14389 * gdb.base/charset.exp (valid_host_charset): Check size of
14390 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
14391 cases. Handle "auto"-related output.
14392 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14393 (uvar, Uvar): New globals.
14394
14395 2009-03-19 Jerome Guitton <guitton@adacore.com>
14396
14397 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14398 deltas.
14399 * gdb.ada/fixed_points.exp: Ditto.
14400
14401 2009-03-18 Pedro Alves <pedro@codesourcery.com>
14402
14403 * return-nodebug.c: Don't include stdio.h.
14404 (init): Delete.
14405 (func): Delete definition and provide extern declaration.
14406 (t): New.
14407 (main): Don't call printf. Call func and store its result in t.
14408 * return-nodebug1.c: New.
14409 * return-nodebug.exp: Don't expect stdio output. Instead, print
14410 the global variable t. Drop printf formatters and cast types from
14411 foreach loop. Don't use prepare_for_testing. Compile
14412 return-nodebug.c and return-nodebug1.c in separate steps. Don't
14413 define FORMAT or CAST.
14414
14415 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14416
14417 * gdb.base/solib-display.exp: Disable test for remote targers.
14418
14419 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14420
14421 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14422
14423 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14424
14425 Fix a racy FAIL.
14426 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14427 code from `follow parent, print pids'.
14428 (`follow child, print pids', `follow parent, print pids'): Call it.
14429 Replace `gdb_test "break..."' by gdb_breakpoint.
14430
14431 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
14432
14433 * gdb.mi/mi-cli.exp: Adjust for output difference in
14434 sync and async modes.
14435
14436 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14437
14438 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14439 that was checked in by mistake. Remove loading of ada.exp, since
14440 this is not necessary in this case.
14441
14442 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14443
14444 * gdb.ada/ptype_arith_binop.exp: New testcase.
14445
14446 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14447
14448 * gdb.ada/mod_from_name: New testcase.
14449
14450 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14451
14452 * gdb.ada/tick_last_segv: New testcase.
14453
14454 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14455
14456 * gdb.mi/mi-cli.exp: Remove debug print.
14457
14458 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14459
14460 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14461 include the token in ^running and frame info in *stopped.
14462
14463 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14464
14465 * solib-display.exp: New file.
14466 * solib-display-main.c: New file.
14467 * solib-display-lib.c: New file.
14468
14469 2009-03-05 Pedro Alves <pedro@codesourcery.com>
14470
14471 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14472
14473 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14474
14475 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14476 (list_and_check_macro): Use more specific test name.
14477 (next to definition): Make the test names unique.
14478
14479 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
14480
14481 * gdb.pascal/floats.exp: Accept approximate results everywhere.
14482
14483 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14484
14485 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14486 notifications.
14487 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14488 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14489 * lib/mi-support.exp (library_loaded_re): New.
14490 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14491
14492 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14493
14494 * gdb.gdb/observer.exp: Use test_notification observer, not
14495 normal_stop, everywhere.
14496 (test_normal_stop_notifications): Rename to...
14497 (test_notifications): ...this.
14498 (test_observer_normal_stop): Rename to...
14499 (test_observer): ...this.
14500
14501 2009-02-16 Doug Evans <dje@google.com>
14502
14503 * gdb.arch/amd64-disp-step.S (test_int3): New test.
14504 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14505 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14506 (test_prefixed_syscall,test_int3): New tests.
14507 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14508 (test_prefixed_syscall,test_int3): New tests.
14509
14510 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
14511
14512 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14513 (mi_expect_interrupt): Likewise.
14514 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14515 response.
14516
14517 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14518
14519 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14520 * gdb.base/pc-fp.exp (get_valueofx): Remove.
14521 Replace calls to get_valueofx by get_hexadecimal_valueof.
14522
14523 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14524
14525 * lib/gdb.exp (get_valueof): Accept anything as a return value.
14526 (get_integer_valueof): New procedure.
14527 (get_sizeof): Use new get_integer_value_of.
14528 * gdb.base/sizeof.exp: Replace all uses of get_valueof
14529 by get_integer_valueof.
14530
14531 2009-02-13 Tom Tromey <tromey@redhat.com>
14532
14533 * gdb.base/remote.exp (get_sizeof): Remove.
14534 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
14535 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
14536 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
14537 * lib/gdb.exp (get_valueof): Move from long_long.exp.
14538 (get_sizeof): Likewise.
14539
14540 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14541
14542 PR fortran/9806
14543 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
14544
14545 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14546
14547 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
14548
14549 2009-02-06 Pedro Alves <pedro@codesourcery.com>
14550
14551 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
14552
14553 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14554
14555 * gdb.python/python-cmd.exp: New file.
14556
14557 2009-02-06 Tristan Gingold <gingold@adacore.com>
14558
14559 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
14560
14561 2009-02-05 Tristan Gingold <gingold@adacore.com>
14562
14563 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
14564 pointer is dereferenced and use this signal name in regexp.
14565 * gdb.base/signull.exp: Ditto.
14566 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
14567 * gdb.base/signull.c (main): Ditto.
14568
14569 2009-02-04 Tom Tromey <tromey@redhat.com>
14570 Thiago Jung Bauermann <bauerman@br.ibm.com>
14571
14572 * gdb.python/python-value.exp: Use `gdb.history' instead of
14573 `gdb.value_from_history'.
14574 (test_value_numeric_ops): Add test for conversion of enum constant.
14575 * gdb.python/python-value.c (enum e): New type.
14576 (evalue): New global.
14577 (main): Use argv.
14578
14579 2009-02-04 Jerome Guitton <guitton@adacore.com>
14580
14581 * gdb.ada/uninitialized_vars: New test program.
14582 * gdb.ada/uninitialized_vars.exp: New testcase.
14583
14584 2009-02-02 Tom Tromey <tromey@redhat.com>
14585
14586 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
14587 * gdb.cp/pr2489.cc: Rename...
14588 * gdb.cp/pr9594.cc: ... to this.
14589
14590 2009-02-02 Tom Tromey <tromey@redhat.com>
14591
14592 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
14593 * gdb.cp/pr2489.cc: New file.
14594 * gdb.cp/cpcompletion.exp: New file.
14595
14596 2009-02-02 Tom Tromey <tromey@redhat.com>
14597
14598 PR exp/9059:
14599 * gdb.cp/call-c.exp: Add regression test.
14600 * gdb.cp/call-c.cc (FooHandle): New typedef.
14601 (main): New variable 'handle'.
14602
14603 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14604
14605 * lib/mi-support.exp (et_mi_thread_list)
14606 (check_mi_and_console_threads): Adjust for current thread in
14607 -thread-list-ids output.
14608
14609 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14610
14611 * gdb.mi/mi-break.exp (test_disabled_creation): New.
14612 Call it.
14613
14614 2009-01-28 Doug Evans <dje@google.com>
14615
14616 * gdb.arch/amd64-disp-step.S: New file.
14617 * gdb.arch/amd64-disp-step.exp: New file.
14618 * gdb.arch/i386-disp-step.S: New file.
14619 * gdb.arch/i386-disp-step.exp: New file.
14620
14621 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
14622
14623 * gdb.base/find.exp: Set newline variable
14624 using quotes instead of braces to fix cygwin failures.
14625
14626 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14627
14628 * gdb.base/radix.exp: Add tests to ensure that that set
14629 input-radix 0 and set output-radix 0 are really rejected.
14630
14631 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14632
14633 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
14634 copyright years.
14635
14636 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14637
14638 PR gdb/9664:
14639 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
14640
14641 2009-01-22 Pedro Alves <pedro@codesourcery.com>
14642
14643 PR c++/9631:
14644 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
14645
14646 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
14647
14648 * gdb.server/file-transfer.exp: Use EXEEXT variable for
14649 binfile definition to fix Windows OS failure.
14650
14651 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14652
14653 PR gdb/9346
14654 * gdb.base/interrupt.c (sigint_handler): New.
14655 (main): Install a SIGINT handler if SIGNALS is defined. Exit
14656 on error.
14657 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
14658 Test "signal SIGINT".
14659
14660 2009-01-19 Doug Evans <dje@google.com>
14661
14662 * gdb.base/break.exp: Update expected gdb output.
14663 * gdb.base/sepdebug.exp: Ditto.
14664 * gdb.mi/mi-syn-frame.exp: Ditto.
14665 * gdb.mi/mi2-syn-frame.exp: Ditto.
14666 * gdb.base/call-signal-resume.exp: New file.
14667 * gdb.base/call-signals.c: New file.
14668 * gdb.base/unwindonsignal.exp: New file.
14669 * gdb.base/unwindonsignal.c: New file.
14670 * gdb.threads/interrupted-hand-call.exp: New file.
14671 * gdb.threads/interrupted-hand-call.c: New file.
14672 * gdb.threads/thread-unwindonsignal.exp: New file.
14673
14674 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
14675
14676 * gdb.base/define.exp: Test defining and hooking prefix commands.
14677 * gdb.python/python.exp: Update test for "show user" output.
14678
14679 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14680
14681 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
14682 now the output exactly, using less wildcards. Expect also the output
14683 of gfortran-4.3. Update for the f-valprint.c modification from
14684 2008-04-22.
14685 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
14686 Remove gdb_test test names where matching the command.
14687
14688 2009-01-01 Pedro Alves <pedro@codesourcery.com>
14689
14690 PR breakpoints/9681:
14691 * gdb.base/watchpoint.exp: Add regression test.
14692
14693 2008-12-31 Pedro Alves <pedro@codesourcery.com>
14694
14695 * gdb.threads/attach-into-signal.exp: Don't use
14696 gdb_suppress_entire_file.
14697 * gdb.threads/attach-stopped.exp: Ditto.
14698 * gdb.threads/attachstop-mt.exp: Ditto.
14699
14700 2008-12-31 Pedro Alves <pedro@codesourcery.com>
14701
14702 PR gdb/8812:
14703 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
14704
14705 2008-12-29 Pedro Alves <pedro@codesourcery.com>
14706
14707 PR gdb/7536:
14708 * gdb.base/radix.exp: Add tests to ensure invalid input radices
14709 and unsupported output radices are really rejected.
14710
14711 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14712
14713 * gdb.cp/punctuator.exp: Backslash the '$' signs.
14714
14715 2008-12-22 Tom Tromey <tromey@redhat.com>
14716
14717 * gdb.cp/punctuator.exp: New file.
14718
14719 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14720
14721 * gdb.base/completion.exp (Completing non-existing component): New test.
14722
14723 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14724
14725 Fix for PR gdb/8648.
14726 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
14727 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
14728 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
14729 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
14730
14731 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14732
14733 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
14734
14735 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
14736
14737 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
14738 compiler actually generate code at the expected line number.
14739
14740 2008-12-15 Jie Zhang <jie.zhang@analog.com>
14741
14742 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
14743
14744 2008-12-12 Tom Tromey <tromey@redhat.com>
14745
14746 * gdb.base/commands.exp (redefine_hook_test): New proc.
14747 Call it.
14748
14749 2008-12-11 Tom Tromey <tromey@redhat.com>
14750
14751 * gdb.base/macscp.exp: New regression test.
14752
14753 2008-12-11 Tom Tromey <tromey@redhat.com>
14754
14755 * gdb.base/macscp.exp: Print "address.addr".
14756 * gdb.base/macscp1.c (struct outer): New struct.
14757 (address): New global.
14758
14759 2008-12-09 Tom Tromey <tromey@redhat.com>
14760
14761 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14762 Call it.
14763
14764 2008-12-04 Doug Evans <dje@google.com>
14765
14766 * gdb.server/ext-run.exp: Relax regexp for init program.
14767
14768 2008-12-03 Tristan Gingold <gingold@adacore.com>
14769
14770 * gdb.base/macscp.exp: Generate an object file during compilation
14771 to work around Darwin dsymutil limitations.
14772
14773 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14774
14775 Test resolving external references to TLS variables.
14776 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14777 FILE2_THREAD_LOCAL.
14778 (testfile2, srcfile2): New variables.
14779 * gdb.threads/tls.c (file2_thread_local)
14780 (function_referencing_file2_thread_local): New.
14781 * gdb.threads/tls2.c: New file.
14782
14783 2008-11-28 Joel Brobecker <brobecker@adacore.com>
14784
14785 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
14786 rather than integer, as integer might not be big enough when
14787 on 64bit targets.
14788
14789 2008-11-27 Jerome Guitton <guitton@adacore.com>
14790
14791 * gdb.cp/formatted-ref.exp: Add equality test.
14792 * gdb.ada/formatted_ref.exp: Ditto.
14793
14794 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14795
14796 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14797 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14798
14799 2008-11-20 Andreas Schwab <schwab@suse.de>
14800
14801 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14802 matching syscall entry point.
14803 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14804 (tcatch_vfork_then_child_follow): Likewise. Finish through
14805 vfork even if we stopped at the syscall trampoline.
14806
14807 2008-11-20 Doug Evans <dje@google.com>
14808
14809 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14810
14811 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
14812
14813 * gdb.arch/ppc-dfp.exp: New file.
14814 * gdb.arch/ppc-dfp.c: New file.
14815
14816 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14817
14818 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
14819
14820 2008-11-17 Doug Evans <dje@google.com>
14821
14822 * gdb.mi/mi-syn-frame.exp: Update expected output.
14823 * gdb.mi/mi2-syn-frame.exp: Update expected output.
14824
14825 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14826
14827 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
14828 "thread N" results in =thread-selected.
14829 * lib/mi-support (mi_run_cmd, mi_expect_stop)
14830 (mi_send_resuming_command_raw): Be prepared for
14831 =thread-selected.
14832
14833 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14834
14835 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14836 * lib/mi-support.exp: Likewise.
14837
14838 2008-11-16 Joel Brobecker <brobecker@adacore.com>
14839
14840 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14841 commands from the expected output for "help catch".
14842
14843 2008-11-15 Joel Brobecker <brobecker@adacore.com>
14844
14845 * gdb.ada/int_deref.exp: New testcase.
14846
14847 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
14848
14849 * gdb.mi/gdb2549.exp: New file.
14850
14851 2008-11-11 Doug Evans <dje@google.com>
14852
14853 * gdb.base/callexit.exp: New file.
14854 * gdb.base/callexit.c: New file.
14855
14856 2008-11-10 Doug Evans <dje@google.com>
14857
14858 * lib/gdb.exp (GDBFLAGS): Move -nx ...
14859 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
14860 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14861 (default_gdb_start,default_gdb_exit): Ditto.
14862 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14863 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14864 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14865 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14866 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14867 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14868
14869 2008-11-03 Andreas Schwab <schwab@suse.de>
14870
14871 * gdb.base/hashline2.exp: Fix typo.
14872 * gdb.base/hashline3.exp: Likewise.
14873
14874 2008-10-30 Tom Tromey <tromey@redhat.com>
14875
14876 * gdb.base/pointers.exp: Add test.
14877 * gdb.base/pointers.c (k, S): New typedefs.
14878 (instance): New global.
14879
14880 2008-10-30 Andreas Schwab <schwab@suse.de>
14881
14882 * gdb.base/args.exp: Add tests for newlines.
14883
14884 2008-10-30 Joel Brobecker <brobecker@adacore.com>
14885
14886 gdb.base/foll-exec.exp: Update the expected output of a couple
14887 of "info breakpoints" tests.
14888
14889 2008-10-28 Tom Tromey <tromey@redhat.com>
14890
14891 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14892
14893 2008-10-24 Pedro Alves <pedro@codesourcery.com>
14894
14895 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14896 gdb_start_cmd.
14897 Use runto_main before any test that requires execution.
14898
14899 2008-10-23 Pedro Alves <pedro@codesourcery.com>
14900
14901 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14902 instead of SIGINT.
14903
14904 2008-10-22 Joel Brobecker <brobecker@adacore.com>
14905
14906 * gdb.base/completion.exp: Update expected output following
14907 the addition of the "info tasks" command.
14908
14909 2008-10-22 Tom Tromey <tromey@redhat.com>
14910
14911 * gdb.base/exprs.exp (test_expr): Add test for string
14912 concatenation.
14913
14914 2008-10-19 Pedro Alves <pedro@codesourcery.com>
14915
14916 * configure.ac: Output gdb.python/Makefile.
14917 * configure: Regenerate.
14918 * gdb.python/Makefile.in: New.
14919
14920 2008-10-16 Joel Brobecker <brobecker@adacore.com>
14921
14922 * gdb.base/foll-fork.exp: Adjust the expected output to match
14923 the new description for fork/vfork catchpoints in the "info
14924 breakpoints" output.
14925
14926 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14927
14928 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
14929
14930 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14931
14932 * gdb.python/python-value.c: New file.
14933 * gdb.python/python-value.exp: New file.
14934
14935 2008-10-15 Pedro Alves <pedro@codesourcery.com>
14936
14937 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
14938
14939 2008-10-15 Denis Pilat <denis.pilat@st.com>
14940
14941 * gdb.cp/mb-ctor.exp: Fix a typo.
14942
14943 2008-10-09 Tom Tromey <tromey@redhat.com>
14944
14945 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
14946 'fprintf' and 'stderr'.
14947
14948 2008-10-07 Joel Brobecker <brobecker@adacore.com>
14949
14950 * gdb.ada/ref_tick_size.exp: New testcase.
14951
14952 2008-10-06 Doug Evans <dje@google.com>
14953
14954 * gdb.dwarf2/dw2-cu-size.exp: New file.
14955 * gdb.dwarf2/dw2-cu-size.S: New file.
14956
14957 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
14958 .Ltype_int for clarity.
14959
14960 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14961
14962 PR gdb/2384:
14963 * gdb.cp/gdb2384.exp: Extended to test more cases.
14964 * gdb.cp/gdb2384.cc: Likewise.
14965 * gdb.cp/gdb2384-base.h: Likewise.
14966 * gdb.cp/gdb2384-base.cc: Likewise.
14967
14968 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14969
14970 * gdb.base/maint.exp (maint print type): Remove printing
14971 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
14972
14973 2008-09-30 Tom Tromey <tromey@redhat.com>
14974
14975 * gdb.base/macscp.exp: Add completion tests.
14976 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
14977 (TWENTY_THREE): Likewise.
14978 (FORTY_EIGHT): Likewise.
14979
14980 2008-09-30 Tom Tromey <tromey@redhat.com>
14981
14982 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
14983 everywhere.
14984 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
14985
14986 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14987
14988 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
14989 testcase is derived from. Fix racy dependency on an expected PID
14990 number. No longer support the testcase on Linux kernel 2.4.x.
14991
14992 2008-09-27 Tom Tromey <tromey@redhat.com>
14993
14994 * gdb.base/macscp.exp: Add tests for stringification, splicing,
14995 and varargs.
14996
14997 2008-09-22 Pedro Alves <pedro@codesourcery.com>
14998
14999 * lib/mi-support.exp (mi_expect_interrupt): New.
15000 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15001 from gdb.mi/mi-nonstop.exp.
15002 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15003 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15004 lib/mi-support.exp.
15005 Use mi_check_thread_states throughout. Avoid ".*" and do not
15006 require an anchor after -exec-run.
15007
15008 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15009
15010 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15011 stop is pending. Avoid ".*" when two stops are pending.
15012 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15013 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15014 newlines in fullnames.
15015 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15016 (mi_expect_stop): Update comments. Only anchor in sync mode.
15017 Do not match newlines.
15018 (mi_send_resuming_command_raw): Always return status.
15019 (mi_get_stop_line): Do not match more than one line by accident.
15020 Only anchor in sync mode.
15021 (mi_run_inline_test): If -exec-next fails, give up.
15022
15023 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15024
15025 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15026 on SPU.
15027
15028 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15029
15030 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15031
15032 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15033
15034 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15035 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15036 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15037 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15038 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15039 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15040 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15041 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15042 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15043 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15044 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15045 Include the "= " sequence in the expected output of print tests.
15046
15047 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15048
15049 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15050 description for boolean types.
15051
15052 2008-09-09 Pedro Alves <pedro@codesourcery.com>
15053
15054 * gdb.base/hook-stop-continue.c: New.
15055 * gdb.base/hook-stop-continue.exp: New.
15056
15057 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15058
15059 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15060
15061 2008-09-08 Jerome Guitton <guitton@adacore.com>
15062
15063 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15064 (stack_check_probe_2, stack_check_probe_loop_1)
15065 (stack_check_probe_loop_2): New functions.
15066 (main): Add call to these new functions.
15067 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15068 functions, check that the breakpoint is inserted at the appropriate
15069 location.
15070 (insert_breakpoint): Slightly refine this procedure so that it can
15071 be called several times in the test.
15072
15073 2008-09-08 Jerome Guitton <guitton@adacore.com>
15074
15075 * gdb.base/stack-checking.c: New file.
15076 * gdb.base/stack-checking.exp: New file.
15077
15078 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15079
15080 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15081 * gdb.arch/altivec-regs.exp: Likewise.
15082 * gdb.arch/vsx-regs.exp: Likewise.
15083
15084 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15085
15086 * gdb.arch/ppc-fp.exp: New file.
15087 * gdb.arch/ppc-fp.c: New file.
15088
15089 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15090
15091 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15092 lest gcc-4.3.1 optimizes the whole thing away.
15093
15094 2008-09-04 Michael Snyder <msnyder@vmware.com>
15095
15096 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15097 as "at" (for non-debug functions such as _start).
15098
15099 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15100
15101 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15102 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15103 software watchpoints.
15104 * gdb.base/watch_thread_num.exp: Likewise.
15105
15106 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15107
15108 * gdb.arch/i386-bp_permanent.exp: New test.
15109
15110 2008-08-24 Tom Tromey <tromey@redhat.com>
15111
15112 * gdb.base/maint.exp: Update "maint print type".
15113
15114 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15115
15116 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15117 support. Adjust the order of "*running" notifications.
15118 * gdb.mi/non-stop.c: Don't cast from int to void* and
15119 back.
15120
15121 2008-08-20 Mark Kettenis <kettenis@gnu.org>
15122
15123 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15124 expect to find it in the "info frame" output.
15125
15126 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15127
15128 * gdb.base/interp.exp: Always consume both prompts.
15129
15130 2008-08-20 Pedro Alves <pedro@codesourcery.com>
15131
15132 * gdb.base/pending.exp: Test pending breakpoints without symbols
15133 loaded.
15134
15135 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15136
15137 * lib/mi-support.exp (mi_expect_stop): Produce
15138 more details on failures.
15139 * gdb.mi/mi-nonstop.exp: New.
15140 * gdb.mi/non-stop.c: New.
15141
15142 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15143
15144 * gdb.mi/mi-async.exp: Use 'set target-async'.
15145 * lib/mi-support.exp: Use 'set/show target-async'.
15146
15147 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15148
15149 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15150
15151 2008-08-17 Tom Tromey <tromey@redhat.com>
15152
15153 * gdb.base/help.exp (help catch): Rewrite.
15154
15155 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15156
15157 * gdb.base/define.exp: Test indented command documentation.
15158 * gdb.python/python.exp: Test indented multi-line command.
15159
15160 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
15161
15162 * testsuite/gdb.arch/vsx-regs.c: New source file.
15163 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15164 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15165
15166 2008-08-14 Tom Tromey <tromey@redhat.com>
15167
15168 * gdb.base/macscp.exp: Add regression test for "macro define" or
15169 "macro undef" with no arguments.
15170
15171 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15172
15173 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
15174
15175 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15176
15177 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15178
15179 2008-08-06 Tom Tromey <tromey@redhat.com>
15180
15181 * gdb.python/python.exp: New file.
15182
15183 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15184
15185 Fix for PR gdb/1543.
15186 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15187 $LOCATION.
15188 (location): New variable.
15189 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15190 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15191 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15192 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15193 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15194 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15195 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15196 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15197 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15198 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15199 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15200 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15201 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15202 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15203 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15204 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15205 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15206 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15207 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15208 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15209 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15210 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15211 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15212 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15213 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15214 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15215 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15216 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15217 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15218 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15219 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15220 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15221 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15222 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15223 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15224 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15225 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15226 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15227 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15228 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15229 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15230 gdb.base/type-opaque.exp, gdb.base/until.exp,
15231 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15232 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15233 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15234 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15235 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15236 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15237 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15238 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15239 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15240 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15241 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15242 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15243 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15244 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15245 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15246 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15247 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15248 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15249 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15250 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15251 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15252 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15253 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15254 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15255 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15256 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15257 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15258 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15259 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15260 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15261 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15262 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15263 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15264 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15265 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15266 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15267 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15268 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15269 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15270 to bug-gdb@prep.ai.mit.edu .
15271
15272 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15273
15274 * lib/mi-support.exp (mi_load_shlibs): New.
15275 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15276
15277 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15278
15279 * lib/mi-support.exp (get_mi_thread_list)
15280 (check_mi_and_console_threads): New, moved from ...
15281 * gdb.mi/mi-pthread.exp: ...here.
15282 * gdb.mi/gdb669.exp (get_mi_thread_list)
15283 (check_mi_and_console_threads): Delete.
15284 * gdb.mi/mi2-pthread.exp: Likewise.
15285
15286 2008-07-28 Tom Tromey <tromey@redhat.com>
15287
15288 * Makefile.in (just-check): Remove. Move body to...
15289 (check): ... here.
15290
15291 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15292
15293 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15294 Add a test for duplicated SIGINTs.
15295
15296 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15297
15298 * gdb.threads/schedlock.exp (get_args): Update to work for any
15299 value of NUM.
15300 (Top level): Report the number of threads that did not resume.
15301
15302 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15303
15304 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15305
15306 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15307
15308 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15309 non-MI prompt.
15310
15311 2008-07-26 Tom Tromey <tromey@redhat.com>
15312
15313 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15314 (function_struct, function_struct_ptr): New globals.
15315 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15316 function pointer in a struct.
15317
15318 2008-07-26 Tom Tromey <tromey@redhat.com>
15319
15320 * gdb.base/macscp.exp: Add test for macro lexing bug.
15321
15322 2008-07-18 Tom Tromey <tromey@redhat.com>
15323
15324 * gdb.base/macscp.exp: Add macro tests.
15325
15326 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15327
15328 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15329
15330 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15331
15332 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15333
15334 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15335
15336 * gdb.cp/class2.exp: fix for failure on spu-elf
15337
15338 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15339
15340 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
15341
15342 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15343
15344 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15345
15346 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15347
15348 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15349
15350 2008-07-11 Kevin Buettner <kevinb@redhat.com>
15351
15352 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15353 of regexp to account for changes made to GDB in the printing of
15354 byte vectors.
15355
15356 2008-07-11 Tom Tromey <tromey@redhat.com>
15357
15358 * gdb.base/completion.exp: Add 'help' completion test.
15359
15360 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15361
15362 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15363
15364 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15365
15366 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15367
15368 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15369
15370 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15371
15372 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15373
15374 * gdb.base/fullname.exp: Restore pwd if compiling failed.
15375
15376 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15377
15378 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15379
15380 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15381
15382 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15383 previous commit. Add a comment.
15384
15385 2008-06-28 Pedro Alves <pedro@codesourcery.com>
15386
15387 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15388
15389 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15390
15391 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15392
15393 2008-06-27 Pedro Alves <pedro@codesourcery.com>
15394
15395 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15396 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15397 compiling an executable, link in an object that forces unbuffered
15398 output.
15399 * lib/set_unbuffered_mode.c: New file.
15400
15401 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15402
15403 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15404
15405 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
15406
15407 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15408 mi_expect_stop.
15409 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15410 Demand that *running is output.
15411 (detect_async): Perform checking every time.
15412 (mi_send_resuming_command): Extract everything into...
15413 (mi_send_resuming_command_raw): ...this.
15414 (mi_expect_stop): Don't accept any output before *stopped.
15415
15416 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
15417
15418 Robustify mi-simplerun.
15419 * gdb.mi/basics.c (main): Add a call to sleep.
15420 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15421 * gdb.mi/mi2-cli.exp: Likewise.
15422 * gdb.mi/mi-break.exp: Likewise.
15423
15424 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
15425
15426 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15427
15428 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15429
15430 * gdb.mi/mi-console.exp: Adjust.
15431 * gdb.mi/mi-syn-frame.exp: Adjust.
15432 * gdb.mi/mi2-console.exp: Adjust.
15433 * gdb.mi/mi2-syn-frame.exp: Adjust.
15434 * lib/mi-support.exp (mi_run_cmd): Adjust.
15435 (mi_send_resuming_command): Adjust.
15436
15437 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15438
15439 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
15440 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15441 testing of stopped.
15442 * gdb.mi/mi2-syn-frame.exp: Likewise.
15443 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15444 (async, detect_async): New.
15445 (mi_expect_stop, mi_continue_to_line): Adjust expectation
15446 depending on if we're running in sync or async mode.
15447
15448 2008-06-09 Tom Tromey <tromey@redhat.com>
15449
15450 * gdb.base/completion.exp: New tests for field name completion
15451 with spaces, and field name completion with '->'.
15452
15453 2008-06-06 Tom Tromey <tromey@redhat.com>
15454
15455 * gdb.base/break1.c (struct some_struct): New struct.
15456 (values): New global.
15457 * gdb.base/completion.exp: Add field name completion test.
15458
15459 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15460
15461 * gdb.cp/call-c.exp: Test for incorrect handling of reference
15462 to pointer.
15463 * gdb.cp/call-c.cc: Likewise.
15464
15465 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
15466
15467 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15468 annotation.
15469
15470 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15471 Pedro Alves <pedro@codesourcery.com>
15472
15473 * gdb.threads/execl.c, gdb.threads/execl1.c,
15474 gdb.threads/execl.exp: New tests.
15475
15476 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
15477 Daniel Jacobowitz <dan@codesourcery.com>
15478
15479 * gdb.cp/exception.exp: Activate test, make it work with pending
15480 catchpoints.
15481
15482 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15483
15484 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15485
15486 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
15487
15488 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15489 now printed.
15490 * gdb.mi/mi2-var-cmd.exp: Likewise.
15491
15492 2008-05-27 Andreas Schwab <schwab@suse.de>
15493
15494 * gdb.base/frame-args.exp: Handle arguments that are optimized
15495 out.
15496
15497 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
15498
15499 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15500 quiet for ppc32 and group options into a single variable.
15501
15502 2008-05-23 Joel Brobecker <brobecker@adacore.com>
15503
15504 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15505 of zero-size elements.
15506 * gdb.ada/null_array.exp: Test printing this new array.
15507
15508 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15509
15510 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15511
15512 2008-05-21 Joel Brobecker <brobecker@adacore.com>
15513
15514 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15515 of the "finish" command.
15516
15517 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
15518
15519 * gdb.base/annota1.exp: Test for new annotation.
15520
15521 2008-05-16 Pedro Alves <pedro@codesourcery.com>
15522
15523 * gdb.base/fixsection.exp: New file.
15524 * gdb.base/fixsection0.c: New file.
15525 * gdb.base/fixsection1.c: New file.
15526
15527 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15528
15529 * gdb.base/annota1.exp: Accept printf@... in place of printf.
15530 * gdb.base/annota3.exp: Likewise.
15531
15532 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
15533
15534 * gdb.base/watch_thread_num.exp: Don't run tests that require
15535 watchpoints if the target doesn't support them.
15536
15537 2008-05-12 Doug Evans <dje@google.com>
15538
15539 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
15540
15541 2008-05-09 Joel Brobecker <brobecker@adacore.com>
15542
15543 * gdb.ada/assign_1.exp: New testcase.
15544
15545 2008-05-09 Doug Evans <dje@google.com>
15546
15547 * gdb.base/find.exp: New file.
15548 * gdb.base/find.c: New file.
15549
15550 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
15551
15552 * gdb.base/commands.exp (watchpoint_command_test): Handle
15553 gdb,no_hardware_watchpoints.
15554 * gdb.base/float.exp: Allow ARM targets without floating point.
15555 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
15556
15557 2008-05-06 Jerome Guitton <guitton@adacore.com>
15558 Joel Brobecker <brobecker@adacore.com>
15559
15560 * gdb.ada/lang_switch: New test program.
15561 * gdb.ada/lang_switch.exp: New testcase.
15562
15563 2008-05-05 Doug Evans <dje@google.com>
15564
15565 * gdb.base/help.exp (disassemble): Update expected help text.
15566
15567 2008-05-04 Pedro Alves <pedro@codesourcery.com>
15568
15569 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
15570
15571 2008-05-04 Pedro Alves <pedro@codesourcery.com>
15572
15573 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
15574 different times.
15575
15576 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15577
15578 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
15579 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
15580 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
15581 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
15582
15583 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
15584
15585 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
15586 notification to appear.
15587
15588 2008-05-04 Daniel Jacobowitz <dan@debian.org>
15589
15590 * gdb.base/fullname.c: New file.
15591 * gdb.base/fullname.exp: New file.
15592 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
15593
15594 2008-05-03 Pedro Alves <pedro@codesourcery.com>
15595
15596 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
15597 expressions with macros.
15598
15599 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15600
15601 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
15602
15603 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
15604
15605 * gdb.base/completion.exp: Handle lack of other symbols beginning
15606 with "a".
15607
15608 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
15609
15610 2008-05-02 Jim Blandy <jimb@codesourcery.com>
15611
15612 * gdb.asm/asmsrc1.s: Add scratch space.
15613
15614 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15615 Daniel Jacobowitz <dan@codesourcery.com>
15616
15617 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
15618 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
15619 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
15620
15621 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
15622
15623 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
15624
15625 2008-05-01 Joel Brobecker <brobecker@adacore.com>
15626
15627 * gdb.base/info-target.exp: New testcase.
15628
15629 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15630
15631 * gdb.cp/hang.exp: Use .cc instead of .C.
15632 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
15633 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
15634
15635 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15636
15637 * gdb.base/gdb1250.exp: Remove perror.
15638 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
15639
15640 2008-04-30 Pedro Alves <pedro@codesourcery.com>
15641
15642 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
15643 .2byte.
15644
15645 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
15646
15647 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
15648 (maybe_kfail): New.
15649
15650 2008-04-25 Pedro Alves <pedro@codesourcery.com>
15651
15652 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
15653
15654 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15655
15656 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
15657 * gdb.mi/mi2-syn-frame.exp: Likewise.
15658 * lib/mi-support.exp: Likewise.
15659
15660 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15661
15662 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
15663 to specify regexp for the location to stop at.
15664 * gdb.base/break-always.c: New.
15665 * gdb.base/break-always.exp: New.
15666
15667 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15668
15669 * lib/mi-support.exp (mi_runto_helper): Adjust
15670 for the original-location field.
15671 (mi_create_breakpoint, mi_list_breakpoints): New.
15672 * gdb.mi/mi-break.exp: Adjust.
15673 * gdb.mi/mi2-break.exp: Adjust.
15674 * gdb.mi/mi-pending.exp: Adjust.
15675 * gdb.mi/mi-simplerun.exp: Adjust.
15676 * gdb.mi/mi2-simplerun.exp: Adjust.
15677 * gdb.mi/mi-syn-frame.exp: Adjust.
15678 * gdb.mi/mi2-syn-frame.exp: Adjust.
15679 * gdb.mi/mi-until.exp: Adjust.
15680 * gdb.mi/mi2-until.exp: Adjust.
15681 * gdb.mi/mi-var-display.exp: Adjust.
15682 * gdb.mi/mi2-var-display.exp: Adjust.
15683 * gdb.mi/mi-watch.exp: Adjust.
15684 * gdb.mi/mi2-watch.exp: Adjust.
15685
15686 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
15687
15688 * aclocal.m4: Add override.m4.
15689 * configure: Regenerate.
15690
15691 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
15692
15693 * gdb.mi/var-cmd.c (do_at_tests): Verify that
15694 '-var-update --all-values' reports new value even the type
15695 of a variable object has changed.
15696
15697 2008-04-18 Craig Silverstein <csilvers@google.com>
15698
15699 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
15700 files.
15701
15702 2008-04-18 Joel Brobecker <brobecker@adacore.com>
15703
15704 * gdb.ada/atomic_enum: New test program.
15705 * gdb.ada/atomic_enum.exp: New testcase.
15706
15707 2008-04-17 Doug Evans <dje@google.com>
15708
15709 * gdb.opt/Makefile.in: Fix whitespace.
15710
15711 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
15712
15713 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
15714
15715 2008-04-17 Doug Evans <dje@google.com>
15716
15717 * gdb.base/hashline1.exp: New testcase.
15718 * gdb.base/hashline2.exp: New testcase.
15719 * gdb.base/hashline2.exp: New testcase.
15720
15721 2008-04-17 Pedro Alves <pedro@codesourcery.com>
15722
15723 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
15724
15725 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
15726
15727 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
15728 temporary breakpoint to match "Temporary breakpoint".
15729 * gdb.base/break.exp (delete_breakpoints): Likewise.
15730 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
15731 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
15732 * gdb.base/display.exp: Likewise.
15733 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
15734 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
15735 * gdb.base/restore.exp (restore_tests): Likewise.
15736 * gdb.base/sepdebug.exp: Likewise.
15737 * gdb.base/watchpoint.exp: Likewise.
15738 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
15739 * gdb.mi/mi-pending.exp: Likewise.
15740 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
15741 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
15742 * gdb.mi/mi-var-cmd.exp: Likewise.
15743 * gdb.mi/mi-var-display.exp: Likewise.
15744 * gdb.mi/mi2-cli.exp: Likewise.
15745 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
15746 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
15747 * gdb.mi/mi2-var-display.exp: Likewise.
15748 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
15749 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
15750 new "disp" field.
15751 (mi_expect_stop): Move after_reason argument to be really after
15752 reason. This is to support fix for PR2424.
15753
15754 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15755
15756 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
15757
15758 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
15759
15760 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
15761 field. Add more floating varobj tests.
15762 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
15763 field.
15764 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15765 (main): Call do_at_tests.
15766 * lib/mi-support.exp (mi_create_floating_varobj)
15767 (mi_varobj_update_with_type_change): New.
15768
15769 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
15770
15771 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15772 option of -var-evaluate-expression.
15773 * gdb.mi/mi2-var-display.exp: Likewise.
15774
15775 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
15776
15777 Introduce test setup helpers.
15778 * lib/gdb.exp (build_executable, clean_restart)
15779 (prepare_for_testing): New.
15780 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15781 * gdb.base/return.exp: Likewise.
15782 * gdb.base/ending-run.exp: Likewise.
15783
15784 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
15785
15786 * gdb.mi/mi-async.exp: New test for asynchronous Machine
15787 Interface (MI) responses.
15788
15789 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
15790
15791 * gdb.cp/breakpoint.cc: New code to test conditions involving
15792 member variables.
15793 * gdb.cp/breakpoint.exp: Test condition involving member
15794 variables.
15795
15796 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
15797
15798 * lib/mi-support.exp (mi_expect_stop): New.
15799 (mi_run_cmd): Change the
15800 token. Use mi_send_resuming_command, use
15801 mi_expect_stop.
15802 (mi_execute_to_helper): Rename to mi_execute_to.
15803 (mi_send_resuming_command): Add more error patterns.
15804 (mi_wait_for_stop): Renamed to...
15805 (mi_get_stop_line): ...this.
15806 (mi_run_inline_test): Adjust.
15807
15808 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15809 * gdb.mi/mi-console.exp: Likewise.
15810 * gdb.mi/mi-pending.exp: Likewise.
15811 * gdb.mi/mi-simplerun.exp: Likewise.
15812 * gdb.mi/mi-stack.exp: Likewise.
15813 * gdb.mi/mi-stepi.exp: Likewise.
15814 * gdb.mi/mi-syn-frame.exp: Add comment.
15815 * gdb.mi/mi-until.exp: Likewise.
15816 * gdb.mi/mi-var-display.exp: Likewise.
15817 * gdb.mi/mi-watch.exp: Likewise.
15818 * gdb.mi/mi2-cli.exp: Likewise.
15819 * gdb.mi/mi2-console.exp: Likewise.
15820 * gdb.mi/mi2-simplerun.exp: Likewise.
15821 * gdb.mi/mi2-stack.exp: Likewise.
15822 * gdb.mi/mi2-stepi.exp: Likewise.
15823 * gdb.mi/mi2-until.exp: Likewise.
15824 * gdb.mi/mi2-var-display.exp: Likewise.
15825 * gdb.mi/mi2-watch.exp: Likewise.
15826
15827 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15828
15829 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15830
15831 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15832
15833 2008-04-04 Pedro Alves <pedro@codesourcery.com>
15834
15835 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15836 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15837 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15838 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15839 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15840 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15841 expect an mi error duplicated in stderr.
15842
15843 2008-04-03 Joel Brobecker <brobecker@adacore.com>
15844
15845 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15846 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15847 Add a couple of tests that verify the behavior when the new setting
15848 is set to "cancel" and "all".
15849 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15850 "ask" before we start the testing.
15851
15852 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
15853
15854 * gdb.cp/casts.cc: Add class reference variables.
15855 * gdb.cp/casts.exp: New test cases for up/down casting references.
15856
15857 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
15858
15859 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15860 instead of beginning to make an extra test pass.
15861 * gdb.mi/mi2-var-display.exp: Likewise.
15862
15863 2008-03-31 Maciej W. Rozycki <macro@mips.com>
15864
15865 * gdb.base/break.exp: Mark failures as such. Fix formatting.
15866
15867 2008-03-31 Markus Deuling <deuling@de.ibm.com>
15868 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15869
15870 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15871 value. Add xfail for older kernels.
15872
15873 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
15874
15875 Bring mi-support in line with gdb.exp.
15876 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15877 (mi_gdb_start): New function.
15878
15879 2008-03-28 Maciej W. Rozycki <macro@mips.com>
15880
15881 * gdb.mi/mi-var-cmd.exp: Fix a typo.
15882
15883 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15884
15885 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15886 * gdb.mi/mi2-var-display.exp: Likewise.
15887
15888 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15889
15890 * lib/mi-support.exp (mi_create_varobj_checked): New.
15891 (mi_list_varobj_children): Allow to check for a
15892 value.
15893 (mi_list_array_varobj_children): New.
15894
15895 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15896 and mi_list_varobj_children, as opposed to hardcoding
15897 expected strings.
15898 * gdb.mi/gdb701.exp: Likewise.
15899 * gdb.mi/gdb792.exp: Likewise.
15900 * gdb.mi/mi-var-block.exp: Likewise.
15901 * gdb.mi/mi-var-cmd.exp: Likewise.
15902 * gdb.mi/mi-var-invalidate.exp: Likewise.
15903 * gdb.mi/mi2-var-block.exp: Likewise.
15904 * gdb.mi/mi2-var-child.exp: Likewise.
15905 * gdb.mi/mi2-var-cmd.exp: Likewise.
15906 * gdb.mi/mi2-var-display.exp: Likewise.
15907
15908 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15909
15910 Fix random false FAILs on i386.
15911 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15912
15913 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15914
15915 PR gdb/544
15916 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15917
15918 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15919
15920 PR gdb/544
15921 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15922
15923 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15924
15925 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
15926 fixed PR gdb/544.
15927
15928 2008-03-21 Pedro Alves <pedro@codesourcery.com>
15929
15930 * gdb.threads/fork-child-threads.exp: Test next over fork.
15931
15932 2008-03-21 Chris Demetriou <cgd@google.com>
15933
15934 * gdb.base/break.exp (rbreak junk): New test for rbreak
15935 "Junk at end of arguments" issue.
15936
15937 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15938
15939 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
15940 *& to work on created array elements.
15941 (Top level): Test print $pc with a file. Test string operations
15942 without a target.
15943 * gdb.base/ptype.exp: Do not expect *& to work on created array
15944 elements.
15945
15946 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15947
15948 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15949 gdb.threads/staticthreads.exp: Update exit query.
15950
15951 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
15952
15953 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
15954
15955 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
15956
15957 * gdb.base/watchpoint.c (global_ptr, func4): New.
15958 (main): Call func4.
15959 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
15960 (test_inaccessible_watchpoint): New.
15961
15962 2008-02-29 Maciej W. Rozycki <macro@mips.com>
15963
15964 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
15965 select the largest.
15966
15967 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15968
15969 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
15970 frames-invalid annotations.
15971
15972 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
15973
15974 * gdb.base/assign.exp: avoid same output for different tests.
15975
15976 2008-02-27 Doug Evans <dje@google.com>
15977
15978 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
15979 for bug 1738.
15980 (breakpoint_to_handler_entry): Ditto.
15981
15982 2008-02-27 Joel Brobecker <brobecker@adacore.com>
15983
15984 * gdb.base/ending-run.exp: Use the first line of code inside
15985 function body to test breakpoints.
15986 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
15987 location where the breakpoint is inserted when using the line
15988 where a function is declared. Fix typo in the description of
15989 one of the tests.
15990 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
15991
15992 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15993
15994 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
15995 tests.
15996
15997 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15998
15999 * gdb.base/args.exp: avoid same output for tests
16000 with single quotes.
16001
16002 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16003
16004 * gdb.base/annota1.exp: Adjust for 'info break'
16005 format changes.
16006 * gdb.base/annota3.exp: Likewise.
16007 * gdb.base/break.exp: Likewise.
16008 * gdb.base/condbreak.exp: Likewise.
16009 * gdb.base/pending.exp: Likewise.
16010 * gdb.base/sepdebug.exp: Likewise.
16011 * gdb.base/unload.exp: Likewise.
16012 * gdb.cp/ovldbreak.exp: Likewise.
16013 * gdb.mi/mi-pending.exp: Likewise.
16014
16015 2008-02-07 Doug Evans <dje@google.com>
16016
16017 * gdb.cp/mb-inline.exp: New.
16018 * gdb.cp/mb-inline.h: New.
16019 * gdb.cp/mb-inline1.cc: New.
16020 * gdb.cp/mb-inline2.cc: New.
16021
16022 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16023
16024 * gdb.pascal/floats.pas: New test program.
16025 * gdb.pascal/floats.exp: New testcase.
16026
16027 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16028
16029 * gdb.base/callfuncs.c (t_float_many_args): New function.
16030 (t_double_many_args): New function.
16031 * gdb.base/callfuncs.exp: Add tests for exceeding float
16032 and double parameters passed through the stack.
16033
16034 2008-02-05 Joel Brobecker <brobecker@adacore.com>
16035
16036 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16037 gdb.ada/complete/foo.adb: New files.
16038 * gdb.ada/complete.exp: New testcase.
16039
16040 2008-02-03 Doug Evans <dje@google.com>
16041
16042 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16043
16044 * gdb.cp/gdb2384.exp: New file.
16045 * gdb.cp/gdb2384.cc: New file.
16046 * gdb.cp/gdb2384-base.h: New file.
16047 * gdb.cp/gdb2384-base.cc: New file.
16048
16049 2008-02-02 Doug Evans <dje@google.com>
16050
16051 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16052
16053 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16054
16055 * gdb.ada/sym_print_name: New test program.
16056 * gdb.ada/sym_print_name.exp: New testcase.
16057
16058 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16059
16060 * gdb.ada/nested/hello.adb: New file.
16061 * gdb.ada/nested.exp: New testcase.
16062 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16063
16064 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16065
16066 * gdb.mi/basic.c (return_1): New function.
16067 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16068 don't cause future evaluations of function to report
16069 creation of internal breakpoints.
16070
16071 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16072
16073 * gdb.mi/mi-break.exp (test_error): New.
16074 Call it.
16075
16076 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
16077
16078 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16079 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16080
16081 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16082
16083 * gdb.pascal/integers.pas: New test program.
16084 * gdb.pascal/integers.exp: New testcase.
16085
16086 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16087
16088 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16089
16090 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
16091
16092 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16093 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16094
16095 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16096
16097 * gdb.ada/formatted_ref: New test program.
16098 * gdb.ada/formatted_ref.exp: New testcase.
16099
16100 * gdb.cp/formatted-ref.cc: New file.
16101 * gdb.cp/formatted-ref.exp: New testcase.
16102
16103 2008-01-30 Joel Brobecker <brobecker@adacore.com>
16104
16105 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16106
16107 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
16108
16109 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16110 (test_file_list_exec_source_file): Update to new macro-info field.
16111
16112 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16113
16114 * gdb.ada/exprs: New test program.
16115 * gdb.ada/exprs.exp: New testcase.
16116
16117 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16118
16119 * dfp-test.c (DELTA, DELTA_B): New definitions.
16120 (double_val1, double_val2, double_val3, double_val4, double_val5,
16121 double_val6, double_val7, double_val8, double_val9, double_val10,
16122 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16123 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16124 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16125 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16126 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16127 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16128 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16129 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16130 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16131 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16132 dec128_val16): New global variables.
16133 (decimal_dec128_align): New function.
16134 (decimal_mixed): Likewise.
16135 (decimal_many_args_dec32): Likewise.
16136 (decimal_many_args_dec64): Likewise.
16137 (decimal_many_args_dec128): Likewise.
16138 (decimal_many_args_mixed): Likewise.
16139 * dfp-test.exp: Add tests calling new inferior functions.
16140
16141 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16142
16143 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16144 gdb.server/ext-run.exp: New files.
16145 * lib/gdbserver-support.exp (gdbserver_download): New.
16146 (gdbserver_start): New. Update gdbserver expected
16147 output.
16148 (gdbserver_spawn): Use them.
16149 (gdbserver_start_extended): New.
16150
16151 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16152
16153 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16154 Run on GNU/Linux.
16155 (do_exec_tests): Check for systems which do not support catchpoints.
16156 Do not match START.
16157 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16158 Run on GNU/Linux. Enable verbose output.
16159 (check_fork_catchpoints): New.
16160 (explicit_fork_child_follow, catch_fork_child_follow)
16161 (tcatch_fork_parent_follow): Update expected messages.
16162 (do_fork_tests): Use check_fork_catchpoints.
16163 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16164 Run on GNU/Linux. Enable verbose output.
16165 (check_vfork_catchpoints): New.
16166 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16167 expected messages.
16168 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16169
16170 2008-01-29 Jim Blandy <jimb@red-bean.com>
16171
16172 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16173 host' errors.
16174 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16175
16176 2008-01-29 Jim Blandy <jimb@red-bean.com>
16177
16178 * gdb.threads/sigthread.c: Use barriers to ensure that
16179 child_thread and child_thread_two are always initialized before we
16180 start to use them.
16181
16182 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16183
16184 * gdb.base/watchpoint-solib.exp: New.
16185 * gdb.base/watchpoint-solib.c: New.
16186 * gdb.base/watchpoint-solib-shr.c: New.
16187
16188 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16189
16190 * gdb.base/gdb1056.exp: Add unsigned integer test.
16191
16192 2008-01-28 Doug Evans <dje@google.com>
16193
16194 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16195
16196 2008-01-27 Jim Blandy <jimb@codesourcery.com>
16197
16198 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16199
16200 * gdb.base/expand-psymtabs.exp: Doc fix.
16201
16202 2008-01-26 Mark Kettenis <kettenis@gnu.org>
16203
16204 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16205
16206 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
16207
16208 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
16209 -var-set-format.
16210
16211 2008-01-23 Chris Demetriou <cgd@google.com>
16212
16213 * gdb.threads/thread_events.c: New testcase source file.
16214 * gdb.threads/thread_events.exp: New testcase expect file.
16215
16216 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
16217
16218 * lib/gdb.exp: Add the variable octal.
16219
16220 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
16221 -var-set-format.
16222
16223 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16224 Vladimir Prus <vladimir@codesourcery.com>
16225
16226 * gdb.base/float.exp: Allow missing floating point for m68k and
16227 PowerPC.
16228
16229 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16230
16231 * gdb.mi/basics.c: Setup for testing breakpoints
16232 ignore count.
16233 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16234 * gdb.mi/mi-cli.exp: Adjust.
16235 * gdb.mi/mi2-cli.exp: Adjust.
16236
16237 2008-01-17 Pedro Alves <pedro@codesourcery.com>
16238
16239 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16240 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16241 with dummy_ptr's address.
16242 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16243 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16244 all targets.
16245 * gdb.mi/mi2-var-child.exp: Likewise.
16246
16247 2008-01-09 Joel Brobecker <brobecker@adacore.com>
16248
16249 * gdb.ada/null_array: New test program.
16250 * gdb.ada/null_array.exp: New testcase.
16251
16252 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
16253
16254 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16255 with required float modifiers.
16256
16257 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16258
16259 * gdb.ada/funcall_param: New test program.
16260 * gdb.ada/funcall_param.exp: New testcase.
16261
16262 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16263
16264 * gdb.ada/arrayparam: New test program.
16265 * gdb.ada/arrayparam.exp: New testcase.
16266
16267 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16268
16269 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16270 landed. Should also fix random failures in the test following it.
16271
16272 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16273
16274 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16275 for expressions with decimal float values.
16276 (test_dfp_conversions): New function to test casts to and from
16277 decimal float types.
16278 Call test_dfp_conversions.
16279 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16280 elements.
16281 (main): Initialize ds.float4 and ds.double8 elements.
16282 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16283 string to new error message.
16284 (d64_set_tests): Likewise.
16285 (d128_set_tests): Likewise.
16286 Add tests for expressions with decimal float variables. Add tests for
16287 conversions to and from decimal float types.
16288
16289 2008-01-05 Joel Brobecker <brobecker@adacore.com>
16290
16291 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16292 * gdb.ada/packed_tagged.exp: New testcase.
16293
16294 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16295
16296 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16297 gdb.ada/homonym/homonym_main.adb: New files.
16298 * gdb.ada/homonym.exp: New testcase.
16299
16300 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16301
16302 * gdb.ada/packed_array.exp: Add testing of references to
16303 a packed array.
16304
16305 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16306
16307 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16308 New files.
16309 * gdb.ada/type_coercion.exp: New testcase.
16310
16311 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16312
16313 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16314 gdb.ada/tagged/foo.adb: New file.
16315 * gdb.ada/tagged.exp: New testcase.
16316
16317 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16318
16319 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16320 gdb.ada/ptype_field/foo.adb: New files.
16321 * gdb.ada/ptype_field.exp: New testcase.
16322
16323 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16324
16325 * gdb.ada/print_pc.exp: New testcase.
16326
16327 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16328
16329 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16330 gdb.ada/taft_type/p.adb: New files.
16331 * gdb.ada/taft_type.exp: New testcase.
16332
16333 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16334
16335 * gdb.ada/array_bounds/bar.adb: New file.
16336 * gdb.ada/array_bounds.exp: New testcase.
16337
16338 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16339
16340 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16341 gdb.ada/arrayptr/foo.adb: New files.
16342 * gdb.ada/arrayptr.exp: New testcase.
16343
16344 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16345
16346 * gdb.base/set-lang-auto.exp: New testcase.
16347
16348 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16349
16350 * gdb.ada/fun_addr/foo.adb: New file.
16351 * gdb.ada/fun_addr.exp: New testcase.
16352
16353 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16354
16355 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16356 New files
16357
16358 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16359
16360 * array_subscript_addr/p.adb: New file.
16361 * array_subscript_addr.exp: New testcase.
16362
16363 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16364
16365 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
16366 New files.
16367 * gdb.ada/str_cmp_ref.exp: New testcase.
16368
16369 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16370
16371 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16372 gdb.ada/fun_in_declare/foo.adb: New files.
16373 * gdb.ada/fun_in_declare.exp: New testcase.
16374
16375 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16376
16377 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16378 gdb.ada/ref_param/pck.ads: New files.
16379 * gdb.ada/ref_param.exp: New testcase.
16380
16381 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16382
16383 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16384 gdb.ada/interface/foo.adb: New files.
16385 * gdb.ada/interface.exp: New testcase.
16386
16387 2007-12-31 Jim Blandy <jimb@codesourcery.com>
16388
16389 * gdb.base/multi-forks.exp: Consume all output from child
16390 processes before proceeding to next test.
16391
16392 2007-12-29 Jim Blandy <jimb@codesourcery.com>
16393
16394 * configure: Regenerated.
16395
16396 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16397
16398 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16399 gdb.ada/fixed_cmp/fixed.adb: New files.
16400 * gdb.ada/fixed_cmp.exp: New testcase.
16401
16402 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16403
16404 * gdb.ada/boolean_expr.exp: New testcase.
16405
16406 2007-12-26 Jim Blandy <jimb@codesourcery.com>
16407
16408 * gdb.base/multi-forks.exp: Doc fix.
16409
16410 2007-12-26 Joel Brobecker <brobecker@adacore.com>
16411
16412 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16413 * gdb.ada/char_param.exp: Do not compile our test program with
16414 -gnata, this is unnecessary.
16415 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16416
16417 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16418
16419 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16420 gdb.ada/print_chars/foo.adb: New files.
16421 * gdb.ada/print_chars.exp: New testcase.
16422
16423 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16424
16425 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16426 gdb.ada/char_param/foo.adb: New files.
16427 * gdb.ada/char_param.exp: New testcase.
16428
16429 2007-12-22 Jim Blandy <jimb@codesourcery.com>
16430
16431 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16432 hard-coding source line numbers into the test.
16433 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16434 gdb_get_line_number to find.
16435
16436 2007-12-22 Joel Brobecker <brobecker@adacore.com>
16437
16438 * gdb.base/ptype.c (highest): New struct type.
16439 (the_highest): New variable of that type.
16440 (main): Add dummy assignment to a field of variable the_highest.
16441 * gdb.base/ptype.exp: Test type printing of our new variable.
16442
16443 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
16444
16445 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
16446 and record first explicitly generated thread number.
16447 Use that thread number for thread specific watchpoint test.
16448 Add iteration number to repetitive tests.
16449
16450 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16451 Jim Blandy <jimb@codesourcery.com>
16452
16453 * gdb.base/expand-psymtabs.c: New testcase
16454 source file.
16455 * gdb.base/expand-psymtabs.exp: New testcase
16456 expect file.
16457
16458 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
16459
16460 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16461 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16462
16463 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16464
16465 * gdb.ada/frame_args/foo.adb: New file.
16466 * gdb.ada/frame_args/pck.ads: New file.
16467 * gdb.ada/frame_args/pck.adb: New file.
16468 * gdb.ada/frame_args.exp: New testcase.
16469
16470 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16471
16472 * gdb.base/frame-args.c: New file.
16473 * gdb.base/frame-args.exp: New testcase.
16474
16475 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
16476 Joseph Myers <joseph@codesourcery.com>
16477
16478 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16479
16480 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
16481
16482 * gdb.mi/mi-pending.exp: New.
16483 * gdb.mi/mi-pending.c: New.
16484 * gdb.mi/mi-pendshr.c: New.
16485
16486 2007-12-06 Jim Blandy <jimb@codesourcery.com>
16487
16488 * gdb.base/default.exp: Update expected output for 'info catch'.
16489
16490 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16491
16492 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16493 must be set to binary.
16494
16495 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
16496
16497 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16498
16499 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
16500
16501 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16502 gdb.mi/mi-file-transfer.exp: New.
16503
16504 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16505
16506 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16507
16508 2007-11-22 Maciej W. Rozycki <macro@mips.com>
16509
16510 * gdb.trace/backtrace.exp: Fix a typo.
16511 * gdb.trace/circ.exp: Likewise.
16512 * gdb.trace/collection.exp: Likewise.
16513 * gdb.trace/limits.exp: Likewise.
16514 * gdb.trace/report.exp: Likewise.
16515 * gdb.trace/tfind.exp: Likewise.
16516 * gdb.trace/while-dyn.exp: Likewise.
16517
16518 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
16519
16520 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16521 objects of pointers that can't be dereferenced are now
16522 "noneditable".
16523
16524 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16525
16526 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16527 (target_cpu): Remove.
16528
16529 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
16530
16531 * gdb.base/ending-run.exp: Expect the list of cleared
16532 breakpoint to come in natural order, not the reversed one.
16533
16534 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
16535
16536 * gdb.mi/mi-var-child.c (do_child_deletion): New.
16537 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
16538
16539 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
16540
16541 * gdb.base/printcmds.exp: New function
16542 test_printf_with_dfp.
16543
16544 2007-11-02 Doug Evans <dje@google.com>
16545
16546 * gdb.disasm/t01_mov.s: Remove carriage returns.
16547 * gdb.disasm/t02_mova.s: Ditto.
16548 * gdb.disasm/t03_add.s: Ditto.
16549 * gdb.disasm/t04_sub.s: Ditto.
16550 * gdb.disasm/t05_cmp.s: Ditto.
16551 * gdb.disasm/t06_ari2.s: Ditto.
16552 * gdb.disasm/t07_ari3.s: Ditto.
16553 * gdb.disasm/t08_or.s: Ditto.
16554 * gdb.disasm/t09_xor.s: Ditto.
16555 * gdb.disasm/t10_and.s: Ditto.
16556 * gdb.disasm/t11_logs.s: Ditto.
16557 * gdb.disasm/t12_bit.s: Ditto.
16558 * gdb.disasm/t13_otr.s: Ditto.
16559
16560 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16561
16562 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
16563
16564 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16565
16566 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
16567 provide DFP support.
16568
16569 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
16570
16571 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
16572 Test "set powerpc vector-abi". Skip auto-detection tests for old
16573 toolchains.
16574
16575 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16576
16577 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
16578 with [string compare].
16579
16580 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16581
16582 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
16583 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
16584
16585 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
16586
16587 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
16588 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
16589 * gdb.opt/Makefile.in: New makefile.
16590 * Makefile.in: Create new directory "gdb.opt".
16591 * configure.ac: Add "gdb.opt" directory.
16592 * configure: Regenerated.
16593
16594 2007-10-25 Doug Evans <dje@google.com>
16595
16596 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
16597 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
16598
16599 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
16600 Thiago Jung Bauermann <bauerman@br.ibm.com>
16601
16602 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
16603 Floating Point expressions.
16604 * gdb.base/dfp-test.exp: new file adding tests for Decimal
16605 Floating Point variables.
16606 * gdb.base/dfp-test.c: new file containing program with Decimal
16607 Floating variables, used by gdb.base/dfp-test.exp.
16608
16609 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
16610
16611 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
16612
16613 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16614
16615 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
16616 compiling test case with GCC.
16617 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
16618
16619 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16620
16621 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16622 format changes.
16623
16624 2007-10-18 Michael Snyder <msnyder@specifix.com>
16625
16626 * gdb.base/dbx.exp: Add missing "-re " operator.
16627
16628 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
16629
16630 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
16631 * configure.ac: Removed trailing spaces after backslash.
16632 * gdb.modula2: New directory.
16633 * gdb.modula2/Makefile.in: New file.
16634 * gdb.modula2/unbounded-array.exp: New file.
16635 * gdb.modula2/unbounded1.c: New file.
16636
16637 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
16638
16639 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
16640
16641 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
16642
16643 * gdb.base/sigstep.c (main): Add checks for
16644 return values for setitimer call.
16645 Call setitimer again with itimer = ITIMER_REAL
16646 if first call to setitimer fails.
16647
16648 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
16649
16650 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
16651 of $timeout.
16652
16653 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16654
16655 * gdb.server/server-run.exp: Test for dynamic linker symbols.
16656
16657 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
16658
16659 * lib/gdb.exp (gdb_run_cmd): Move comment outside
16660 of gdb_expect call, to avoid interruption.
16661
16662 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
16663
16664 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
16665 (v_unsigned_long_long, v_long_long_array)
16666 (v_signed_long_long_array, v_unsigned_long_long_array)
16667 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
16668 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
16669 [!NO_LONG_LONG]: New.
16670 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
16671 v_long_long_member.
16672
16673 (v_long_long_func, v_signed_long_long_func)
16674 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
16675 (main) [!NO_LONG_LONG]: Initialize long long variants.
16676
16677 * gdb.base/whatis.exp: If board file requests no_long_long, build
16678 test with NO_LONG_LONG defined. Test long long, signed long long,
16679 and unsigned long long variants but only if board file doesn't
16680 disable it.
16681
16682 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
16683 Daniel Jacobowitz <dan@codesourcery.com>
16684
16685 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
16686 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
16687 * configure: Regenerated.
16688 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
16689 gdb.pascal/types.exp, lib/pascal.exp: New files.
16690
16691 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
16692
16693 * gdb.cp/classes.exp (do_tests): Always step to the line after the
16694 call.
16695 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
16696 to return to the call.
16697 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
16698 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
16699 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
16700 * gdb.mi/mi-until.exp (test_until): Likewise.
16701 * gdb.mi/mi2-until.exp (test_until): Likewise.
16702
16703 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
16704
16705 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
16706 two-char array.
16707 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
16708
16709 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
16710
16711 * gdb.threads/watchthreads.c (thread_function): Sleep between
16712 iterations.
16713 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
16714 at once for S/390. Generate matching fails and passes.
16715
16716 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
16717
16718 * gdb.mi/var-cmd.c (do_children_tests): Initialize
16719 the 'struct_declarations' variable to zeros.
16720
16721 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
16722
16723 * gdb.cp/mb-ctor.cc: New.
16724 * gdb.cp/mb-ctor.exp: New.
16725 * gdb.cp/mb-templates.cc: New.
16726 * gdb.cp/mb-templates.exp: New.
16727
16728 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
16729
16730 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
16731
16732 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
16733
16734 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
16735 targets.
16736 * configure: Regenerate.
16737
16738 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
16739
16740 * gdb.base/annota1.exp: Adjust for 'info break'
16741 format changes.
16742 * gdb.base/annota3.exp: Likewise.
16743 * gdb.base/break.exp: Likewise.
16744 * gdb.base/condbreak.exp: Likewise.
16745 * gdb.base/pending.exp: Likewise.
16746 * gdb.base/sepdebug.exp: Likewise.
16747 * gdb.base/unload.exp: Likewise.
16748 * gdb.base/ovldbreak.exp: Likewise.
16749
16750 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
16751
16752 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
16753 messages.
16754 * gdb.base/chng-syms.exp: Likewise.
16755 * gdb.base/unload.exp: Likewise.
16756
16757 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
16758
16759 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
16760
16761 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
16762
16763 * schedlock.c (NUM): Change to 1.
16764 (main): Use args[0] for the main thread.
16765 * schedlock.exp: Only expect two threads. Only issue one pass or fail
16766 regardless of the number of threads.
16767
16768 2007-09-14 Maciej W. Rozycki <macro@mips.com>
16769
16770 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16771 type down.
16772 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16773 test.
16774 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16775 watchpoint type down.
16776 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16777 test.
16778
16779 2007-09-14 Maciej W. Rozycki <macro@mips.com>
16780
16781 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16782 Move all the tests here and run them twice, once using software
16783 watchpoints and once using hardware watchpoints.
16784 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16785
16786 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
16787
16788 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16789 test.
16790
16791 2007-09-10 Mark Kettenis <kettenis@gnu.org>
16792
16793 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16794 build-id.
16795
16796 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16797 know about $ORIGIN. Calculate output dir from $dest instead of
16798 using ${objdir}/{$subdir}.
16799
16800 2007-09-09 Mark Kettenis <kettenis@gnu.org>
16801
16802 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16803 gcore, before continuing with the test.
16804
16805 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
16806
16807 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16808 * gdb.mi/mi-watch.exp: Likewise.
16809
16810 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16811 Jim Blandy <jimb@codesourcery.com>
16812
16813 * gdb.arch/i386-sse.exp: Do not expect character constants.
16814 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16815 * gdb.base/display.exp: Allow print/s.
16816 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16817 and unsigned char array changes.
16818
16819 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16820
16821 * gdb.base/display.exp: Add tests for printf %p.
16822
16823 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
16824
16825 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16826 the dll name to unicode.
16827
16828 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16829
16830 * gdb.base/default.exp (show version): Update the version text.
16831 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16832
16833 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16834
16835 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16836 New files.
16837
16838 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16839
16840 * lib/gdb.exp (build_id_debug_filename_get): New function.
16841 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16842 Remove the generate DEBUG file for the future testcase runs.
16843 New testcase for the NT_GNU_BUILD_ID retrieval.
16844 Move the final testing step to ...
16845 (test_different_dir): ... a new function.
16846 New parameter XFAIL to XFAIL all the tests performed.
16847 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16848 New parameter TYPE to PF_PREFIX all the tests performed.
16849
16850 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
16851
16852 * gdb.mi/mi-var-cp.cc (path_expression): New
16853 function.
16854 * gdb.mi/mi-var-cp.exp: Run path exression tests.
16855
16856 2007-08-27 Markus Deuling <deuling@de.ibm.com>
16857
16858 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16859 to fit into SPU Local Store memory.
16860
16861 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16862
16863 * gdb.base/default.exp: Adjust the expected output of "info
16864 warranty" after the switch to GPLv3.
16865
16866 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16867
16868 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16869 to 30000 (from 20000).
16870
16871 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16872
16873 Switch the license of all .exp files to GPLv3.
16874 Switch the license of all .f and .f90 files to GPLv3.
16875 Switch the license of all .s and .S files to GPLv3.
16876
16877 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16878
16879 * configure.ac: Switch license to GPLv3.
16880
16881 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16882
16883 Switch the licensing to GPLv3 for all .ads and .adb files.
16884
16885 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
16886
16887 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16888 and t_int_double.
16889 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16890
16891 2007-08-17 Joel Brobecker <brobecker@adacore.com>
16892
16893 * gdb.base/step-line.c: Switch license to GPL version 3, and
16894 update copyright year.
16895 * gdb.base/step-line.inp: Likewise.
16896
16897 2007-08-17 Joel Brobecker <brobecker@adacore.com>
16898
16899 * gdb.base/gdb1555.exp: Make expected output immune to formatting
16900 changes inside gdb1555.c.
16901 * gdb.base/pending.exp: Likewise.
16902
16903 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
16904
16905 * config/default.exp: New file.
16906
16907 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16908
16909 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16910 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16911
16912 2007-07-30 Maciej W. Rozycki <macro@mips.com>
16913
16914 * gdb.base/dump.exp: Force the correct endianness for binary
16915 formats not carrying this information.
16916
16917 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16918
16919 * gdb.threads/staticthreads.exp: Match .*sem_post.
16920
16921 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16922
16923 * gdb.base/readline.exp (operate_and_get_next): Match the final
16924 prompt.
16925
16926 2007-07-23 Kevin Buettner <kevinb@redhat.com>
16927
16928 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
16929 to restarting SID.
16930
16931 2007-07-18 Kevin Buettner <kevinb@redhat.com>
16932
16933 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
16934 prior to `gdb_start'.
16935
16936 2007-07-18 Kevin Buettner <kevinb@redhat.com>
16937
16938 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
16939 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
16940 Remove call to gdb_unload.
16941
16942 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
16943 Daniel Jacobowitz <dan@codesourcery.com>
16944
16945 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16946 for __WIN32__.
16947 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
16948 * gdb.base/unload.exp: Use shared library test routines.
16949
16950 2007-07-03 Markus Deuling <deuling@de.ibm.com>
16951
16952 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
16953 * gdb.base/solib-symbol-lib.c: Likewise.
16954 * gdb.base/solib-symbol-main.c: Likewise.
16955
16956 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
16957
16958 * config/gdbserver.exp (gdb_reconnect): New.
16959 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
16960 gdb.base/solib-disc.exp: New files.
16961 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
16962 remote debugging".
16963 (gdb_compile): Add shlib_load flag.
16964 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
16965 port.
16966 (gdbserver_reconnect): New.
16967
16968 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
16969 Daniel Jacobowitz <dan@codesourcery.com>
16970
16971 * gdb.base/annota3.exp: Test for if construct.
16972
16973 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
16974
16975 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
16976
16977 2007-06-21 Chris Dearman <chris@mips.com>
16978 Maciej W. Rozycki <macro@mips.com>
16979
16980 * gdb.base/display.exp: Allow a newline after display/i.
16981 * gdb.base/pc-fp.exp: Likewise.
16982 * gdb.base/sigbpt.exp: Likewise.
16983
16984 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
16985
16986 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
16987 required features to be included.
16988
16989 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
16990
16991 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
16992 in info threads output.
16993
16994 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16995 Markus Deuling <deuling@de.ibm.com>
16996
16997 * gdb.arch/spu-info.exp: New testcase.
16998 * gdb.arch/spu-info.c: New file.
16999
17000 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17001
17002 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17003 tpcs_offset. Restore lr after the call.
17004 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17005
17006 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17007
17008 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17009 (gdbserver_run): Kill any running gdbserver.
17010 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17011
17012 2007-05-17 Maciej W. Rozycki <macro@mips.com>
17013
17014 * gdb.base/sigbpt.exp: Preset segv_addr.
17015
17016 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17017
17018 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17019 (gdb_compile_shlib): Likewise.
17020 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17021 (default_gdb_init): Clear cleanfiles.
17022 (gdb_finish): Delete recorded cleanfiles.
17023 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17024
17025 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17026 Do not use isnative.
17027 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17028 gdb.base/so-impl-ld.exp: Likewise.
17029 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17030 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17031 gdb_compile.
17032
17033 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17034
17035 * config/unknown.exp: Remove.
17036
17037 2007-05-15 Markus Deuling <deuling@de.ibm.com>
17038
17039 * gdb.base/info-proc.exp: Check is_remote.
17040
17041 2007-05-14 Markus Deuling <deuling@de.ibm.com>
17042
17043 * gdb.base/gcore.exp: Initialize variable core_supported.
17044
17045 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17046
17047 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17048
17049 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17050
17051 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17052 * gdb.threads/print-threads.exp (test_all_threads): Allow
17053 negative and hexadecimal thread IDs.
17054
17055 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17056
17057 * gdb.java/jprint.java (public): Avoid invalid call to static
17058 method.
17059
17060 2007-05-14 Denis Pilat <denis.pilat@st.com>
17061
17062 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17063 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17064 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17065 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17066 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17067
17068 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17069
17070 * gdb.base/overlays.exp: Add support for targets with only code
17071 overlay support, not data overlay. Support spu-*-* target in
17072 this mode.
17073 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17074 * gdb.base/spu.ld: New file.
17075
17076 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17077
17078 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17079
17080 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17081
17082 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17083
17084 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17085
17086 * gdb.java/jmain.exp: Handle demangled names with and without method
17087 signatures.
17088
17089 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17090
17091 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17092 (have_a_very_merry_interrupt): Remove calls to puts.
17093 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17094 inferior output.
17095 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17096 test names.
17097
17098 2007-04-29 Markus Deuling <deuling@de.ibm.com>
17099 Daniel Jacobowitz <dan@codesourcery.com>
17100
17101 * gdb.base/auxv.exp (core_works): Also check is_remote.
17102 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17103
17104 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
17105
17106 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17107 message, not the undefined 'module' variable.
17108 * gdb.base/siginfo.exp: Likewise.
17109 * gdb.base/sigstep.exp: Likewise.
17110 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17111 serialport.
17112 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17113
17114 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
17115
17116 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17117 target sim fails. Return 0 otherwise.
17118 (gdb_load): Return prematurely if gdb_target_sim fails.
17119
17120 2007-04-16 Denis Pilat <denis.pilat@st.com>
17121
17122 * gdb.base/setshow.exp: Reset height after having set it to 100.
17123
17124 2007-04-16 Denis Pilat <denis.pilat@st.com>
17125
17126 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17127
17128 2007-04-16 Denis Pilat <denis.pilat@st.com>
17129
17130 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17131
17132 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17133
17134 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17135 tests. Run the frozen varobjs test.
17136 * gdb.mi/var-cmd.c (do_frozen_tests): New.
17137 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
17138
17139 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17140
17141 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17142 gdb.base/type-opaque.exp: New files.
17143
17144 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
17145
17146 * gdb.mi/mi-var-child.c
17147 (do_children_tests): User char[2] instead of
17148 char so that automatic printing of pointers to char
17149 don't give unpredicable result.
17150 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17151 local variables.
17152 * gdb.mi/mi-var-child.exp: Step to right line
17153 of do_children_tests.
17154 * gdb.mi/mi2-var-child.exp: Likewise.
17155 * gdb.mi/mi-var-cmd.exp: Step to right line of
17156 do_locals_tests.
17157 (do_children_tests): User char[2] instead of
17158 char so that automatic printing of pointers to char
17159 don't give unpredicable result.
17160 * gdb.mi/mi2-var-cmd.exp: Likewise.
17161 * lib/mi-support.exp (mi_continue_to_line):
17162 Pass test name to mi_wait_for_stop.
17163
17164 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17165
17166 * gdb.asm/asm-source.exp: Remove d10v case.
17167 * lib/gdb.exp (skip_cplus_tests): Likewise.
17168 * gdb.asm/d10v.inc: Deleted.
17169
17170 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17171
17172 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17173
17174 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17175
17176 * config/netware.exp: Delete file.
17177
17178 2007-03-29 Joel Brobecker <brobecker@adacore.com>
17179
17180 * gdb.dwarf2/dw2-noloc.S: New file.
17181 * gdb.dwarf2/dw2-noloc.exp: New file.
17182
17183 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17184
17185 * gdb.cp/method2.cc: New test.
17186 * gdb.cp/method2.exp: New test.
17187 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17188
17189 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17190
17191 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17192
17193 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17194
17195 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17196
17197 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17198
17199 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17200 (gdb_load): Delete, replace with...
17201 (gdb_reload): ...this.
17202 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17203 * gdb.server/server-mon.exp: Likewise.
17204 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17205 (gdb_start_cmd): New.
17206 (gdb_file_cmd): Save the last loaded file.
17207 (gdb_reload): New.
17208 (gdb_gnu_strip_debug): Use transform.
17209 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17210 support here. Use new $last_loaded_file. Check mtime.
17211 (gdb_target_cmd): Handle ObjC failure case.
17212 (infer_host_exec): Delete.
17213 (gdbserver_load): Rename to...
17214 (gdbserver_run): ...this. Simplify.
17215 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17216 (mi_gdb_load): Move most contents to a new function...
17217 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17218 (mi_run_cmd): Use mi_gdb_target_load.
17219 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17220 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17221 Use gdb_run_cmd.
17222 * gdb.base/charsign.exp: Remove incorrect comment.
17223 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17224 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17225 gdb.base/start.exp: Use gdb_start_cmd.
17226
17227 2007-03-23 Nigel Stephens <nigel@mips.com>
17228 Maciej W. Rozycki <macro@mips.com>
17229
17230 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17231 * gdb.base/signull.exp: Similarly.
17232
17233 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17234
17235 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17236 messages available to test cases (like chng-sym.exp).
17237
17238 2007-03-14 Andreas Schwab <schwab@suse.de>
17239
17240 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17241 format changes.
17242
17243 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17244
17245 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17246 (optimized_1): New.
17247 (main): Call optimized_1.
17248 (gdb2029): Correct typos. Call gdb2029_marker.
17249 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17250 for gdb2029.
17251
17252 2007-03-12 Mark Kettenis <kettenis@gnu.org>
17253
17254 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17255 as tabs. Remove redundant test pattern.
17256
17257 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17258
17259 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17260 for /a format output.
17261
17262 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17263
17264 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17265 collect output incrementally.
17266
17267 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17268
17269 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17270 for -var-create lpcharacter test.
17271 * gdb.mi/mi2-var-cmd.exp: Likewise.
17272
17273 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17274
17275 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17276 pass on targets where address zero is readable.
17277
17278 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17279
17280 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17281 just a single architecture.
17282
17283 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17284
17285 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17286 (fetch_all_registers): New function, uses gdb_test_multiple and
17287 exp_continue to fetch inferior output line-by-line.
17288 Replace all uses of do_get_all_registers by fetch_all_registers.
17289
17290 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17291
17292 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17293 in target_info.
17294
17295 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17296
17297 * gdb.threads/manythreads.exp: Use $message string for
17298 consistancy; add a default (timeout) case.
17299
17300 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17301
17302 * gdb.base/watchpoint.exp: Fix truncated comment.
17303
17304 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17305
17306 * Makefile.in: Remove spurious single-quotes from sed command.
17307
17308 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17309
17310 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17311 func.
17312 * gdb.mi/mi2-var-cmd.exp: Likewise.
17313
17314 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17315
17316 * gdb.dwarf2/dw2-producer.S: New file.
17317 * gdb.dwarf2/dw2-producer.exp: New testcase.
17318
17319 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
17320
17321 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17322 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17323 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17324 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17325 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17326 Revert tests to use mi_gdb_test and include value field in output
17327 of -var-create.
17328
17329 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17330
17331 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17332
17333 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17334
17335 * gdb.base/maint.exp: Remove full paths from test names.
17336 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17337 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17338
17339 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17340
17341 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17342
17343 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17344
17345 * gdb.server/server-mon.exp: New test.
17346
17347 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17348
17349 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17350
17351 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17352
17353 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17354 register capitalization.
17355
17356 2007-02-13 Denis Pilat <denis.pilat@st.com>
17357
17358 * gdb.mi/mi-var-invalidate.exp: New file.
17359
17360 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17361
17362 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17363
17364 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17365
17366 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17367
17368 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17369
17370 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17371 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17372
17373 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
17374
17375 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17376 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17377 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17378 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17379 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17380 * gdb.mi/gdb792.exp, lib/mi-support.exp:
17381 Update tests to include value field in output of -var-create.
17382
17383 2007-02-08 Andreas Schwab <schwab@suse.de>
17384
17385 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17386
17387 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
17388
17389 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17390 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17391
17392 2007-02-02 Denis Pilat <denis.pilat@st.com>
17393
17394 * gdb.threads/threadapply.exp: check that frame is not changed by
17395 the thread apply all command.
17396
17397 2007-01-31 Andreas Schwab <schwab@suse.de>
17398
17399 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17400
17401 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17402 in the dwarf sections.
17403 * gdb.dwarf2/mac-fileno.S: Likewise.
17404
17405 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17406 bspstore register on ia64.
17407
17408 2007-01-29 Andreas Schwab <schwab@suse.de>
17409
17410 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17411 "frame-begin" annotation.
17412
17413 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17414 number of "frames-invalid" annotations.
17415
17416 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17417
17418 * gdb.base/commands.exp: Call if_commands_test.
17419 (gdb_test_no_prompt, if_commands_test): New.
17420
17421 2007-01-28 Mark Kettenis <kettenis@gnu.org>
17422
17423 * gdb.threads/sigthread.c (NSIGS): Make bigger.
17424
17425 2007-01-27 Andreas Schwab <schwab@suse.de>
17426
17427 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17428 .short/.int/.quad in the dwarf sections.
17429 * gdb.dwarf2/dw2-intercu.S: Likewise.
17430 * gdb.dwarf2/dw2-intermix.S: Likewise.
17431
17432 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17433
17434 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
17435 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17436 array.
17437 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17438 * gdb.base/setvar.exp: Likewise.
17439
17440 2007-01-26 Andreas Schwab <schwab@suse.de>
17441
17442 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17443 test.
17444
17445 * gdb.base/multi-forks.exp ("restart $i"): Also match
17446 __kernel_syscall_via_break.
17447
17448 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
17449
17450 * lib/mi-support.exp (mi_delete_varobj): New.
17451 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17452 testcase.
17453 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17454 (main): Call the above.
17455 (reference_update_test, base_in_reference_test)
17456 (reference_to_pointer): Delete the created varobjs.
17457
17458 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
17459
17460 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17461 * configure: Regenerated.
17462 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17463 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17464 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17465 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17466 * lib/gdb.exp (gdb_skip_xml_test): New function.
17467
17468 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
17469
17470 * gdb.base/sigrepeat.exp: Correct error message.
17471
17472 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17473 Daniel Jacobowitz <dan@codesourcery.com>
17474
17475 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17476 gdb.arch/i386-gnu-cfi-asm.S: New files.
17477
17478 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17479
17480 * lib/gdb.exp: Abort on missing `site.exp'.
17481
17482 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17483 Daniel Jacobowitz <dan@codesourcery.com>
17484
17485 * gdb.base/included.c, gdb.base/included.exp,
17486 gdb.base/included.h: New files.
17487
17488 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17489
17490 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17491 (maximize_rlimit): Reduce limits on 64-bit systems.
17492
17493 2007-01-19 Mark Kettenis <kettenis@gnu.org>
17494
17495 From Marcus Deuling <deuling@de.ibm.com>:
17496 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17497 every case.
17498
17499 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
17500
17501 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17502 (test_path_specification): Use objdir instead of srcdir to always
17503 get an absolute filename.
17504
17505 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
17506
17507 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17508
17509 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
17510
17511 * gdb.mi/mi-var-cp.cc (reference_update_tests):
17512 Make sure the variable we're using is in scope.
17513 (reference_to_pointer): Likewise.
17514
17515 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17516
17517 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17518 has no debug information.
17519
17520 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17521
17522 * gdb.base/annota1.exp: Remove extra send_gdb.
17523
17524 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17525
17526 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17527
17528 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17529
17530 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17531
17532 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
17533 Daniel Jacobowitz <dan@codesourcery.com>
17534
17535 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
17536 lcharacter or linteger change. Correct duplicated test name.
17537 * gdb.mi/mi2-var-cmd.exp: Likewise.
17538
17539 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
17540
17541 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
17542
17543 2007-01-05 Joel Brobecker <brobecker@adacore.com>
17544
17545 * gdb.base/nofield.c: New file.
17546 * gdb.base/nofield.exp: New testcase.
17547
17548 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
17549
17550 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
17551
17552 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
17553 test.
17554
17555 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17556
17557 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
17558
17559 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17560
17561 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
17562 when continuing.
17563
17564 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17565
17566 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
17567 Expect ".exe" extension.
17568
17569 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17570
17571 * gdb.base/charset.exp: Add explicit filename to break.
17572 * gdb.base/dbx.exp: Add explicit filename to breaks.
17573
17574 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17575
17576 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
17577 * gdb.mi/mi2-file.exp: Likewise.
17578
17579 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17580
17581 Implement specification of MI tests as comments
17582 in C and C++ sources.
17583 * lib/mi-support.exp (mi_autotest_data): New variable.
17584 (mi_autotest_source): New variable.
17585 (count_newlines, mi_prepare_inline_tests)
17586 (mi_get_inline_test, mi_continue_to_line)
17587 (mi_run_inline_test, mi_tbreak)
17588 (mi_send_resuming_command, mi_wait_for_stop): New functions.
17589 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
17590 Run inline tests.
17591 * gdb.mi/mi-var-cp.cc: Define tests here.
17592
17593 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17594
17595 Simplify usage of mi_continue_to.
17596 * lib/mi-support.exp (mi_runto_helper): Renamed
17597 from mi_runto, added new parameter 'run_or_continue'.
17598 (mi_runto): Use mi_runto_helper.
17599 (mi_continue_to): Accept just function name as parameter.
17600 Use mi_runto_helper.
17601 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
17602 * gdb.mi/mi2-var-cmd.exp: Likewise.
17603
17604 2006-01-04 Joel Brobecker <brobecker@adacore.com>
17605
17606 Make this testcase a bit more realistic. The current code
17607 is too simplistic, and allows the compiler to optimize out
17608 some of the entities we need for this testcase.
17609 * gdb.ada/null_record/bar.ads (Void_Star): New type.
17610 (Do_Nothing): Add extra parameter.
17611 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
17612 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
17613 by using a variable of type Void_Star.
17614
17615 2006-01-04 Joel Brobecker <brobecker@adacore.com>
17616
17617 * gdb.ada/catch_ex/foo.adb: New file.
17618 * gdb.ada/catch_ex.exp: New testcase.
17619
17620 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
17621
17622 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
17623 pass --image-base to linker.
17624
17625 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17626 Daniel Jacobowitz <dan@codesourcery.com>
17627
17628 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
17629 secondary prompts.
17630
17631 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17632
17633 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
17634 output. Test the types of members and member pointers.
17635 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
17636 gdb/2092.
17637 * gdb.cp/member-ptr.exp: Search for a comment instead of a
17638 statement. Enable for GCC. Update expected output for some tests
17639 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
17640 layout.
17641 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
17642 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
17643 (Diamond::vget_base): New.
17644 (main): Add new tests.
17645 * gdb.cp/printmethod.exp: Update expected output for member functions.
17646 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
17647 print pEe->D::vg().
17648
17649 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17650
17651 * gdb.threads/tls.exp: Allow stops in sem_post.
17652
17653 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
17654
17655 * gdb.base/annota1.exp: Allow .*printf in backtraces.
17656 * gdb.base/annota3.exp: Likewise.
17657 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
17658 again (instead of timing out).
17659 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
17660 GCC bug 26475.
17661 * gdb.java/jmisc.exp: Adjust to work with method signatures including
17662 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
17663 test from jmisc1.exp.
17664 * gdb.java/jmisc1.exp: Delete.
17665 * gdb.java/jprint.exp: Adjust to work with method signatures including
17666 return types.
17667 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
17668 * gdb.threads/linux-dp.exp: Don't be confused by program output.
17669 * lib/java.exp (compile_java_from_source): Pass the correct type
17670 to target_compile.
17671
17672 2006-12-31 Joel Brobecker <brobecker@adacore.com>
17673
17674 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
17675 (stack_align_edx): New function.
17676 (stack_align_eax): New function.
17677 (main): Add calls to stack_align_edx and stack_align_eax.
17678 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
17679 Add testing for the cases where the register used during a stack
17680 realignment is edx. Same for eax.
17681
17682 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
17683
17684 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
17685 and generic PE targets.
17686
17687 2006-12-29 Joel Brobecker <brobecker@adacore.com>
17688
17689 * gdb.ada/array_return.exp: Update copyright date list.
17690
17691 2006-12-27 Joel Brobecker <brobecker@adacore.com>
17692
17693 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
17694 (Create_Small_Float_Vector): New function.
17695 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
17696 function body.
17697 * gdb.ada/array_return/p.adb: Use new type and function from
17698 package Pck.
17699 * gdb.ada/array_return.exp: Add a test verifying that GDB is
17700 able to print the value returned by a function returning an
17701 array of float.
17702
17703 2006-12-20 Joel Brobecker <brobecker@adacore.com>
17704
17705 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
17706 The associated tests should be PASSing.
17707
17708 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17709
17710 Test for base in references.
17711 * gdb.mi/mi-var-cp.cc: Add test code.
17712 * gdb.mi/mi-var-cp.exp: Test for bases in references.
17713 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
17714 * gdb.mi/mi2-watch.exp: Likewise.
17715 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
17716 (mi_list_varobj_children): New function.
17717
17718 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17719
17720 * lib/mi-support.exp
17721 (mi_runto): Accept "()" after function name.
17722 (mi_create_varobj): New function.
17723 (mi_varobj_update): New function.
17724 (mi_Check_varobj_value): New function.
17725 * gdb.mi/mi-var-cp.exp: New file.
17726 * gdb.mi/mi-var-cp.cc: New file.
17727
17728 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
17729
17730 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
17731 gdb.base/weaklib2.c: New files.
17732
17733 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
17734
17735 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
17736 info. Adjust test names.
17737
17738 * gdb.base/break.c (main): Move position of malloc.
17739 * gdb.base/break.exp: Revert mistaken checkin.
17740
17741 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
17742
17743 * gdb.mi/mi-var-cmd.exp: Check -var-update after
17744 assignement of arrays and function pointers.
17745 * gdb.mi/var-cmd.c: Add declaration necessary for above
17746 tests.
17747
17748 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17749
17750 * gdb.base/break.c (main): Call malloc.
17751
17752 * gdb.threads/linux-dp.exp: Read thread table before and after
17753 creating each philosopher and verify it.
17754
17755 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17756 Paul Brook <paul@codesourcery.com>
17757 Daniel Jacobowitz <dan@codesourcery.com>
17758
17759 * gdb.base/ending-run.exp: Flatten expect script stepping out of
17760 main to remove duplication. Add start function of the form
17761 '_*start[1-9]*'. Add RVDS start function.
17762
17763 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17764
17765 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17766
17767 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17768
17769 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17770 * gdb.asm/spu.inc: New file.
17771 * gdb.base/term.exp: Disable if [target_info exists noargs].
17772 * gdb.gdb/complaints.exp: Disable if ![isnative].
17773 * gdb.gdb/selftest.exp: Likewise.
17774 * gdb.gdb/observer.exp: Likewise.
17775 * gdb.gdb/xfullpath.exp: Likewise.
17776 * gdb.base/attach.exp: Disable on SPU target.
17777 * gdb.cp/bs145503.exp: Likewise.
17778 * gdb.cp/exception.exp: Likewise.
17779 * gdb.cp/userdef.exp: Likewise.
17780
17781 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17782
17783 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17784
17785 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
17786
17787 * gdb.base/completion.exp: Fix completion tests for
17788 'info' and 'info '.
17789 * gdb.base/help.exp (help_test_raw, test_class_help)
17790 (test_prefix_command_help): Move...
17791 * lib/gdb.exp: Here.
17792 * gdb.base/main.exp: Adjust.
17793 * gdb.cp/maint.exp: Adjust.
17794 * gdb.trace/tracecmd.exp: Use test_help_class.
17795
17796 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17797
17798 * gdb.stabs/weird.exp (print_weird_var): Use
17799 gdb_test_multiple instead of gdb_expect.
17800
17801 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17802
17803 * gdb.base/help.exp (help_test_raw): New.
17804 (test_class_help): New.
17805 (test_prefix_command_help): New.
17806 Adjust testcases.
17807
17808 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
17809
17810 * gdb.base/constvars.c (main): Write to crass and crips, so that
17811 they are allocated by the compiler.
17812
17813 2006-10-27 Andreas Schwab <schwab@suse.de>
17814
17815 * gdb.base/multi-forks.exp: Use "detach fork" instead of
17816 "detach-fork".
17817
17818 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
17819
17820 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17821 of patterns.
17822
17823 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17824
17825 * gdb.base/sepdebug.exp: Remove debug format test.
17826 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17827 Handle no-symtab.
17828 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17829
17830 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17831
17832 * gdb.threads/manythreads.c (thread_function, main): Don't cast
17833 int to pointer or pointer to int.
17834 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17835
17836 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
17837
17838 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17839
17840 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17841
17842 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17843
17844 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17845
17846 PR c++/2116
17847 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17848
17849 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17850
17851 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17852 the corresponding bug has been fixed in GDB (PR/2018).
17853
17854 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17855
17856 * gdb.base/subst.exp: New testcase.
17857
17858 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17859
17860 * gdb.ada/array_return/pck.ads: Add copyright notice.
17861 * gdb.ada/array_return/pck.adb: Likewise.
17862 * gdb.ada/array_return/p.adb: Likewise.
17863 * gdb.ada/exec_changed/first.adb: Likewise.
17864 * gdb.ada/exec_changed/second.adb: Likewise.
17865
17866 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17867
17868 * gdb.ada/watch_arg/watch.adb: New file.
17869 * gdb.ada/watch_arg.exp: New testcase.
17870
17871 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
17872
17873 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
17874 via string_to_regexp.
17875 * gdb.mi/mi2-basics.exp: Likewise.
17876
17877 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
17878
17879 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17880 Remove unused / obsolete files.
17881
17882 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
17883
17884 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17885
17886 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
17887
17888 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17889 HIGH_FRAME argument to -stack-list-arguments can be larger than
17890 the number of frames.
17891
17892 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
17893
17894 * gdb.base/args.c (main): Add breakpoint marker.
17895 * gdb.base/args.exp: Use args_test for tests. Add new tests which
17896 really test empty arguments.
17897 (args_load): Delete.
17898 (args_test): New.
17899
17900 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
17901
17902 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
17903 check for one file.
17904
17905 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
17906
17907 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17908 HIGH_FRAME argument to -stack-list-locals can be larger than
17909 the number of frames.
17910
17911 2006-08-18 Fred Fish <fnf@specifix.com>
17912
17913 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17914 '$' in front of skip_vmx_tests_saved when setting that.
17915
17916 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
17917
17918 * gdb.base/trace-commands.exp: New file.
17919
17920 2006-08-10 Joel Brobecker <brobecker@adacore.com>
17921 Daniel Jacobowitz <dan@codesourcery.com>
17922
17923 * gdb.base/step-bt.exp: Make hexadecimal address optional in
17924 expected output of the backtrace commands.
17925
17926 2006-08-09 Joel Brobecker <brobecker@adacore.com>
17927
17928 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
17929 untested followed by return combination.
17930 * gdb.arch/altivec-regs.exp: Likewise.
17931 * gdb.arch/e500-abi.exp: Likewise.
17932 * gdb.arch/e500-regs.exp: Likewise.
17933 * gdb.arch/gdb1291.exp: Likewise.
17934 * gdb.arch/gdb1431.exp: Likewise.
17935 * gdb.arch/gdb1558.exp: Likewise.
17936 * gdb.arch/i386-prologue.exp: Likewise.
17937 * gdb.arch/i386-unwind.exp: Likewise.
17938 * gdb.asm/asm-source.exp: Likewise.
17939 * gdb.base/a2-run.exp: Likewise.
17940 * gdb.base/advance.exp: Likewise.
17941 * gdb.base/all-bin.exp: Likewise.
17942 * gdb.base/annota1.exp: Likewise.
17943 * gdb.base/annota3.exp: Likewise.
17944 * gdb.base/args.exp: Likewise.
17945 * gdb.base/arithmet.exp: Likewise.
17946 * gdb.base/assign.exp: Likewise.
17947 * gdb.base/async.exp: Likewise.
17948 * gdb.base/attach.exp: Likewise.
17949 * gdb.base/bang.exp: Likewise.
17950 * gdb.base/bigcore.exp: Likewise.
17951 * gdb.base/bitfields.exp: Likewise.
17952 * gdb.base/bitfields2.exp: Likewise.
17953 * gdb.base/break.exp: Likewise.
17954 * gdb.base/call-sc.exp: Likewise.
17955 * gdb.base/call-strs.exp: Likewise.
17956 * gdb.base/callfuncs.exp: Likewise.
17957 * gdb.base/checkpoint.exp: Likewise.
17958 * gdb.base/chng-syms.exp: Likewise.
17959 * gdb.base/code-expr.exp: Likewise.
17960 * gdb.base/commands.exp: Likewise.
17961 * gdb.base/completion.exp: Likewise.
17962 * gdb.base/cond-expr.exp: Likewise.
17963 * gdb.base/condbreak.exp: Likewise.
17964 * gdb.base/consecutive.exp: Likewise.
17965 * gdb.base/constvars.exp: Likewise.
17966 * gdb.base/corefile.exp: Likewise.
17967 * gdb.base/cvexpr.exp: Likewise.
17968 * gdb.base/dbx.exp: Likewise.
17969 * gdb.base/define.exp: Likewise.
17970 * gdb.base/detach.exp: Likewise.
17971 * gdb.base/display.exp: Likewise.
17972 * gdb.base/dump.exp: Likewise.
17973 * gdb.base/ena-dis-br.exp: Likewise.
17974 * gdb.base/ending-run.exp: Likewise.
17975 * gdb.base/environ.exp: Likewise.
17976 * gdb.base/eval-skip.exp: Likewise.
17977 * gdb.base/exprs.exp: Likewise.
17978 * gdb.base/fileio.exp: Likewise.
17979 * gdb.base/finish.exp: Likewise.
17980 * gdb.base/float.exp: Likewise.
17981 * gdb.base/foll-exec.exp: Likewise.
17982 * gdb.base/foll-fork.exp: Likewise.
17983 * gdb.base/foll-vfork.exp: Likewise.
17984 * gdb.base/freebpcmd.exp: Likewise.
17985 * gdb.base/funcargs.exp: Likewise.
17986 * gdb.base/gcore.exp: Likewise.
17987 * gdb.base/gdb1090.exp: Likewise.
17988 * gdb.base/gdb1250.exp: Likewise.
17989 * gdb.base/huge.exp: Likewise.
17990 * gdb.base/info-proc.exp: Likewise.
17991 * gdb.base/interrupt.exp: Likewise.
17992 * gdb.base/jump.exp: Likewise.
17993 * gdb.base/langs.exp: Likewise.
17994 * gdb.base/lineinc.exp: Likewise.
17995 * gdb.base/list.exp: Likewise.
17996 * gdb.base/logical.exp: Likewise.
17997 * gdb.base/long_long.exp: Likewise.
17998 * gdb.base/macscp.exp: Likewise.
17999 * gdb.base/maint.exp: Likewise.
18000 * gdb.base/mips_pro.exp: Likewise.
18001 * gdb.base/miscexprs.exp: Likewise.
18002 * gdb.base/multi-forks.exp: Likewise.
18003 * gdb.base/opaque.exp: Likewise.
18004 * gdb.base/overlays.exp: Likewise.
18005 * gdb.base/pc-fp.exp: Likewise.
18006 * gdb.base/pointers.exp: Likewise.
18007 * gdb.base/printcmds.exp: Likewise.
18008 * gdb.base/psymtab.exp: Likewise.
18009 * gdb.base/ptype.exp: Likewise.
18010 * gdb.base/recurse.exp: Likewise.
18011 * gdb.base/relational.exp: Likewise.
18012 * gdb.base/relocate.exp: Likewise.
18013 * gdb.base/remote.exp: Likewise.
18014 * gdb.base/reread.exp: Likewise.
18015 * gdb.base/restore.exp: Likewise.
18016 * gdb.base/return.exp: Likewise.
18017 * gdb.base/return2.exp: Likewise.
18018 * gdb.base/scope.exp: Likewise.
18019 * gdb.base/sect-cmd.exp: Likewise.
18020 * gdb.base/sep.exp: Likewise.
18021 * gdb.base/sepdebug.exp: Likewise.
18022 * gdb.base/setshow.exp: Likewise.
18023 * gdb.base/setvar.exp: Likewise.
18024 * gdb.base/sigall.exp: Likewise.
18025 * gdb.base/sigbpt.exp: Likewise.
18026 * gdb.base/signals.exp: Likewise.
18027 * gdb.base/signull.exp: Likewise.
18028 * gdb.base/sizeof.exp: Likewise.
18029 * gdb.base/solib.exp: Likewise.
18030 * gdb.base/step-line.exp: Likewise.
18031 * gdb.base/step-test.exp: Likewise.
18032 * gdb.base/structs.exp: Likewise.
18033 * gdb.base/structs2.exp: Likewise.
18034 * gdb.base/term.exp: Likewise.
18035 * gdb.base/twice.exp: Likewise.
18036 * gdb.base/until.exp: Likewise.
18037 * gdb.base/varargs.exp: Likewise.
18038 * gdb.base/volatile.exp: Likewise.
18039 * gdb.base/watchpoint.exp: Likewise.
18040 * gdb.base/whatis-exp.exp: Likewise.
18041 * gdb.base/whatis.exp: Likewise.
18042 * gdb.cp/ambiguous.exp: Likewise.
18043 * gdb.cp/annota2.exp: Likewise.
18044 * gdb.cp/annota3.exp: Likewise.
18045 * gdb.cp/bool.exp: Likewise.
18046 * gdb.cp/breakpoint.exp: Likewise.
18047 * gdb.cp/casts.exp: Likewise.
18048 * gdb.cp/class2.exp: Likewise.
18049 * gdb.cp/classes.exp: Likewise.
18050 * gdb.cp/cplusfuncs.exp: Likewise.
18051 * gdb.cp/ctti.exp: Likewise.
18052 * gdb.cp/derivation.exp: Likewise.
18053 * gdb.cp/exception.exp: Likewise.
18054 * gdb.cp/gdb1355.exp: Likewise.
18055 * gdb.cp/hang.exp: Likewise.
18056 * gdb.cp/inherit.exp: Likewise.
18057 * gdb.cp/local.exp: Likewise.
18058 * gdb.cp/m-data.exp: Likewise.
18059 * gdb.cp/m-static.exp: Likewise.
18060 * gdb.cp/member-ptr.exp: Likewise.
18061 * gdb.cp/method.exp: Likewise.
18062 * gdb.cp/misc.exp: Likewise.
18063 * gdb.cp/namespace.exp: Likewise.
18064 * gdb.cp/overload.exp: Likewise.
18065 * gdb.cp/ovldbreak.exp: Likewise.
18066 * gdb.cp/pr-1023.exp: Likewise.
18067 * gdb.cp/pr-1210.exp: Likewise.
18068 * gdb.cp/pr-574.exp: Likewise.
18069 * gdb.cp/printmethod.exp: Likewise.
18070 * gdb.cp/psmang.exp: Likewise.
18071 * gdb.cp/ref-params.exp: Likewise.
18072 * gdb.cp/ref-types.exp: Likewise.
18073 * gdb.cp/rtti.exp: Likewise.
18074 * gdb.cp/templates.exp: Likewise.
18075 * gdb.cp/try_catch.exp: Likewise.
18076 * gdb.cp/userdef.exp: Likewise.
18077 * gdb.cp/virtfunc.exp: Likewise.
18078 * gdb.disasm/am33.exp: Likewise.
18079 * gdb.disasm/h8300s.exp: Likewise.
18080 * gdb.disasm/mn10300.exp: Likewise.
18081 * gdb.disasm/sh3.exp: Likewise.
18082 * gdb.disasm/t01_mov.exp: Likewise.
18083 * gdb.disasm/t02_mova.exp: Likewise.
18084 * gdb.disasm/t03_add.exp: Likewise.
18085 * gdb.disasm/t04_sub.exp: Likewise.
18086 * gdb.disasm/t05_cmp.exp: Likewise.
18087 * gdb.disasm/t06_ari2.exp: Likewise.
18088 * gdb.disasm/t07_ari3.exp: Likewise.
18089 * gdb.disasm/t08_or.exp: Likewise.
18090 * gdb.disasm/t09_xor.exp: Likewise.
18091 * gdb.disasm/t10_and.exp: Likewise.
18092 * gdb.disasm/t11_logs.exp: Likewise.
18093 * gdb.disasm/t12_bit.exp: Likewise.
18094 * gdb.disasm/t13_otr.exp: Likewise.
18095 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18096 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18097 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18098 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18099 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18100 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18101 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18102 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18103 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18104 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18105 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18106 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18107 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18108 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18109 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18110 * gdb.mi/gdb701.exp: Likewise.
18111 * gdb.mi/gdb792.exp: Likewise.
18112 * gdb.mi/mi-basics.exp: Likewise.
18113 * gdb.mi/mi-break.exp: Likewise.
18114 * gdb.mi/mi-cli.exp: Likewise.
18115 * gdb.mi/mi-console.exp: Likewise.
18116 * gdb.mi/mi-disassemble.exp: Likewise.
18117 * gdb.mi/mi-eval.exp: Likewise.
18118 * gdb.mi/mi-file.exp: Likewise.
18119 * gdb.mi/mi-read-memory.exp: Likewise.
18120 * gdb.mi/mi-regs.exp: Likewise.
18121 * gdb.mi/mi-return.exp: Likewise.
18122 * gdb.mi/mi-simplerun.exp: Likewise.
18123 * gdb.mi/mi-stack.exp: Likewise.
18124 * gdb.mi/mi-stepi.exp: Likewise.
18125 * gdb.mi/mi-syn-frame.exp: Likewise.
18126 * gdb.mi/mi-until.exp: Likewise.
18127 * gdb.mi/mi-var-block.exp: Likewise.
18128 * gdb.mi/mi-var-child.exp: Likewise.
18129 * gdb.mi/mi-var-cmd.exp: Likewise.
18130 * gdb.mi/mi-var-display.exp: Likewise.
18131 * gdb.mi/mi-watch.exp: Likewise.
18132 * gdb.mi/mi2-basics.exp: Likewise.
18133 * gdb.mi/mi2-break.exp: Likewise.
18134 * gdb.mi/mi2-cli.exp: Likewise.
18135 * gdb.mi/mi2-console.exp: Likewise.
18136 * gdb.mi/mi2-disassemble.exp: Likewise.
18137 * gdb.mi/mi2-eval.exp: Likewise.
18138 * gdb.mi/mi2-file.exp: Likewise.
18139 * gdb.mi/mi2-read-memory.exp: Likewise.
18140 * gdb.mi/mi2-regs.exp: Likewise.
18141 * gdb.mi/mi2-return.exp: Likewise.
18142 * gdb.mi/mi2-simplerun.exp: Likewise.
18143 * gdb.mi/mi2-stack.exp: Likewise.
18144 * gdb.mi/mi2-stepi.exp: Likewise.
18145 * gdb.mi/mi2-syn-frame.exp: Likewise.
18146 * gdb.mi/mi2-until.exp: Likewise.
18147 * gdb.mi/mi2-var-block.exp: Likewise.
18148 * gdb.mi/mi2-var-child.exp: Likewise.
18149 * gdb.mi/mi2-var-cmd.exp: Likewise.
18150 * gdb.mi/mi2-var-display.exp: Likewise.
18151 * gdb.mi/mi2-watch.exp: Likewise.
18152 * gdb.stabs/exclfwd.exp: Likewise.
18153 * gdb.stabs/weird.exp: Likewise.
18154 * gdb.threads/gcore-thread.exp: Likewise.
18155 * gdb.trace/actions.exp: Likewise.
18156 * gdb.trace/backtrace.exp: Likewise.
18157 * gdb.trace/circ.exp: Likewise.
18158 * gdb.trace/collection.exp: Likewise.
18159 * gdb.trace/deltrace.exp: Likewise.
18160 * gdb.trace/infotrace.exp: Likewise.
18161 * gdb.trace/limits.exp: Likewise.
18162 * gdb.trace/packetlen.exp: Likewise.
18163 * gdb.trace/passc-dyn.exp: Likewise.
18164 * gdb.trace/passcount.exp: Likewise.
18165 * gdb.trace/report.exp: Likewise.
18166 * gdb.trace/save-trace.exp: Likewise.
18167 * gdb.trace/tfind.exp: Likewise.
18168 * gdb.trace/tracecmd.exp: Likewise.
18169 * gdb.trace/while-dyn.exp: Likewise.
18170 * gdb.trace/while-stepping.exp: Likewise.
18171
18172 2006-08-08 Joel Brobecker <brobecker@adacore.com>
18173
18174 * gdb.base/step-bt.c: New file.
18175 * gdb.base/step-bt.exp: New testcase.
18176
18177 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18178
18179 * config/monitor.exp (gdb_load): Remove support for obsolete
18180 download-write-size.
18181 * gdb.base/remote.exp: Likewise. Update all callers of
18182 gdb_timed_load.
18183
18184 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18185
18186 * cursal.exp: Pass binfile to gdb_load.
18187
18188 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18189
18190 * gdb.base/cursal.exp: Add "" to gdb_load call.
18191
18192 2006-07-29 Mark Kettenis <kettenis@gnu.org>
18193
18194 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18195 NetBSD/ELF targets.
18196
18197 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18198
18199 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18200 operator*.
18201
18202 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18203
18204 * gdb.base/completion.exp: Update for change in "file" behavior.
18205 * gdb.stabs/weird.exp: Likewise.
18206 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18207 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18208
18209 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18210
18211 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18212 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18213
18214 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18215
18216 * gdb.base/default.exp: Update source command error message.
18217 * gdb.base/help.exp: Update 'help source' message.
18218
18219 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18220
18221 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18222 test.
18223
18224 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18225
18226 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18227
18228 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18229
18230 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18231
18232 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18233
18234 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18235
18236 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18237
18238 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18239 *-*-openbsd* from targets for wich we expect ARM FPA floating
18240 point format.
18241
18242 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
18243
18244 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18245
18246 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18247
18248 * gdb.base/annota3.exp: Expect frame-begin annotation.
18249
18250 2006-07-14 Joel Brobecker <brobecker@adacore.com>
18251
18252 * gdb.base/help.exp: Adjust "help unset" test to accept
18253 any list of unset commands.
18254
18255 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18256 Daniel Jacobowitz <dan@codesourcery.com>
18257
18258 * gdb.cp/ref-params.exp: New test.
18259 * gdb.cp/ref-params.cc: New source file.
18260 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18261
18262 2006-07-08 Mark Kettenis <kettenis@gnu.org>
18263
18264 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18265 spaces/tabs in regular expressions since they might not be there.
18266
18267 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18268
18269 * gdb.base/ifelse.exp: New file.
18270
18271 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18272
18273 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18274 line.
18275 * gdb.base/huge.exp: Loop over compilation to find a size that
18276 is acceptable.
18277 * gdb.base/remote.exp: Correct expected strings.
18278 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18279
18280 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18281
18282 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18283
18284 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18285
18286 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18287 native.
18288
18289 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18290
18291 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18292 enable stabs testing.
18293
18294 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18295
18296 * gdb.base/auxv.exp: Intercept undefined command messages before
18297 gdb_test_multiple does.
18298
18299 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18300
18301 * Makefile.in (host_alias): Remove.
18302 (target_alias): Use @target_noncanonical@.
18303 (site.exp): Don't set host_alias.
18304 * aclocal.m4: Remove contents. Include acx.m4.
18305 * configure: Regenerated.
18306 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18307
18308 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18309
18310 * lib/gdb.exp (gdb_load_cmd): New.
18311
18312 * gdb.base/fileio.c: Add system(NULL) test.
18313 * gdb.base/fileio.exp: Check it.
18314
18315 * gdb.base/break.c: Add 10a breakpoint at }
18316 * gdb.base/break.exp: Add test for breakpoint at }
18317 * gdb.cp/anon-union.cc: Add code at end of function.
18318 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18319 * gdb.mi/var-cmd.c: Add code at end of function.
18320 * gdb.mi/mi-var-display.exp: Adjust end of next.
18321 * gdb.mi/mi2-var-display.exp: Likewise.
18322 * gdb.base/fileio.c: Add stop function and insert calls at
18323 stopping places.
18324 * gdb.base/fileio.exp: Breakpoint stop function and remove
18325 explicit line number references.
18326
18327 2006-05-19 Joel Brobecker <brobecker@adacore.com>
18328
18329 * gdb.base/del.exp (test_delete_alias): New function.
18330 Now check that both "del" and "d" work as aliases for "delete".
18331
18332 2006-05-18 Fred Fish <fnf@specifix.com>
18333
18334 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18335 required. Check for spurious output after program exits normally.
18336
18337 2006-05-17 Fred Fish <fnf@specifix.com>
18338
18339 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18340 gdb_load, so it works in the simulator.
18341
18342 2006-05-11 Fred Fish <fnf@specifix.com>
18343
18344 * gdb.base/bang.exp: Ignore unexpected output between the
18345 "program exited normally" and the gdb prompt, as many other
18346 tests do.
18347
18348 2006-05-07 Mark Kettenis <kettenis@gnu.org>
18349
18350 * gdb.base/help.exp: Make "delete checkpoint" part option for
18351 "help d" and "help delete" tests.
18352
18353 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18354
18355 * gdb.mi/mi-basics.exp: Add missing serial number to
18356 expected output in some mi_gdb_test statements.
18357 * gdb.mi/mi2-basics.exp: Likewise.
18358
18359 2006-05-05 Joel Brobecker <brobecker@adacore.com>
18360
18361 * gdb.base/del.c: New file.
18362 * gdb.base/del.exp: New testcase.
18363
18364 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
18365
18366 * gdb.base/break.exp: Do not assume a breakpoint on
18367 main will actually be in $srcfile when optimizing.
18368 * gdb.base/savedregs.exp: Do not require that the dummy
18369 frame location match up to a symbol and source file location.
18370 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18371 will get printed without a mi_cmd_data_list_register_values prefix.
18372 (*-data-list-register-*): Correct regular expressions to expect the new
18373 pseudo d? floating point registers.
18374 * gdb.mi/mi2-regs.exp: Likewise.
18375
18376 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
18377
18378 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18379 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18380 is allocated by the compiler.
18381 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18382 anons, e, anone to force their allocation by the compiler.
18383
18384 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
18385
18386 * gdb.base/help.exp: Update expected text for help d and
18387 help delete.
18388
18389 2006-05-02 Mark Kettenis <kettenis@gnu.org>
18390
18391 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18392 NetBSD/ELF targets.
18393
18394 2006-04-30 Mark Kettenis <kettenis@gnu.org>
18395
18396 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18397 single-step breakpoint fails; make this a KFAIL on
18398 sparc*-*-openbsd*.
18399 * gdb.base/siginfo.exp: Likewise.
18400 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18401
18402 2006-04-26 Michael Snyder <msnyder@redhat.com>
18403
18404 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18405 which may have to consume output from other forks.
18406 Add tests to make sure that "delete fork" succeeded.
18407
18408 2006-04-20 Michael Snyder <msnyder@redhat.com>
18409
18410 * 2006-03-22 Jim Blandy <jimb@redhat.com>
18411 Add support for the Renesas M32C and M16C.
18412
18413 * gdb.asm/asm-source.exp: Add m32c target.
18414 * gdb.asm/m32c.inc: Support for m32c target.
18415
18416 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
18417
18418 * gdb.base/commands.exp (recursive_source_test): New test.
18419
18420 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
18421
18422 * gdb.base/float.exp: Add pattern for sparc targets.
18423
18424 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18425
18426 * gdb.base/commands.exp (stray_arg0_test): New test.
18427
18428 2006-03-30 Paul Brook <paul@codesourcery.com>
18429
18430 * gdb.mi/mi-until.exp: kfail broken until command.
18431 * gdb.mi/mi2-until.exp: Ditto.
18432
18433 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
18434
18435 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18436
18437 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
18438
18439 * gdb.base/prelink.exp: Anchor tested-for regular expression
18440 on gdb prompt.
18441
18442 2006-03-07 Paul Brook <paul@codesourcery.com>
18443
18444 * gdb.base/assign.exp: Correct fail message.
18445
18446 2006-03-07 Paul Brook <paul@codesourcery.com>
18447
18448 * lib/compiler.c: Extract armcc version number.
18449 * lib/compiler.cc: Ditto.
18450
18451 2006-03-07 Paul Brook <paul@codesourcery.com>
18452
18453 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18454 additional_flags=-w.
18455 * gdb.arch/altivec-regs.exp: Ditto.
18456 * gdb.arch/e500-abi.exp: Ditto.
18457 * gdb.arch/e500-regs.exp: Ditto.
18458 * gdb.base/all-bin.exp: Ditto.
18459 * gdb.base/annota1.exp: Ditto.
18460 * gdb.base/annota3.exp: Ditto.
18461 * gdb.base/args.exp: Ditto.
18462 * gdb.base/arithmet.exp: Ditto.
18463 * gdb.base/assign.exp: Ditto.
18464 * gdb.base/async.exp: Ditto.
18465 * gdb.base/bang.exp: Ditto.
18466 * gdb.base/break.exp: Ditto.
18467 * gdb.base/call-rt-st.exp: Ditto.
18468 * gdb.base/completion.exp: Ditto.
18469 * gdb.base/cond-expr.exp: Ditto.
18470 * gdb.base/condbreak.exp: Ditto.
18471 * gdb.base/consecutive.exp: Ditto.
18472 * gdb.base/define.exp: Ditto.
18473 * gdb.base/display.exp: Ditto.
18474 * gdb.base/ena-dis-br.exp: Ditto.
18475 * gdb.base/environ.exp: Ditto.
18476 * gdb.base/eval-skip.exp: Ditto.
18477 * gdb.base/info-proc.exp: Ditto.
18478 * gdb.base/jump.exp: Ditto.
18479 * gdb.base/logical.exp: Ditto.
18480 * gdb.base/long_long.exp: Ditto.
18481 * gdb.base/maint.exp: Ditto.
18482 * gdb.base/miscexprs.exp: Ditto.
18483 * gdb.base/pc-fp.exp: Ditto.
18484 * gdb.base/pointers.exp: Ditto.
18485 * gdb.base/relational.exp: Ditto.
18486 * gdb.base/reread.exp: Ditto.
18487 * gdb.base/sect-cmd.exp: Ditto.
18488 * gdb.base/sep.exp: Ditto.
18489 * gdb.base/sepdebug.exp: Ditto.
18490 * gdb.base/until.exp: Ditto.
18491 * gdb.base/whatis-exp.exp: Ditto.
18492 * gdb.cp/annota2.exp: Ditto.
18493 * gdb.cp/annota3.exp: Ditto.
18494 * gdb.trace/actions.exp: Ditto.
18495 * gdb.trace/backtrace.exp: Ditto.
18496 * gdb.trace/circ.exp: Ditto.
18497 * gdb.trace/collection.exp: Ditto.
18498 * gdb.trace/deltrace.exp: Ditto.
18499 * gdb.trace/infotrace.exp: Ditto.
18500 * gdb.trace/limits.exp: Ditto.
18501 * gdb.trace/packetlen.exp: Ditto.
18502 * gdb.trace/passc-dyn.exp: Ditto.
18503 * gdb.trace/passcount.exp: Ditto.
18504 * gdb.trace/report.exp: Ditto.
18505 * gdb.trace/save-trace.exp: Ditto.
18506 * gdb.trace/tfind.exp: Ditto.
18507 * gdb.trace/tracecmd.exp: Ditto.
18508 * gdb.trace/while-dyn.exp: Ditto.
18509 * gdb.trace/while-stepping.exp: Ditto.
18510 * lib/gdb.exp: Ditto.
18511 (gdb_compile): Handle nowarning option.
18512
18513 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
18514
18515 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18516 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
18517 Rename executable to prelinkt. Don't re-prelink if we didn't
18518 get a core file. Test prelink -u exit status to tell whether
18519 prelinking failed. Use gdb_test_multiple.
18520
18521 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
18522
18523 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18524 (do_tests): Call it.
18525
18526 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
18527
18528 * gdb.base/prelink.exp: New test.
18529 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18530
18531 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
18532
18533 * gdb.fortran/derived-type.f90: New file.
18534 * gdb.fortran/derived-type.exp: New testcase.
18535
18536 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
18537
18538 * gdb.base/default.exp: Allow ';' as a directory separator.
18539
18540 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18541
18542 * gdb.base/help.exp (help add-symbol-file): Update.
18543
18544 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18545
18546 * gdb.base/help.exp (help load): Update expected results.
18547
18548 2006-02-19 Fred Fish <fnf@specifix.com>
18549
18550 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
18551 specifix hex value as part of results.
18552 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
18553
18554 2006-02-16 Fred Fish <fnf@specifix.com>
18555
18556 * gdb.base/whatis.c: Define variables using typedefs char_addr,
18557 ushort_addr, and slong_addr, so the typedefs are not optimized
18558 away.
18559 * gdb.base/whatis.exp: Add tests using type name for struct type,
18560 union type, enum type, and typedef.
18561
18562 2006-02-13 Mark Kettenis <kettenis@gnu.org>
18563
18564 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
18565
18566 2006-02-13 Jim Blandy <jimb@redhat.com>
18567
18568 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
18569 case where it takes two "next" commands to skip past the init
18570 call.
18571
18572 2006-02-12 Fred Fish <fnf@specifix.com>
18573
18574 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
18575 to handle cases where it takes two "next" commands to skip
18576 past the init call.
18577
18578 2006-02-07 Joel Brobecker <brobecker@adacore.com>
18579
18580 * gdb.ada/array_return.exp: Mark the last test as expected to fail
18581 on hppa32 targets.
18582
18583 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
18584
18585 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
18586 field.
18587
18588 2006-01-29 Mark Kettenis <kettenis@gnu.org>
18589
18590 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
18591
18592 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
18593
18594 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
18595 files.
18596
18597 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18598
18599 * gdb.cp/maint.exp: Set complaints to a positive value.
18600
18601 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18602
18603 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
18604 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
18605 function name.
18606
18607 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18608
18609 * gdb.base/checkpoint.c: Update copyright notice. Include
18610 <stdlib.h>.
18611
18612 2006-01-04 Jim Blandy <jimb@redhat.com>
18613
18614 * gdb.asm/asm-source.exp: Independently provide default values for
18615 asm-flags and debug-flags. Use 'string equal' to do the
18616 comparison, not the implicit expr's '==' operator. Remove
18617 now-unneeded assignments to asm-flags. In h8300 case, place
18618 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
18619
18620 2006-01-04 Michael Snyder <msnyder@redhat.com>
18621
18622 * gdb.base/checkpoint.c: New file.
18623 * gdb.base/checkpoint.exp: New file.
18624 * gdb.base/multi-fork.c: New file.
18625 * gdb.base/multi-fork.exp: New file.
18626 * gdb.base/pi.txt: New file (data for checkpoint.c test).
18627
18628 2006-01-04 Fred Fish <fnf@specifix.com>
18629
18630 * gdb.base/ptype.c (foo): Add typedef.
18631 (intfoo): Add function.
18632 * gdb.base/ptype1.c: New file.
18633 * gdb.base/ptype.exp: Handle compilation and linking with two
18634 source files. Test that proper type for "foo" is found based
18635 on source context rather than first match found in symtabs.
18636
18637 2005-12-28 Mark Kettenis <kettenis@gnu.org>
18638
18639 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
18640 * gdb.asm/openbsd.inc: Indent commands.
18641
18642 2005-12-26 Mark Kettenis <kettenis@gnu.org>
18643
18644 * gdb.base/freebpcmd.exp: Increase timeout.
18645
18646 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
18647
18648 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
18649
18650 * gdb.base/default.exp: Update check for "show version".
18651
18652 2005-12-09 Randolph Chung <tausq@debian.org>
18653
18654 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
18655 * gdb.asm/pa64.inc: New file.
18656
18657 2005-12-09 Randolph Chung <tausq@debian.org>
18658
18659 * gdb.asm/common.inc: Indent commands.
18660 * gdb.asm/asmsrc1.s: Likewise.
18661 * gdb.asm/asmsrc2.s: Likewise.
18662
18663 2005-12-09 Randolph Chung <tausq@debian.org>
18664
18665 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
18666 (get_addr_of_sym): Remove duplicate print.
18667 (gen_core): xfail hppa*-*-hpux*, update expected output.
18668 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
18669 * gdb.arch/pa64-nullify.s: New file.
18670
18671 2005-12-09 Randolph Chung <tausq@debian.org>
18672
18673 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
18674
18675 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
18676
18677 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
18678 code generation for these functions.
18679 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
18680 error message.
18681
18682 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
18683
18684 * gdb.base/help.exp (help b, help br, help bre, help brea)
18685 (help break): Update the expected message.
18686
18687 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
18688
18689 * gdb.asm/m68hc11.inc: Setup the data section.
18690 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
18691 script for this test.
18692 (m6812-*-*): Likewise.
18693
18694 2005-11-09 Randolph Chung <tausq@debian.org>
18695
18696 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
18697
18698 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
18699
18700 * gdb.base/break.exp: Fix a comment typo.
18701
18702 2005-11-03 Jim Blandy <jimb@redhat.com>
18703
18704 Checked in by Elena Zannoni <ezannoni@redhat.com>
18705
18706 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
18707
18708 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
18709
18710 * gdb.arch/gdb1558.c: Include stdio.h.
18711
18712 2005-10-31 Mark Kettenis <kettenis@gnu.org>
18713
18714 * gdb.asm/asm-source.exp: Use -e instead of --entry.
18715
18716 2005-10-31 Mark Kettenis <kettenis@gnu.org>
18717
18718 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
18719
18720 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
18721
18722 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18723 vscr" tests to better match output.
18724
18725 2005-10-12 Jim Blandy <jimb@redhat.com>
18726
18727 * gdb.base/structs.exp (any): New function.
18728 (test_struct_returns): Don't make any assumptions at all about
18729 what value the function returns when GDB can't set the return
18730 value.
18731
18732 2005-10-09 Joel Brobecker <brobecker@adacore.com>
18733
18734 * gdb.ada/arrayidx/p.adb: New file.
18735 * gdb.ada/arrayidx.exp: New testcase
18736
18737 2005-10-09 Joel Brobecker <brobecker@adacore.com>
18738
18739 * gdb.ada/array_return/pck.ads: New file.
18740 * gdb.ada/array_return/pck.adb: New file.
18741 * gdb.ada/array_return/p.adb: New file.
18742 * gdb.ada/array_return.exp: New testcase.
18743
18744 2005-10-03 Joel Brobecker <brobecker@adacore.com>
18745
18746 * gdb.base/arrayidx.c: New file.
18747 * gdb.base/arrayidx.exp: New testcase.
18748
18749 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
18750
18751 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
18752 frames-invalid and breakpoints-invalid are no longer generated
18753 with level 3 so don't expect them in the output.
18754
18755 2005-09-27 Bob Rossi <bob@brasko.net>
18756
18757 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
18758 from test. Escape the | in mi_gdb_test call.
18759 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
18760 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
18761 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18762 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18763 expected regex's in mi_gdb_test calls.
18764 * lib/mi-support.exp: Remove arbitrary .* from tests.
18765 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18766 Fully anchor GDB/MI expected results in mi_gdb_test.
18767 * lib/gdb.exp (string_to_regexp): Escape the ] character.
18768 * gdb.base/sizeof.exp: Remove escape character. Correct test.
18769
18770 2005-09-26 Paul Brook <paul@codesourcery.com>
18771
18772 * long_long.exp: Exclude eabi targets from arm FPA float format test.
18773
18774 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18775
18776 * bfp-test.c: New file.
18777 * bfp-test.exp: New testcase.
18778
18779 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18780
18781 * gdb.fortran/subarray.exp: New testcase to test the evaluation
18782 of subarray and substring variable.
18783 * gdb.fortran/subarray.f: New source file for the test of subarray
18784 and substring variable evaluation.
18785 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18786 of string constant.
18787
18788 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
18789
18790 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18791 copyright dates.
18792
18793 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
18794
18795 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18796 powerpc altivec' test with an almost identical 'info vector' test.
18797
18798 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18799
18800 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18801 vscr" tests to match output.
18802
18803 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18804
18805 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18806 output.
18807
18808 2005-09-11 Bob Rossi <bob@brasko.net>
18809
18810 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18811 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18812 commands that return an MI output command and an asyncronous MI output
18813 command.
18814 * gdb.mi/mi-console.exp: Ditto.
18815
18816 2005-09-11 Bob Rossi <bob@brasko.net>
18817
18818 * gdb.mi/mi-var-child.c: Include <string.h>.
18819
18820 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
18821
18822 * killed.exp: Correct gdb_expect syntax.
18823
18824 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
18825
18826 * lib/mi-support.exp (mi_gdb_load): Fix typo.
18827
18828 2005-08-02 Bob Rossi <bob@brasko.net>
18829
18830 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18831 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18832 Change tests to inferior-tty-set/show.
18833 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18834 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18835 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18836 inferior. Use mi_gdb_test to get GDB and Inferior output.
18837 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18838 descriptor.
18839 (mi_inferior_tty_name): Add inferior PTY file name.
18840 (mi_gdb_start): Add INFERIOR_PTY parameter.
18841 (mi_gdb_test): Add IPATTERN parameter.
18842
18843 2005-08-02 Bob Rossi <bob@brasko.net>
18844
18845 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18846 parameter to mi_gdb_test.
18847 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18848
18849 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18850
18851 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18852 struct_declarations.
18853 * gdb.mi/mi-var-child.exp: Step over the initialization of
18854 struct_declarations.
18855
18856 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18857
18858 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18859 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18860 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18861 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18862 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18863 file.
18864
18865 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
18866
18867 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18868 (do_children_tests): Assign values to the extra elements.
18869
18870 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18871 them for tests for "-var-update --no-values" and
18872 "-var-update --all-values".
18873 Add test for "-var-list-children --simple-values".
18874
18875 * gdb.mi/basics.c (callee4): Add integer array D[3]...
18876
18877 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18878 "-stack-list-locals --simple-values" Improve doc strings and
18879 comments.
18880
18881 2005-07-18 Mark Kettenis <kettenis@gnu.org>
18882
18883 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18884 *-*-openbsd*.
18885 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18886
18887 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18888 sigaltsatck'.
18889
18890 2005-07-14 Bob Rossi <bob@brasko.net>
18891
18892 * gdb.base/default.exp (tty): Changed output of command.
18893 * gdb.base/help.exp (help tty): Ditto.
18894
18895 2005-07-12 Mark Kettenis <kettenis@gnu.org>
18896
18897 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18898
18899 2005-07-10 Mark Kettenis <kettenis@gnu.org>
18900
18901 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18902 -stack-select-frame without arguments.
18903 (test_stack_frame_listing): Add test for newly implemented command
18904 -stack-info-frame.
18905
18906 2005-07-06 Bob Rossi <bob@brasko.net>
18907
18908 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18909 command.
18910 (Copyright): Update copyright.
18911
18912 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
18913
18914 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18915 tests to evaluate exponentiation expression.
18916
18917 2005-06-29 Andreas Schwab <schwab@suse.de>
18918
18919 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18920 main to avoid warnings.
18921
18922 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
18923
18924 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
18925
18926 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
18927 -stack-select-frame without arguments.
18928 (test_stack_frame_listing): Add test for newly implemented command
18929 -stack-info-frame.
18930
18931 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
18932
18933 * gdb.fortran/array-element.f: New file.
18934 * gdb.fortran/array-element.exp: New testcase.
18935
18936 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18937
18938 * gdb.base/bigcore.exp: Correct checks for systems which can
18939 not dump a large core file.
18940
18941 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18942
18943 * gdb.base/relocate.c: Add a copyright notice.
18944 (dummy): Remove.
18945 * gdb.base/relocate.exp: Test printing the values of variables
18946 from a relocatable file.
18947
18948 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18949
18950 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
18951 excess MI output after an error.
18952
18953 2005-05-29 Joel Brobecker <brobecker@adacore.com>
18954
18955 * gdb.arch/alpha-step.c: New file.
18956 * gdb.arch/alpha-step.exp: New testcase.
18957
18958 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
18959 Dennis Brueni <dennis@slickedit.com>
18960
18961 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
18962 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
18963 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
18964 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
18965 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
18966 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
18967 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
18968
18969 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
18970 Wu Zhou <woodzltc@cn.ibm.com>
18971
18972 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
18973 IBM's xlc compiler.
18974 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
18975 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
18976
18977 2005-05-13 Jim Blandy <jimb@redhat.com>
18978
18979 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
18980 calling gdb_suppress_entire_file.
18981 * gdb.base/charset.exp: Same.
18982 * gdb.base/call-rt-st.exp: Same.
18983
18984 2005-05-05 Bob Rossi <bob_rossi@cox.net>
18985
18986 * lib/gdb.exp (fullname_syntax): Added global regex.
18987 (fullname_syntax_POSIX): Ditto.
18988 (fullname_syntax_UNC): Ditto.
18989 (fullname_syntax_DOS_CASE): Ditto.
18990 (fullname_syntax_DOS): Ditto.
18991 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
18992 fullname_syntax variable to scope and use it.
18993 (test_file_list_exec_source_files): Ditto.
18994 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
18995
18996 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
18997
18998 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
18999
19000 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19001
19002 * lib/gdb.exp (skip_altivec_tests): New function, based on
19003 check_vmx_hw_available from the GCC testsuite.
19004 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19005 * lib/gdb.arch/altivec-regs.exp: Likewise.
19006
19007 2005-05-02 Jim Blandy <jimb@redhat.com>
19008
19009 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19010 calling gdb_suppress_entire_file.
19011
19012 2005-04-30 Randolph Chung <tausq@debian.org>
19013
19014 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19015 Slightly relax "sem_post" name checking.
19016
19017 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19018
19019 * gdb.base/unload.exp: Use new shared library infrastructure.
19020
19021 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19022
19023 * gdb.base/so-impl-ld.exp: Use new shared library
19024 infrastructure.
19025
19026 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
19027
19028 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19029 * gdb.asm/h8300.inc: New file.
19030
19031 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19032
19033 * gdb.base/shlib-call.exp: Change to use new shared library
19034 infrastructure.
19035
19036 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19037
19038 * gdb.base/pending.exp: Change to use new shared library
19039 infrastructure.
19040
19041 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19042
19043 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19044 use test_compiler_info instead of gcc_compiled, and update copyright.
19045
19046 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19047
19048 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19049 shared objects being adjusted and update copyright years.
19050
19051 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19052
19053 * ChangeLog: Correct some 2003-01-13 dates.
19054 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19055 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19056 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19057 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19058 gdb.trace/tfind.exp: Update copyright years.
19059
19060 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19061 Daniel Jacobowitz <dan@codesourcery.com>
19062
19063 * lib/gdb.exp (gdb_compile): Handle shlib=.
19064 (gdb_compile_shlib): New function.
19065
19066 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19067
19068 * lib/gdb.exp (test_compiler_info): Give argument a default value.
19069
19070 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19071
19072 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19073 gdb.server.
19074 * configure.ac: Likewise.
19075 * configure: Regenerated.
19076 * gdb.gdbserver/Makefile.in: Moved to...
19077 * gdb.server/Makefile.in: ... here.
19078 * gdb.gdbserver/server.c: Moved to...
19079 * gdb.server/server.c: ... here.
19080 * gdb.gdbserver/server-run.exp: Moved to...
19081 * gdb.server/server-run.exp: ... here.
19082
19083 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19084
19085 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19086 * configure.ac: Create gdb.gdbserver/Makefile.
19087 * configure: Regenerated.
19088 * lib/gdbserver-support.exp: New file, derived from
19089 config/gdbserver.exp.
19090 * config/gdbserver.exp: Use gdbserver-support.exp.
19091 * gdb.gdbserver/Makefile.in: New file.
19092 * gdb.gdbserver/server.c: New file.
19093 * gdb.gdbserver/server-run.exp: New file.
19094
19095 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19096
19097 * lib/gdb.exp (test_compiler_info): Return compiler_info
19098 if no arguments are given.
19099
19100 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19101
19102 * gdb.arch/altivec-abi.exp: Check for compiler and set
19103 use altivec' flag accordingly.
19104 * gdb.arch/altivec-regs.exp: Likewise.
19105
19106 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19107
19108 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19109
19110 2005-03-27 Andreas Schwab <schwab@suse.de>
19111
19112 * gdb.base/bigcore.c (main): Add missing mode argument in open
19113 call.
19114
19115 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19116
19117 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19118 downloads.
19119 * config/gdbserver.exp (gdb_load): Likewise.
19120
19121 2005-03-14 Paul Brook <paul@codesourcery.com>
19122
19123 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19124 targets.
19125
19126 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19127
19128 * gdb.dwarf2/dup-psym.S: New file.
19129 * gdb.dwarf2/dup-psym.exp: New testcase.
19130
19131 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19132
19133 * gdb.ada/exec_changed/first.adb: New file.
19134 * gdb.ada/exec_changed/second.adb: New file.
19135 * gdb.ada/exec_changed.exp: New testcase.
19136
19137 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19138
19139 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19140 (A2): New class.
19141 (main): Test operator+.
19142 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19143 breakpoint test.
19144
19145 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19146 * gdb.base/signull.exp: Disable if gdb,nosignals.
19147 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19148 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19149 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19150 * gdb.mi/mi2-console.exp: Likewise.
19151 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19152 continue output at start.
19153 (gdb_collect_locals_test): Robustify regexp.
19154 * gdb.trace/passc-dyn.exp: Fix comment typo.
19155 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19156
19157 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
19158
19159 * gdb.asm/asm-source.exp: Add iq2000 case.
19160 * gdb.asm/iq2000.inc: New file.
19161
19162 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
19163
19164 * gdb.base/command.exp: Change hardcoded value to regular expression.
19165 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19166
19167 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19168
19169 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19170 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19171 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19172 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19173 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19174
19175 2005-03-05 Mark Kettenis <kettenis@gnu.org>
19176
19177 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19178 changes.
19179
19180 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19181
19182 * lib/compiler.c: Add test for IBM's xlc compiler.
19183 * lib/compiler.cc: Likewise.
19184
19185 2004-02-24 Joel Brobecker <brobecker@adacore.com>
19186
19187 * gdb.ada/fixed_points.exp: Create compilation object directory
19188 before running the test.
19189 * gdb.ada/null_record.exp: Likewise.
19190 * gdb.ada/packed_array.exp: Likewise.
19191 * gdb.ada/start.exp: Likewise.
19192
19193 2005-02-15 Joel Brobecker <brobecker@adacore.com>
19194
19195 * gdb.ada/packed_array/pa.adb: New file.
19196 * gdb.ada/packed_array.exp: New testcase.
19197
19198 2005-02-10 Mark Kettenis <kettenis@gnu.org>
19199
19200 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19201 files.
19202
19203 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19204 on *-*-openbsd*. Correctly match whitespace in regukar
19205 expressions.
19206
19207 2005-02-10 Daniel Jacobowitz <dan@debian.org>
19208
19209 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19210 PR exp/1821
19211 * gdb.base/gdb1821.c: New test file.
19212 * gdb.base/gdb1821.exp: New test file.
19213
19214 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19215
19216 * gdb.base/start.c: New file.
19217 * gdb.base/start.exp: New testcase.
19218
19219 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19220
19221 * gdb.ada/start/dummy.adb: New file.
19222 * gdb.ada/start.exp: New testcase.
19223
19224 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
19225
19226 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19227 for printing symbols and statistics.
19228 Add test for using relative pathnames in "maint print msymbols" test.
19229 Mark "maint info sections DATA" XFAIL on Cygwin.
19230 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19231 tests.
19232
19233 2005-02-09 Andreas Schwab <schwab@suse.de>
19234
19235 Committed by Andrew Cagney <cagney@gnu.org>
19236 * gdb.base/remotetimeout.exp: New file.
19237
19238 2005-02-07 Mark Kettenis <kettenis@gnu.org>
19239
19240 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19241
19242 2005-02-03 Joel Brobecker <brobecker@adacore.com>
19243
19244 * gdb.ada/gnat_ada.gpr: New file.
19245 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19246 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19247 * configure.ac: No longer generate gnat_ada.gpr.
19248 * configure: Regenerate.
19249 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19250 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19251 * gdb.ada/null_record/bar.ads: Likewise.
19252 * gdb.ada/null_record/bar.adb: Likewise.
19253 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19254 * gdb.ada/null_record.exp (testdir): New variable.
19255 (testfile): executable is now in testdir subdirectory.
19256 (srcfile): Use full path to the main compilation unit.
19257 * gdb.ada/fixed_points.exp: Same changes as above.
19258
19259 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
19260
19261 * gdb.base/interp.exp: New test.
19262
19263 2005-01-24 Andrew Cagney <cagney@gnu.org>
19264
19265 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19266
19267 2005-01-19 Andrew Cagney <cagney@gnu.org>
19268
19269 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19270 configure.ac not configure.in.
19271
19272 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19273 of powerpc*-*-*.
19274 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
19275 * gdb.base/list.exp (test_list_function)
19276 (test_list_filename_and_function): Ditto.
19277 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19278
19279 2005-01-16 Andrew Cagney <cagney@gnu.org>
19280
19281 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19282
19283 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19284
19285 2005-01-14 Andrew Cagney <cagney@gnu.org>
19286
19287 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19288 * gdb.mi/mi2-var-cmd.exp: Ditto.
19289
19290 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
19291
19292 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19293
19294 2005-01-07 Andrew Cagney <cagney@gnu.org>
19295
19296 * configure.ac: Rename configure.in, require autoconf 2.59.
19297 * configure: Re-generate.
19298 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19299 * gdb.stabs/configure: Re-generate.
19300 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19301 * gdb.hp/configure: Re-generate.
19302 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19303 autoconf 2.59.
19304 * gdb.hp/gdb.objdbg/configure: Re-generate.
19305 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19306 autoconf 2.59.
19307 * gdb.hp/gdb.defects/configure: Re-generate.
19308 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19309 autoconf 2.59.
19310 * gdb.hp/gdb.compat/configure: Re-generate.
19311 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19312 autoconf 2.59.
19313 * gdb.hp/gdb.base-hp/configure: Re-generate.
19314 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19315 autoconf 2.59.
19316 * gdb.hp/gdb.aCC/configure: Re-generate.
19317
19318 2004-12-15 Jim Blandy <jimb@redhat.com>
19319
19320 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19321 under NPTL when there is debugging info available for libpthread.
19322
19323 2004-12-13 Jerome Guitton <guitton@gnat.com>
19324
19325 * gdb.ada/fixed_points.c: New file.
19326 * gdb.ada/fixed_points.exp: New file.
19327
19328 2004-12-03 Randolph Chung <tausq@debian.org>
19329
19330 * gdb.arch/pa-nullify.exp: New file.
19331 * gdb.arch/pa-nullify.s: New file.
19332
19333 2004-11-30 Randolph Chung <tausq@debian.org>
19334
19335 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19336 instead of "tbug". Fix regexp to work properly with gdb_test.
19337
19338 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19339
19340 * gdb.base/bitfields2.exp: New test.
19341 * gdb.base/bitfields2.c: New file.
19342
19343 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
19344
19345 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19346
19347 2004-11-16 Randolph Chung <tausq@debian.org>
19348
19349 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19350
19351 2004-11-14 Daniel Jacobowitz <dan@debian.org>
19352
19353 * gdb.threads/threadapply.exp: Correct "macro details" test.
19354
19355 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19356
19357 * gdb.threads/threadapply.exp: New test.
19358 * gdb.threads/threadapply.c: New file.
19359
19360 2004-11-07 Mark Kettenis <kettenis@gnu.org>
19361
19362 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19363 frames.
19364
19365 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
19366
19367 * gdb.base/cursal.exp: New file.
19368 * gdb.base/cursal.c: New file.
19369
19370 2004-11-03 Andrew Cagney <cagney@gnu.org>
19371
19372 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19373
19374 2004-10-30 Mark Kettenis <kettenis@gnu.org>
19375
19376 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19377 NetBSD/ELF targets.
19378
19379 2004-10-29 Joel Brobecker <brobecker@gnat.com>
19380
19381 * gdb.threads/bp_in_thread.c: New file, copied from
19382 pthread_cond_wait.c.
19383 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19384 file, rather than reusing the .c file from another testcase.
19385
19386 2004-10-20 Joel Brobecker <brobecker@gnat.com>
19387
19388 * gdb.ada/null_record.exp: Check where we stopped after
19389 sending the start command, instead of where the associated
19390 temporary breakpoint was inserted.
19391
19392 2004-10-14 Andrew Cagney <cagney@gnu.org>
19393
19394 * gdb.mi/gdb701.c (main): Return 0.
19395
19396 2004-10-13 Daniel Jacobowitz <dan@debian.org>
19397
19398 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
19399
19400 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
19401
19402 * gdb.threads/schedlock.c: Add comment markers to use to find
19403 line numbers.
19404 * gdb.threads/schedlock.exp: Adjust regex to handle the new
19405 comments.
19406 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19407 breakpoint lines.
19408
19409 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19410
19411 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19412
19413 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19414
19415 * configure.in: Add gdb.dwarf2.
19416 * configure: Regenerated.
19417 * Makefile.in: Add gdb.dwarf2.
19418 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19419 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19420 gdb.dwarf2/file1.txt: New files.
19421
19422 2004-10-11 Orjan Friberg <orjanf@axis.com>
19423
19424 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
19425 of "run", since the latter doesn't work with remote targets. Adjust
19426 the breakpoint numbering accordingly.
19427 * gdb.threads/pthread_cond_wait.exp: Ditto.
19428
19429 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
19430
19431 * gdb.base/overlays.exp: Update copyright years.
19432
19433 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
19434
19435 * gdb.base/overlays.exp: Disable if target is Linux.
19436
19437 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
19438
19439 * config/gdbserver.exp (gdb_load): Use right filename on remote.
19440
19441 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
19442
19443 * gdb.asm/asm-source.exp: Add m32r-linux target.
19444 * gdb.asm/m32r-linux.inc: New file.
19445
19446 2004-09-24 Andrew Cagney <cagney@redhat.com>
19447 David Anderson <anderson@redhat.com>
19448
19449 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19450 command fails, assume things will work.
19451 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19452 (_GNU_SOURCE): Define.
19453 (print_unsigned, print_hex): Change parameter to "long long".
19454 (print_byte_count): New function, use to print byte counts.
19455 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19456 O_LARGEFILE.
19457 (main): Compute an upper bound on a corefile in max_core_size.
19458 Limit memory chunk size to max_core_size. Limit total memory
19459 allocated to max_core_size.
19460
19461 2004-09-23 Andrew Cagney <cagney@gnu.org>
19462
19463 * gdb.base/bigcore.exp: Replace the code that creates a corefile
19464 from a separate process with code that creates a corefile by
19465 making the inferior dump core.
19466
19467 2004-09-23 Mark Kettenis <kettenis@gnu.org>
19468
19469 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19470 block.
19471
19472 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
19473
19474 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19475 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
19476 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19477 Likewise.
19478
19479 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
19480
19481 * gdb.java/jprint.exp: New test case for java inferior call.
19482 * gdb.java/jprint.java: Ditto.
19483
19484 2004-09-15 Joel Brobecker <brobecker@gnat.com>
19485
19486 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19487
19488 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19489
19490 * gdb.threads/killed.c: Include <stdlib.h>.
19491 * gdb.threads/pthreads.c: Likewise.
19492
19493 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19494
19495 * gdb.threads/killed.c: Add copyright notice.
19496
19497 2004-09-10 Jason Molenda (jmolenda@apple.com)
19498
19499 * gdb.base/define.exp: Two new tests to verify zero space chars
19500 after 'if' and 'while' commands in a user-defined command is correctly
19501 parsed.
19502
19503 2004-09-08 Andrew Cagney <cagney@gnu.org>
19504
19505 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
19506 delivery test with duplicate at end of file.
19507
19508 2004-09-06 Mark Kettenis <kettenis@jive.nl>
19509
19510 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19511
19512 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19513
19514 * config/hppro.exp: Removed.
19515
19516 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19517
19518 * config/sparclet.exp: Removed.
19519
19520 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19521
19522 * config/udi.exp: Removed.
19523
19524 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
19525
19526 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19527 of "exp_continue".
19528 (advancei): Likewise.
19529
19530 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19531
19532 * gdb.base/unload.exp: Fix so messages aren't duplicated.
19533
19534 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
19535
19536 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
19537 to check for nodebug in executable.
19538 * gdb.gdb/observer.exp (setup_test): Likewise.
19539 * gdb.gdb/selftest.exp (test_with_self): Likewise.
19540 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
19541
19542 2004-09-01 Andrew Cagney <cagney@gnu.org>
19543
19544 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19545 files.
19546
19547 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19548
19549 * gdb.base/unload.exp: Fix expected warning message to match
19550 latest format.
19551
19552 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
19553
19554 * gdb.base/call-rt-st.exp: Fix typos.
19555
19556 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
19557
19558 * gdb.threads/thread_check.exp: New testcase.
19559 * gdb.threads/thread_check.c: New testcase.
19560
19561 2004-08-31 Andrew Cagney <cagney@gnu.org>
19562
19563 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
19564 (skip_to_handler_entry): New procedures. Test stepping into a
19565 handler when the breakpoint is at the handler's entry point.
19566
19567 2004-08-30 Andrew Cagney <cagney@gnu.org>
19568
19569 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
19570 gdb/1757.
19571
19572 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19573
19574 With code from Manoj Iyer <manjo@austin.ibm.com>:
19575 * lib/gdb.exp (gdb_file_cmd): Return more information in the
19576 return value. Add an arm for "no debugging symbols found".
19577 Change a stray "error" to "perror".
19578 (gdb_run_cmd): Adapt to new return value.
19579 * gdb.base/remote.exp: Adapt to new return value.
19580 * gdb.gdb/complaints.exp: Likewise.
19581 * gdb.gdb/observer.exp: Likewise.
19582 * gdb.gdb/selftest.exp: Likewise.
19583 * gdb.gdb/xfullpath.exp: Likewise.
19584
19585 2004-08-27 Joel Brobecker <brobecker@gnat.com>
19586
19587 * gdb.threads/bp_in_thread.exp: New testcase.
19588
19589 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19590
19591 Fix PR testsuite/1735.
19592 * gdb.threads/schedlock.c (thread_function): Add a cast
19593 to suppress a gcc warning.
19594 * gdb.threads/thread-specific.c (thread_function): Likewise.
19595
19596 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19597
19598 * gdb.base/unload.c: Include <stdlib.h>.
19599
19600 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19601
19602 From Paul Gilliam <pgilliam@us.ibm.com>:
19603 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
19604 synchronized after the "return".
19605
19606 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19607
19608 * gdb.mi/basics.c: Include <stdio.h>.
19609 * gdb.mi/pthreads.c: Include <stdlib.h>.
19610 * gdb.mi/var-cmd.c: Include <stdlib.h>.
19611
19612 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19613
19614 * gdb.threads/schedlock.c: Add copyright notice.
19615
19616 2004-08-25 Andrew Cagney <cagney@gnu.org>
19617
19618 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
19619 (skip_over_handler, breakpoint_over_hander): New test procedures.
19620 (advance, advancei): Add a proper prefix, do not use
19621 rerun_to_main.
19622 * gdb.base/sigstep.c (main): Change to use an infinite loop.
19623
19624 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
19625
19626 * gdb.mi/basics.c: Add copyright notice.
19627 * gdb.mi/var-cmd.c: Add copyright notice.
19628
19629 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19630
19631 * lib/gdb.exp: Remove signed_keyword_not_used.
19632 * lib/compiler.c: Likewise.
19633 * lib/compiler.cc: Likewise.
19634
19635 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19636
19637 * gdb.base/whatis.c: Remove conditional disabling of "signed".
19638 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
19639
19640 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19641
19642 * gdb.base/whatis.c: Add copyright notice.
19643
19644 2004-08-20 Mark Kettenis <kettenis@gnu.org>
19645
19646 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
19647 it to skip the breakpoints encoded in the inline assembly.
19648
19649 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19650
19651 * Makefile.in: Add gdb.fortran.
19652
19653 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19654
19655 * gdb.base/call-sc.exp (test_scalar_returns):
19656 Fix cut-and-paste glitch in "Make fun return now".
19657
19658 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19659
19660 * configure.in: Add gdb.fortran.
19661 * configure: Regenerate.
19662 * gdb.fortran/Makefile.in: New file.
19663 * lib/gdb.exp (skip_fortran_tests): New procedure.
19664
19665 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19666
19667 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
19668 reference to bug-gnu@prep.ai.mit.edu.
19669 * gdb.mi/mi-var-child.exp: Likewise.
19670 * gdb.mi/mi-var-cmd.exp: Likewise.
19671 * gdb.mi/mi-var-display.exp: Likewise.
19672 * gdb.mi/mi2-var-block.exp: Likewise.
19673 * gdb.mi/mi2-var-child.exp: Likewise.
19674 * gdb.mi/mi2-var-cmd.exp: Likewise.
19675 * gdb.mi/mi2-var-display.exp: Likewise.
19676
19677 2004-08-15 Mark Kettenis <kettenis@gnu.org>
19678
19679 * gdb.base/unload.c (main): Make local variable msg const.
19680
19681 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19682
19683 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
19684 to bug-gnu@prep.ai.mit.edu.
19685 * gdb.mi/mi-disassemble.exp: Likewise.
19686 * gdb.mi/mi-eval.exp: Likewise.
19687 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
19688 default line number.
19689 * gdb.mi/mi-return.exp: Likewise.
19690 * gdb.mi/mi-simplerun.exp: Likewise.
19691 * gdb.mi/mi-stack.exp: Likewise.
19692 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
19693 number with explicit range test.
19694 * gdb.mi/mi-watch.exp: Likewise.
19695 * gdb.mi/mi2-break.exp: Likewise.
19696 * gdb.mi/mi2-cli.exp: Likewise.
19697 * gdb.mi/mi2-disassemble.exp: Likewise.
19698 * gdb.mi/mi2-eval.exp: Likewise.
19699 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
19700 default line number.
19701 * gdb.mi/mi2-return.exp: Likewise.
19702 * gdb.mi/mi2-simplerun.exp: Likewise.
19703 * gdb.mi/mi2-stack.exp: Likewise.
19704 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
19705 number with explicit range test.
19706 * gdb.mi/mi2-watch.exp: Likewise.
19707
19708 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19709
19710 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
19711 * gdb.cp/m-static.exp: Likewise.
19712 * gdb.cp/rtti.exp: Likewise.
19713
19714 2004-08-14 Mark Kettenis <kettenis@gnu.org>
19715
19716 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
19717
19718 2004-08-14 Eli Zaretskii <eliz@gnu.org>
19719
19720 * ChangeLog: Prefix Local Variables with semi-colons and indent
19721 the reference to older ChangeLog files, to fix fontification in
19722 Emacs.
19723
19724 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19725
19726 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
19727 * gdb.mi/mi2-break.exp: Likewise.
19728
19729 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19730
19731 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
19732
19733 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19734
19735 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
19736
19737 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19738
19739 * gdb.cp/classes.exp: Remove unused declarations. Just let
19740 test names default instead of providing special names. Remove
19741 extraneous demangler test.
19742
19743 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
19744
19745 * gdb.base/unload.exp: New test for breakpoints in dynamically
19746 loaded libraries.
19747 * gdb.base/unload.c: Ditto.
19748 * gdb.base/unloadshr.c: Ditto.
19749
19750 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
19751
19752 * gdb.cp/classes.exp (test_ptype_class_objects): Call
19753 cp_test_ptype_class.
19754 (test_enums): Likewise.
19755
19756 2004-08-10 Andrew Cagney <cagney@gnu.org>
19757
19758 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19759 files.
19760
19761 2004-08-10 Andrew Cagney <cagney@gnu.org>
19762
19763 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19764 init_malloc call.
19765
19766 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
19767
19768 * ChangeLog: Add copyright notice. The notice is copied
19769 from emacs 21.3 top level ChangeLog.
19770
19771 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19772
19773 * lib/cp-support.exp: New file.
19774 * lib/cp-support.exp (cp_test_type_class): New function.
19775 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19776 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19777 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19778 cp_test_ptype_class.
19779
19780 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19781
19782 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19783 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19784 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19785 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19786 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19787 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19788 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19789 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19790 gdb.mi/mi2-watch.exp: Update copyright years.
19791
19792 2004-08-09 Mark Kettenis <kettenis@gnu.org>
19793
19794 * gdb.base/sigaltstack.exp: Provide proper anchoring.
19795
19796 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19797
19798 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19799 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19800 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19801 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19802 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19803 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19804 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19805 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19806 gdb.mi/mi-watch.exp: Update copyright years.
19807
19808 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19809
19810 PR gdb/1738
19811 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19812 from a breakpoint with a pending signal.
19813
19814 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19815
19816 PR gdb/1736
19817 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19818 * gdb.base/sigaltstack.exp (finish_test): Consume output until
19819 the prompt.
19820 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19821
19822 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19823
19824 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19825
19826 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19827
19828 PR gdb/1736
19829 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
19830 for i?86-*-linux*.
19831
19832 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19833
19834 * gdb.arch/i386-prologue.exp: Compile without debug information.
19835
19836 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
19837
19838 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19839 rather than asking gdb to search.
19840
19841 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19842
19843 * gdb.base/gcore.c: Include <string.h>.
19844
19845 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19846
19847 * gdb.base/gcore.c: Add copyright notice.
19848
19849 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19850
19851 * gdb.base/freebpcmd.c: Include <stdio.h>.
19852 * gdb.base/long_long.c: Include <string.h>.
19853 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19854 * gdb.base/siginfo.c: Include <string.h>.
19855 * gdb.base/sigstep.c: Include <string.h>.
19856
19857 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19858
19859 * gdb.base/complex.c: Include <stdlib.h>.
19860
19861 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19862
19863 * gdb.base/complex.c: Add copyright notice.
19864
19865 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19866
19867 * gdb.base/charset.c: Include <stdlib.h>.
19868
19869 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19870
19871 * gdb.base/auxv.c: Include <stdlib.h>.
19872
19873 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19874
19875 * gdb.base/auxv.c: Add copyright notice.
19876
19877 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19878
19879 * gdb.base/coremaker.c: Add copyright notice.
19880 * gdb.base/coremaker2.c: Add copyright notice.
19881
19882 2004-08-04 Andrew Cagney <cagney@gnu.org>
19883
19884 * gdb.base/store.exp: Update copyright.
19885 (check_set, up_set, check_struct, up_struct): Add a prefix to test
19886 names, do not import gdb_prompt.
19887
19888 2004-08-01 Andrew Cagney <cagney@gnu.org>
19889
19890 Fix PR testsuite/1729.
19891 * gdb.base/dump.exp: Add test name to callers of capture_value, do
19892 not use capture_value with value 4.
19893 (capture_value): Add optional test name parameter.
19894 (test_reload_saved_value, test_restore_saved_value): Use $msg as
19895 the prefix, pass to capture_value.
19896
19897 2004-08-01 Mark Kettenis <kettenis@gnu.org>
19898
19899 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19900 * gdb.arch/i386-prologue.c (standard): New prototype and function.
19901 (main): Call new function.
19902
19903 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19904
19905 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19906
19907 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19908
19909 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19910
19911 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19912
19913 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
19914 Accept more values of vtbl pointer. Remove some messages
19915 about "obsolete gcc or gdb".
19916
19917 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19918
19919 * gdb.cp/classes.exp: Accept more varieties of ptype output.
19920
19921 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19922
19923 * gdb.base/asm-source.exp: Properly convert target board
19924 debug flags from gcc format to binutils format.
19925
19926 2004-07-28 Mark Kettenis <kettenis@gnu.org>
19927
19928 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19929 gdb1718". PR backtrace/1718 partially fixed.
19930
19931 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
19932
19933 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
19934
19935 2004-07-26 Nick Clifton <nickc@redhat.com>
19936
19937 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
19938 good default value for a specific architecture is available then
19939 set it to that value. Otherwise default to the -gstabs switch.
19940 Remove the -g... switches from the asm-flags variable. Allow the
19941 target board info to override the value if it wants to. Pass the
19942 switch on the assembler command line.
19943
19944 2004-07-23 Mark Kettenis <kettenis@gnu.org>
19945
19946 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
19947 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
19948 (main): Call new function.
19949
19950 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
19951
19952 Test for PR exp/1715.
19953 * gdb.base/radix.exp: Refactor common procedures. Make all
19954 test names unique. Change XFAIL to KFAIL.
19955
19956 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
19957
19958 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
19959 * gdb.ada/gnat_ada.gin: ... to here.
19960 * configure.in: Use gnat_ada.gin.
19961 * configure: Regenerate.
19962
19963 2004-07-20 Andrew Cagney <cagney@gnu.org>
19964
19965 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
19966 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
19967 XFAILs. Clean up test messages and comments. Check backtraces.
19968 Delete re-sync code.
19969
19970 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19971
19972 Fix PR cli/740.
19973 * gdb.base/annota1.exp: Honor gdb,nosignals.
19974 * gdb.base/annota3.exp: Likewise.
19975
19976 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19977
19978 * lib/java.exp: Update copyright notice.
19979
19980 2004-07-19 Andrew Cagney <cagney@gnu.org>
19981
19982 * gdb.base/selftest.exp: Copy file from here ...
19983 * gdb.gdb/selftest.exp: ... to here.
19984
19985 2004-07-16 Andrew Cagney <cagney@redhat.com>
19986
19987 * lib/insight-support.exp: Delete file.
19988 * lib/java.exp (java_init): Fix copyright.
19989
19990 2004-07-16 Andrew Cagney <cagney@gnu.org>
19991
19992 * gdb.base/restore.c: Append "prologue" to comments marking the a
19993 function's prologue.
19994 * gdb.base/restore.exp: Update copyright, re-indent.
19995 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
19996 callerN" prefix where needed. Update patterns that match a
19997 function's prologue.
19998
19999 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20000
20001 * gdb.base/restore.c: Add copyright notice.
20002
20003 2004-07-16 Andrew Cagney <cagney@gnu.org>
20004
20005 * gdb.base/logical.exp: Update copyright.
20006 (evaluate): New procedure. Use to re-implement tests using
20007 several tables.
20008
20009 2004-07-14 Martin Hunt <hunt@redhat.com>
20010
20011 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20012 which fixes some problems where init.tcl was not found.
20013
20014 2004-07-13 Andrew Cagney <cagney@gnu.org>
20015
20016 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20017 (check_sizeof, check_valueof): Do not include the output in the
20018 test name. Use gdb_test.
20019 (get_valueof): Use gdb_test_multiple.
20020
20021 * gdb.base/step-test.exp: Update copyright. Use
20022 gdb_test_multiple. Ensure that test names do not include
20023 architecture dependent output.
20024
20025 * gdb.gdb/observer.exp: Update copyright.
20026 (setup_test): Use gdb_test_multiple.
20027 (attach_first_observer, attach_second_observer)
20028 (attach_third_observer, detach_first_observer)
20029 (detach_second_observer, detach_third_observer)
20030 (reset_counters, check_counters): Make $message a prefix.
20031 (test_normal_stop_notifications): Add "args" parameter - a list of
20032 init functions to be called. Make $message a prefix,
20033 (test_observer_normal_stop): Change the message prefixes so that
20034 they are unique, pass the attach / detach procedures to
20035 test_normal_stop_notifications.
20036
20037 * gdb.base/signull.exp (test_segv): Prefix all tests with
20038 "${name}". Clean up test messages.
20039
20040 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20041
20042 * gdb.base/ena-dis-br.exp: Update copyright.
20043 (break_at): New function. Replace send_gdb with gdb_test,
20044 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20045 ignore count, not stopped at bpt", with KFAIL.
20046
20047 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
20048
20049 * gdb.base/attach.exp: Remove cleanupfile handling.
20050
20051 2004-07-12 Andrew Cagney <cagney@gnu.org>
20052
20053 * gdb.base/annota1.exp: Cleanup corefile test name.
20054 * gdb.base/annota3.exp: Ditto.
20055
20056 2004-07-12 Andrew Cagney <cagney@gnu.org>
20057
20058 * gdb.base/signals.exp: Clean up copyright, re-indent.
20059
20060 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20061 gdb_test and gdb_test_multiple.
20062
20063 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20064
20065 * gdb.java/jmain.exp: Fix expected line number for main to
20066 break at. Set XFAIL for break at main test since gcj does not
20067 provide line number info for first statement in main.
20068
20069 2004-07-08 Andrew Cagney <cagney@gnu.org>
20070
20071 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20072
20073 * gdb.base/sigbpt.exp: Make the common part of each test name a
20074 prefix instead of suffix.
20075
20076 2004-07-07 Bob Rossi <bob_rossi@cox.net>
20077
20078 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20079 test from test_tbreak_creation_and_listing to
20080 test_file_list_exec_source_file
20081 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20082 Changed name of test from test_tbreak_creation_and_listing to
20083 test_file_list_exec_source_file
20084
20085 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20086
20087 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20088 the jmisc() constructor instead of <init>.
20089 * gdb.java/jmisc1.exp: Ditto.
20090
20091 2004-07-07 Andrew Cagney <cagney@gnu.org>
20092
20093 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20094 corrupting the PC.
20095
20096 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20097
20098 * gdb.cp/templates.exp: Accept whitespace change in demangler
20099 output.
20100
20101 2004-07-06 Andrew Cagney <cagney@gnu.org>
20102
20103 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20104
20105 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20106
20107 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20108 * lib/compiler.cc: Likewise.
20109
20110 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20111
20112 * lib/compiler.cc: Work around string preprocessing problem
20113 with old hp c++ compiler.
20114 * lib/compiler.c: Likewise.
20115
20116 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20117
20118 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20119 directives to conditionalize symbol prefixing.
20120 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20121 additional_flags handling. Add underscore prefix for Cygwin.
20122 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20123 conditionalize symbol prefixing.
20124 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20125 additional_flags handling. Add underscore prefix for Cygwin.
20126
20127 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20128
20129 * gdb.base/bigcore.exp: Skip test on Cygwin.
20130
20131 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20132
20133 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20134 formats for "info register". Use gdb_test_multiple. Fix
20135 the "invalid register" test.
20136
20137 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
20138
20139 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20140 PID for Cygwin. Add Cygwin specific strings to check for in some
20141 tests.
20142 (do_attach_tests): Add a test for user interaction when attaching
20143 to a process with no matching symbol table already loaded.
20144
20145 2004-06-26 Andrew Cagney <cagney@gnu.org>
20146
20147 Test PR java/1567 and PR java/1565.
20148 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20149 * gdb.java/jmisc2.exp: Delete file.
20150
20151 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20152
20153 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20154
20155 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
20156
20157 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20158 attach process.
20159
20160 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20161
20162 * gdb.cp/pr-1553.exp: Remove.
20163
20164 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20165
20166 * gdb.cp/pr-1553.cc: Remove.
20167 * gdb.cp/pr-1553.exp: Disable this test.
20168
20169 2004-06-20 Jim Blandy <jimb@redhat.com>
20170
20171 Fix PR testsuite/1680.
20172 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20173 regular expressions.
20174
20175 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20176
20177 Fix PR testsuite/1679.
20178 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20179 Issue an UNSUPPORTED result instead.
20180
20181 2004-06-18 Jim Blandy <jimb@redhat.com>
20182
20183 * gdb.base/charset.exp: Only send a control-C if we see a new
20184 prompt and incomplete command.
20185
20186 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20187
20188 * gdb.cp/pr-574.cc: Add copyright notice.
20189
20190 2004-06-17 Jim Blandy <jimb@redhat.com>
20191
20192 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20193 cases where the regexp has no groups; this grabs random text from
20194 the previous test suite, whatever that was.
20195
20196 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20197
20198 * gdb.cp/printmethod.cc: Add copyright notice.
20199
20200 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20201
20202 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20203
20204 2004-06-16 Andrew Cagney <cagney@gnu.org>
20205
20206 * gdb.base/signull.c: Update copyright. Include <string.h>.
20207 (bowler): Replace data_pointer with data_read
20208 and data_write cases. Add code_descriptor case.
20209 (zero, desc): New array and pointer.
20210 (data, code): Change to simple pointers.
20211 * gdb.base/signull.exp: Fix probe pattern matching a function
20212 descriptor SIGSEGV. Replace data_pointer with data_read and
20213 data_write tests.
20214
20215 2004-06-16 Andrew Cagney <cagney@gnu.org>
20216
20217 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20218
20219 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20220
20221 * gdb.base/long_long.c: Add copyright notice.
20222
20223 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20224
20225 * gdb.base/long_long.exp: Remove reference to
20226 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20227 to gdb_breakpoint and gdb_continue_to_breakpoint.
20228
20229 2004-06-14 Jim Blandy <jimb@redhat.com>
20230
20231 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20232 endian case.
20233
20234 2004-06-14 Andrew Cagney <cagney@gnu.org>
20235
20236 * gdb.base/gcore.exp (capture_command_output): Delete the always
20237 passing tests containing inferior values.
20238 * gdb.base/ending-run.exp: Do not include the breakpoint address
20239 in the test message. Update copyright.
20240 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20241 size in the test name, use gdb_test_multiple. Update copyright.
20242
20243 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20244
20245 * gdb.cp/ref-types.cc: Add copyright notice.
20246
20247 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20248
20249 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20250 hp_aCC_compiler.
20251 * lib/compiler.cc: Likewise.
20252 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20253 'set' commands. Log diagnostics for other lines. Set
20254 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20255
20256 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20257
20258 * gdb.cp/try_catch.cc: Add copyright notice.
20259
20260 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20261
20262 * gdb.cp/userdef.cc: Add copyright notice.
20263
20264 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20265
20266 * gdb.cp/virtfunc.cc: Add copyright notice.
20267
20268 2004-06-11 Randolph Chung <tausq@debian.org>
20269
20270 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20271 problem.
20272
20273 2004-06-10 Andrew Cagney <cagney@gnu.org>
20274
20275 * lib/compiler.cc, lib/compiler.c: Append either
20276 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20277 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20278 instead of gcc-3-3.
20279
20280 2004-06-09 Andrew Cagney <cagney@gnu.org>
20281
20282 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20283 gdb/1455, bug is specific to "long long" and "double".
20284
20285 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20286 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20287 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20288 fixed.
20289
20290 2004-06-09 Andrew Cagney <cagney@gnu.org>
20291
20292 * gdb.base/structs.exp (test_struct_returns): Replace
20293 "return_value_unknown" and "finish_value_unknown" by
20294 "return_value_known" and "finish_value_known". Instead of
20295 "return_value_unknown" iff "finish_value_unknown", check
20296 "return_value_known" implies "finish_value_known".
20297
20298 2004-06-08 Martin Hunt <hunt@redhat.com>
20299
20300 * gdb.base/float.exp: Add pattern for mips targets.
20301
20302 2004-06-08 Randolph Chung <tausq@debian.org>
20303
20304 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20305 message for unknown architectures more clear.
20306
20307 2004-06-08 Joel Brobecker <brobecker@gnat.com>
20308
20309 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20310 start the execution of the program.
20311
20312 2004-06-07 Jim Blandy <jimb@redhat.com>
20313
20314 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20315 * gdb.arch/i386-cpuid.h: New helper file.
20316
20317 2004-06-07 Randolph Chung <tausq@debian.org>
20318
20319 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20320 has started.
20321
20322 2004-06-04 Roland McGrath <roland@redhat.com>
20323
20324 Fix PR gdb/1647.
20325 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20326 differently to be robust to output buffering differences.
20327
20328 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20329
20330 * gdb.threads/pthreads.exp: Update copyright years.
20331 (check_control_c): Change asynchronous 'after' to synchronous.
20332
20333 2004-06-04 Roland McGrath <roland@redhat.com>
20334
20335 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20336 next gdb prompt.
20337
20338 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20339
20340 Fix PR gdb/1636.
20341 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20342 calls to synchronous.
20343
20344 2004-05-26 Jim Blandy <jimb@redhat.com>
20345
20346 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20347
20348 2004-05-24 Randolph Chung <tausq@debian.org>
20349
20350 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20351 * gdb.asm/pa.inc: New file.
20352
20353 2004-05-22 Mark Kettenis <kettenis@gnu.org>
20354
20355 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20356
20357 2004-05-21 Joel Brobecker <brobecker@gnat.com>
20358 Daniel Jacobowitz <drow@mvista.com>
20359
20360 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20361 GDB prompt.
20362
20363 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20364
20365 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
20366 setjmp/longjmp. Use sigaction instead of signal.
20367
20368 2004-05-19 J. Brobecker <brobecker@gnat.com>
20369 Michael Snyder <msnyder@redhat.com>
20370
20371 * gdb.threads/pthread_cond_wait.c: New file.
20372 * gdb.threads/pthread_cond_wait.exp: New testcase.
20373
20374 2004-05-13 Andrew Cagney <cagney@redhat.com>
20375
20376 * gdb.base/signull.exp, gdb.base/signull.c: New files.
20377 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20378
20379 2004-05-11 Andrew Cagney <cagney@redhat.com>
20380
20381 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
20382 fixed but revealed gdb/1639.
20383
20384 2004-05-10 Andrew Cagney <cagney@redhat.com>
20385
20386 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20387 func1" and "next to 2nd alarm", kernel bug avoided.
20388
20389 2004-05-10 Daniel Jacobowitz <dan@debian.org>
20390
20391 PR external/1568
20392 * gdb.base/bigcore.exp: Check the size of the dumped core file.
20393 XFAIL if it is smaller than bytes_allocated.
20394 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20395 (main): Make chunks_allocated unsigned. Correct comment.
20396
20397 2004-05-07 Joel Brobecker <brobecker@gnat.com>
20398
20399 * gdb.arch/powerpc-aix-prologue.c: New file.
20400 * gdb.arch/powerpc-aix-prologue.exp: New file.
20401
20402 2004-05-07 Jim Blandy <jimb@redhat.com>
20403
20404 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20405 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20406
20407 2004-05-06 Joel Brobecker <brobecker@gnat.com>
20408
20409 * gdb.base/sep.exp: No longer setup_kfail when the program was
20410 built with dwarf2.
20411
20412 2004-05-05 Jim Ingham <jingham@apple.com>
20413
20414 * gdb.base/pending.exp: Make sure pending breakpoints
20415 preserve the ignore count.
20416
20417 2004-04-27 Jerome Guitton <guitton@gnat.com>
20418
20419 * i386-prologue.exp: Add testcase for jump instruction as first
20420 instruction of the real code.
20421 * i386-prologue.c (jump_at_beginning): New function.
20422
20423 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20424
20425 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20426 x86_64-*-*.
20427
20428 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20429
20430 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20431 i*86-*-*.
20432
20433 2004-04-25 Mark Kettenis <kettenis@gnu.org>
20434
20435 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20436 expression that checks the return type.
20437
20438 2004-04-23 Andrew Cagney <cagney@redhat.com>
20439
20440 * gdb.base/call-sc.exp: New test of scalar call/return values.
20441 * gdb.base/call-sc.c: Ditto.
20442
20443 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20444
20445 * gdb.threads/manythreads.c: Reduce thread stack size.
20446
20447 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
20448
20449 * gdb.threads/manythreads.c: Add copyright notice.
20450
20451 2004-04-23 Andrew Cagney <cagney@redhat.com>
20452
20453 * gdb.base/siginfo.exp: Better handle step out of signal.
20454 * gdb.base/sigstep.exp: Ditto.
20455
20456 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
20457 Daniel Jacobowitz <drow@mvista.com>
20458
20459 * gdb.threads/manythreads.c: New testcase.
20460 * gdb.threads/manythreads.exp: Ditto.
20461
20462 2004-04-22 Jim Blandy <jimb@redhat.com>
20463
20464 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20465 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20466
20467 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
20468
20469 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20470
20471 2004-04-21 Andrew Cagney <cagney@redhat.com>
20472
20473 * gdb.base/sigstep.c: New file.
20474 * gdb.base/sigstep.exp: New file.
20475
20476 2004-04-16 Joel Brobecker <brobecker@gnat.com>
20477
20478 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20479 call to observer_notify_normal_stop.
20480
20481 2004-04-15 Andrew Cagney <cagney@redhat.com>
20482
20483 * gdb.base/siginfo.c: New file.
20484 * gdb.base/siginfo.exp: New file.
20485
20486 2004-04-12 J. Brobecker <brobecker@gnat.com>
20487
20488 * gdb.base/sep.exp: Fix typo in comment.
20489
20490 2004-04-12 J. Brobecker <brobecker@gnat.com>
20491
20492 * gdb.base/sep.c: New file.
20493 * gdb.base/sep-proc.c: New file.
20494 * gdb.base/sep.exp: New testcase.
20495
20496 2004-04-09 Mark Kettenis <kettenis@gnu.org>
20497
20498 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20499 support.
20500
20501 2004-04-05 Andrew Cagney <cagney@redhat.com>
20502
20503 * gdb.base/sigaltstack.c: New file.
20504 * gdb.base/sigaltstack.exp: New file.
20505
20506 2004-04-04 Joel Brobecker <brobecker@gnat.com>
20507
20508 * gdb.base/foll-fork.exp: Update the expected output for
20509 "help set follow-fork-mode", to match a change that was made
20510 to the help of this variable on 2004-01-13.
20511
20512 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20513
20514 * lib/ada.exp: Add copyright notice.
20515 * bar.ads: Likewise.
20516 * bar.adb: Likewise.
20517 * null_record.adb: Likewise.
20518 * null_record.exp: Likewise.
20519 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20520
20521 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20522
20523 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20524 * configure: Regenerate.
20525
20526 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20527
20528 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20529 to build the application. Remove the message printed when in
20530 verbose mode, redundant with the UNSUPPORTED message above.
20531
20532 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20533
20534 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
20535 * gdb.ada (null_record.exp): New testcase.
20536
20537 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20538
20539 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20540
20541 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20542
20543 * gdb.ada: New subdirectory.
20544 * gdb.ada/Makefile.in: New file.
20545 * gdb.ada/gnat_ada.gpr.in: New file.
20546
20547 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20548
20549 * lib/ada.exp: New file.
20550
20551 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
20552
20553 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
20554 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
20555
20556 2004-03-22 Andrew Cagney <cagney@redhat.com>
20557
20558 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
20559 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20560 Problem identified by Ulrich Weigand.
20561
20562 2004-03-17 David Carlton <carlton@kealia.com>
20563
20564 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
20565 PR c++/826.
20566
20567 2004-03-16 Roland McGrath <roland@redhat.com>
20568
20569 * gdb.base/auxv.exp: New file.
20570 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
20571
20572 2004-03-12 David Carlton <carlton@kealia.com>
20573
20574 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
20575 * gdb.cp/pr-1553.cc: Ditto.
20576 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
20577 pass branch.
20578
20579 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
20580
20581 * gdb.cp/templates.exp: Accept more template types.
20582
20583 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20584
20585 From Corinna Vinschen with modifications.
20586 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
20587 local variable obj_with_enum.
20588 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
20589 results with obj_with_enum.
20590
20591 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20592
20593 * gdb.cp/classes.cc: New file, copied from misc.cc.
20594 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
20595
20596 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20597
20598 * gdb.cp/misc.cc: Add copyright notice.
20599
20600 2004-03-05 David Carlton <carlton@kealia.com>
20601
20602 * gdb.cp/rtti.exp: Add 'print *obj3' test.
20603 * gdb.cp/rtti.h: Update copyright.
20604 (namespace n2::n3): New.
20605 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
20606 (n2::n3::func3): New.
20607 (main): Call n2::n3::func3.
20608 * gdb.cp/rtti2.cc: Update copyright.
20609 (n2::create3): New.
20610
20611 2004-03-04 Mark Kettenis <kettenis@gnu.org>
20612
20613 * gdb.asm/openbsd.inc: Fix typo.
20614
20615 2004-03-03 Fred Fish <fnf@redhat.com>
20616
20617 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
20618 "val" instead of unused "size". Update copyright year.
20619
20620 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
20621
20622 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
20623 to use unsigned char.
20624 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
20625 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
20626
20627 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
20628
20629 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
20630 line of output.
20631
20632 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
20633
20634 * gdb.base/relocate.c (dummy): Initialize.
20635
20636 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
20637
20638 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
20639 a breakpoint at exit.
20640
20641 2004-02-27 Fred Fish <fnf@redhat.com>
20642
20643 * gdb.base/chng-syms.exp: Add expect condition to match failing
20644 case that isn't a timeout.
20645
20646 2004-02-27 Andrew Cagney <cagney@redhat.com>
20647
20648 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
20649 support.
20650
20651 2004-02-26 Fred Fish <fnf@redhat.com>
20652
20653 * gdb.arch/gdb1431.c: Remove.
20654 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
20655 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
20656 of "until" incorrectly.
20657
20658 2004-02-26 J. Brobecker <brobecker@gnat.com>
20659
20660 * gdb.cp/class2.cc (empty): New class.
20661 (refer): New function.
20662 (main): Declare an object of type empty and use it.
20663 * gdb.cp/class2.exp: Print the value of an object of type empty.
20664
20665 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
20666
20667 * gdb.base/langs.exp: Update query string to match the
20668 new nquery format used for pending breakpoints.
20669
20670 2004-02-26 Andrew Cagney <cagney@redhat.com>
20671
20672 Fix PR i18n/1570.
20673 * gdb.base/charset.c: Update copyright notice.
20674 (main, init_string): Remove the escape character '\e' tests.
20675 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
20676 * gdb.base/charset.exp (valid_host_charset): Ditto.
20677 * gdb.base/setvar.exp: Ditto.
20678
20679 2004-02-24 Andrew Cagney <cagney@redhat.com>
20680
20681 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
20682 mmapped data in core file" PASS and FAIL messages consistent.
20683
20684 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
20685 setting a breakpoint. Work around PR java/1565.
20686
20687 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
20688
20689 * lib/gdb.exp (gdb_breakpoint): Update query string to match
20690 new nquery format.
20691 * gdb.base/pending.exp: Ditto.
20692
20693 2004-02-22 Mark Kettenis <kettenis@gnu.org>
20694
20695 * configure.in: Run stabs tests on *BSD.
20696 * configure: Regenerated.
20697
20698 2004-02-21 Mark Kettenis <kettenis@gnu.org>
20699
20700 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
20701
20702 2004-02-20 Fred Fish <fnf@redhat.com>
20703
20704 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
20705 blank in test for "returns short", for consistency with other
20706 "returns xxx" tests. Update copyright year.
20707
20708 2004-02-19 Fred Fish <fnf@redhat.com>
20709
20710 New testcase for PR breakpoint/1558.
20711 * gdb.arch/gdb1558.exp: New file.
20712 * gdb.arch/gdb1558.c: New file.
20713
20714 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
20715
20716 * gdb.base/nodebug.exp: Fix typo.
20717
20718 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20719
20720 Committed by Jim Blandy <jimb@redhat.com>.
20721
20722 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
20723
20724 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
20725
20726 * gdb.base/float.exp: Support s390*-*-* targets.
20727
20728 2004-02-17 Adam Fedor <fedor@gnu.org>
20729
20730 * gdb.base/gdb1555.exp: New file.
20731 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
20732
20733 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
20734
20735 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
20736
20737 2004-02-16 Fred Fish <fnf@redhat.com>
20738
20739 * gdb.arch/gdb1291.c: Remove
20740 * gdb.arch/gdb1291.s: New test input file.
20741 * gdb.arch/gdb1291.exp: Expand test to check case that should not
20742 fail. Test for correct result, known incorrect result, other
20743 failures and timeouts.
20744
20745 2004-02-16 Andrew Cagney <cagney@redhat.com>
20746
20747 * gdb.base/bigcore.exp: New file.
20748 * gdb.base/bigcore.c: New file.
20749
20750 2004-02-13 Andrew Cagney <cagney@redhat.com>
20751
20752 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
20753 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
20754 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
20755 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
20756 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
20757 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
20758 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
20759 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
20760 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
20761 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20762
20763 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
20764
20765 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20766 executed is an alloc instruction.
20767
20768 2004-02-11 David Carlton <carlton@kealia.com>
20769
20770 * gdb.cp/breakpoint.exp: New.
20771 * gdb.cp/breakpoint.cc: New.
20772
20773 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
20774
20775 Partial fix for PR gdb/1543.
20776 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20777 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20778 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20779 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20780 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20781 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20782 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20783 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20784 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20785 to bug-gdb@prep.ai.mit.edu .
20786 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20787 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20788 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20789 Likewise.
20790
20791 2004-02-10 Andrew Cagney <cagney@redhat.com>
20792
20793 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20794 using gdb_internal_error_resync.
20795
20796 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
20797
20798 * gdb.threads/thread-specific.exp: Stop early if no threads are
20799 found.
20800
20801 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
20802
20803 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20804
20805 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
20806
20807 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20808 breakpoints.
20809
20810 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
20811
20812 * config/sim.exp (gdb_load): Handle $arg == "".
20813 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20814 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20815
20816 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
20817
20818 * gdb.base/maint.exp: Update test to reflect
20819 obstack changes.
20820
20821 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
20822
20823 * gdb.base/pendshr.c (pendfunc): New function that calls
20824 pendfunc1.
20825 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20826
20827 2004-02-04 Fred Fish <fnf@redhat.com>
20828
20829 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20830 function symbols and update copyright years.
20831 * gdb.arch/gdb1291.c: Ditto.
20832
20833 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20834
20835 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20836
20837 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20838
20839 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20840
20841 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20842
20843 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20844
20845 2004-02-02 Fred Fish <fnf@redhat.com>
20846
20847 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20848 remote targets. Update copyright years.
20849
20850 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
20851
20852 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20853 support.
20854 * gdb.base/langs.exp: Fix test which attempts to create
20855 breakpoint on non-existent function to handle new pending
20856 support.
20857 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20858 a breakpoint.
20859 * gdb.base/pending.exp: New test.
20860 * gdb.base/pending.c: New file.
20861 * gdb.base/pendshr.c: Ditto.
20862
20863 2004-02-02 David Carlton <carlton@kealia.com>
20864
20865 * gdb.cp/overload.exp: Add overloadNamespace tests.
20866 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20867 (overloadNamespace, XXX): New.
20868 (main): Call XXX::marker2.
20869
20870 2004-02-01 Fred Fish <fnf@redhat.com>
20871
20872 * gdb.base/dump.exp: Use runto_main instead of "runto main".
20873 * gdb.base/finish.exp: Ditto.
20874 * gdb.base/gcore.exp: Ditto.
20875 * gdb.base/huge.exp: Ditto.
20876 * gdb.base/info-proc.exp: Ditto.
20877 * gdb.base/return2.exp: Ditto.
20878 * gdb.threads/gcore-thread.exp: Ditto.
20879
20880 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20881
20882 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20883
20884 2004-02-01 Mark Kettenis <kettenis@gnu.org>
20885
20886 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20887 that opening the file succeeds on OpenBSD.
20888
20889 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20890
20891 * gdb.threads/thread-specific.c: New file.
20892 * gdb.threads/threads-specific.exp: New test script.
20893 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20894 to expect_out.
20895
20896 2004-02-01 Mark Kettenis <kettenis@gnu.org>
20897
20898 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
20899 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20900 only on the "print_small_structs from print_long_arg_list" test.
20901
20902 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20903
20904 * gdb.base/completion.exp: Kill a stray backslash.
20905
20906 From Jim Ingham <jingham@apple.com>:
20907 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20908 agrees with the result from sending a tab.
20909
20910 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
20911
20912 * gdb.base/chng-syms.exp: Remove stray newline.
20913
20914 2004-01-31 Mark Kettenis <kettenis@gnu.org>
20915
20916 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20917 *-*-openbsd*.
20918 * gdb.asm/openbsd.inc: New file.
20919
20920 2004-01-30 Mark Kettenis <kettenis@gnu.org>
20921
20922 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
20923 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
20924 *-*solaris2*. Remove commented out default settings for
20925 asm-flags. Replace gdb_compile with target_link.
20926
20927 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
20928
20929 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
20930 for all tests. Remove old hp-ux and cygnus xfail cases.
20931
20932 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
20933
20934 * gdb.base/chng-syms.exp: New file.
20935 * gdb.base/chng-syms.c: New file.
20936
20937 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20938
20939 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
20940 Provide arms for current output in all my configurations.
20941
20942 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20943
20944 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
20945 * lib/compiler.cc: Likewise.
20946 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
20947 get the right preprocessor. Eval the output directly. Remove
20948 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
20949 hp_f77_compiler and hp_f90_compiler completely.
20950 (gdb_preprocess): Delete.
20951 (get_compiler): Delete.
20952
20953 2004-01-24 Mark Kettenis <kettenis@gnu.org>
20954
20955 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
20956 <string.h>.
20957
20958 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
20959
20960 * gdb.mi/mi-stack.exp: Update copyright.
20961
20962 2004-01-23 David Carlton <carlton@kealia.com>
20963
20964 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
20965 test for cp_lookup_transparent_type.
20966 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
20967 call them.
20968
20969 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
20970
20971 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
20972 after -var-update.
20973
20974 2004-01-23 David Carlton <carlton@kealia.com>
20975
20976 * gdb.cp/namespace.cc (C::ensureRefs): New.
20977 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
20978
20979 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
20980
20981 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
20982 case "-stack-list-locals 2".
20983 * gdb.mi/mi-var-child.exp: Test for case
20984 "-var-list-children --all-values NAME".
20985
20986 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
20987
20988 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
20989
20990 2004-01-18 Mark Kettenis <kettenis@gnu.org>
20991
20992 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
20993 used with gdb_test_multiple.
20994
20995 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
20996 read at address 0. This fixes PR testsuite/1504.
20997
20998 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
20999
21000 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21001 Remove downloading, guessing the host executable, the calls to
21002 gdb_file_cmd and gdb_target_cmd, and "load" support.
21003 (infer_host_exec): New function broken out from gdb_load.
21004 (gdb_load): New wrapper for gdbserver_gdb_load.
21005 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21006 gdb_target_cmd. Use -target-select.
21007 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21008 Download binaries to the host. Clear last_mi_remote_file when
21009 we load a new binary.
21010 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21011 call gdbserver_gdb_load and mi_gdb_target_cmd.
21012
21013 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21014
21015 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21016 type patterns.
21017
21018 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21019
21020 * gdb.cp/templates.exp: Fix typo in test name of
21021 "print Foo<volatile char*>::foo".
21022
21023 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21024
21025 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21026
21027 2004-01-16 Ben Elliston <bje@wasabisystems.com>
21028
21029 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21030 (clean mostlyclean): Remove empty rm.
21031
21032 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21033
21034 * gdb.base/setvar.exp: Add copyright years.
21035
21036 2004-01-14 David Carlton <carlton@bactrian.org>
21037
21038 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21039 PR c++/1511 and update coment.
21040 * gdb.cp/templates.exp: Update patterns to match current output.
21041 If changes involve something other than whitespace, KFAIL
21042 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21043
21044 2004-01-14 David Carlton <carlton@kealia.com>
21045
21046 * gdb.cp/namespace.exp: Add tests involving classes defined within
21047 namespaces.
21048 * gdb.cp/namespace.cc (C::CClass): New.
21049 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21050
21051 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
21052
21053 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21054 what debug info we have. Print a better message if something goes
21055 wrong while producing the separate debug info file.
21056
21057 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21058
21059 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21060
21061 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21062
21063 * gdb.base/callfuncs.c: Add copyright notice.
21064
21065 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21066
21067 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21068 inheritance. PR gdb/1498, PR gcc/13539.
21069
21070 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
21071
21072 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21073 test specific name.
21074 * gdb.mi/gdb669.exp: Ditto.
21075 * gdb.mi/mi-pthreads.exp: Ditto.
21076 * gdb.mi/mi1-pthreads.exp: Ditto.
21077 * gdb.mi/mi2-pthreads.exp: Ditto.
21078
21079 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21080
21081 * gdb.cp/member-ptr.cc: Add copyright notice.
21082
21083 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21084
21085 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21086 some patterns for recent versions of gcc and hpacc. Delete
21087 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21088 Delete tests that access a NULL pointer-to-member-data. This
21089 script is still disabled for gcc.
21090
21091 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21092
21093 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
21094 escaped correctly.
21095
21096 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21097
21098 * gdb.base/sepdebug.exp: New file.
21099 * gdb.base/sepdebug.c: New file.
21100 * lib/gdb.exp (separate_debug_filename): New procedure.
21101 (gdb_gnu_strip_debug): New procedure.
21102
21103 2004-01-12 Andrew Cagney <cagney@redhat.com>
21104
21105 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21106 * gdb.mi/ChangeLog-1999-2003: New file.
21107
21108 2004-01-12 Andrew Cagney <cagney@redhat.com>
21109
21110 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21111 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21112 or EEXIST", treat EBUSY as an XFAIL.
21113
21114 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21115
21116 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21117 hp_cc_compiler.
21118
21119 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21120
21121 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21122 decorations.
21123
21124 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21125
21126 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21127 and "(aCC)" decorations. Remove obsolete doco about old
21128 test results.
21129
21130 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21131
21132 * gdb.cp/exception.exp: Fix typo in doco.
21133
21134 2004-01-09 Mark Kettenis <kettenis@gnu.org>
21135
21136 * gdb.base/gdb1476.exp: Fix typo.
21137
21138 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21139
21140 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21141 file.
21142
21143 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21144
21145 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21146 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21147 Use gdb_compile. Remove restriction on gcc. Add some patterns
21148 for recent version of gdb. Delete second half, which was a copy
21149 of the first half with different build flags. This test is
21150 still disabled because it is still not ready for production.
21151
21152 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21153
21154 * gdb.cp/exception.cc: Add copyright notice.
21155 * gdb.cp/exception.exp: Add a notice that this file is broken
21156 because of line number changes caused by addition of copyright
21157 notice.
21158
21159 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21160
21161 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21162 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21163
21164 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21165
21166 * gdb.cp/classes.exp: Accept gnu abi 2.
21167 * gdb.cp/derivation.exp: Likewise.
21168 * gdb.cp/overload.exp: Likewise.
21169 * gdb.cp/virtfunc.exp: Likewise.
21170
21171 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21172
21173 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21174 semicolon after end of function.
21175
21176 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21177
21178 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21179 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21180 boilerplate code for compiling and running the program under
21181 test. Add some string method tests.
21182
21183 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21184
21185 * gdb.cp/bs15503.cc: Add copyright notice.
21186 * gdb.cp/bs15503.exp: Adjust line number.
21187
21188 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21189
21190 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21191 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21192
21193 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21194
21195 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21196 hp_cc_compiler.
21197
21198 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21199
21200 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21201 * gdb.cp/ctti.exp: Use the marker instead of "next".
21202 With gcc, run further before bailing.
21203
21204 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21205
21206 * gdb.cp/cttiadd.cc: Add copyright notice.
21207 * gdb.cp/cttiadd1.cc: Likewise.
21208 * gdb.cp/cttiadd2.cc: Likewise.
21209 * gdb.cp/cttiadd3.cc: Likewise.
21210
21211 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21212
21213 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21214 Use gdb_test, gdb_test_multiple. Use floating-point values that
21215 have exact representations in IEEE-ish formats.
21216
21217 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21218
21219 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21220 compilers. Delete duplicate call to get_compiler_info.
21221 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21222 * gdb.base/volatile.exp: Likewise.
21223
21224 2004-01-07 Mark Kettenis <kettenis@gnu.org>
21225
21226 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21227 memory at address 0.
21228
21229 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21230
21231 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21232 to test for hp-ux assembler. Fix copyright years.
21233
21234 2004-01-07 Andrew Cagney <cagney@redhat.com>
21235
21236 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21237
21238 2004-01-07 Andrew Cagney <cagney@redhat.com>
21239
21240 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21241 when creating the read-only file. From analysis by Roland McGrath
21242 and Elena Zannoni.
21243
21244 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21245
21246 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21247
21248 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21249
21250 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21251 data pointers.
21252
21253 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21254
21255 * gdb.cp/m-static.exp: Compile one source file at a time.
21256 Delete unused call to get_compiler_info.
21257
21258 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21259
21260 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21261 * gdb.base/call-rt-st.exp: Likewise.
21262 * gdb.base/nodebug.exp: Likewise.
21263 * gdb.base/volatile.exp: Likewise.
21264 * gdb.cp/ref-types.exp: Likewise.
21265 * gdb.cp/templates.exp: Likewise.
21266
21267 2004-01-05 Mark Kettenis <kettenis@gnu.org>
21268
21269 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21270
21271 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21272
21273 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21274 hppa*-hp-hpux*.
21275
21276 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21277
21278 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21279 x86_64-*-*.
21280
21281 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21282 sparc64-*-* and sparc*-solaris2*.
21283
21284 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21285
21286 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21287 return ${tests}" test. The ${tests} already mentions the
21288 filename.
21289
21290 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21291
21292 * gdb.cp/local.exp: Accept gcc abi 2.
21293
21294 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21295
21296 * gdb.cp/templates.exp: Accept gcc abi 2.
21297
21298 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21299
21300 * lib/compiler.cc: Remove supports_template_debugging.
21301 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21302
21303 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21304
21305 * gdb.cp/namespace.exp: Accept gcc abi 2.
21306
21307 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21308
21309 * gdb.cp/method.exp: Accept gcc abi 2.
21310
21311 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21312
21313 * gdb.cp/classes.exp: Generate identical results as old version.
21314 * gdb.cp/derivation.exp: Likewise.
21315 * gdb.cp/overload.exp: Likewise.
21316 * gdb.cp/virtfunc.exp: Likewise.
21317
21318 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21319
21320 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21321 mysterious bug with sourceware version of expect.
21322
21323 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21324
21325 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21326 current versions of gcc, including gcc abi 2. Remove gratuitous
21327 restart of test program. Use gdb_test_multiple and gdb_test for
21328 all tests. Add patterns to xfail missing "const" in "const char *"
21329 and kfail PR gdb/1155.
21330
21331 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21332
21333 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21334 current versions of gcc, including gcc abi 2. Remove gratuitous
21335 restart of test program. Use gdb_test_multiple and gdb_test for
21336 all tests. Add patterns to kfail PR gdb/1498.
21337
21338 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21339
21340 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21341 current versions of gcc, including gcc abi 2. Use "breakpoint"
21342 and "continue" instead of restarting the target program. Use
21343 gdb_test_multiple and gdb_test for all tests.
21344
21345 2004-01-01 Mark Kettenis <kettenis@gnu.org>
21346
21347 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21348 for *-*-solaris2*.
21349
21350 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21351
21352 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21353 current versions of gcc, including gcc abi 2. Use "breakpoint"
21354 and "continue" instead of restarting the target program several
21355 times. Use gdb_test_multiple and gdb_test for all tests.
21356
21357 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21358
21359 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21360 source files.
21361
21362 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21363
21364 * gdb.base/environ.exp: Handle compiling test case from multiple
21365 source files.
21366
21367 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21368
21369 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21370
21371 2003-12-17 Jim Blandy <jimb@redhat.com>
21372
21373 * gdb.base/freebpcmd.c: Add copyright notice.
21374
21375 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21376
21377 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21378
21379 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21380
21381 2003-12-13 Jim Blandy <jimb@redhat.com>
21382
21383 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21384
21385 2003-12-12 Kevin Buettner <kevinb@redhat.com>
21386
21387 * gdb.asm/frv.inc: New file.
21388 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21389
21390 2003-12-09 Fred Fish <fnf@redhat.com>
21391
21392 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21393 functions to break1.c and leave prototypes behind. Add more
21394 "set breakpoint NN here" comments.
21395 * gdb.base/break1.c: New file.
21396
21397 * gdb.base/break.exp: Handle compiling test case from multiple
21398 source files and change source file references as needed.
21399 * gdb.base/completion.exp: Ditto.
21400 * gdb.base/condbreak.exp: Ditto.
21401 * gdb.base/define.exp: Ditto.
21402 * gdb.base/ena-dis-br.exp: Ditto.
21403 * gdb.base/info-proc.exp: Ditto.
21404 * gdb.base/maint.exp: Ditto.
21405 * gdb.base/until.exp: Ditto.
21406
21407 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21408 hardcoded line numbers.
21409 * gdb.base/define.exp: Ditto.
21410 * gdb.base/ena-dis-br.exp: Ditto.
21411 * gdb.base/maint.exp: Ditto.
21412 * gdb.base/until.exp: Ditto.
21413
21414 * gdb.base/completion.exp: Use "break1" for completion tests since
21415 "break" is no longer a unique prefix.
21416
21417 2003-12-06 Andrew Cagney <cagney@redhat.com>
21418
21419 * gdb.base/structs.exp (test_struct_returns): When applicable, set
21420 "return_value_unimplemented". When an unimplemented struct return
21421 architecture, report incorrect values as a KFAIL
21422
21423 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21424
21425 * gdb.cp/rtti.exp: Accept new wording of warning from
21426 cp_lookup_rtti_type.
21427
21428 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21429
21430 Partial fix for PR testsuite/1456.
21431 * gdb.base/scope.exp (test_at_main): Replace references to
21432 gcc_compiled with calls to test_compiler_info.
21433 (test_at_foo): Likewise.
21434 (test_at_bar): Likewise.
21435
21436 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
21437
21438 Partial fix for PR testsuite/1456.
21439 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21440 to test_compiler_info.
21441
21442 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
21443
21444 * gdb.base/so-impl-ld.exp: Update copyright notice.
21445
21446 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
21447
21448 Partial fix for PR testsuite/1456.
21449 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21450 to test_compiler_info.
21451
21452 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21453
21454 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21455 from current versions of gdb. Clean up regular expressions.
21456 Delete redundant timeout case.
21457
21458 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21459
21460 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21461 from current versions of gdb. Clean up regular expressions.
21462 Delete redundant timeout case.
21463
21464 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
21465
21466 Partial fix for PR testsuite/1456.
21467 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21468 gcc_compiled with call to test_compiler_info.
21469
21470 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
21471
21472 Partial fix for PR testsuite/1456.
21473 * gdb.base/list.exp (test_list_function): Delete unused declaration
21474 of gcc_compiled.
21475
21476 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
21477
21478 Partial fix for PR testsuite/1456.
21479 * gdb.base/complex.exp: Replace reference to gcc_compiled with
21480 call to test_compiler_info.
21481
21482 2003-11-29 Mark Kettenis <kettenis@gnu.org>
21483
21484 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
21485 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
21486 it to create the appropriate note.inc.
21487 * gdb.asm/asmsrc1.s: Include "note.inc".
21488 * gdb.asm/netbsd.inc: New file.
21489 * gdb.asm/empty.inc: New file.
21490
21491 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21492
21493 Partial fix for PR testsuite/1456.
21494 * gdb.base/constvars.exp: Replace references to gcc_compiled with
21495 calls to test_compiler_info.
21496
21497 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
21498
21499 Partial fix for PR testsuite/1456.
21500 * gdb.base/volatile.exp: Replace references to gcc_compiled with
21501 calls to test_compiler_info.
21502
21503 2003-11-27 Mark Kettenis <kettenis@gnu.org>
21504
21505 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21506 pattern for the KFAILs.
21507
21508 2003-11-25 Adam Fedor <fedor@gnu.org>
21509
21510 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21511 * gdb.objc/objcdecode.m: New file.
21512
21513 2003-11-25 Adam Fedor <fedor@gnu.org>
21514
21515 * gdb.objc/nondebug.exp: Test for PR objc/1236.
21516 * gdb.objc/nondebug.m: New file.
21517
21518 2003-11-26 Ben Elliston <bje@wasabisystems.com>
21519
21520 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21521 NetBSD as it does on FreeBSD. Modelled on a similar change by
21522 Mark Kettenis on 2003-05-30.
21523 (link-flags): Set to "--entry _start" regardless of target.
21524 Special linker flags are to be appended to $link-flags.
21525 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21526
21527 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21528
21529 * gdb.cp/method.exp: Accept output of new demangler.
21530
21531 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21532
21533 * gdb/class2.exp: New file.
21534 * gdb/class2.cc: New file.
21535
21536 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21537
21538 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
21539 of new demangler.
21540
21541 2003-11-23 Mark Kettenis <kettenis@gnu.org>
21542
21543 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
21544 of gdb_test "run".
21545
21546 2003-11-23 Mark Kettenis <kettenis@gnu.org>
21547
21548 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
21549 "continue" into "run".
21550
21551 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21552
21553 Partial fix for PR testsuite/1456.
21554 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
21555 call to test_compiler_info.
21556 * gdb.cp/ctti.exp: Likewise.
21557 * gdb.cp/derivation.exp: Likewise.
21558 * gdb.cp/member-ptr.exp: Likewise.
21559 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
21560 reference to gcc_compiled.
21561
21562 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21563
21564 Fix PR testsuite/1463.
21565 * gdb.base/structs.exp (start_structs_test): Call
21566 get_debug_format before using the debug format.
21567
21568 2003-11-22 Andrew Cagney <cagney@redhat.com>
21569
21570 * lib/gdb.exp (gdb_test_multiple): Add simple example.
21571 * gdb.base/structs.exp: Use gdb_test_multiple.
21572
21573 2003-11-20 Andrew Cagney <cagney@redhat.com>
21574
21575 * gdb.base/structs.exp: Handle and recover from internal errors.
21576 Replace "foo${n}" with "foo<n>" in test messages.
21577
21578 * gdb.base/structs.exp: Update copyright. Rewrite.
21579 * gdb.base/structs.c: Update copyright. Rewrite.
21580
21581 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
21582 resync count exceeded.
21583
21584 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
21585 from the internal error.
21586 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
21587 Original from Jim Blandy.
21588 (gdb_test_multiple): Use gdb_internal_error_resync.
21589
21590 2003-11-19 Andrew Cagney <cagney@redhat.com>
21591
21592 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
21593 KFAIL.
21594
21595 2003-11-17 Mark Kettenis <kettenis@gnu.org>
21596
21597 New testcase for PR backtrace/1435.
21598 * gdb.arch/i386-unwind.exp: New file.
21599 * gdb.arch/i386-unwind.c: New file.
21600
21601 2003-11-17 Andrew Cagney <cagney@redhat.com>
21602
21603 * lib/gdb.exp (compiler_info): New global.
21604 (test_compiler_info): New function.
21605 (get_compiler_info): Set compiler_info.
21606 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
21607 "compiler_info" to gcc-<major>-<minor>.
21608
21609 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
21610
21611 * gdb.trace/configure: Remove.
21612
21613 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
21614
21615 * gdb.base/break.c: Add comments to aid finding line numbers for
21616 breakpoints.
21617 * gdb.base/break.exp: Remove all references to explicit line
21618 numbers.
21619
21620 2003-11-11 Nick Clifton <nickc@redhat.com>
21621
21622 * gdb.base/shreloc.exp: Do not run for targets which do not
21623 support shared objects.
21624
21625 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
21626
21627 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
21628 Don't run tests if nofileio flag is given.
21629
21630 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
21631
21632 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
21633 as well as 'Watchpoint'.
21634
21635 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
21636
21637 Reported by Jim Ingham <jingham@apple.com>:
21638 * gdb.base/annota1.exp: Match at least one occurrence of the
21639 signal handler annotation.
21640
21641 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
21642
21643 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
21644 as well as 'Watchpoint'.
21645
21646 2003-11-05 Michael Chastain <mec@shout.net>
21647
21648 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
21649
21650 2003-11-03 Kris Warkentin <kewarken@qnx.com>
21651
21652 * gdb.arch/gdb1291.c: New test file.
21653 * gdb.arch/gdb1291.exp: New test script.
21654 * gdb.arch/gdb1431.c: New test file.
21655 * gdb.arch/gdb1431.exp: New test script.
21656
21657 2003-10-22 Michael Chastain <mec@shout.net>
21658
21659 * gdb.mi/pthreads.c: Add copyright notice.
21660
21661 2003-10-22 Michael Chastain <mec@shout.net>
21662
21663 * gdb.threads/pthreads.c: Add copyright notice.
21664
21665 2003-10-20 Michael Chastain <mec@shout.net>
21666
21667 * gdb.base/gdb1056.exp: New test script.
21668
21669 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
21670
21671 * gdb.threads/killed.exp: Use gdb_run_cmd.
21672
21673 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
21674
21675 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
21676 create a core file.
21677 * gdb.threads/gcore-thread.exp: Likewise.
21678
21679 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
21680
21681 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
21682 type, based on char type.
21683 (struct bit_flags_short_t): New bitfield type, based on short type.
21684 (init_bit_flags_char): New fuction.
21685 (init_bit_flags_short): Ditto.
21686 (print_bit_flags_char): Ditto.
21687 (print_bit_flags_short): Ditto.
21688 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
21689
21690 2003-10-11 Michael Chastain <mec@shout.net>
21691
21692 * gdb.base/call-rt-st.exp: Update copyright year.
21693
21694 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
21695
21696 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
21697 * gdb.disasm/sh3.s: Ditto.
21698
21699 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
21700
21701 * gdb.threads/switch-threads.exp: New test.
21702 * gdb.threads/switch-threads.c: New source file.
21703
21704 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
21705
21706 * gdb.base/ending-run.exp: Add sh specific case.
21707
21708 2003-10-06 Andrew Cagney <cagney@redhat.com>
21709
21710 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
21711 * gdb.disasm/mn10200.exp: Delete obsolete file.
21712
21713 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
21714
21715 * ChangeLog: Correct an entry command.exp -> commands.exp.
21716 * gdb.base/commands.exp (bp_deleted_in_command_test)
21717 (temporary_breakpoint_commands): Check noargs.
21718
21719 2003-09-25 David Carlton <carlton@kealia.com>
21720
21721 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
21722 of some print tests, where appropriate. Add tests for C::D::cd,
21723 E::ce, F::cXfX, G::XgX.
21724 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
21725
21726 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
21727
21728 * lib/java.exp (java_init): Import target_alias before using it.
21729
21730 2003-09-25 David Carlton <carlton@kealia.com>
21731
21732 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
21733
21734 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
21735
21736 * gdb.base/selftest.exp: Accomodate more instruction reordering
21737 weirdness.
21738
21739 2003-09-17 Michael Chastain <mec@shout.net>
21740
21741 * gdb.cp/gdb1355.exp: New file.
21742 * gdb.cp/gdb1355.c: New file.
21743
21744 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
21745
21746 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
21747 * gdb.asm/sh.inc: New file.
21748
21749 2003-09-11 David Carlton <carlton@kealia.com>
21750
21751 * gdb.cp/namespace.exp: Add tests for namespace types.
21752 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
21753 (test_namespace): New.
21754
21755 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
21756
21757 * gdb.base/relocate.exp: Handle new gdb output at startup.
21758 * gdb.stabs/weird.exp: Ditto.
21759
21760 2003-09-08 Michael Chastain <mec@shout.net>
21761
21762 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21763
21764 2003-09-07 Michael Chastain <mec@shout.net>
21765
21766 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21767 'parse error'.
21768
21769 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
21770
21771 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21772
21773 2003-08-30 Michael Chastain <mec@shout.net>
21774
21775 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21776 * gdb.gdb/observer.exp: Ditto.
21777 * gdb.gdb/xfullpath.exp: Ditto.
21778
21779 2003-08-29 Mark Kettenis <kettenis@gnu.org>
21780
21781 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21782 *-*-*bsd*.
21783
21784 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
21785
21786 * gdb.base/dump.exp: Skip for ia64.
21787
21788 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
21789
21790 * gdb.asm/asm-source.exp: Add ia64 support.
21791 * gdb.asm/ia64.inc: New file.
21792
21793 2003-08-22 Michael Chastain <mec@shout.net>
21794
21795 * gdb.cp: New directory.
21796 * gdb.cp/*: Copy from gdb.c++/*.
21797 * gdb.c++/*: Remove.
21798 * Makefile.in: Change gdb.c++ to gdb.cp.
21799 * configure.in: Ditto.
21800 * configure: Regnerate.
21801
21802 2003-08-18 Mark Kettenis <kettenis@gnu.org>
21803
21804 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21805 * gdb.arch/i386-prologue.c (gdb1338): Add function.
21806
21807 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
21808
21809 * mi-var-display.exp (-var-list-children weird): Accept function
21810 pointers with argument types.
21811 * mi1-var-display.exp (-var-list-children weird): Likewise.
21812 * mi2-var-display.exp (-var-list-children weird): Likewise.
21813
21814 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
21815
21816 * gdb.base/annota3.exp: Add missing newline.
21817
21818 2003-08-06 Michael Chastain <mec@shout.net>
21819
21820 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21821
21822 2003-08-12 Michael Snyder <msnyder@redhat.com>
21823
21824 * gdb.base/float.exp: Add test for SH.
21825
21826 2003-08-10 Mark Kettenis <kettenis@gnu.org>
21827
21828 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21829
21830 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21831
21832 * gdb.base/completion.exp: Remove reduntant completion test
21833 on filename.
21834
21835 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21836
21837 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21838 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21839 gdb.trace/save-trace.exp: Make sure that full pathnames are
21840 escaped correctly.
21841
21842 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21843
21844 * configure.in: Don't generate config.h from config.hin.
21845 * configure: Regenerate.
21846 * config.hin: Remove file.
21847 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21848 * gdb.threads/pthreads.c: Ditto.
21849
21850 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
21851
21852 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21853 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21854 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21855 Replace ld24 with seth/add3.
21856
21857 2003-08-02 Andrew Cagney <cagney@redhat.com>
21858
21859 * gdb.base/annota3.exp: New file.
21860 * gdb.base/annota3.c: New file.
21861 * gdb.c++/annota3.exp: New file.
21862 * gdb.c++/annota3.cc: New file.
21863
21864 2003-07-29 Michael Chastain <mec@shout.net>
21865
21866 * gdb.threads/tls.c (spin): Check errno only if sem_wait
21867 actually failed.
21868 (do_pass): Likewise.
21869 * gdb.threads/tls.exp: Always initialize no_of_threads.
21870
21871 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
21872
21873 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21874 pattern.
21875 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21876 * gdb.threads/tls.exp: Recognize one case of the host library not
21877 supporting TLS.
21878
21879 2003-07-27 Andrew Cagney <cagney@redhat.com>
21880
21881 * gdb.base/fileio.exp: Use SH when running commands using
21882 remote_exec.
21883
21884 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
21885
21886 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21887 * gdb.base/relocate.c (dummy): New padding array.
21888
21889 2003-07-22 Michael Snyder <msnyder@redhat.com>
21890
21891 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
21892
21893 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21894 patterns to be more general, accepting old and new output.
21895 Some output chars (such as '+') also must be quoted.
21896 Some addresses are displayed numerically instead of
21897 symbolically.
21898
21899 2003-07-23 Michael Snyder <msnyder@redhat.com>
21900
21901 * gdb.base/return2.exp: Don't test long-long return.
21902
21903 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21904 * gdb.disasm/t01_mov.exp: Ditto.
21905 * gdb.disasm/t02_mova.s: Ditto.
21906 * gdb.disasm/t02_mova.exp: Ditto.
21907 * gdb.disasm/t03_add.s: Ditto.
21908 * gdb.disasm/t03_add.exp: Ditto.
21909 * gdb.disasm/t04_sub.s: Ditto.
21910 * gdb.disasm/t04_sub.exp: Ditto.
21911 * gdb.disasm/t05_cmp.s: Ditto.
21912 * gdb.disasm/t05_cmp.exp: Ditto.
21913 * gdb.disasm/t06_ari2.s: Ditto.
21914 * gdb.disasm/t06_ari2.exp: Ditto.
21915 * gdb.disasm/t07_ari3.s: Ditto.
21916 * gdb.disasm/t07_ari3.exp: Ditto.
21917 * gdb.disasm/t08_or.s: Ditto.
21918 * gdb.disasm/t08_or.exp: Ditto.
21919 * gdb.disasm/t09_xor.s: Ditto.
21920 * gdb.disasm/t09_xor.exp: Ditto.
21921 * gdb.disasm/t10_and.s: Ditto.
21922 * gdb.disasm/t10_and.exp: Ditto.
21923 * gdb.disasm/t11_logs.s: Ditto.
21924 * gdb.disasm/t11_logs.exp: Ditto.
21925 * gdb.disasm/t12_bit.s: Ditto.
21926 * gdb.disasm/t12_bit.exp: Ditto.
21927 * gdb.disasm/t13_otr.s: Ditto.
21928 * gdb.disasm/t13_otr.exp: Ditto.
21929
21930 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
21931
21932 * gdb.threads/tls.exp :Add kfail for 'info address' case.
21933
21934 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
21935
21936 * gdb.threads/tls.c : New file.
21937 * gdb.threads/tls.exp : New file.
21938 * gdb.threads/tls-main.c : New file.
21939 * gdb.threads/tls-shared.c : New file.
21940 * gdb.threads/tls-shared.exp : New file.
21941
21942 2003-07-22 Andreas Schwab <schwab@suse.de>
21943
21944 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
21945
21946 2003-07-20 Andreas Schwab <schwab@suse.de>
21947
21948 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
21949 due to insn reordering.
21950
21951 2003-07-15 Andrew Cagney <cagney@redhat.com>
21952
21953 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
21954
21955 2003-07-15 Michael Chastain <mec@shout.net>
21956
21957 * gdb.base/gdb1250.exp: New file.
21958 * gdb.base/gdb1250.c: New file.
21959
21960 2003-07-09 Michal Ludvig <mludvig@suse.cz>
21961
21962 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
21963 expansion of size_t to 'unsigned long', not only to 'unsigned'.
21964
21965 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
21966
21967 * gdb.threads/tls.c: New file.
21968 * gdb.threads/tls.exp: New file.
21969 * gdb.threads/tls-main.c: New file.
21970 * gdb.threads/tls-shared.c: New file.
21971 * gdb.threads/tls-shared.exp: New file.
21972
21973 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
21974
21975 * gdb.base/annota1.exp: Make sure that we properly escape the
21976 full path of the source file. Xfail more permissive patterns,
21977 due to a compiler debug info problem.
21978
21979 2003-07-07 Andreas Schwab <schwab@suse.de>
21980
21981 * gdb.asm/m68k.inc: New file.
21982 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
21983
21984 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
21985 arguments"): Also match negative number.
21986
21987 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
21988
21989 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
21990
21991 * gdb.base/store.c (charest): New typedef.
21992 (add_char): Rename to add_charest, update.
21993 (wack_char): Rename to wack_charest, update types. Return l + r
21994 to keep r live across the call.
21995 (wack_short, wack_int, wack_long, wack_longest, wack_float)
21996 (wack_double, wack_doublest): Return l + r to keep r live across
21997 the call.
21998 * gdb.base/store.exp: Accomodate store.c changes.
21999
22000 2003-06-30 David Carlton <carlton@kealia.com>
22001
22002 * gdb.c++/maint.exp (test_invalid_name): New.
22003 (test_first_component): Add tests for invalid names.
22004
22005 2003-06-29 Michael Chastain <mec@shout.net>
22006
22007 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22008 output of '<VTT for class>' for virtual base classes.
22009
22010 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22011
22012 * gdb.base/completion.exp: Tab-complete "complet" instead of
22013 "compl".
22014 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22015
22016 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22017
22018 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22019 * gdb.base/volatile.exp: Likewise.
22020
22021 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22022
22023 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22024 gdb/1265.
22025
22026 2003-06-28 Michael Chastain <mec@shout.net>
22027 Daniel Jacobowitz <drow@mvista.com>
22028
22029 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22030 initial line count of 'captured_main' from 26 to 32.
22031 (test_with_self): Allow xmalloc call to be interleaved with the
22032 preceding two lines.
22033
22034 2003-06-24 Joel Brobecker <brobecker@gnat.com>
22035
22036 * gdb.base/bang.exp: New testcase.
22037
22038 2003-06-23 Joel Brobecker <brobecker@gnat.com>
22039
22040 * gdb.base/langs.exp: Add some tests for the "minimal" language
22041 support.
22042
22043 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
22044
22045 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22046 the testcase.
22047
22048 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22049
22050 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22051 offset.
22052
22053 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22054
22055 * gdb.c++/pr-1210.cc: New file.
22056 * gdb.c++/pr-1210.exp: New file.
22057
22058 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
22059
22060 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22061 000-exec-continue.
22062
22063 2003-06-15 Mark Kettenis <kettenis@gnu.org>
22064
22065 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22066 on *-*-*bsd* instead of *-*-freebsd*.
22067
22068 2003-06-14 Andrew Cagney <cagney@redhat.com>
22069
22070 * gdb.base/store.exp: Test longest and doublest. Test all
22071 parameters. Weaken return statement match.
22072 * gdb.base/store.c: Add longest and doublest - aka long long and
22073 long double functions. Put all parameters into local register
22074 variables. Use negative values.
22075
22076 2003-06-14 Andrew Cagney <cagney@redhat.com>
22077
22078 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22079 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22080 exit status.
22081 * gdb.base/fileio.exp: Disable target when nointerrupts and
22082 noinferiorio, instead of limiting it to remote. Use remote_exec
22083 instead of system.
22084
22085 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22086
22087 * gdb.base/float.exp: Add ia64 support.
22088
22089 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
22090
22091 * gdb.base/fileio.exp: Run only on remote targets.
22092
22093 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
22094
22095 * gdb.base/fileio.c: New file, testing File-I/O.
22096 * gdb.base/fileio.exp: Ditto.
22097
22098 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22099
22100 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22101 shared objects after relocation at load time (gdb PR/1132).
22102 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
22103 as above, part of the shared object relocation test.
22104
22105 2003-06-08 Mark Kettenis <kettenis@gnu.org>
22106
22107 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22108 fully filled history list.
22109 * gdb.base/gdb_history: New file.
22110
22111 * gdb.base/signals.exp: XFAIL "continue to func1" on
22112 i*86-*-freebsd*.
22113
22114 * gdb.base/attach.exp: When trying to attach to a nonexistent
22115 process, make it possible to specify the PID based on the target,
22116 and do so for *-*-freebsd*.
22117
22118 2003-06-02 Richard Henderson <rth@redhat.com>
22119
22120 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22121
22122 2003-06-02 Richard Henderson <rth@redhat.com>
22123
22124 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22125
22126 2003-06-02 Richard Henderson <rth@redhat.com>
22127
22128 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22129
22130 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
22131
22132 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22133 of globalvar.
22134
22135 2003-06-01 Mark Kettenis <kettenis@gnu.org>
22136
22137 * gdb.asm/asm-source.exp: Check for memory read errors in
22138 disassembler test on *BSD too.
22139
22140 2003-06-01 Richard Henderson <rth@redhat.com>
22141
22142 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22143 for .frame.
22144 (gdbasm_call): Lose ldgp.
22145 (gdbasm_startup): Add frame information.
22146 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22147
22148 2003-05-31 Mark Kettenis <kettenis@gnu.org>
22149
22150 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22151 i?86-*-*.
22152
22153 2003-05-30 Mark Kettenis <kettenis@gnu.org>
22154
22155 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22156 FreeBSD.
22157
22158 2003-05-29 Richard Henderson <rth@redhat.com>
22159
22160 * gdb.asm/alpha.inc: New file.
22161 * gdb.asm/asm-source.exp: Use it.
22162
22163 2003-05-29 Jim Blandy <jimb@redhat.com>
22164
22165 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22166 'core.PID'.
22167
22168 2003-05-22 Jim Blandy <jimb@redhat.com>
22169
22170 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22171 backtrace.
22172
22173 2003-05-20 David Carlton <carlton@math.stanford.edu>
22174
22175 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22176 this time.
22177
22178 2003-05-19 David Carlton <carlton@bactrian.org>
22179
22180 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22181 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22182
22183 2003-05-19 David Carlton <carlton@bactrian.org>
22184
22185 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22186 namespace tests.
22187 Bump copyright date.
22188 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22189 (main): Call C::D::marker2.
22190 * gdb.c++/namespace1.cc: New file.
22191
22192 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22193
22194 Roland McGrath <roland@redhat.com>
22195 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
22196 there is no manager thread.
22197
22198 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22199
22200 * gdb.threads/schedlock.exp: Remove assumption that all threads
22201 will run in a particular small time slice. Also ensure we break
22202 in one of the child threads rather than the main thread.
22203
22204 2003-05-07 Jim Blandy <jimb@redhat.com>
22205
22206 Add support for assembly source testing on the s390x.
22207 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22208 architecture.
22209 * gdb.asm/s390x.inc: New file.
22210
22211 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22212 succession of 'if' statements.
22213
22214 2003-05-05 Andrew Cagney <cagney@redhat.com>
22215
22216 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22217
22218 2003-05-05 Andrew Cagney <cagney@redhat.com>
22219
22220 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22221 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22222
22223 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
22224
22225 * gdb.base/charset.exp: Update based on new behavior of set/show
22226 charset commands.
22227
22228 2003-05-01 Andrew Cagney <cagney@redhat.com>
22229
22230 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22231 variable do not give memory errors.
22232
22233 2003-04-30 Adam Fedor <fedor@gnu.org>
22234
22235 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22236 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22237 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22238 gdb.objc/basicclass.m: : New files
22239
22240 * lib/gdb.exp (gdb_compile_objc): New procedure.
22241
22242 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
22243
22244 * gdb.base/signals.exp: Make backtrace tests more specific.
22245
22246 2003-04-23 David Carlton <carlton@bactrian.org>
22247
22248 * gdb.c++/maint.exp (test_first_component): Add tests for
22249 'operator' in more locations.
22250
22251 2003-04-16 Kevin Buettner <kevinb@redhat.com>
22252
22253 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22254
22255 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
22256
22257 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
22258 func marke' instead. Update test name.
22259
22260 2003-04-15 David Carlton <carlton@math.stanford.edu>
22261
22262 * gdb.c++/maint.exp: New file.
22263
22264 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22265
22266 * gdb.threads/schedlock.c: Change type of thread function argument
22267 to long, to avoid warnings on 64-bit platforms.
22268
22269 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22270
22271 * gdb.base/attach.exp: Add new message from ptrace in case of
22272 attaching to nonexistent process.
22273
22274 2003-04-11 Jim Blandy <jimb@redhat.com>
22275
22276 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22277 gdb.c++/userdef.cc: Place comments on the lines to which the
22278 marker function might return.
22279 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22280 gdb.c++/userdef.exp: Look for those comments to check that we've
22281 returned to the right place, instead of checking line numbers.
22282
22283 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
22284
22285 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22286 match on sourcefile name, instead of directory name.
22287
22288 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
22289
22290 * gdb.base/completion.exp: Use string_to_regexp to match the
22291 working directory name.
22292
22293 2003-04-09 Jim Blandy <jimb@redhat.com>
22294
22295 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22296 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22297 after an inferior function call, report the failure, but allow the
22298 test to continue.
22299
22300 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22301
22302 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22303 with -DPROTOTYPES.
22304
22305 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22306
22307 * gdb.base/break.exp: Revert last patch.
22308
22309 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22310
22311 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22312 with -DPROTOTYPES.
22313
22314 2003-04-02 Andrew Cagney <cagney@redhat.com>
22315
22316 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22317 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22318 matching directories by the name breakpoint.
22319 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22320 Make "continue to marker1" consistent.
22321 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22322 message consistent.
22323 * lib/gdb.exp: Put "the program is no longer running", and "the
22324 program exited" in parenthesis.
22325 * lib/mi-support.exp: Ditto.
22326
22327 2003-04-02 Bob Rossi <bob_rossi@cox.net>
22328
22329 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22330
22331 2003-03-29 Andrew Cagney <cagney@redhat.com>
22332
22333 * gdb.base/sizeof.c (main): Print the value of '\377'.
22334 * gdb.base/sizeof.exp: Check the sign of '\377'.
22335
22336 2003-03-27 Michael Chastain <mec@shout.net>
22337
22338 * gdb.base/gdb1090.exp: New file.
22339 * gdb.base/gdb1090.cc: New file.
22340
22341 2003-03-27 J. Brobecker <brobecker@gnat.com>
22342
22343 * gdb.gdb/observer.exp: New regression test.
22344
22345 2003-03-27 Michael Chastain <mec@shout.net>
22346
22347 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22348 * gdb.base/ptype.exp: Likewise.
22349
22350 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
22351
22352 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22353
22354 2003-03-26 Michael Chastain <mec@shout.net>
22355
22356 * gdb.base/ptype.exp: Actually use some typedef'd types.
22357
22358 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22359
22360 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22361 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22362
22363 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22364
22365 * gdb.base/default.exp: Fix regular expression.
22366
22367 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22368
22369 * gdb.base/args.exp: Fix regular expression.
22370
22371 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22372
22373 * gdb.base/help.exp: Allow Win32 child process.
22374
22375 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22376
22377 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22378 when stepping out of main().
22379
22380 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22381
22382 * gdb.base/default.exp: Check for win32 specific message when calling
22383 "run" without executable.
22384
22385 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22386
22387 * gdb.base/args.exp: Expect .exe in output.
22388
22389 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22390
22391 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22392 Cygwin native.
22393
22394 2003-03-17 Andrew Cagney <cagney@redhat.com>
22395
22396 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
22397 vector registes.
22398 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22399 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22400
22401 2003-03-17 David Carlton <carlton@math.stanford.edu>
22402
22403 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22404 test, for PR breakpoints/38.
22405 Call test_watchpoint_and_breakpoint.
22406 * gdb.base/watchpoint.c (func3): New function.
22407 (main): Call func3.
22408
22409 2003-03-04 David Carlton <carlton@math.stanford.edu>
22410
22411 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22412 Garply<Garply<char> >:: garply".
22413 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22414 with respect to PR c++/1111; note also PR c++/1113.
22415 (test_template_breakpoints): KFAIL "constructor breakpoint" with
22416 respect to PR c++/1062.
22417 KFAIL "destructor breakpoint" with respect to PR c++/1112.
22418
22419 2003-03-03 David Carlton <carlton@math.stanford.edu>
22420
22421 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22422 with respect to PR c++/57.
22423 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22424 c++/826.
22425 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22426 respect to PR c++/57.
22427
22428 2003-03-03 David Carlton <carlton@math.stanford.edu>
22429
22430 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22431 respect to PR c++/33 into FAILs.
22432
22433 2003-03-03 Michael Chastain <mec@shout.net>
22434
22435 * configure.in: Update copyright years.
22436
22437 2003-03-03 Michael Chastain <mec@shout.net>
22438
22439 * Makefile.in: Update copyright years.
22440
22441 2003-02-28 David Carlton <carlton@math.stanford.edu>
22442
22443 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22444 print class instead of struct and/or superfluous protection
22445 specifiers, as long as the resulting output is equivalent to the
22446 source code.
22447 Delete FIXME from end of messages on tests that don't need
22448 fixing.
22449
22450 2003-02-28 David Carlton <carlton@math.stanford.edu>
22451
22452 * gdb.c++/templates.exp (do_tests): Allow const in the two
22453 Foo<volatile char *>::foo tests.
22454
22455 2003-02-27 Michael Snyder <msnyder@redhat.com>
22456
22457 * gdb.base/restore.c (main): Return zero, so exit code
22458 will be consistant.
22459
22460 2003-02-26 David Carlton <carlton@math.stanford.edu>
22461
22462 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22463 char *>::foo" test with respect to PR c++/33. Create a new test
22464 which is identical to that one except that it doesn't put the
22465 space between the "char" and the "*"; KFAIL it, too.
22466
22467 2003-02-26 David Carlton <carlton@math.stanford.edu>
22468
22469 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22470 template types into either PASSes or KFAILs (corresponding to PR
22471 c++/57). Tweak indentation. Update copyright.
22472
22473 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
22474
22475 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22476
22477 2003-02-13 Michael Chastain <mec@shout.net>
22478
22479 * gdb.base/exprs.exp: Remove i960 remnants.
22480 * gdb.base/funcargs.exp: Likewise.
22481 * gdb.base/list.exp: Likewise.
22482 * gdb.base/ptype.exp: Likewise.
22483
22484 2003-02-14 David Carlton <carlton@math.stanford.edu>
22485
22486 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22487 pEe->D::vg()" from XFAIL to KFAIL.
22488
22489 2003-02-13 Jason Molenda (jmolenda@apple.com)
22490
22491 * gdb.base/maint.exp: Update maint print statistics regexp to include
22492 new entries.
22493
22494 2003-02-13 Michael Chastain <mec@shout.net>
22495
22496 * gdb.c++/inherit.exp: Remove call to get_debug_format.
22497
22498 2003-02-12 Michael Chastain <mec@shout.net>
22499
22500 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22501 * gdb.c++/inherit.exp: Likewise.
22502 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22503 * gdb.c++/templates.exp: Likewise.
22504 * gdb.c++/virtfunc.exp: Likewise.
22505
22506 2003-02-06 Jason Molenda (jason-cl@molenda.com)
22507
22508 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22509 why the code is written that way.
22510
22511 2003-02-05 Michael Chastain <mec@shout.net>
22512
22513 * gdb.base/dump.exp: Add missing copyright line.
22514
22515 2003-02-05 Jason Molenda (jason-cl@molenda.com)
22516
22517 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
22518 at the beginning so the breakpoint doesn't get set on the loop.
22519
22520 2003-02-05 Michael Chastain <mec@shout.net>
22521
22522 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22523 output for configurations with gcc 2.95.3.
22524
22525 2003-02-05 Keith Seitz <keiths@redhat.com>
22526 Andrew Cagney <ac131313@redhat.com>
22527
22528 * gdb.mi/mi-cli.exp: New file.
22529
22530 2003-02-04 Michael Chastain <mec@shout.net>
22531
22532 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22533 Call perror and then continue.
22534
22535 2003-02-03 Michael Chastain <mec@shout.net>
22536
22537 * gdb.c++/pr-1023.cc: New file.
22538 * gdb.c++/pr-1023.exp: New file.
22539
22540 2003-02-05 Jim Blandy <jimb@redhat.com>
22541
22542 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
22543 it's local to foobar. Check for it there, and check that it's not
22544 present in main.
22545 * gdb.c++/local.cc (marker2): New function.
22546 (foobar): Call marker1.
22547 (main): Call marker2 instead of marker1.
22548
22549 2003-02-04 Andrew Cagney <ac131313@redhat.com>
22550
22551 * gdb.disasm/mn10200.exp: Obsolete file.
22552 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
22553 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
22554 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
22555
22556 2003-02-04 David Carlton <carlton@math.stanford.edu>
22557
22558 * gdb.c++/overload.exp: Test intToChar(1).
22559 * gdb.c++/overload.cc (intToChar): New.
22560 (main): Call intToChar.
22561
22562 2003-02-03 David Carlton <carlton@math.stanford.edu>
22563
22564 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
22565 'might_kfail' arg.
22566 KFAIL some of the continue_to_bp_overloaded calls, according to
22567 PR c++/1025.
22568
22569 2003-02-01 Michael Chastain <mec@shout.net>
22570
22571 * gdb.base/advance.c (marker1): New marker function.
22572 * gdb.base/advance.exp: When the 'advance' command lands on the
22573 return breakpoint, it can legitimately stop on either the
22574 current line or the next line. Accommodate both outcomes.
22575 * gdb.base/until.exp: Likewise.
22576
22577 2003-02-02 Andrew Cagney <ac131313@redhat.com>
22578
22579 2002-11-10 Jason Molenda (jason-cl@molenda.com):
22580 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
22581 now a list, not a tuple.
22582 * gdb.mi/mi-var-display.exp: Ditto.
22583 * gdb.mi/gdb792.exp: Ditto.
22584
22585 2003-02-01 Andrew Cagney <ac131313@redhat.com>
22586
22587 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
22588 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
22589 stack backtraces.
22590 * gdb.mi/mi-syn-frame.c: Part of same.
22591
22592 2003-02-01 Mark Kettenis <kettenis@gnu.org>
22593
22594 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22595 gdb.mi/mi1-pthreads.exp: Return instead of calling
22596 gdb_suppress_entire_file.
22597
22598 2003-02-01 Mark Salter <msalter@redhat.com>
22599
22600 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
22601
22602 2003-01-31 Mark Salter <msalter@redhat.com>
22603
22604 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
22605 Support empty arg.
22606
22607 2003-01-30 Michael Chastain <mec@shout.net>
22608
22609 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
22610 This was a workaround for a UTF-8 bug in readline 4.3. The bug
22611 has been fixed in gdb/readline on 2003-01-09.
22612
22613 2003-01-29 Michael Snyder <msnyder@redhat.com>
22614
22615 * gdb.base/maint.exp: Allow for leading underscore in symbol.
22616 * gdb.base/display.exp: Allow for leading underscore in symbol.
22617 * gdb.base/args.exp: Skip if target does not support args passing.
22618
22619 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
22620
22621 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
22622 gdb_test. Accept a list of expect arguments as the third
22623 parameter.
22624 (gdb_test): Use it.
22625
22626 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
22627
22628 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
22629 allow for different test tree configurations. Update some
22630 tescases accordingly.
22631 * gdb.arch/altivec-regs.exp: Ditto.
22632 * gdb.asm/asm-source.exp: Ditto.
22633 * gdb.base/advance.exp: Ditto.
22634 * gdb.base/display.exp: Ditto.
22635 * gdb.base/long_long.exp: Ditto.
22636 * gdb.base/mips_pro.exp: Ditto.
22637 * gdb.base/overlays.exp: Ditto.
22638 * gdb.base/relocate.exp: Ditto.
22639 * gdb.base/setshow.exp: Ditto.
22640 * gdb.base/step-line.exp: Ditto.
22641 * gdb.base/step-test.exp: Ditto.
22642 * gdb.base/until.exp: Ditto.
22643 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
22644
22645 2003-01-17 David Carlton <carlton@math.stanford.edu>
22646
22647 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
22648 corresponding to PR c++/945.
22649 Update copyright.
22650
22651 2003-01-17 David Carlton <carlton@math.stanford.edu>
22652
22653 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
22654 corresponding to PR c++/68.
22655
22656 2003-01-17 David Carlton <carlton@math.stanford.edu>
22657
22658 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
22659 (test_paddr_hairy_functions): Call print_addr_2_kfail for
22660 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
22661
22662 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
22663
22664 * gdb.base/break.exp: Fix change of default location, because of
22665 removal of until tests.
22666 * gdb.base/help.exp: Update test for new 'until' help message.
22667 Add test for help on 'advance'.
22668 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
22669
22670 2003-01-15 Mark Kettenis <kettenis@gnu.org>
22671
22672 * gdb.base/default.exp: Adapt "info float" test for recent changes
22673 to that command. Add test for "info vector".
22674 * gdb.base/float.exp: New file. Add test for "info float" that
22675 resembles the old test in gdb.base/default.exp.
22676
22677 2003-01-15 David Carlton <carlton@math.stanford.edu>
22678
22679 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
22680
22681 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
22682
22683 * gdb.base/break.exp: Move the tests of until command from here...
22684 * gdb.base/until.exp: ... to here. New file. Add other tests.
22685 * gdb.base/advance.c: New file.
22686 * gdb.base/advance.exp: New file.
22687
22688 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
22689
22690 * gdb.base/args.c: New file.
22691 * gdb.base/args.exp: New file.
22692
22693 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22694
22695 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
22696
22697 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22698
22699 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
22700
22701 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22702
22703 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
22704 dates.
22705
22706 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22707
22708 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
22709
22710 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22711
22712 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
22713 (ptype &*"foo").
22714 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
22715
22716 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22717
22718 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
22719 * gdb.mi/mi1-console.exp: Likewise.
22720
22721 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22722
22723 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
22724 * gdb.mi/mi1-console.exp: Likewise.
22725
22726 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22727
22728 * gdb.c++/overload.exp: Remove some fixed XFAILs.
22729
22730 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
22731
22732 * gdb.base/detach.exp: New test.
22733
22734 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
22735
22736 * Makefile.in (ALL_SUBDIRS): New variable.
22737 (subdirs, clean, distclean): Use it.
22738 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
22739 regenerating Makefile, since it is generated from the top level.
22740 * gdb.asm/Makefile.in: Likewise.
22741 * gdb.base/Makefile.in: Likewise.
22742 * gdb.c++/Makefile.in: Likewise.
22743 * gdb.disasm/Makefile.in: Likewise.
22744 * gdb.java/Makefile.in: Likewise.
22745 * gdb.mi/Makefile.in: Likewise.
22746 * gdb.threads/Makefile.in: Likewise.
22747 * gdb.trace/Makefile.in: Likewise.
22748
22749 2003-01-09 David Carlton <carlton@math.stanford.edu>
22750
22751 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
22752 Add copyright year 2003.
22753
22754 2003-01-06 Michael Chastain <mec@shout.net>
22755
22756 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
22757 When selecting a thread, 'line' and 'file' are optional.
22758 * gdb.mi/mi1-pthreads.exp: Likewise.
22759
22760 2003-01-06 Andreas Schwab <schwab@suse.de>
22761
22762 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22763 failures.
22764
22765 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22766
22767 Fix PR gdb/844
22768 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22769 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22770
22771 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
22772 instead of calling gdb_suppress_entire_file.
22773 * gdb.threads/print-threads.exp: Likewise.
22774 * gdb.threads/schedlock.exp: Likewise.
22775
22776 * gdb.threads/killed.exp: Return instead of calling
22777 gdb_suppress_entire_file.
22778 * gdb.threads/linux-dp.exp: Likewise.
22779 * gdb.threads/pthreads.exp: Likewise.
22780
22781 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22782
22783 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22784 stabs.
22785 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22786 * gdb.base/whatis.exp: Always allow (void) after function names.
22787
22788 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22789
22790 * gdb.c++/casts.exp: Correct regexp.
22791
22792 2003-01-04 Mark Kettenis <kettenis@gnu.org>
22793
22794 * configure.in: Call AC_CONFIG_HEADER. Don't call
22795 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22796 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
22797 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
22798 aforementioned directories in the AC_OUPUT call.
22799 * config.hin: New file.
22800 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22801 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22802 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22803 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22804 pass -I$objdir instead of -I$objdir/$subdir in compilation.
22805 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22806 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22807 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22808 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22809 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22810 gdb.threads/configure.in, gdb.threads/configure,
22811 gdb.threads/config.in, gdb.trace/configure.in,
22812 gdb.trace/configure: Removed.
22813
22814 2003-01-03 Michael Chastain <mec@shout.net>
22815
22816 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22817 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22818
22819 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
22820
22821 * gdb.base/store.exp: Fix regular expressions.
22822
22823 2002-12-28 Mark Kettenis <kettenis@gnu.org>
22824
22825 * configure.in: Rewrite.
22826 * configure: Regenerated.
22827
22828 2003-01-03 David Carlton <carlton@math.stanford.edu>
22829
22830 * gdb.base/psymtab.exp: New file.
22831 * gdb.base/psymtab1.c: Ditto.
22832 * gdb.base/psymtab2.c: Ditto.
22833
22834 2002-12-23 Adam Fedor <fedor@gnu.org>
22835
22836 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22837
22838 2002-12-23 David Carlton <carlton@math.stanford.edu>
22839
22840 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22841 and current_directory initialization.
22842
22843 2002-12-22 Jim Blandy <jimb@redhat.com>
22844
22845 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22846 rather than as part of the output file name.
22847
22848 * gdb.base/attach.exp: There's no need to copy the test program to
22849 /tmp; that was only ever necessary on HP/UX, and this test is
22850 entirely disabled there anyway.
22851
22852 2002-12-21 Jim Blandy <jimb@redhat.com>
22853
22854 * gdb.c++/psmang.exp: Doc fix.
22855
22856 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22857 test.
22858
22859 2002-12-20 David Carlton <carlton@math.stanford.edu>
22860
22861 * gdb.c++/annota2.exp: KFAIL annotate-quit.
22862
22863 2002-12-18 Michael Chastain <mec@shout.net>
22864
22865 * gdb.c++/annota2.exp: Add copyright year 2002.
22866
22867 2002-12-17 David Carlton <carlton@math.stanford.edu>
22868
22869 * gdb.c++/try_catch.cc: Add marker comments.
22870 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22871 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22872 * gdb.c++/m-static.cc: Ditto.
22873 * gdb.c++/m-static1.cc: Ditto.
22874 * gdb.c++/try_catch.cc: Ditto.
22875
22876 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
22877
22878 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22879 to see whether we are using the new -environment-directory
22880 command which resets via -r or the old version of the command
22881 which may prompt the user. Part of fix for gdb/741.
22882
22883 2002-12-13 Andrew Cagney <ac131313@redhat.com>
22884
22885 * gdb.fortran/types.exp: Update obsolete comment.
22886 * gdb.fortran/exprs.exp: Ditto.
22887 * lib/gdb.exp: Delete obsolete code.
22888 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22889 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22890 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22891 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22892 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22893 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22894 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22895 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22896 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22897 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22898 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22899 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22900 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22901 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22902 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22903 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22904 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22905 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22906 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22907 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22908 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22909 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22910 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22911 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22912 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22913 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22914 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22915 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22916 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22917 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22918 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22919 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22920 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22921 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22922 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
22923 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
22924 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
22925
22926 2002-12-11 David Carlton <carlton@math.stanford.edu>
22927
22928 * gdb.c++/m-data.exp: Add test for members that shadow global
22929 variables: see PR gdb/804.
22930 * gdb.c++/m-data.cc: Ditto.
22931
22932 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
22933
22934 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
22935
22936 2002-12-06 David Carlton <carlton@math.stanford.edu>
22937
22938 * gdb.base/store.c: Don't declare functions static.
22939
22940 2002-12-04 Andrew Cagney <ac131313@redhat.com>
22941
22942 * gdb.base/store.exp, gdb.base/store.c: New files.
22943
22944 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
22945
22946 * gdb.base/selftest.exp: Update for current gdb.
22947
22948 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
22949
22950 * gdb.base/maint.exp: Only dump symbols from one source file
22951 or objfile.
22952
22953 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
22954
22955 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
22956 function call.
22957
22958 2002-11-25 Jim Blandy <jimb@redhat.com>
22959
22960 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
22961 function appearing in error message.
22962
22963 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
22964
22965 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
22966
22967 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
22968
22969 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
22970 for mi1 and current mi is in correct format. New mi startup message
22971 should be in mi console format. This is part of fix for PR gdb/604.
22972
22973 2002-09-18 Fernando Nasser <fnasser@redhat.com>
22974
22975 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
22976 which explicitly prints the zero offset as "+0".
22977
22978 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
22979
22980 * gdb.threads/schedlock.c (args): Make unsigned.
22981
22982 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
22983
22984 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
22985 numbers. Allow "foo2|selected stack frame".
22986 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
22987 * gdb.asm/asmsrc2.s: Likewise.
22988 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
22989 comments.
22990 * gdb.asm/mips.inc: New file.
22991
22992 2002-10-18 Adam Fedor <fedor@gnu.org>
22993
22994 * gdb.base/default.exp: Update expected output to include 'ObjC'.
22995 * gdb.base/help.exp: Likewise.
22996
22997 2002-10-17 Kevin Buettner <kevinb@redhat.com>
22998
22999 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23000 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23001
23002 2002-10-02 Jim Blandy <jimb@redhat.com>
23003
23004 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23005
23006 2002-10-01 Andrew Cagney <ac131313@redhat.com>
23007
23008 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23009 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23010 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23011 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23012 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23013 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23014 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23015
23016 2002-09-29 Andrew Cagney <ac131313@redhat.com>
23017
23018 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23019 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23020 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23021 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23022 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23023 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23024 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
23025
23026 2002-09-27 Kevin Buettner <kevinb@redhat.com>
23027
23028 * gdb.base/annota1.exp (info break): Make directory components of
23029 path optional since not all compilers emit this debug information.
23030
23031 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23032 step ends up stepping out of the function instead of stopping on
23033 the epilogue.
23034
23035 2002-09-26 Keith Seitz <keiths@redhat.com>
23036
23037 * lib/insight-support.exp (gdbtk_start): Figure out where
23038 the insight executable is based on where gdb is. Use this
23039 executable to start insight instead of gdb.
23040
23041 2002-09-25 Andrew Cagney <cagney@redhat.com>
23042
23043 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23044
23045 2002-09-24 Andrew Cagney <ac131313@redhat.com>
23046
23047 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23048 test_isolated_complaints.
23049 (test_empty_complaint): New function.
23050 (test_empty_complaints): New function. Check no output when no
23051 complaints.
23052
23053 2002-09-19 Jim Blandy <jimb@redhat.com>
23054
23055 * gdb.base/charset.exp, gdb.base/charset.c: New files.
23056
23057 2002-09-19 Andrew Cagney <ac131313@redhat.com>
23058
23059 * gdb.gdb/complaints.exp: New file.
23060
23061 2002-09-18 Andrew Cagney <ac131313@redhat.com>
23062
23063 * gdb.base/maint.exp: Check `help maint internal-warning'.
23064
23065 2002-09-18 David Carlton <carlton@math.stanford.edu>
23066
23067 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23068 numbers, and replace them by a single breakpoint after the
23069 constructors are all finished.
23070 Add test 4.
23071 * gdb.c++/m-static.cc: Add test 4.
23072 * gdb.c++/m-static.h: New file.
23073 * gdb.c++/m-static1.cc: New file.
23074
23075 * gdb.c++/printmethod.exp: New file.
23076 * gdb.c++/printmethod.cc: New file.
23077
23078 * gdb.c++/pr-574.exp: New file.
23079 * gdb.c++/pr-574.cc: New file.
23080
23081 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23082
23083 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23084 embedded targets which never actually exit.
23085
23086 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23087
23088 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23089 "don't step after run" as unresolved or unsupported, instead of xfail.
23090
23091 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23092
23093 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23094 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23095 Add newline to expected string in "step out of main (status wrapper)"
23096 case.
23097
23098 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23099
23100 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23101 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23102
23103 2002-09-17 Tom Tromey <tromey@redhat.com>
23104
23105 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23106 \000, not \0, in double-quoted string.
23107
23108 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
23109
23110 * gdb.base/commands.exp: Don't expect a "Program exited normally"
23111 string after running the commands execution on breakpoint tests.
23112
23113 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
23114
23115 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23116
23117 2002-09-12 Joel Brobecker <brobecker@gnat.com>
23118
23119 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23120
23121 2002-09-10 Keith Seitz <keiths@redhat.com>
23122
23123 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23124 runto proc.
23125 (mi_run_to_main): Use mi_runto.
23126 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23127
23128 2002-09-10 Keith Seitz <keiths@redhat.com>
23129
23130 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23131 regexp for stopping at main. Could have multiple event notifications.
23132 Don't assume that main was declared with no parameters.
23133 (mi_next): Use mi_step_to.
23134 (mi_step): Use mi_next_to.
23135
23136 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
23137
23138 * gdb.base/default.exp: Fix expected string in `info float' test.
23139
23140 2002-09-09 Ben Elliston <bje@redhat.com>
23141
23142 * config/mips.exp: Update comments.
23143 * config/mips-idt.exp: Likewise.
23144 * config/nind.exp: Likewise.
23145 * config/slite.exp: Likewise.
23146 * config/sparclet.exp: Likewise.
23147 * config/udi.exp: Likewise.
23148 * config/vx.exp: Likewise.
23149 * config/vxworks29k.exp: Likewise.
23150
23151 2002-09-05 Jim Blandy <jimb@redhat.com>
23152
23153 * gdb.threads/killed.exp: Fix test failure message.
23154
23155 2002-09-04 Keith Seitz <keiths@redhat.com>
23156
23157 * lib/mi-support.exp: Update copyright.
23158 (mi_gdb_test): Increase the priority of the expected pattern
23159 so that it matches gdb_test.
23160
23161 2002-09-03 Keith Seitz <keiths@redhat.com>
23162
23163 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23164 Use integer comparison instead of string comparison for testing
23165 whether binary was built.
23166
23167 2002-09-03 Jim Blandy <jimb@redhat.com>
23168
23169 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23170
23171 2002-08-29 Jim Blandy <jimb@redhat.com>
23172
23173 * gdb.threads/pthreads.exp: Move the portable thread compilation
23174 code into a function in lib/gdb.exp, and call that from here.
23175 * lib/gdb.exp (gdb_compile_pthreads): New function.
23176
23177 2002-08-29 Keith Seitz <keiths@redhat.com>
23178
23179 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23180 expect_out so that callers can get at it.
23181
23182 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
23183
23184 * gdb.threads/print-threads.c: New file.
23185 * gdb.threads/print-threads.exp: New file.
23186 * gdb.threads/schedlock.c: New file.
23187 * gdb.threads/schedlock.exp: New file.
23188
23189 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
23190
23191 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23192 not altivec.c.
23193
23194 2002-08-17 Mark Kettenis <kettenis@gnu.org>
23195
23196 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23197 targets. The problem should be fixed now.
23198
23199 2002-08-15 Mark Kettenis <kettenis@gnu.org>
23200
23201 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23202 2002-07-24 change that removes final dots from error messages.
23203
23204 2002-08-13 Tom Tromey <tromey@redhat.com>
23205
23206 * gdb.base/readline.exp: New file.
23207
23208 2002-08-01 Andrew Cagney <ac131313@redhat.com>
23209
23210 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23211 supress message.
23212
23213 2002-08-01 Andrew Cagney <cagney@redhat.com>
23214
23215 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23216 CHILL_FOR_TARGET and CHILL_LIB.
23217 * configure.in (configdirs): Remove gdb.chill.
23218 * configure: Regenerate.
23219 * lib/gdb.exp: Obsolete references to chill.
23220 * gdb.fortran/types.exp: Ditto.
23221 * gdb.fortran/exprs.exp: Ditto.
23222
23223 2002-07-30 Kevin Buettner <kevinb@redhat.com>
23224
23225 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23226 set Irix-specific compile and link flags.
23227
23228 2002-07-29 Kevin Buettner <kevinb@redhat.com>
23229
23230 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23231 source files. The ``-o'' option doesn't work with the ``-E'' option
23232 when using the Irix compiler.
23233
23234 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
23235
23236 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23237 Improve support for reusing an exec file. Copy exec file
23238 to target, and run gdbserver on the target instead of on the host.
23239
23240 2002-07-18 Jim Blandy <jimb@redhat.com>
23241
23242 * gdb.base/ending-run.exp: Don't expect to see the program end in
23243 some orderly fashion when we're running on a real stand-alone
23244 board.
23245
23246 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23247 targets that don't support interrupts.
23248
23249 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23250
23251 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23252 systems.
23253 Move comments in expect statements to inside the actions, so that they
23254 don't get matched against.
23255
23256 2002-07-10 Mark Kettenis <kettenis@gnu.org>
23257
23258 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23259 function when asleep" test.
23260
23261 2002-07-10 Andrew Cagney <ac131313@redhat.com>
23262
23263 * gdb.base/page.exp: Rewrite to handle problems with very long
23264 `info set' output. Update copyright.
23265
23266 2002-06-26 Andrew Cagney <ac131313@redhat.com>
23267
23268 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23269 gdb.threads-hp.
23270 * gdb.hp/configure: Regenerate.
23271 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23272 * gdb.hp/gdb.threads-hp/configure: Delete file.
23273 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23274
23275 2002-06-22 Andrew Cagney <ac131313@redhat.com>
23276
23277 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23278 setlocale, bindtextdomain and textdomain.
23279
23280 2002-06-11 Jim Blandy <jimb@redhat.com>
23281
23282 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23283 preprocessor macro information is present.
23284
23285 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23286 tests.
23287
23288 2002-06-06 Michael Snyder <msnyder@redhat.com>
23289
23290 * gdb.base/overlays.exp: Record addresses of overlay
23291 functions in TCL variables rather than in GDB variables,
23292 to avoid having GDB convert them to pointers (with loss
23293 of information).
23294
23295 * gdb.base/d10v.ld: Merge in several years worth of
23296 default linker script changes.
23297 * gdb.base/long_long.exp: Add check for sizeof (long double).
23298
23299 2002-06-06 Michal Ludvig <mludvig@suse.cz>
23300
23301 * gdb.asm/asm-source.exp: Add x86-64 target.
23302 * gdb.asm/x86_64.inc: New.
23303
23304 2002-05-30 Michael Chastain <mec@shout.net>
23305
23306 From Benjamin Kosnik <bkoz@redhat.com>:
23307 * gdb.c++/m-static.cc: New file.
23308 * gdb.c++/m-static.exp: New file.
23309
23310 2002-05-28 Michael Snyder <msnyder@redhat.com>
23311
23312 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23313 precision.
23314
23315 2002-05-27 Michael Chastain <mec@shout.net>
23316
23317 From Benjamin Kosnik <bkoz@redhat.com>:
23318 * gdb.c++/m-data.cc: New file.
23319 * gdb.c++/m-data.exp: New file.
23320
23321 2002-05-27 Michael Chastain <mec@shout.net>
23322
23323 From Benjamin Kosnik <bkoz@redhat.com>:
23324 * gdb.c++/try_catch.cc: New file.
23325 * gdb.c++/try_catch.exp: New file.
23326
23327 2002-05-27 Michael Chastain <mec@shout.net>
23328
23329 * gdb.c++/local.exp: Accept more nested types in output.
23330
23331 2002-05-26 Michael Chastain <mec@shout.net>
23332
23333 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23334
23335 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23336
23337 * lib/gdb.exp (gdb_wrapper_init): Just because
23338 gdb_wrapper_file exists, this does not mean that the file
23339 should not be rebuilt. That is what gdb_wrapper_initialized
23340 is for.
23341 (default_gdb_init): Reset gdb_wrapper_initialized.
23342
23343 2002-05-23 Michael Snyder <msnyder@redhat.com>
23344
23345 * gdb.base/all-bin.exp: Revise previous patch by just reducing
23346 the precision of the floating point test results.
23347 * gdb.base/call-rt-st.exp: Ditto.
23348
23349 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23350 * gdb.base/call-rt-st.exp: Ditto.
23351
23352 2002-05-19 Michael Chastain <mec@shout.net>
23353
23354 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23355
23356 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
23357
23358 * configure.in (configdirs): Add gdb.arch.
23359 * configure: Regenerate.
23360
23361 2002-05-17 Jim Blandy <jimb@redhat.com>
23362
23363 * gdb.base/completion.exp: Recognize the more detailed error
23364 messages produced by the macro expander's lexical analyzer.
23365
23366 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23367
23368 * gdb.arch/altivec-abi.c: New file.
23369 * gdb.arch/altivec-abi.exp: New file.
23370 * gdb.arch/altivec-regs.c: New file.
23371 * gdb.arch/altivec-regs.exp: New file.
23372
23373 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
23374
23375 * gdb.base/maint.exp (maint print type): Update for new type
23376 structure.
23377
23378 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23379
23380 * gdb.arch: New directory.
23381 * gdb.arch/configure.in: New file.
23382 * gdb.arch/configure: New file.
23383 * gdb.arch/Makefile.in: New file.
23384
23385 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
23386
23387 * gdb.asm/asm-source.exp: Add v850 as supported target.
23388 * gdb.asm/v850.inc: New file.
23389
23390 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
23391
23392 * gdb.c++/annota2.exp (annotate-quit): Add comment.
23393
23394 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
23395
23396 * gdb.base/break.exp: Check 'break "marker2"'.
23397
23398 2002-05-10 Michael Snyder <msnyder@redhat.com>
23399
23400 * gdb.base/long_long.exp: Fix typo.
23401
23402 2002-05-10 Jim Blandy <jimb@redhat.com>
23403
23404 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
23405 a bug.
23406
23407 * gdb.base/printcmds.exp (test_integer_literals_rejected):
23408 Recognize more detailed error message produced by the macro
23409 expander's lexical analyzer.
23410 * lib/gdb.exp (test_print_reject): Same.
23411
23412 2002-05-09 Mark Kettenis <kettenis@gnu.org>
23413
23414 * gdb.c++/method.exp: Fix typo.
23415
23416 2002-05-08 Michael Snyder <msnyder@redhat.com>
23417
23418 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23419 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
23420 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
23421 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23422 Add iftarget clause for strongarm.
23423
23424 2002-05-06 Michael Snyder <msnyder@redhat.com>
23425
23426 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23427 (gdb_continue_to_end): Accept output from status wrapper.
23428 * gdb.base/ending-run.exp: Add case for output from status wrapper.
23429 Clean up fail messages to match pass messages.
23430
23431 Enable the "needs_status_wrapper" testsuite feature.
23432 * lib/gdb.exp (gdb_wrapper_init): New procedure.
23433 (gdb_compile): Conditionally call gdb_wrapper_init.
23434 * gdb.base/a2-run.exp: Recognize output from status wrapper.
23435 * gdb.c++/method.exp: Recognize output from status wrapper.
23436
23437 2002-05-06 Ben Elliston <bje@redhat.com>
23438 From Graydon Hoare <graydon@redhat.com>
23439
23440 * config/sid.exp: Include support for "rawsid" protocol.
23441
23442 2002-05-03 Jim Blandy <jimb@redhat.com>
23443
23444 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23445 * gdb.c++/hang3.C: New file.
23446
23447 2002-05-04 Andrew Cagney <ac131313@redhat.com>
23448
23449 * gdb.base/default.exp: Remove obsolete code.
23450 * gdb.c++/misc.exp: Ditto. Update copyright.
23451 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
23452 * gdb.base/whatis.exp: Ditto. Update copyright.
23453 * gdb.base/scope.exp: Ditto. Update copyright.
23454 * gdb.base/ptype.exp: Ditto. Update copyright.
23455 * gdb.base/printcmds.exp: Ditto. Update copyright.
23456 * gdb.base/opaque.exp: Ditto. Update copyright.
23457 * gdb.base/list.exp: Ditto.
23458 * gdb.base/funcargs.exp: Ditto. Update copyright.
23459 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23460 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23461 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23462 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23463 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23464 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23465
23466 2002-05-02 Michael Snyder <msnyder@redhat.com>
23467
23468 * gdb.base/watchpoint.exp: Add xscale target.
23469 * gdb.base/long_long.exp: Add xscale target.
23470 * gdb.base/default.exp: Add xscale target.
23471
23472 2002-05-01 Jim Blandy <jimb@redhat.com>
23473
23474 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23475 gdb.c++/hang.exp: New test.
23476
23477 2002-05-01 Fred Fish <fnf@redhat.com>
23478
23479 * gdb.base/completion.exp: Handle completions of "./Make" for
23480 more than one completion possibility, as is the case when we
23481 build and test in the source tree.
23482
23483 2002-04-29 Anthony Green <green@redhat.com>
23484
23485 * gdb.java/jmisc1.exp: New file.
23486 * gdb.java/jmisc2.exp: New file.
23487
23488 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
23489
23490 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23491
23492 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
23493
23494 * gdb.base/help.exp: Change 'help status' to allow for target
23495 dependent output differences.
23496
23497 2002-04-22 Michael Chastain <mec@shout.net>
23498
23499 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23500
23501 2002-04-22 Michael Chastain <mec@shout.net>
23502
23503 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23504
23505 2002-04-17 David S. Miller <davem@redhat.com>
23506
23507 * gdb.asm/sparc64.inc: New file.
23508 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23509
23510 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
23511
23512 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23513 instruction file directly into the build tree. Clean up at end of
23514 test.
23515
23516 2002-04-18 David S. Miller <davem@redhat.com>
23517
23518 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23519 handle 64-bit platforms correctly.
23520 * gdb.base/maint.exp: Likewise.
23521
23522 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23523
23524 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23525 ``-fpic'' when compiling files comprising a shared library, but
23526 it does need additional linker flags in order to find shared
23527 libraries at run time.
23528
23529 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23530
23531 * gdb.base/cvexpr.c (use): New function.
23532 (main): Invoke use() on all global variables to prevent
23533 some linkers from deleting these otherwise unused symbols.
23534
23535 2002-04-17 Michael Chastain <mec@shout.net>
23536 From David S. Miller <davem@redhat.com>
23537
23538 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
23539 handle 64-bit platforms correctly.
23540
23541 2002-04-12 Michael Snyder <msnyder@redhat.com>
23542 From Jim Blandy <jimb@redhat.com>
23543 * gdb.base/foo.c (foox): Remove section attribute; the linker
23544 script can handle this instead.
23545 * gdb.base/bar.c (barx): Same.
23546 * gdb.base/baz.c (bazx): Same.
23547 * gdb.base/grbx.c (grbxx): Same.
23548
23549 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
23550 manager doesn't automatically unmap overlays unnecessarily.
23551
23552 2002-04-10 Martin M. Hunt <hunt@redhat.com>
23553
23554 * gdb.base/ending-run.exp: Fix pattern for Mips targets
23555 stepping out of main.
23556
23557 2002-04-09 Michael Chastain <mec@shout.net>
23558
23559 * gdb.c++/local.cc (main): Move call to marker1() inside nested
23560 scope so that the nested scope tests will make sense.
23561 * gdb.c++/local.exp: Write patterns that actually work with gcc
23562 (the HP patterns "were never known to work with gcc").
23563 Keep the old aCC patterns too.
23564
23565 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
23566
23567 * gdb.base/attach.exp: Correct target board test.
23568
23569 2002-04-08 Michael Chastain <mec@shout.net>
23570
23571 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
23572 in a const method. Add some xfail and fail cases for configurations
23573 that do not emit the "const ...".
23574
23575 2002-04-07 Michael Chastain <mec@shout.net>
23576
23577 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
23578 Accept "A * const" and "const A * const" as type of "this".
23579 Fix spelling of getFunky throughout. Make messages uniform.
23580
23581 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
23582
23583 Work around for PR gdb/285:
23584 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
23585
23586 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
23587
23588 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
23589 instructions file at run time instead of configure time.
23590 Sometimes we run the test in a directory that is not the one we
23591 configured in.
23592 * gdb.asm/configure.in: Delete creation of symlink.
23593 * gdb.asm/configure: Regenerate.
23594
23595 2002-04-05 J. Brobecker <brobecker@gnat.com>
23596
23597 * gdb.gdb/xfullpath.exp: New test, to exercise the new
23598 xfullpath () function.
23599
23600 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
23601
23602 * gdb.asm/Makefile.in: Correct dependencies.
23603
23604 * gdb.asm/powerpc.inc: New file.
23605 * gdb.asm/asm-source.exp: Add PowerPC.
23606 * gdb.asm/configure.in: Likewise.
23607 * gdb.asm/configure: Regenerated.
23608
23609 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
23610
23611 * gdb.base/relocate.exp: New file.
23612 * gdb.base/relocate.c: New file.
23613
23614 2002-04-04 Fred Fish <fnf@redhat.com>
23615
23616 * gdb.base/step-test.exp: Update comment regarding stopping in
23617 memcpy/bcopy calls inserted as part of the compiler runtime.
23618
23619 2002-04-04 Michael Snyder <msnyder@redhat.com>
23620
23621 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
23622
23623 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
23624
23625 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
23626 (gdb_expect): Remove $notransfer hack.
23627
23628 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
23629
23630 * gdb.c++/classes.exp ("calling method for small class"): Match
23631 updated register output.
23632
23633 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
23634
23635 Fix PR gdb/452
23636 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
23637 when finished. Make gdb_file_cmd send "exec-file" when
23638 appropriate.
23639
23640 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
23641
23642 * gdb.base/attach.exp: Remove extra setup_xfail.
23643
23644 2002-03-26 Michael Snyder <msnyder@redhat.com>
23645
23646 * gdb.base/default.exp: Add tests for dump, append, and restore.
23647 * gdb.base/help.exp: Add tests for dump, append, and restore.
23648 * gdb.base/dump.exp: New file, test dump, append and restore.
23649 * gdb.base/dump.c: New file.
23650
23651 2002-03-27 Michael Snyder <msnyder@redhat.com>
23652
23653 * gdb.base/help.exp: Modify expect strings to reflect
23654 clean-ups in help messages.
23655
23656 2002-03-26 Fred Fish <fnf@redhat.com>
23657
23658 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
23659 have debugging info for those functions and the compiler uses them
23660 internally to copy structs around.
23661
23662 2002-03-26 Fred Fish <fnf@redhat.com>
23663
23664 * gdb.base/list.exp: Revert the change made yesterday and add note
23665 about why we don't list the default lines for remote targets.
23666
23667 2002-03-25 Michael Snyder <msnyder@redhat.com>
23668
23669 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
23670
23671 2002-03-25 Fred Fish <fnf@redhat.com>
23672
23673 * gdb.base/list.exp: This test works on remote targets so remove
23674 the short circuit for remote targets. Update copyright.
23675
23676 2002-03-25 Fred Fish <fnf@redhat.com>
23677
23678 * gdb.base/attach.exp: Fix logic error that was suppressing this
23679 test for all non hppa*-*-hpux* targets, instead of the hp target.
23680 Move comments closer to the suppression point. Also now need to
23681 check that we are running natively.
23682
23683 2002-03-22 Michael Snyder <msnyder@redhat.com>
23684
23685 * gdb.base/default.exp: Add test for gcore. Update copyright.
23686 * gdb.base/help.exp: Add test for gcore. Update copyright.
23687
23688 2002-03-06 Fred Fish <fnf@redhat.com>
23689
23690 * gdb.base/funcargs.c: Remove extraneous ';' character.
23691 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
23692
23693 2002-03-04 Michael Chastain <mec@shout.net>
23694
23695 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
23696 accommodate gcc v3 function signature.
23697 * gdb.mi/mi0-var-cmd-exp: Ditto.
23698
23699 2002-02-24 Andrew Cagney <ac131313@redhat.com>
23700
23701 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
23702 ``GNU/Linux'' or ``Linux kernel''
23703 * testsuite/gdb.threads/pthreads.c: Ditto.
23704
23705 2002-02-24 Michael Chastain <mec@shout.net>
23706
23707 * gdb.threads/pthreads.c (thread1): Add a return statement.
23708 (thread2): Likewise.
23709 (foo): Likewise.
23710
23711 2002-02-23 Michael Chastain <mec@shout.net>
23712
23713 * gdb.threads/linux-dp.c (philosopher): Add a return statement
23714 to placate gcc.
23715
23716 2002-02-23 Michael Chastain <mec@shout.net>
23717
23718 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
23719 test "ptype bint". The test passes on all my stabs configurations.
23720
23721 2002-02-21 Jim Blandy <jimb@redhat.com>
23722
23723 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
23724 filename at a time, and watch for the ones we want to see.
23725
23726 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
23727 types of pointers to prototyped functions.
23728
23729 2002-02-20 Andrew Cagney <ac131313@redhat.com>
23730
23731 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
23732 signed, unsigned and straight char.
23733 (padding_char, padding_short, padding_int, padding_long,
23734 padding_long_long, padding_float, padding_double,
23735 padding_long_double): New global variables.
23736 (fill, fill_structs): New functions.
23737
23738 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
23739 for correctly sized writes. Update copyright.
23740 (get_valueof): New procedure.
23741 (get_sizeof): Call get_valueof.
23742 (check_valueof): New procedure.
23743 (check_padding): New procedure.
23744
23745 2002-02-20 Michael Chastain <mec@shout.net>
23746
23747 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
23748 to setup_xfail. Document some of the remaining calls.
23749
23750 2002-02-18 Michael Chastain <mec@shout.net>
23751
23752 * gdb.c++/userdef.exp: Update copyright year.
23753
23754 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
23755
23756 * gdb.c++/userdef.exp: Test overloaded operators properly.
23757 Remove xfails.
23758
23759 2002-02-14 Michael Snyder <msnyder@redhat.com>
23760
23761 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23762
23763 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
23764
23765 * gdb.base/a2-run.exp: Check for a remote target properly.
23766 * gdb.base/annota1.exp: Likewise.
23767 * gdb.base/list.exp: Likewise.
23768 * gdb.base/reread.exp: Likewise.
23769 * gdb.base/scope.exp: Likewise.
23770 * gdb.base/shlib-call.exp: Likewise.
23771 * gdb.base/term.exp: Likewise.
23772 * gdb.c++/annota2.exp: Likewise.
23773
23774 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
23775
23776 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23777
23778 2002-02-10 Michael Chastain <mec@shout.net>
23779
23780 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23781 (call_after_alloca): Ditto.
23782
23783 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
23784
23785 * gdb.base/ending-run.exp: Guard "cont" test with
23786 gdb_skip_stdio_test.
23787
23788 2002-02-06 Jim Blandy <jimb@redhat.com>
23789
23790 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23791 from here...
23792 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23793 To here. Disable this test on non-HP platforms. Add big comment.
23794
23795 2002-02-04 Michael Snyder <msnyder@redhat.com>
23796
23797 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
23798 other than d10v and m32r.
23799
23800 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
23801
23802 * gdb.base/default.exp: Rewrite test patterns to reduce time
23803 taken to match them.
23804
23805 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23806
23807 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23808 Allow a start function above main.
23809 * gdb.threads/linux-dp.exp: Fix copyright date.
23810
23811 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23812
23813 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23814 (check_philosopher_stack): Check for manager thread before checking
23815 for a just-starting thread.
23816
23817 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23818
23819 From Neil Booth <neil@daikokuya.demon.co.uk>:
23820 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23821 warnings.
23822
23823 2002-01-21 Fred Fish <fnf@redhat.com>
23824
23825 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23826 not caller.
23827
23828 2002-01-21 Jim Blandy <jimb@redhat.com>
23829
23830 * gdb.base/reread.exp: Check that GDB properly re-reads the
23831 executable file when it changes while no inferior is running.
23832
23833 2002-01-21 Fred Fish <fnf@redhat.com>
23834
23835 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23836 optionally accept the "shlib events" variation.
23837
23838 2002-01-21 Jim Blandy <jimb@redhat.com>
23839
23840 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23841 call `fflush' after every `printf', so that the output is produced
23842 at predictable points, regardless of whatever buffering does (or
23843 doesn't) take place.
23844 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23845 at different points.
23846
23847 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
23848
23849 * gdb.c++/inherit.exp: Update copyright years.
23850 * gdb.c++/method.exp: Likewise.
23851
23852 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
23853
23854 * gdb.c++/classes.exp: Update for improved v3 support and skipping
23855 artificial methods/arguments.
23856 * gdb.c++/derivation.exp: Likewise.
23857 * gdb.c++/inherit.exp: Likewise.
23858 * gdb.c++/method.exp: Likewise.
23859 * gdb.c++/virtfunc.exp: Likewise.
23860
23861 2002-01-18 Andrew Cagney <ac131313@redhat.com>
23862
23863 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23864 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23865 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23866 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23867 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23868 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23869
23870 2002-01-17 Jim Blandy <jimb@redhat.com>
23871
23872 * gdb.asm/asm-source.exp (info symbol): Take another shot at
23873 anchoring the pattern matching the entry point symbol's name.
23874
23875 2002-01-17 Andrew Cagney <ac131313@redhat.com>
23876
23877 * gdb.base/maint.exp: Update ``maint internal-error'' to match
23878 continue/quit query. Update copyright.
23879
23880 2002-01-14 Michael Snyder <msnyder@redhat.com>
23881
23882 * gdb.base/gcore.exp: Remove extra debugging output.
23883
23884 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
23885
23886 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23887 for slightly dubious v2 mangled string.
23888
23889 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
23890
23891 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23892
23893 2002-01-10 Jason Merrill <jason@redhat.com>
23894
23895 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
23896
23897 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23898 constructors.
23899 * gdb.c++/derivation.exp: Likewise.
23900 * gdb.c++/templates.exp: Likewise.
23901 * gdb.c++/virtfunc.exp: Likewise.
23902
23903 2002-01-10 Michael Snyder <msnyder@redhat.com>
23904
23905 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
23906
23907 2002-01-08 Michael Snyder <msnyder@redhat.com>
23908
23909 * gdb.base/gcore.exp: New test for generate-core-file command.
23910 * gdb.base/gcore.c: Testcase for above.
23911 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23912
23913 2002-01-08 Jason Merrill <jason@redhat.com>
23914
23915 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23916
23917 2002-01-07 Fred Fish <fnf@redhat.com>
23918
23919 * gdb.c++/overload.exp: Remove unconditional xfails for:
23920 print foo_instance1.overloadargs(1)
23921 print foo_instance1.overloadargs(1, 2)
23922 print foo_instance1.overloadargs(1, 2, 3)
23923 print foo_instance1.overloadargs(1, 2, 3, 4)
23924 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
23925 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
23926 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
23927 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
23928 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
23929 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
23930 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
23931 print foo_instance1.overload1arg()
23932 print foo_instance1.overload1arg((char)arg2)
23933 print foo_instance1.overload1arg((signed char)arg3)
23934 print foo_instance1.overload1arg((unsigned char)arg4)
23935 print foo_instance1.overload1arg((int)arg7)
23936 print foo_instance1.overload1arg((unsigned int)arg8)
23937 print foo_instance1.overload1arg((float)arg11)
23938 print foo_instance1.overload1arg((double)arg12)
23939
23940 2002-01-07 Michael Snyder <msnyder@redhat.com>
23941
23942 * gdb.base/huge.exp: New test. Print a very large target data object.
23943 (skip_huge_test): New test variable. Define if you want to skip this
23944 test. The test reads an 8 megabyte data object from the target, so it
23945 might be very time consuming on remote targets with a slow connection.
23946 * gdb.base/huge.c: New file. Test case for above.
23947
23948 2002-01-07 Fred Fish <fnf@redhat.com>
23949
23950 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
23951 g_instance.bfoo, and g_instance.cfoo.
23952
23953 2002-01-07 Jeffrey A Law <law@redhat.com>
23954
23955 * gdb.base/break.c (multi_line_if_conditional): New function.
23956 (multi_ilne_while_conditional): Likewise.
23957 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
23958 IF or WHILE condition puts the breakpoint at the start of
23959 the condition.
23960
23961 * gdb.base/selftest.exp (backtrace through signal handler): Remove
23962 hppa*-*-hpux* expected failure.
23963 * gdb.base/structs.exp (do_function_calls): Similarly.
23964
23965 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
23966 watchpoints.
23967
23968 2002-01-06 Andrew Cagney <ac131313@redhat.com>
23969
23970 Fix PR gdb/66.
23971 * gdb.base/structs.exp: Replace skip for a29k with skip for
23972 gdb,cannot_call_functions.
23973 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
23974 * gdb.base/callfuncs.exp: Ditto.
23975 * gdb.base/call-rt-st.exp: Ditto.
23976 * gdb.base/call-strs.exp: Ditto.
23977 * gdb.base/callfwmall.exp: Ditto.
23978 * gdb.base/scope.exp: Obsolete xfail a29k.
23979 * gdb.c++/misc.exp: Ditto.
23980 * gdb.c++/cplusfuncs.exp: Ditto.
23981 * gdb.base/ptype.exp: Ditto.
23982 * gdb.base/printcmds.exp: Ditto.
23983 * gdb.base/opaque.exp: Ditto.
23984 * gdb.base/list.exp: Ditto.
23985 * gdb.base/funcargs.exp: Ditto.
23986 * gdb.base/default.exp: Ditto.
23987
23988 2002-01-04 Michael Snyder <msnyder@redhat.com>
23989
23990 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
23991 * gdb.base/maint.exp: Add tests for maint info sections options.
23992
23993 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
23994
23995 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
23996
23997 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
23998
23999 * gdb.asm/arm.inc: New file.
24000 * gdb.asm/asm-source.exp: Add arm targets.
24001 * gdb.asm/configure.in: Ditto.
24002 * gdb.asm/configure: Recreated from configure.in.
24003
24004 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24005
24006 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24007 with HP's compiler.
24008 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24009 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24010 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24011 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24012
24013 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24014 either HP's compilers or GCC.
24015
24016 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24017 a SIGBUS or SIGSEGV.
24018
24019 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24020
24021 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24022 can be compiled with either HP's compiler or GCC.
24023
24024 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24025 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24026 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24027
24028 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24029 to match current gdb output. Update due to using auto-solib-limit
24030 for limiting instead of overloading auto-solib-add.
24031 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24032 test program.
24033
24034 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
24035 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24036 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24037 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24038 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24039 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24040 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24041 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24042 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24043 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24044 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24045 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24046 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
24047
24048 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24049 a SIGTRAP to the inferior.
24050
24051 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
24052
24053 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24054 Substitute call to target_link by call to gdb_compile.
24055
24056 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24057
24058 * gdb.base/break.exp: Fix HP specific search string when testing
24059 backtracing in a called function.
24060
24061 * gdb.base/constvars.exp: Only set lang to C++ if we're
24062 compiling the test with HP's compilers.
24063 * gdb.base/volatile.exp: Similarly.
24064
24065 2001-12-19 Jim Blandy <jimb@redhat.com>
24066
24067 * gdb.base/printcmds.exp: Expect the null character to be printed
24068 as '\0', and the '\013' to be printed as '\v'.
24069 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24070 * gdb.base/setvar.exp: Same.
24071
24072 2001-12-17 Jim Blandy <jimb@redhat.com>
24073
24074 * gdb.base/completion.exp: Rather than completing very long
24075 filenames, which can make the readline library produce output we
24076 don't recognize, cd to the directory first, and then complete
24077 using nice, short relative paths.
24078
24079 * gdb.base/completion.exp: On some systems, there is, in fact, a
24080 variable named `b' in scope, since GDB treats all static
24081 variables as being in scope. So use `no_var_named_this'
24082 instead of `b'.
24083
24084 * gdb.base/corefile.exp: Recognize the message saying that GDB
24085 can't find the core file's registers as a failure.
24086
24087 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24088
24089 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24090 test expect string more specific.
24091
24092 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
24093
24094 * gdb.asm/asm-source.exp: Add support for xstormy16.
24095 * gdb.asm/configure.in: Ditto.
24096 * gdb.asm/configure: Rebuild.
24097 * gdb.asm/xstormy16.inc: New file.
24098
24099 2001-12-10 Fred Fish <fnf@redhat.com>
24100
24101 * gdb.base/maint.exp: Update to match changes in type dumping code.
24102
24103 2001-12-10 Jim Blandy <jimb@redhat.com>
24104
24105 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
24106 matching the entry point symbol's name at the beginning of the
24107 line.
24108
24109 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24110
24111 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24112 gdb.c++/inherit.exp, gdb.c++/method.exp,
24113 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24114 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24115 and class layout support.
24116
24117 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24118
24119 * gdb.c++/classes.exp: Add test for static member function.
24120 * gdb.c++/misc.cc: Add class with static member function.
24121
24122 2001-12-07 Jim Blandy <jimb@redhat.com>
24123
24124 If GDB says it can't find the struct the function returned, report
24125 those tests as `unsupported'.
24126 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24127 Rewrite subsequent tests to use it.
24128
24129 If GDB says it can't find the struct the function returned, report
24130 those tests as `unsupported'.
24131 * gdb.base/structs.exp (call_struct_func): New function.
24132 (do_function_calls): Use call_struct_func to call the functions
24133 returning structs.
24134
24135 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24136 whether functions are prototyped or not, so we can't possibly pass
24137 arguments to t_float_values2 properly.
24138
24139 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24140 value of `timeout' for targets other than the mips*tx39-*.
24141
24142 2001-12-06 Michael Snyder <msnyder@redhat.com>
24143
24144 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
24145 and detect whether the start symbol has a leading underscore.
24146
24147 2001-12-04 Jim Blandy <jimb@redhat.com>
24148
24149 * gdb.base/completion.exp: Clarify indentation.
24150
24151 2001-12-03 Jim Blandy <jimb@redhat.com>
24152
24153 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24154 variables on the S/390, not `.word'.
24155
24156 2001-11-30 Jim Blandy <jimb@redhat.com>
24157
24158 Add assembly-source tests for s390-ibm-linux.
24159 * gdb.asm/s390.inc: New file.
24160 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24161 the S/390 architecture.
24162 * gdb.asm/configure: Regenerated.
24163
24164 2001-11-30 Michael Snyder <msnyder@redhat.com>
24165
24166 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24167 next, info source, info sources, info line, global and static
24168 variables, and static functions.
24169 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24170 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24171 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24172 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24173 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24174 (gdbasm_leave): Restore frame pointer.
24175 (gdbasm_startup): Copy stack set-up from crt0.S.
24176
24177 2001-11-26 Fernando Nasser <fnasser@redhat.com>
24178
24179 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24180 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24181 to a local (non-static) variable. Copy tstruct.a to a static buffer
24182 and return a pointer to that buffer.
24183 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24184
24185 2001-11-24 Mark Kettenis <kettenis@gnu.org>
24186
24187 * gdb.asm/configure.in: Fix recognition of ix86 target.
24188 * gdb.asm/configure: Regenerate.
24189
24190 2001-11-21 Michael Snyder <msnyder@redhat.com>
24191
24192 * gdb.asm/sparc.inc: New file.
24193 * gdb.asm/asm-source.exp: Recognize sparc target.
24194 * gdb.asm/configure.in: Recognize sparc target.
24195 * gdb.asm/configure: Regenerate.
24196
24197 2001-11-21 Michael Snyder <msnyder@redhat.com>
24198
24199 * gdb.asm/m32r.inc: New file.
24200 * gdb.asm/asm-source.exp: Recognize m32r target.
24201 * gdb.asm/configure.in: Recognize m32r target.
24202 * gdb.asm/configure: Regenerate.
24203
24204 2001-11-20 Michael Snyder <msnyder@redhat.com>
24205
24206 * gdb.asm/i386.inc: New file.
24207 * gdb.asm/asm-source.exp: Recognize ix86 target.
24208 * gdb.asm/configure.in: Recognize ix86 target.
24209 * gdb.asm/configure: Regenerate.
24210
24211 * gdb.c++/namespace.exp: Fix quotes in output messages.
24212
24213 2001-11-14 Michael Snyder <msnyder@redhat.com>
24214
24215 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
24216 qualifier in a type cast expression, to designate an address
24217 in the instruction space (Harvard architecture).
24218
24219 2001-11-13 Michael Snyder <msnyder@redhat.com>
24220
24221 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24222 Tests for expressions using 'const' and 'volatile'.
24223
24224 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
24225
24226 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24227
24228 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
24229
24230 * lib/mi-support.exp (mi_run_to_helper): Move comments
24231 outside of gdb_expect.
24232
24233 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
24234
24235 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24236 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24237 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24238 mi0_run_to): New functions.
24239 * gdb.mi/mi-simplerun.exp: Use them.
24240 * gdb.mi/mi0-simplerun.exp: Likewise.
24241 * gdb.mi/mi-var-cmd.exp: Likewise.
24242 * gdb.mi/mi0-var-cmd.exp: Likewise.
24243
24244 2001-11-10 Andrew Cagney <ac131313@redhat.com>
24245
24246 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24247 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24248
24249 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24250
24251 * gdb.base/restore.exp: Include $expected value in restored test
24252 message.
24253
24254 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24255
24256 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24257 implemented.
24258
24259 2001-11-08 Michael Snyder <msnyder@redhat.com>
24260
24261 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24262 Add pass/fail message for stop at breakpoint in call dummy function.
24263
24264 2001-11-07 Michael Snyder <msnyder@redhat.com>
24265
24266 * gdb.c++/templates.exp (test_template_breakpoints):
24267 If we get an overload menu, but it does not match what
24268 we expect, we still need to issue the "cancel" command.
24269 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24270 making the whitespace optional. Argument for "new" may be
24271 "unsigned" as well as "unsigned int/long".
24272 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
24273 making the whitespace optional. Also replace "(void) with
24274 "((void|)), making the keyword "void" optional.
24275 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
24276 making the whitespace optional. Also replace "(void) with
24277 "((void|)), making the keyword "void" optional.
24278 * gdb.base/callfuncs.c (t_float_values): This function must
24279 _not_ be prototyped, and the following function (t_float_values2)
24280 must be prototyped (if the compiler supports it), so that GDB
24281 can be tested against both cases. Usually one case involves
24282 promotion of float to double, while the other does not.
24283 * gdb.base/callfwmall.c: Ditto.
24284 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24285 includes a stack frame for "start".
24286
24287 2001-11-05 Jim Blandy <jimb@redhat.com>
24288
24289 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24290 pointers are 32 bits long, and that offsets of relocs are always
24291 stored in the data (REL-style), and not in the reloc entry itself
24292 (RELA-style).
24293 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24294 stabs.
24295
24296 2001-11-01 Michael Snyder <msnyder@redhat.com>
24297
24298 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24299 and regular expression operators by using quoting.
24300
24301 2001-10-31 Michael Snyder <msnyder@redhat.com>
24302
24303 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24304 depending on what the symbol table contains.
24305 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24306 the output of the ptype command. Similarly, accept both "const &"
24307 and "const&".
24308
24309 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
24310
24311 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24312 symbol `STORAGE' to allow to choose the storage class of
24313 the local datastructures.
24314 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24315 compiler directive.
24316
24317 2001-10-30 Michael Snyder <msnyder@redhat.com>
24318
24319 * gdb.base/jump.exp: Allow it to run for all targets.
24320
24321 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24322
24323 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24324 with new double_array size.
24325 (main): Change storage class of all local variables to static.
24326 Reduce size of double_array to 9.
24327 * gdb.base/call-ar-st.exp: Increase timeout value.
24328 Change expected output for double array to match new size in
24329 call-ar-st.c.
24330
24331 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24332
24333 * gdb.base/ending-run.exp: Create identical output when passing
24334 `step to end of run' case. Add regular expression branch satisfying
24335 Stormy16 target.
24336
24337 2001-10-28 Mark Kettenis <kettenis@gnu.org>
24338
24339 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24340 that we catch the expected failure under Linux/x86.
24341
24342 2001-10-29 Orjan Friberg <orjanf@axis.com>
24343
24344 * gdb.base/setvar.exp: Escape curly braces.
24345 * gdb.stabs/weird.exp: Ditto.
24346
24347 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
24348
24349 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24350 * gdm.mi/mi0-hack-cli.exp: Likewise.
24351
24352 2001-10-25 Andrew Cagney <ac131313@redhat.com>
24353
24354 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24355 messages.
24356
24357 2001-10-21 Andrew Cagney <ac131313@redhat.com>
24358
24359 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24360 checking MI enabled.
24361
24362 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
24363
24364 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24365
24366 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
24367
24368 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24369 if gdb child process crashes, just signal an error.
24370
24371 2001-10-02 Jim Blandy <jimb@redhat.com>
24372
24373 * lib/gdb.exp (test_xfail_format): Simplify.
24374
24375 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24376 front of the variable name `format'. Simplify `if'.
24377
24378 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24379
24380 * gdb.threads/pthreads.exp: Wait for output and delay
24381 before sending ^C.
24382
24383 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24384
24385 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
24386 some incorrect output instead of timing out.
24387 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
24388
24389 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
24390
24391 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24392 check to allow additional `int'.
24393
24394 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
24395
24396 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24397 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24398
24399 2001-09-27 Michael Snyder <msnyder@redhat.com>
24400
24401 * lib/gdb.exp (test_debug_format): New proc.
24402 (setup_xfail_format): Use new proc test_debug_format.
24403 * gdb.base/constvars.exp (local_compiler_xfail_check): New
24404 proc; use new service proc test_debug_format.
24405 Replace all other "gcc_compiled" tests with this test.
24406 * gdb.base/volatile.exp (local_compiler_xfail_check): New
24407 proc; use new service proc test_debug_format.
24408 Replace all other "gcc_compiled" tests with this test.
24409
24410 2001-09-27 Michael Snyder <msnyder@redhat.com>
24411
24412 * gdb.base/cvexpr.exp: New file.
24413 * gdb.base/cvexpr.c: New file
24414 Test for expressions using const and volatile keywords.
24415
24416 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
24417
24418 * gdb.base/constvars.exp: Check for different orders of keywords
24419 and additional "int" strings in output.
24420
24421 2001-09-22 Andrew Cagney <ac131313@redhat.com>
24422
24423 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24424 responses from "help maint".
24425
24426 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
24427
24428 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24429 to localhost:NNN instead of :NNN, in case Xvfb is listening
24430 only on TCP.
24431
24432 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
24433
24434 * gdb.base/recurse.exp: When checking leaving the watchpoint
24435 scope, recognize when gdb is in function's epilogue and pass.
24436
24437 2001-09-18 Keith Seitz <keiths@redhat.com>
24438
24439 * lib/insight-support.exp (_gdbtk_export_target_info): Add
24440 support for running tests against sid targets.
24441 (gdbtk_done): Ditto.
24442
24443 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
24444
24445 * gdb.base/ending-run.c (main): Set stdout buffersize
24446 to the same reasonable value for any target.
24447 * gdb.base/ending-run.exp: Add a regular expression
24448 to make testsuite happy on Sanyo Stormy16 target.
24449
24450 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
24451
24452 * gdb.base/display.c (do_loops): Add float variable `f'.
24453 Increment f in loop.
24454 * gdb.base/display.exp: Increment timeout by 60 seconds.
24455 Change float display test to use variable `f'.
24456
24457 2001-09-17 Jim Blandy <jimb@redhat.com>
24458
24459 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24460 overflowing the limited breakpoint tables on some ROM monitors
24461 (like the ROM68K).
24462
24463 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
24464
24465 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24466 the "-ac" (disable access control) flag.
24467
24468 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
24469
24470 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24471 ints.
24472
24473 2001-08-30 Keith Seitz <keiths@redhat.com>
24474
24475 * lib/gdb.exp: Move all insight-related functionality into
24476 separate file.
24477 * lib/insight-support.exp: New file.
24478
24479 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
24480
24481 * config/sid.exp (sid_start): Never set sid verbosity; disable
24482 expect_background {} that consumed its stdout; tolerate </dev/null.
24483 Attempt to set endianness override in "sid" protocol mode. Cleanup.
24484
24485 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24486
24487 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24488 CLI jump command to start it.
24489 (mi_run_to_main): Fail immediatly when unexpected output.
24490
24491 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24492
24493 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24494 beginning of function. Fix PR gdb/191.
24495
24496 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
24497
24498 * config/sid.exp (sid_start): Don't warn if we cannot figure out
24499 what to force sid endianness to.
24500
24501 2001-08-15 Keith Seitz <keiths@redhat.com>
24502
24503 * lib/gdb.exp (gdbtk_start): Don't set environment
24504 variables for TCL_LIBRARY and friends. Insight will
24505 now figure these out for itself.
24506
24507 2001-08-02 Michael Snyder <msnyder@redhat.com>
24508
24509 * gdb.base/completion.exp: Remove the symbol "a64l" from
24510 the expect string; this is target-specific, and not related
24511 to what is being tested.
24512
24513 2001-08-02 Dave Brolley <brolley@redhat.com>
24514
24515 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24516
24517 2001-07-25 Michael Snyder <msnyder@redhat.com>
24518
24519 * gdb.base/consecutive.exp: New file. Test stepping over
24520 breakpoints on consecutive instructions.
24521 * gdb.base/consecutive.c: New file.
24522
24523 * gdb.base/call-rt-st.exp: Use double-backslash to quote
24524 curly braces in regular expressions.
24525
24526 2001-07-25 Michael Snyder <msnyder@redhat.com>
24527
24528 * gdb.base/ending-run.exp: Accept "Program exited normally" as
24529 legitimate output from stepping out of main.
24530
24531 2001-07-22 Keith Seitz <keiths@redhat.com>
24532
24533 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24534 the empty string, do not run the tests.
24535
24536 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24537
24538 * gdb.base/long_long.exp: Detect size of pointer. Take into
24539 account 2-byte pointers when testing for p/a results.
24540
24541 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24542
24543 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
24544 and defined to 1K for m68hc11.
24545 (random_data): Reduce table to 1K for embedded platforms (68hc11).
24546 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
24547 (sizeof_random_data): New variable to tell the size of the data table;
24548 don't test past this size; always run to main.
24549
24550 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24551
24552 * gdb.base/return2.exp: return of long long and double fails for
24553 68HC11; don't execute these tests on that platform.
24554 * gdb.base/return.exp: Return of a double fails for 68hc11.
24555
24556 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24557
24558 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
24559 tests that print a float.
24560 * call-rt-st.exp: Likewise.
24561
24562 2001-07-12 Mark Kettenis <kettenis@gnu.org>
24563
24564 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
24565 running this test on Linux.
24566
24567 2001-06-24 Michael Chastain <chastain@redhat.com>
24568
24569 * gdb.base/arithmet.exp: Remove some tests to make all test names
24570 unique.
24571
24572 2001-07-03 Michael Snyder <msnyder@redhat.com>
24573
24574 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
24575 the output of the ptype command.
24576
24577 2001-07-02 Michael Snyder <msnyder@redhat.com>
24578
24579 * gdb.base/completion.exp: Don't assume that break.c is the only
24580 source file that may contain functions named "marker".
24581 * gdb.base/corefile.exp: Quote the curly braces in regexp.
24582
24583 2001-06-28 Andrew Cagney <ac131313@redhat.com>
24584
24585 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
24586 of files to delete.
24587
24588 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
24589 * gdb.disasm/h8300s.exp: New file.
24590 gdb.disasm/h8300s.s: Likewise.
24591
24592 2001-06-27 Andrew Cagney <ac131313@redhat.com>
24593
24594 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
24595 empty breakpoint tables.
24596
24597 2001-06-25 Andrew Cagney <ac131313@redhat.com>
24598
24599 * lib/mi-support.exp: Update args=... part of stop-reason
24600 patterns. Accept either a list or a tuple.
24601
24602 2001-06-23 Andrew Cagney <ac131313@redhat.com>
24603
24604 * lib/mi-support.exp: Remove local emacs variable defining
24605 change-log-default-name.
24606
24607 2001-06-22 Michael Chastain <chastain@redhat.com>
24608
24609 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
24610 This is operationally compatible with the previous version.
24611
24612 2001-06-13 Jim Blandy <jimb@redhat.com>
24613
24614 * lib/gdb.exp (gdb_test): Doc fix.
24615
24616 2001-06-10 Michael Chastain <chastain@redhat.com>
24617
24618 * gdb.base/exprs.exp: Remove a duplicate test.
24619
24620 2001-06-06 Jim Blandy <jimb@redhat.com>
24621
24622 * gdb.base/return2.exp (main): Use values to test float and double
24623 returns that are not NaN's, to avoid being confused by IEEE
24624 comparison rules.
24625
24626 2001-06-04 Michael Snyder <msnyder@redhat.com>
24627
24628 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
24629 non-zero if control_c fails. Terminate the test on failure,
24630 rather than wait for 12 more tests to time out.
24631
24632 2001-06-06 Jim Blandy <jimb@redhat.com>
24633
24634 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
24635 Don't forget to match the GDB prompt.
24636
24637 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
24638
24639 2001-06-04 Jim Blandy <jimb@redhat.com>
24640
24641 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
24642 command.
24643
24644 2001-05-31 Kevin Buettner <kevinb@redhat.com>
24645
24646 * gdb.base/annota1.exp (info break): Match four or more spaces
24647 after "Address".
24648
24649 2001-05-31 Michael Chastain <chastain@redhat.com>
24650
24651 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
24652 (dm_type_int_star): Likewise.
24653 (dm_type_long_star): Likewise.
24654 (dm_type_void_star): Likewise.
24655
24656 2001-05-29 Kevin Buettner <kevinb@redhat.com>
24657
24658 * gdb.base/completion.exp (INPUTRC): Set this environment variable
24659 to a known value in order to get consistent results regardless
24660 of the setting of INPUTRC or the presence or contents of .inputrc.
24661
24662 2001-05-24 Michael Snyder <msnyder@redhat.com>
24663
24664 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
24665 Don't require that the main thread and the manager thread are the
24666 first in the list.
24667
24668 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
24669 debugging. If test fails, issue an "unsupported" not a "fail".
24670
24671 2001-05-24 Jim Blandy <jimb@redhat.com>
24672
24673 Don't assume that short is shorter than int.
24674 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
24675 assume that shorts are smaller than ints. On a 16-bit machine,
24676 this isn't true.
24677 ("print unsigned char == (~0)"): Add test that verifies that ~0,
24678 an int, is not equal to ~0 stored in an unsigned char. This tests
24679 the same thing that the previous test meant to, but works on
24680 16-bit machines, too.
24681 ("print unsigned char != (~0)"): Same test, complemented.
24682
24683 2001-05-24 Michael Snyder <msnyder@redhat.com>
24684
24685 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
24686 test for (full_coverage == 0). This makes the test run faster,
24687 and prevents dejagnu getting out of step.
24688
24689 2001-05-23 Kevin Buettner <kevinb@redhat.com>
24690
24691 * gdb.base/finish.exp (finish_void): Revise pattern for
24692 stopping on the call statement to not permit stopping at
24693 the start of the instructions comprising the call sequence.
24694
24695 2001-05-19 Michael Chastain <chastain@redhat.com>
24696
24697 * gdb.base/callfuncs.exp: Make all test names unique.
24698 * gdb.base/commands.exp: Make all test names unique.
24699 * gdb.base/condbreak.exp: Make all test names unique.
24700 * gdb.base/dbx.exp: Make all test names unique.
24701 * gdb.base/default.exp: Make all test names unique.
24702 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
24703 and TIMEOUT messages to their corresponding PASS message.
24704 * gdb.base/ending-run.exp: Make all test names unique.
24705 * gdb.base/long_long.exp: Remove duplicate test.
24706
24707 2001-05-21 Kevin Buettner <kevinb@redhat.com>
24708
24709 * gdb.base/finish.exp (finish_void): Allow "finish" command to
24710 stop on the call statement as well as the statement after the
24711 call.
24712
24713 2001-05-21 Michael Snyder <msnyder@redhat.com>
24714
24715 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
24716
24717 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
24718
24719 * gdb.base/completion.exp: Revamp test. Make it execute on all
24720 platforms.
24721
24722 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
24723
24724 * config/gdbserver.exp (gdb_load): Handle the case
24725 in which the arguments to gdbserver are given in the
24726 baseboard configuration file.
24727 Also handle the case in which the server needs to do a
24728 load.
24729
24730 2001-05-07 Keith Seitz <keiths@cygnus.com>
24731
24732 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
24733 set up the display for testing.
24734 (gdbtk_start): Convert all paths to paths that tcl will like.
24735 Export target information to environment.
24736 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
24737 necessary.
24738 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
24739 (to_tcl_path): New proc to convert a given pathname into
24740 a path acceptible as an argument to a tcl command.
24741 (_gdbtk_export_target_info): New proc to export target info
24742 into the environment for gdbtk testing.
24743 (gdbtk_done): New proc to signal end-of-test.
24744
24745 2001-05-06 Jim Blandy <jimb@redhat.com>
24746
24747 * restore.c: Make the code of caller0 correspond to its comment.
24748
24749 2001-05-03 Michael Snyder <msnyder@redhat.com>
24750
24751 * config/sid.exp (gdb_target_sid): Check for error messages.
24752 On error or timeout, don't make expect exit (which will terminate
24753 all subsequent tests); instead just make gdb exit.
24754 (gdb_load): Check for error messages. On error or timeout,
24755 return a negative value.
24756
24757 2001-04-24 Jim Blandy <jimb@redhat.com>
24758
24759 * gdb.c++/templates.exp: If we see the prompt for the overload
24760 list, but we haven't recognized any of the longer patterns,
24761 arrange for this test to fail, not hang.
24762
24763 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24764 variations.
24765
24766 2001-04-22 Michael Chastain <chastain@redhat.com>
24767
24768 * gdb.c++/local.exp: Use the 'runto' library function.
24769 * gdb.c++/namespace.exp: Likewise.
24770 * gdb.c++/overload.exp: Likewise.
24771
24772 2001-03-26 Kevin Buettner <kevinb@redhat.com>
24773
24774 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24775 * gdb.base/step-line.exp: New file. Test step/next in presence of
24776 #line directives.
24777 * gdb.base/step-line.c: New file. Test program for the above.
24778 * gdb.base/step-line.inp: New file. We pretend that this file has
24779 been transformed by some other tool into step-line.c.
24780
24781 2001-03-21 Jim Blandy <jimb@redhat.com>
24782
24783 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24784 unmangled operator names.
24785
24786 2001-03-20 Jim Blandy <jimb@redhat.com>
24787
24788 * gdb.threads/linux-dp.exp: Recognize an additional message
24789 generated by GDB when it doesn't understand how to debug threads
24790 on the target system.
24791
24792 2001-03-19 Andrew Cagney <ac131313@redhat.com>
24793
24794 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24795
24796 2001-03-12 Michael Chastain <chastain@redhat.com>
24797
24798 * gdb.c++/derivation.exp: Use the 'runto' library function.
24799
24800 2001-03-12 Michael Chastain <chastain@redhat.com>
24801
24802 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24803
24804 2001-02-24 Michael Chastain <chastain@redhat.com>
24805
24806 * gdb.c++/ref-types.exp: Change handwritten code to library
24807 function 'runto'.
24808
24809 2001-03-16 Orjan Friberg <orjanf@axis.com>
24810
24811 * gdb.base/signals.exp: Set count to 0 explicitly.
24812
24813 2001-03-15 Mark Salter <msalter@redhat.com>
24814
24815 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24816 (gdb_target_monitor): Add check of gdb_target_cmd return value.
24817 (gdb_load): Add support for additional target_info: gdb_download_size
24818 and gdb_load_timeout.
24819
24820 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
24821
24822 * gdb.base/annota1.exp: Move test of isnative to earlier in the
24823 file -- to prevent failing when the compile fails but we have no
24824 intention of running the tests anyway.
24825
24826 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24827 tests if set.
24828
24829 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
24830 integers.
24831
24832 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24833 * gdb.c++/namespace.exp: Ditto.
24834
24835 2001-03-07 Orjan Friberg <orjanf@axis.com>
24836
24837 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24838 * gdb.base/pointers.exp: Relax pattern match of decimals.
24839
24840 2001-03-06 Kevin Buettner <kevinb@redhat.com>
24841
24842 * Makefile.in, config/abug.exp, config/cfdbug.exp,
24843 config/cpu32bug.exp, config/dve.exp, config/est.exp,
24844 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24845 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24846 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24847 config/sh.exp, config/sid.exp, config/slite.exp,
24848 config/sparclet.exp, config/udi.exp, config/unknown.exp,
24849 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24850 config/vxworks.exp, config/vxworks29k.exp,
24851 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24852 gdb.base/all-bin.exp, gdb.base/annota1.exp,
24853 gdb.base/arithmet.exp, gdb.base/assign.exp,
24854 gdb.base/async.exp, gdb.base/attach.exp,
24855 gdb.base/bitfields.exp, gdb.base/bitops.exp,
24856 gdb.base/break.exp, gdb.base/call-ar-st.exp,
24857 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24858 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24859 gdb.base/commands.exp, gdb.base/completion.exp,
24860 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24861 gdb.base/constvars.exp, gdb.base/corefile.exp,
24862 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24863 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24864 gdb.base/ending-run.exp, gdb.base/environ.exp,
24865 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24866 gdb.base/finish.exp, gdb.base/foll-exec.exp,
24867 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24868 gdb.base/funcargs.exp, gdb.base/help.exp,
24869 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24870 gdb.base/logical.exp, gdb.base/long_long.exp,
24871 gdb.base/maint.exp, gdb.base/mips_pro.exp,
24872 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24873 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24874 gdb.base/pointers.exp, gdb.base/printcmds.exp,
24875 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24876 gdb.base/regs.exp, gdb.base/relational.exp,
24877 gdb.base/remote.exp, gdb.base/reread.exp,
24878 gdb.base/restore.exp, gdb.base/return2.exp,
24879 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24880 gdb.base/selftest.exp, gdb.base/setshow.exp,
24881 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24882 gdb.base/sigall.exp, gdb.base/signals.exp,
24883 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24884 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24885 gdb.base/step-test.exp, gdb.base/structs.c,
24886 gdb.base/structs.exp, gdb.base/structs2.exp,
24887 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24888 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24889 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24890 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24891 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24892 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24893 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24894 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24895 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24896 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24897 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24898 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24899 gdb.fortran/types.exp, gdb.java/jmisc.exp,
24900 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24901 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24902 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24903 gdb.trace/circ.exp, gdb.trace/collection.exp,
24904 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24905 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24906 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24907 gdb.trace/report.exp, gdb.trace/save-trace.exp,
24908 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24909 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24910 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24911 notices.
24912
24913 2001-02-27 Michael Snyder <msnyder@cygnus.com>
24914
24915 * gdb.base/varargs.c (find_max_double): Fix printf format string:
24916 first arg is int not float.
24917
24918 2001-02-22 Michael Snyder <msnyder@cygnus.com>
24919
24920 * gdb.base/reread.exp: Unsupported for non-native targets;
24921 doesn't work for remote debugging.
24922
24923 2001-02-19 Fernando Nasser <fnasser@redhat.com>
24924
24925 From Drew Moseley <dmoseley@redhat.com>
24926 * gdb.base/ending-run.exp: Properly handle the BSP state when
24927 stepping past the end of main.
24928
24929 2001-02-19 John Moore <jmoore@redhat.com>
24930
24931 * gdb.base/commands.exp (infrun_breakpoint_command_test):
24932 Converted HPUX fix for non-expected items following multiple
24933 step commands into general solution for all platforms.
24934
24935 2001-02-18 Michael Chastain <chastain@redhat.com>
24936
24937 * gdb.c++/classes.exp (do_tests): Change runto statements
24938 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24939 statements demangler agnostic.
24940 * gdb.c++/virtfunc.exp (do_tests): Likewise.
24941 (gdb_virtfunc_restart): Likewise.
24942
24943 2001-02-14 Michael Chastain <chastain@redhat.com>
24944
24945 * gdb.c++/inherit.exp (do_tests): Change runto statements
24946 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24947 statements demangler agnostic.
24948
24949 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
24950
24951 * gdb.threads/pthreads.exp: Unify pass/fail messages for
24952 ``continue to bkpt at common_routine in thread 2'' and ``stopped
24953 before calling common_routine 15 times'' tests.
24954
24955 2001-02-11 Michael Chastain <chastain@redhat.com>
24956
24957 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
24958 Helps the test script figure out which demangler is in use.
24959 (dm_type_foo_ref): Ditto.
24960 (dm_type_int_star): Ditto.
24961 (dm_type_long_star): Ditto.
24962 (dm_type_unsigned_int): Ditto.
24963 (dm_type_void): Ditto.
24964 (dm_type_void_star): Ditto.
24965 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
24966 Probe the gdb demangler and set variables to accommodate
24967 formatting differences.
24968 (info_func_regexp): New function. Same as info_func, but
24969 matches against a regexp.
24970 (info_func): Match against a literal string.
24971 (print_addr_2): New function. Match against a literal string,
24972 which can be different from the input to gdb.
24973 (print_addr): Simply call print_addr_2 with the same argument twice.
24974 (test_lookup_operator_functions): Use demangler formatting variables.
24975 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
24976 the tests in the same order as the C++ class declaration.
24977 (test_paddr_operator_functions): Ditto.
24978 (test_paddr_overloaded_functions): Ditto.
24979 (test_paddr_hairy_functions): Use demangler formatting variables.
24980 Add reference to gdb/19 for related tests.
24981 (do_tests): Call probe_demangler.
24982
24983 2001-01-30 Kevin Buettner <kevinb@redhat.com>
24984
24985 * gdb.c++/templates.cc (printf): Remove unused function definition.
24986
24987 2001-01-26 Felix Lee <flee@redhat.com>
24988
24989 * sid.exp (sid_exit): Pass host, not target, to remote_close.
24990
24991 2001-01-25 matthew green <mrg@redhat.com>
24992
24993 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
24994 up sid.
24995 (sid_exit): Call `remote_pop_conn' after GDB is gone.
24996
24997 2001-01-25 matthew green <mrg@redhat.com>
24998
24999 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
25000 Deprecate $sid_spawn_id.
25001 (sid_exit): Remove code necessary only for `spawn.'
25002
25003 2001-01-25 matthew green <mrg@redhat.com>
25004
25005 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25006
25007 2001-01-28 Michael Chastain <chastain@redhat.com>
25008
25009 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25010 to call when tests fail. It takes gdb out of the overloaded
25011 function choice menu back to the main prompt, so that the test
25012 program stays synchronized.
25013 (set_bp_overloaded): New proc to collect all the common
25014 code for setting a breakpoint on an overloaded name. Calls
25015 take_gdb_out_of_choice_menu when needed.
25016 (menu_overload1arg): New variable to collect the repeated
25017 instances of the expected menu for an overloaded name. Change
25018 the regular expression to handle changes in g++ type encoding:
25019 "void" can be either "void" or "", and "unsigned int" can be
25020 either "unsigned int" or "unsigned".
25021 (continue_to_bp_overloaded): Change regular expressions to handle
25022 changes in g++ type encoding.
25023 (no proc): Call take_gdb_out_of_choice_menu when needed.
25024 Remove redundant calls to "info break". Accept either "canceled"
25025 or "cancelled". Change regular expressions in "info break"
25026 calls to handle changes in g++ type encoding. Give all tests
25027 unique strings.
25028
25029 2001-01-17 Ben Elliston <bje@redhat.com>
25030
25031 * config/sid.exp: New file.
25032
25033 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25034
25035 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25036
25037 2000-12-21 Michael Snyder <msnyder@cygnus.com>
25038
25039 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25040 Add a RE to accept a non-ascii char if one is ever presented.
25041
25042 2000-12-20 Fernando Nasser <fnasser@redhat.com>
25043
25044 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
25045
25046 2000-12-18 Michael Snyder <msnyder@cygnus.com>
25047
25048 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
25049 in regexp. One '\' does not suffice on Linux.
25050
25051 2000-12-09 Michael Chastain <chastain@redhat.com>
25052
25053 * gdb.base/break.exp (test_clear_command): Use a marker function
25054 rather than 'main' for the test function. Also move this
25055 test to an execution point where the marker function names are
25056 guaranteed to be bound to functions. (Executing tests after a
25057 'finish' from main runs into name conflicts with local names
25058 in __libc_start_main).
25059
25060 2000-12-07 Michael Snyder <msnyder@cygnus.com>
25061
25062 * gdb.base/finish.exp: New test for gdb's "finish" command.
25063 * gdb.base/return2.exp: New test for gdb's "return" command.
25064 * gdb.base/return2.c: New source file for above.
25065
25066 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25067
25068 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25069 * gdb.base/miscexprs.exp: Ditto.
25070 * gdb.base/pointers.exp: Ditto.
25071 * gdb.c++/derivation.exp: Ditto.
25072 * gdb.c++/local.exp: Ditto.
25073 * gdb.c++/namespace.exp: Ditto.
25074 * gdb.c++/overload.exp: Ditto.
25075 * gdb.c++/ref-types.exp: Ditto.
25076
25077 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25078
25079 * gdb.base/constvars.exp: Test result of "up" command.
25080 * gdb.base/miscexprs.exp: Ditto.
25081 * gdb.base/pointers.exp: Ditto.
25082 * gdb.base/scope.exp: Ditto.
25083 * gdb.c++/derivation.exp: Ditto.
25084 * gdb.c++/local.exp: Ditto.
25085 * gdb.c++/namespace.exp: Ditto.
25086 * gdb.c++/overload.exp: Ditto.
25087 * gdb.c++/ref-types.exp: Ditto.
25088
25089 2000-11-22 Michael Chastain <chastain@redhat.com>
25090
25091 * mips_pro.exp: Accept either "middle -> top -> main" or
25092 "middle -> main" in the backtrace, because gcc can optimize
25093 tail calls to jumps. Remove setup_xfail for the hppa case.
25094 Add a comment with the original warning messages from PR 3016,
25095 which was filed in 1993, to preserve them for posterity.
25096
25097 2000-11-17 Nick Duffek <nsd@redhat.com>
25098
25099 * lib/gdb.exp (gdb_test): Override timeout with board info.
25100
25101 2000-11-17 Nick Duffek <nsd@redhat.com>
25102
25103 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25104 the second kill and detach messages.
25105
25106 2000-11-17 Nick Duffek <nsd@redhat.com>
25107
25108 * configure.in: Add AC_EXEEXT.
25109 * configure: Regenerate.
25110 * Makefile.in (just-check): Export EXEEXT.
25111 * lib/gdb.exp ($EXEEXT): Import from environment.
25112 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25113 expect "maint dump-me" on Cygwin.
25114 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25115 $EXEEXT.
25116
25117 2000-11-17 Nick Duffek <nsd@redhat.com>
25118
25119 * gdb.base/break.exp: Test backtrace and finish from called
25120 function on all platforms, not just HP-UX.
25121
25122 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25123
25124 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25125 code from gdb_target_monitor, so it can be used independantly
25126 for gdbserver. Also comment out an unnecessary PUTS.
25127
25128 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25129
25130 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25131 * gdb.base/corefile.exp: Expect the message "Program is being
25132 debugged already" when we send the "corefile" command, since
25133 the preceeding gdb_load may have connected gdb to a remote target.
25134 * gdb.base/display.exp: Disable hardware watchpoints if new
25135 board info variable "no_hardware_watchpoints" is true.
25136 Replace single-letter commands with more readable ones.
25137 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25138 if new board info variable "no_hardware_watchpoints" is true.
25139 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25140 to see if stdio (printf) testing is possible.
25141 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25142 board info variable "no_hardware_watchpoints" is true. Use new
25143 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25144
25145 2000-11-13 Fernando Nasser <fnasser@redhat.com>
25146
25147 From Orjan Friberg <orjanf@axis.com>:
25148 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25149 in array print pattern match.
25150
25151 2000-11-09 Fernando Nasser <fnasser@redhat.com>
25152
25153 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25154 spelling "cancelled" to U.S. spelling "canceled" to match changes
25155 made to gdb.
25156 * gdb.c++/ovldbreak.exp: Ditto.
25157
25158 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25159
25160 * gdb.base/callfuncs.c (main): Moved to end of file, call
25161 t_double_values to initialize the FPU before inferior calls are made.
25162 * gdb.base/callfuncs.exp: Test for register preservation after calling
25163 inferior functions. Add tests for continuining, finishing and
25164 returning from a stop in a call dummy.
25165
25166 2000-10-24 Michael Snyder <msnyder@cygnus.com>
25167
25168 * gdb.base/commands.exp: Break up long lines, and re-indent.
25169
25170 2000-10-19 Michael Snyder <msnyder@cygnus.com>
25171
25172 * config/gdbserver.exp: Rewritten from the ground up, to make it
25173 compatible with the current dejagnu tree, and to make it work with
25174 the new "gdbserver" in libremote.
25175
25176 2000-10-16 Michael Snyder <msnyder@cygnus.com>
25177
25178 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25179 * gdb.base/varargs.exp: Skip entire test if no printf support.
25180 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25181 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25182
25183 2000-10-13 Michael Snyder <msnyder@cygnus.com>
25184
25185 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25186 no floating point support.
25187 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25188 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25189 * gdb.base/call-rt-st.exp: Ditto.
25190 * gdb.base/call-strs.exp: Ditto.
25191
25192 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25193
25194 * gdb.base/sizeof.c: include <stdio.h>.
25195
25196 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
25197 'finish', otherwise uncaptured gdb_prompt would potentially
25198 throw remaining test points out of sync.
25199
25200 2000-07-26 Scott Bambrough <scottb@netwinder.org>
25201
25202 * gdb.base/recurse.exp: Run tests for all targets.
25203 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25204 gnu-oldld case on ARM.
25205 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25206 for ARM targets.
25207
25208 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25209
25210 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25211 * gdb.java/configure: Rebuild.
25212
25213 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25214
25215 * gdb.java/jv-exp.exp: New file.
25216
25217 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25218
25219 * configure: Rebuilt.
25220 * configure.in (configdirs): Add gdb.java.
25221 * gdb.java/jmisc.java: New file.
25222 * gdb.java/jmisc.exp: New file.
25223 * gdb.java/Makefile.in: New file.
25224 * gdb.java/configure: Rebuilt.
25225 * gdb.java/configure.in: New file.
25226 * lib/java.exp: New file.
25227
25228 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25229
25230 * gdb.base/exprs.exp: Test casts to a pointer including over and
25231 underflow.
25232
25233 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25234
25235 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
25236 and the compilers sizes.
25237
25238 2000-07-09 Nick Duffek <nsd@redhat.com>
25239
25240 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25241 (use_methods): New function.
25242 (main): Call use_methods().
25243 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25244 (do_tests): Call test_method_param_class.
25245
25246 2000-07-09 Nick Duffek <nsd@redhat.com>
25247
25248 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25249 spelling.
25250 (test_enums): New procedure. Move enum tests from end of script
25251 to here. Set breakpoint on function name instead of line number.
25252 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25253 (enums2): New marker function.
25254 (enums1): New function.
25255 (main): Call enums1(). Move enum tests to enums1().
25256
25257 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25258
25259 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
25260 compile/link program. Update line numbers.
25261 * gdb.asm/d10v.inc: Define ``startup''.
25262 * gdb.asm/asmsrc1.s: Add definition of _start.
25263
25264 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25265
25266 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25267
25268 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25269
25270 * gdb.base/maint.exp: Add 'maint print architecture' item to output
25271 of 'help maint print' command.
25272
25273 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25274
25275 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
25276 they use gdb_expect_list.
25277
25278 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25279
25280 * gdb.base/commands.exp: Use ``set remote
25281 memory-read-packet-size'' instead of ``set endian big'' to test
25282 long commands.
25283
25284 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
25285
25286 * gdb.c++/templates.exp (do_tests): Make all of these work under
25287 g++, and stop skipping them.
25288
25289 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25290 work under g++.
25291
25292 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
25293 initialization.
25294
25295 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25296
25297 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25298 the regular expression: accept an (almost) arbitrary sequence of
25299 "frames-invalid" and "breakpoints-invalid" messages both before
25300 and after the "starting" message.
25301
25302 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25303
25304 * gdb.c++/local.exp: This test has never been known to work with g++.
25305
25306 2000-05-18 Michael Snyder <msnyder@cygnus.com>
25307
25308 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25309 Relax the regular expression a little, make it pass on Solaris 8.
25310
25311 2000-05-12 Kevin Buettner <kevinb@redhat.com>
25312
25313 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
25314 a call, do not require that gdb stop on the line after the call.
25315 Instead, it is permissible for gdb to stop on the line of the
25316 call itself.
25317
25318 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
25319
25320 * gdb.base/break.exp (bp on small function, optimized file):
25321 Add a second pass pattern. The behavior differs here between stabs
25322 and dwarf for one-line functions. Stabs preserves two line symbols
25323 (one before the prologue and one after) with the same line number,
25324 but dwarf regards these as duplicates and discards one of them.
25325 Therefore the address after the prologue (where the breakpoint is)
25326 has no exactly matching line symbol, and GDB reports the breakpoint
25327 as if it were in the middle of a line rather than at the beginning.
25328
25329 2000-05-08 Michael Snyder <msnyder@cygnus.com>
25330
25331 * gdb.base/interrupt.exp: Make "pass" message say "send"
25332 rather than "send_gdb" (for consistancy).
25333
25334 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25335
25336 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25337 * gdb.c++/templates.cc: Properly check for GCC version number.
25338 * lib/compiler.cc: Likewise
25339
25340 2000-04-28 Michael Snyder <msnyder@cygnus.com>
25341
25342 * gdb.base/break.exp: When compiled with -O2 optimization,
25343 gdb may not stop at the first line of main, due to code motion.
25344
25345 2000-04-26 Michael Snyder <msnyder@cygnus.com>
25346
25347 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25348 This test depends on parsing the printf output from the target.
25349 Since the sparclet stub doesn't do stdio, this will never work.
25350 * gdb.base/call-rt-st.exp: ditto.
25351 * gdb.base/call-strs: ditto.
25352
25353 2000-04-24 Michael Snyder <msnyder@cygnus.com>
25354
25355 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25356
25357 * gdb.base/ending-run.exp: After connecting to a remote target,
25358 but before running, the target will appear to be in a random
25359 location. Specify both a file and a line for breakpoints.
25360 Also, the function that calls main may be called 'init'
25361 rather than 'start'.
25362
25363 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25364
25365 * gdb.base/help.exp: Update output for add-symbol-file command.
25366
25367 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
25368
25369 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25370 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25371
25372 2000-04-07 J.T. Conklin <jtc@redback.com>
25373
25374 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25375
25376 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25377
25378 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
25379
25380 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
25381 values that can be represented exactly.
25382 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25383 above change, and to not check against the directory part of the source
25384 file name.
25385 (step into print_long_arg_list): Likewise.
25386 (print print_small_structs from print_long_arg_list): Likewise.
25387 (print print_long_arg_list): Likewise.
25388
25389 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25390
25391 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
25392
25393 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
25394
25395 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25396
25397 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
25398
25399 * gdb.base/commands.exp (deprecated_command_test): Add test for
25400 deprecate with no arguments.
25401
25402 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
25403
25404 * gdb.base/break.exp: Add new test for setting breakpoints on
25405 optimized code so we can test breakpoints work even when function
25406 prologues may be optimized away
25407
25408 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
25409
25410 From David Whedon <dwhedon@gordian.com>
25411 * gdb.base/commands.exp : Added command deprecator tests.
25412
25413 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
25414
25415 * gdb.base/help.exp: Added test for new apropos command.
25416
25417 2000-03-21 Kevin Buettner <kevinb@redhat.com>
25418
25419 * gdb.base/pointers.c (usevar): New function.
25420 (main): Make sure that global variables v_int_pointer2, rptr,
25421 and y are all referenced someplace in the program by calling
25422 usevar() on them. [Some linkers delete symbols which are
25423 never referenced. The space remains, but there's no way to
25424 get a (symbolic) handle on the variable from the debugger.]
25425
25426 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25427
25428 * gdb.base/printcmds.c: Add typedeffed arrays.
25429
25430 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
25431 procedure to test arrays that are typedef'd.
25432
25433 2000-03-13 James Ingham <jingham@leda.cygnus.com>
25434
25435 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
25436 the library directories.
25437
25438 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
25439
25440 * configure.in (configdirs): Add sub directory gdb.mi.
25441 * configure: Re-generate.
25442
25443 * gdb.mi: New directory.
25444
25445 2000-02-25 Scott Bambrough <scottb@netwinder.org>
25446
25447 * gdb.base/long_long.exp: Correct test suite failure when printing
25448 a long long value as a double on ARM platforms.
25449
25450 2000-02-16 Jim Blandy <jimb@redhat.com>
25451
25452 * gdb.base/break.exp ("breakpoint line number"): Make sure the
25453 default source file is set properly before running this test.
25454
25455 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25456
25457 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
25458 gdbtk/library directory, not in gdbtcl2.
25459
25460 2000-02-04 Jim Blandy <jimb@redhat.com>
25461
25462 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25463 backslash from regexp pattern.
25464
25465 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25466 procedure. Use it to run all the "continue to bp overloaded"
25467 tests. Note that this changes the names of the tests slightly.
25468 If the breakpoint hit message includes a hex PC value, because
25469 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25470 from the real source code, still consider that a pass.
25471
25472 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25473 XFAIL here if the breakpoint message contains a hex address. Note
25474 similar change on 1999-11-02.
25475
25476 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25477
25478 * gdb.base/ptype.exp: Establish a default source file before
25479 calling get_debug_format.
25480
25481 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
25482
25483 * gdb.base/watchpoint.exp: Remove duplication of test messages.
25484
25485 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25486
25487 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25488 of successive stepi commands -- while in the prologue we should see
25489 the function entry bracket.
25490
25491 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25492
25493 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25494 reach __change_mode() when stepping through the end of main().
25495
25496 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
25497
25498 * gdb.base/default.exp: Fix expected pattern.
25499 * gdb.base/help.exp: Same.
25500
25501 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25502
25503 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
25504 Don't use xfail's because that affects only the following test.
25505
25506 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
25507 solaris or linux.
25508
25509 * gdb.base/selftest.exp: Update to reflect changes to main.c.
25510
25511 2000-01-07 Michael Snyder <msnyder@cygnus.com>
25512
25513 * gdb.base/display.exp: Some yacc parsers like to say
25514 "A syntax error" rather than "A parse error". Accept both.
25515
25516 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
25517
25518 * gdb.base/default.exp: Remove OS dependent string from "target
25519 remote" test.
25520 * gdb.base/help.exp: Same for "help target remote" test.
25521
25522 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25523
25524 From Jim Kingdon <kingdon@redhat.com>:
25525
25526 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
25527 prompt (cleanup rather than necessity, but still might keep output
25528 from spilling to next test).
25529
25530 2000-01-02 Fred Fish <fnf@cygnus.com>
25531
25532 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25533 AIX, which defines them in <sys/types.h>.
25534
25535 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
25536
25537 * gdb.base/default.exp: Match arm* etc instead of arm in "info
25538 float" test.
25539
25540 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
25541
25542 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
25543
25544 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
25545 outermost frame disallowed".
25546
25547 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
25548
25549 * gdb.base/setvar.exp: New tests for setting the value of a struct
25550 with a constant list.
25551
25552 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25553
25554 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
25555 require the user to type a cast before setting the value of a struct.
25556
25557 1999-12-06 Jim Blandy <jimb@cygnus.com>
25558
25559 * gdb.base/default.exp: Expect the new 'info float' command on
25560 all i386 platforms.
25561
25562 * gdb.threads/linux-dp.exp: Expand our ability to recognize
25563 LinuxThreads libraries that don't support debugging.
25564
25565 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25566
25567 * gdb.base/remote.c: Fill the buffer with truely random data.
25568 Change the buffer type to ``unsigned char'' to simplify size
25569 arithmetic.
25570
25571 * gdb.base/remote.exp: Reduce download numbers by one. Typical
25572 stub only handles 400-1 byte packets. Verify that the download
25573 worked.
25574
25575 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
25576
25577 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
25578 tests, using UNRESOLVED for the untested cases. Also, does not wait
25579 for a timeout if the prompt was received before a recognizable pattern.
25580
25581 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
25582
25583 * lib/gdb.exp (gdb_expect_list): Fix spelling.
25584
25585 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25586
25587 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
25588 watchpoints.
25589
25590 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
25591
25592 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
25593
25594 * gdb.c++/local.exp: Be more flexible in recognizing local class
25595 name mangling. Don't allow horribly truncated method names.
25596 * gdb.c++/derivation.exp: Expect protected inheritance.
25597 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
25598 * gdb.c++/virtfunc.exp: Likewise.
25599 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
25600 when printing a nested enum.
25601
25602 1999-11-22 Jim Blandy <jimb@cygnus.com>
25603
25604 * gdb.base/step-test.exp: Properly await GDB's response to setting
25605 a breakpoint on the call to large_struct_by_value.
25606
25607 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
25608 just because we have debug info for the `start' function.
25609
25610 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
25611
25612 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
25613 "Unknown signal" messages, which indicate (on LinuxThreads) that
25614 GDB doesn't know how to debug threads on this system. This is
25615 better than hanging while philosopher 0 dumps chatter into gdb.log.
25616
25617 1999-11-18 Tom Tromey <tromey@cygnus.com>
25618
25619 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
25620
25621 1999-11-18 Fred Fish <fnf@cygnus.com>
25622
25623 * gdb.base/coremaker2.c: Add sample program for generating
25624 cores that is more self contained than coremaker.c. Eventually
25625 I'll add more code to this and tie it into the testsuite.
25626
25627 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
25628
25629 * gdb.base/dollar.exp: Remove, now in gdb.hp.
25630
25631 1999-11-10 Jimmy Guo <guo@cup.hp.com>
25632
25633 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
25634 from $srcdir/lib/.
25635 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
25636 and gdb.c++/.
25637
25638 * gdb.c++/derivation.exp: remove redundant get compiler info code.
25639
25640 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
25641 'continue with watch' test point.
25642
25643 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
25644
25645 Merged from p2linux-990323-branch:
25646
25647 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
25648
25649 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
25650
25651 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
25652 {limit,fixed}''. Test ``set download-write-size''.
25653
25654 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
25655
25656 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
25657 gdb_expect_list.
25658
25659 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
25660
25661 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
25662
25663 1999-11-03 Mark Salter <msalter@cygnus.com>
25664
25665 * gdb.base/break.exp: Fix "stub continue" pattern.
25666
25667 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
25668
25669 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
25670
25671 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
25672
25673 * gdb.base/display.exp ("finish"): Add timeout clause.
25674
25675 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
25676 plain prompt clause, so this doesn't have to time out in order to
25677 fail.
25678
25679 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
25680 breakpoint hit messages include an address.
25681
25682 * gdb.base/display.exp: Don't forget to escape parens in regular
25683 expressions. Unix regexp notatation sucks.
25684
25685 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25686
25687 * gdb.base/annota1.exp: Test for annotate-signalled: change output
25688 order for 'signalled' message.
25689
25690 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
25691
25692 From Jimmy Guo <guo@cup.hp.com>:
25693 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
25694 * gdb.base/annota1.c: Add code for tests to work with.
25695
25696 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
25697
25698 * gdb.base/remote.exp: New test for remote downloading settings.
25699 * gdb.base/remote.c: New file with large .data.
25700
25701 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
25702
25703 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
25704 for LinuxThreads support, merged from the Code Fusion branch.
25705
25706 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
25707
25708 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
25709 containing exp_continue into a while within an expect. Don't
25710 attempt a start more than three times. Check return value from
25711 gdb_load.
25712
25713 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
25714
25715 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
25716 a pass case.
25717
25718 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
25719
25720 * gdb.base/break.c (main): Added a statement that we can step
25721 off of.
25722 * gdb.base/break.exp: Added tests for setting a breakpoint
25723 at an offset and stepping onto a breakpoint.
25724
25725 1999-10-01 Fred Fish <fnf@cygnus.com>
25726
25727 * gdb.base/help.exp (help add-symbol-file): Update to match current
25728 gdb output.
25729
25730 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
25731
25732 * gdb.base/break.exp: Code locations are in hex, don't forget!
25733 (For HP-UX.)
25734
25735 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
25736
25737 * condbreak.exp: Use break.c as test program.
25738 * condbreak.c: Remove, redundant with break.c.
25739
25740 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
25741
25742 * config/monitor.exp (gdb_target_monitor): Disable X- and
25743 Z-packets if the target needs it.
25744
25745 1999-09-13 James Ingham <jingham@leda.cygnus.com>
25746
25747 * gdb.c++/overload.exp: Added tests for listing overloaded
25748 functions with function pointers in the arg, explicitly calling
25749 out the version you want.
25750
25751 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
25752
25753 * long_long.exp: Add variations of test cases that work for
25754 targets with 16-bit ints and 32-bit doubles.
25755
25756 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
25757
25758 * break.c (main): Compare a possibly-uninitialized argc with an
25759 unlikely value that fits in 16 bits.
25760
25761 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
25762
25763 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25764 0xfeeb, don't want negative numbers if ints are 16 bits.
25765
25766 * lib/gdb.exp (skip_cplus_tests): New proc.
25767 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25768 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25769 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25770 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25771 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25772 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25773 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25774 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
25775
25776 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25777
25778 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
25779
25780 * gdb.base/corefile.exp (up): Allow a parameter to appear
25781 in the frame that we're going up to.
25782
25783 From Jim Blandy <jimb@cygnus.com>:
25784
25785 * gdb.base/default.exp (info float): Expect some output now.
25786
25787 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25788 returning floating-point values to fail on the x86.
25789 * gdb.base/callfwmall.exp (do_function_calls): Same.
25790
25791 * gdb.base/list.exp (test_listsize): Correct expectations for
25792 listing line 1 with listsize 2. Also, listing a single line
25793 works now, as does listing three lines. [Kevin's note: There
25794 were a number of other cases fixed too where the expectations
25795 differed...]
25796
25797 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
25798
25799 * gdb.base/selftest.exp: Add case for when version prints as
25800 constant string instead of char pointer.
25801
25802 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
25803
25804 * gdb.base/ending-run.exp: Add Solaris case for what happens when
25805 stepping out of main.
25806
25807 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25808 G++ used.
25809
25810 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
25811 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
25812
25813 * gdb.c++/ovldbreak.exp: Update match string in test that
25814 includes a warning of multiple breakpoints.
25815
25816 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
25817
25818 * gdb.base/display.exp: Improve precision of step-after-finish
25819 added yesterday.
25820
25821 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
25822 test.
25823
25824 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25825 configs when using G++, not just hppa*.
25826
25827 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25828
25829 * gdb.base/async.c: New file.
25830 * gdb.base/async.exp: New file.
25831
25832 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
25833
25834 * gdb.base/break.exp: Tweak PA specific tests to properly handle
25835 PA64.
25836
25837 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
25838
25839 * gdb.base/display.exp: "finish" can leave us mid-line on many
25840 targets, deal with it. Add a small constant to main, instead of
25841 1000 since main+1000 may not be a valid address in the target.
25842
25843 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25844 on hpux11.
25845
25846 * gdb.base/attach.exp: Handle another hpux11 error message variant
25847 when attaching to a process that does not exist.
25848
25849 1999-08-19 J.T. Conklin <jtc@redback.com>
25850
25851 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
25852 characters in 'continue to 1241' test.
25853
25854 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
25855
25856 * gdb.base/call-ar-st.exp: Add a shorter match case for the
25857 stop in print_long_arg_list, define and use a whitespace
25858 variable in print_small_structs test, add an XFAIL for Solaris.
25859 * gdb.base/dbx.exp: XFAIL func commands until somebody is
25860 interested enough to fix.
25861
25862 1999-08-13 Keith Seitz <keiths@cygnus.com>
25863
25864 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25865 (dbx_gdb_load): Remove. Use gdb_load instead, since that
25866 proc knows about targets other than the natives.
25867 (test_assign): Use "gdb_run_cmd" to "run" the target.
25868 Check that we've actually hit the breakpoint at main.
25869 When we attempt to assign a value to a local variable, check
25870 that the variable is in the current scope, i.e., don't use
25871 a test with an empty result.
25872
25873 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
25874
25875 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
25876 command.
25877
25878 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
25879
25880 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25881 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25882 gdb.compat, gdb.threads-hp.
25883 gdb.hp/configure, gdb.hp/configure.in: New files.
25884 gdb.hp/Makefile.in: Recurse into new subdirs.
25885 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25886 gdb.hp/gdb.objdbg: New directory, tests for debugging info
25887 in object files.
25888 gdb.hp/tools: New directory, aux tools for HP-specific tests.
25889
25890 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
25891
25892 * gdb.base/display.exp: Help expect by putting a newline in the
25893 funky printf, remove a bogus p/a test.
25894
25895 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25896
25897 * gdb.base/display.exp: Make sure that when we say 'run', we are
25898 connected to the target. This is necessary when running not
25899 natively.
25900
25901 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
25902
25903 * gdb.base/step-test.exp: Removed some extraneous messages.
25904
25905 * gdb.base/long_long.exp: Don't run memory examination tests
25906 on little-endian targets (they will need a different set of
25907 results to match).
25908
25909 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
25910
25911 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25912 until somebody decides to fix GDB.
25913
25914 * gdb.base/long_long.c: Stop compiler complaint by specifying long
25915 constant as "ULL".
25916 * gdb.base/long_long.exp: Loosen x/c test, add partial result
25917 matches for a couple x/2 commands.
25918
25919 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
25920
25921 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25922 by merging in ref-types2 tests.
25923 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
25924
25925 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25926 * gdb.c++/Makefile.in: Add standard actions.
25927 (EXECUTABLES): Rename from PROGS, update list.
25928 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
25929 from gdb.hp.
25930 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
25931 foo and bar locals.
25932 * gdb.c++/anon-union.exp: Fix tests to match.
25933 * gdb.c++/classes.exp: Run if HP compiler used, add extra
25934 expect matches to handle output variations.
25935 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
25936 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
25937 output, add HP alternatives for new and delete prints.
25938 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
25939 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
25940 * gdb.c++/demangle.exp: Use $style when reporting failure.
25941 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
25942 * gdb.c++/inherit.exp: Run if HP compiler used, add some
25943 match alternatives.
25944 * gdb.c++/local.exp: Add match alternatives or xfails for HP
25945 compilers.
25946 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
25947 * gdb.c++/method.exp: Add match alternatives.
25948 * gdb.c++/misc.cc: Add bool types.
25949 * gdb.c++/misc.exp: Add tests for bool types.
25950 * gdb.c++/overload.exp: Add xfails.
25951 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
25952 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
25953 add some more template parameter tests (only for HP currently).
25954 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
25955 * gdb.c++/virtfunc.cc: Add return type and value for main.
25956 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
25957 match alternatives.
25958
25959 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25960
25961 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
25962
25963 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
25964
25965 * gdb.base/signals.exp: Don't expect getting a backtrace from
25966 within a signal handler to fail on Linux.
25967
25968 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
25969
25970 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25971 * lib/gdb.exp: Remove some gratuitious semicolons.
25972 (delete_breakpoints): Increase timeout.
25973 (gdb_expect): Add -notransfer option.
25974 (gdb_test): Use -notransfer option.
25975 (get_compiler_info): Add f77 case.
25976 (get_compiler): New proc, split out from gdb_preprocess, add f77
25977 case.
25978 (gdb_preprocess): Call get_compiler.
25979
25980 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
25981 * gdb.base/attach.exp, gdb.base/display.exp,
25982 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
25983 gdb.base/long_long.exp, gdb.base/printcmds.exp,
25984 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
25985 third arg to gdb_test.
25986 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
25987 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
25988 HP-UX xfails, add others.
25989 * gdb.base/completion.exp: Reflect name change of self-test.
25990 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
25991 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
25992 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
25993 HP failure number.
25994 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
25995 useless HP-UX 10.30 references.
25996 * gdb.base/maint.exp: Loosen matches.
25997 * gdb.base/pointers.c (main): Declare more_code.
25998 * gdb.base/pointers.exp: Match on output of a `next'.
25999 * gdb.base/structs.c: Add prototypes.
26000 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26001 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26002
26003 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26004
26005 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
26006 command.
26007
26008 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26009
26010 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26011 Fix run to main failures. Watchpoint can be hardware watchpoint.
26012
26013 * gdb.base/annota1.exp: Clean up some more, in case printf has
26014 debug info. Deal with lack of signal hanlder info in stack.
26015
26016 From Jim Kingdon <kingdon@redhat.com>:
26017 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26018
26019 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26020
26021 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
26022 gdb.base/foll-vfork.exp: Don't run for crosses.
26023
26024 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26025
26026 * gdb.base/configure.in: Check for gdbvars.exp instead of
26027 a1-selftest.exp.
26028 * gdb.base/configure: Re-generate.
26029
26030 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26031
26032 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26033 in trying to run first and name is too long.
26034
26035 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26036 pointers2.c and pointers2.exp, respectively.
26037 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26038 doschk happier.
26039
26040 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26041
26042 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26043 callfuncs2.c and callfuncs2.exp.
26044
26045 * gdb.base/list.exp: Remove mistaken xfails.
26046 * gdb.base/list0.h: Add optional prototypes.
26047
26048 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26049
26050 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
26051 calling malloc.
26052 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26053 * ptype.exp: Move test for get_debug_format to before its first
26054 use.
26055
26056 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26057
26058 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26059 * gdb.base/annota2.cc, annota2.exp: Move from here.
26060 * gdb.c++/annota2.cc, annota2.exp: To here.
26061 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26062
26063 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26064
26065 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
26066 a consistent format.
26067
26068 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26069
26070 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26071 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26072 HP compilers, also set the globals $true and $false.
26073
26074 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
26075 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26076 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26077 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26078 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26079 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26080 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26081 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26082 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26083 whatis.c} Add C++ compatible function definitions and return
26084 types, add includes for library functions.
26085 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26086 * gdb.base/step-test.c (myglob): Rename from glob.
26087 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
26088 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26089 files, move here from gdb.hp.
26090 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
26091 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26092 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26093 Adjust line numbers in regexps.
26094
26095 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26096 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26097 instead of 0/1.
26098
26099 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26100 foll-vfork.exp: New files, move here from gdb.hp.
26101 * gdb.base/page.exp: New file, test of pagination command.
26102
26103 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26104 recursion test.
26105 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26106
26107 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
26108 gdb.base/solib.exp: Fix compiler invocation process.
26109
26110 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
26111 HP-UX 11, turn off overload resolution explicitly.
26112 * gdb.base/commands.exp: Set argument list explicitly, add
26113 watchpoint test.
26114 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26115 them work.
26116 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26117 expressions properly.
26118 * gdb.base/corefile.exp: Loosen the match slightly.
26119 * gdb.base/default.exp: Allow "Error accessing memory" message
26120 also.
26121 * gdb.base/display.exp: Skip over x/0 j if PA64.
26122 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26123 * gdb.base/interrupt.exp: Ditto.
26124 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26125 in use.
26126 * gdb.base/list.exp: Add xfails for HP-UX.
26127 * gdb.base/long_long.exp: Refine some of the numeric matches.
26128 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26129 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26130 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26131 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26132 * gdb.base/ptype.exp: Succeed on more varieties of output.
26133 * gdb.base/scope.exp: Add xfails for HP-UX.
26134 * gdb.base/sect-cmd.exp: Add more cases.
26135 * gdb.base/setvar.exp: Add xfails for HP-UX.
26136 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26137 * gdb.base/signals.exp: Match on void symbolically.
26138 * gdb.base/step-test.exp: Add case for PA64.
26139 * gdb.base/term.exp: Add exit and restart.
26140 * gdb.base/twice.exp: Clean up after self.
26141 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26142 * gdb.base/whatis.exp: Allow more ways to pass tests.
26143
26144 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
26145 no longer useful.
26146
26147 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26148
26149 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
26150 list of patterns.
26151 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
26152 print_double_array(double_array)", "continuing to breakpoint
26153 1018", "print print_double_array(array_d)" and "continuing to
26154 1034" tests.
26155
26156 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26157
26158 * Makefile.in: Add empty html and install-html targets.
26159
26160 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26161
26162 * config/mt-*: Remove, these haven't been used since 1996.
26163
26164 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26165
26166 * gdb.base/call-strs.c, gdb.base/ending-run.c,
26167 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
26168 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26169
26170 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26171
26172 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26173 simpler match case for the ptype of the big class.
26174
26175 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26176
26177 * gdb.exp: Fix test for gdb_prompt existence.
26178
26179 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26180
26181 * gdb.exp (gdb_test): Add fail after calls to perror.
26182
26183 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26184
26185 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26186
26187 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26188
26189 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26190
26191 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26192
26193 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
26194 malloc() is linked in.
26195
26196 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26197
26198 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26199 step at end.
26200
26201 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26202
26203 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26204
26205 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26206
26207 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26208
26209 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26210 * gdb.base/mips_pro.exp: Likewise.
26211
26212 1999-06-02 Keith Seitz <keiths@cygnus.com>
26213
26214 * gdb.c++/templates.cc: Change all "new" operators to throw
26215 an exception.
26216 * gdb.c++/cplusfuncs.cc: Likewise.
26217
26218 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26219
26220 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26221
26222 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
26223 * gdb.base/ending-run.exp: When stepping out of main, accept a
26224 step into an arbitrary assembler file.
26225
26226 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26227
26228 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
26229 "breakpoint-invalid" to be printed.
26230 * gdb.base/annota2.exp: Revise line number for main
26231 breakpoint. Allow any number of "frames-invalid" and
26232 "breakpoint-invalid" to be printed.
26233 * gdb.base/annota2.cc: Initialize a.x to 0.
26234
26235 1999-05-17 Keith Seitz <keiths@cygnus.com>
26236
26237 * gdb.base/call-ar-st.exp: Skip
26238 "print print_double_array (double_array)" when "skip_float_tests" set.
26239 Ditto for "print print_double_array(array_d)",
26240 "print print_small_structs", "print print_ten_doubles", and
26241 "step into print_long_arg_list".
26242 Don't assume we can step into "print_long_arg_list": we could step
26243 into memcpy.
26244 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26245 "skip_float_tests" is set: "print print_one_double(*d1)"
26246 and "print print_two_floats(*f3)".
26247 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26248 "skip_float_tests" is set.
26249 * gdb.base/varargs.exp: Skip
26250 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26251 "skip_float_tests" set.
26252
26253 1999-05-06 Keith Seitz <keiths@cygnus.com>
26254
26255 * gdb.base/annota2.cc: Include stdio.h.
26256
26257 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26258
26259 * gdb.base/crossload.exp: Remove, this has been disabled ever
26260 since BFD stopped including all targets, and cross-GDB gets
26261 plenty of testing anyway.
26262 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
26263 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26264 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
26265 * gdb.base/README: Remove, was doc for this.
26266 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
26267 needed.
26268
26269 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26270
26271 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26272 output.
26273
26274 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26275 * gdb.base/annota2.exp: New file. More annotation tests.
26276 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26277 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26278
26279 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
26280
26281 * config/cfdbug.exp: New file.
26282
26283 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26284
26285 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26286 Marcus Daniel's and Dale Hawkins's demangler crashes.
26287
26288 * gdb.c++/demangle.exp (test_gnu_style_demangling,
26289 test_lucid_style_demangling, test_arm_style_demangling,
26290 test_hp_style_demangling): Try Tom Tromey's core-dumping
26291 identifier under each demangling style.
26292
26293 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26294
26295 * gdb.c++/demangle.exp: Include the current demangling style
26296 in all test names.
26297 (current_demangling_style): New global variable.
26298 (set_demangling_style, test_demangling_core, test_demangling,
26299 test_demangling_exact): New functions.
26300 (test_gnu_style_demangling, test_lucid_style_demangling,
26301 test_arm_style_demangling, test_hp_style_demangling): Use those,
26302 instead of calling gdb_test and gdb_test_exact directly.
26303 (catch_demangling_errors): New function, which reports errors
26304 signalled by the demangling test functions in an orderly way.
26305 (do_tests): Use catch_demangling_errors.
26306
26307 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26308
26309 * gdb.base/signals.exp (test_handle_all_print): Use () for
26310 grouping in expressions, not {}.
26311
26312 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
26313 initialized yet.
26314
26315 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26316
26317 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26318 are listed.
26319
26320 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26321
26322 * gdb.stabs/weird.exp: Test for CC being defined before
26323 looking at its value.
26324
26325 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26326
26327 * gdb.base/call-ar-st.exp: Remove stray '#'.
26328 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26329 "short int" and "long int".
26330 * gdb.c++/overload.cc: Cast the string added in the previous
26331 change, to mollify finicky HP compiler.
26332 * gdb.hp/reg-test.exp (testfile): Fix file name.
26333 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
26334
26335 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26336 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26337 alternate form of enum ptype.
26338
26339 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26340
26341 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26342 * gdb.hp/*.exp: Change all to run compiler probe only after
26343 passing skip_hp_tests, so as not to waste time on guaranteed
26344 failure.
26345
26346 * gdb.c++/overload.cc: Pass string instead of char addr, always
26347 init ccpfoo.
26348 * gdb.c++/templates.cc: Fix syntax error.
26349
26350 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26351
26352 * gdb.base/commands.exp: Add test for correct position of '>'
26353 when issuing the 'commands' command after a 'while' or 'if'
26354 command.
26355
26356 1999-03-18 James Ingham <jingham@cygnus.com>
26357
26358 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26359
26360 * gdb.c++/method.exp: It was testing an uninitialized int on the
26361 stack and assuming it was positive.
26362
26363 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26364
26365 * gdb.base/step-test.exp: Catch a case where finish is broken and
26366 keep it from killing the rest of the tests.
26367 Use gdb_continue_to_end.
26368
26369 * gdb.base/sigall.exp: use gdb_continue_to_end.
26370
26371 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26372
26373 * gdb.base/display.exp: use runto_main, not run.
26374
26375 * gdb.base/default.exp: Check for the current error message in the
26376 r abbreviation test.
26377 Add strongarm to the targets that know info float.
26378
26379 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
26380 run which doesn't work with monitors.
26381
26382 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26383 1034 test.
26384
26385 * gdb.base/break.exp: use the gdb_continue_to_end proc.
26386
26387 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26388 end of a program. Traps the case (in Cygmon) when the program
26389 never really exits. Same as Mark's continue_to_exit, but I had
26390 put it in a lot more places, so I used my name. Sorry Mark...
26391
26392 * config/monitor.exp (gdb_target_monitor): added another
26393 target_info parameter: remotebinarydownload. This will set the
26394 remotebinarydownload flag if this is causing some boards trouble.
26395
26396 1999-03-18 Mark Salter <msalter@cygnus.com>
26397
26398 * lib/gdb.exp (continue_to_exit): New function.
26399
26400 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26401 * gdb.base/ending-run.exp: Ditto.
26402 * gdb.base/step-test.exp: Ditto.
26403
26404 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
26405
26406 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26407 (suggested by Art Haas <ahaas@neosoft.com>).
26408
26409 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
26410
26411 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
26412
26413 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
26414
26415 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
26416 descriptions of types (short unsigned int vs unsigned short, etc).
26417
26418 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
26419
26420 * gdb.base/call-strs.exp: Don't assume that `step' will step over
26421 a call to strlen; sometimes we do have sources.
26422
26423 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26424
26425 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
26426 character, so GDB won't print garbage after its end.
26427
26428 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26429 breakpoint there instead. Sometimes GCC emits memcpy to handle
26430 the large structures being passed by value, so we step into that
26431 instead of sum_array_print, which obscures what we're really testing.
26432 * gdb.base/step-test.exp: However, we do want a test that notices
26433 the bizarre steps into memcpy, so do that here. Add check for
26434 stepping into function calls that pass large structures by value.
26435 ("Is that a noun clause, or are you just happy to see me?")
26436 Remove all references to specific line numbers.
26437 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26438 New type and function.
26439 (main): Call large_struct_by_value, passing it a large struct by value.
26440 * lib/gdb.exp (gdb_get_line_number): New function.
26441
26442 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26443 more portable.
26444
26445 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26446
26447 * lib/gdb.exp: Doc fixes.
26448
26449 1999-03-05 Nick Clifton <nickc@cygnus.com>
26450
26451 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
26452
26453 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
26454
26455 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
26456 commands. They're not germane to this test, and they don't work
26457 that way on remote targets.
26458
26459 1999-03-01 James Ingham <jingham@cygnus.com>
26460
26461 * Changelog entries merged over from gdb development branch.
26462
26463 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
26464
26465 * lib/gdb.exp (gdbtk_analyze_results): Generic function
26466 for outputting results of test run.
26467
26468 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
26469
26470 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
26471
26472 1999-02-25 Felix Lee <flee@cygnus.com>
26473
26474 * lib/gdb.exp (debug_format): initialize
26475
26476 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
26477
26478 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26479 * gdb.base/call-rt-st.c: Ditto.
26480
26481 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
26482
26483 * gdb.threads/pthreads.exp (horiz): New variable.
26484 (test_startup): Fix regexps that capture thread numbers.
26485
26486 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
26487
26488 * gdb.base/smoke.exp: Disambiguate two test case names (both
26489 called ``print'').
26490
26491 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26492
26493 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
26494 compilation.
26495
26496 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26497
26498 * gdb.base/miscexprs.exp: Change patterns to match GDB's
26499 actual output formatting.
26500 * gdb.base/smoke.exp: GDB removes leading 0's.
26501 * gdb.base/volatile.exp: Don't check type of remuneration;
26502 that variable is no longer defined in constvars.c.
26503 * gdb.base/step-test.c (main): Exit with explicit exit code.
26504 * gdb.base/step-test.exp: Remove two nexti checks--they are
26505 not portable.
26506
26507 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26508
26509 * gdb.base/help.exp ("help delete display"): Fix test to match
26510 gdb's output.
26511
26512 * gdb.base/long_long.c (known_types): Initialize values to zero.
26513 * gdb.base/long_long.exp: Step one more line
26514 so 'dec' is initialized in "get to known place". GDB removes
26515 leading zeros. Explicitly ask for hex formatting. Use
26516 unique test case names.
26517
26518 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26519
26520 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
26521
26522 * gdb.c++/method.exp: Add missing close brace.
26523
26524 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
26525
26526 * gdb.base/maint.exp: Use 'set height 0' to disable page
26527 prompting, not 'set height 400'.
26528
26529 Fix a bunch of timeouts.
26530 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26531 four separate tests, so expect doesn't take forever to match a ton
26532 of text against a regexp with lots of .* forms.
26533 ("maint print psymbols", "maint print symbols"): Make some of
26534 these greps more selective, so that expect doesn't try to wade
26535 through huge piles of output and time out.
26536
26537 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
26538
26539 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
26540 tests: one which doesn't expect shlib events to be reported, and
26541 another which does, but is XFAIL for all platforms other than
26542 HP/UX.
26543
26544 * gdb.base/break.exp: Teach the test suite that the `catch
26545 fork', `catch vfork', and `catch exec' commands produce error
26546 messages on platforms that don't provide these features.
26547
26548 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26549
26550 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
26551 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
26552 (shortening names from solib_threshold.exp etc), won't run on
26553 anything but HP-UX for the foreseeable future.
26554 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
26555 reflect move.
26556
26557 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
26558
26559 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
26560 gdb.trace/Makefile.in (clean): Remove all test executables.
26561
26562 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
26563
26564 * gdb.base/shlib-call.exp: add test cases to verify that gdb
26565 successfully re-sets breakpoints in shared libraries.
26566 * gdb.base/shmain.c (main): return 0, don't fall off the end.
26567
26568 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26569
26570 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
26571 and compiled w/o GCC.
26572
26573 * gdb.hp/watch-cmd.exp: ditto.
26574
26575 * gdb.hp/watch-hp.exp: ditto.
26576
26577 * gdb.hp/xdb1.exp: ditto.
26578
26579 * gdb.hp/xdb2.exp: ditto.
26580
26581 * gdb.hp/dbx.exp: ditto.
26582
26583 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
26584
26585 * constvars.c: Remove C++-isms.
26586 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
26587 with GCC.
26588
26589 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
26590
26591 The following changes are part of the HP merge.
26592
26593 * gdb.base/break.exp: new tests to verify that catchpoints for
26594 fork, vfork, and exec don't trigger inappropriately.
26595
26596 * gdb.base/opaque.exp: compile one file at a time, then link.
26597
26598 * gdb.base/signals.exp: be more restrictive about which hppa
26599 systems receive a setup_xfail. new tests.
26600
26601 * gdb.base/solib_threshold.build: new file.
26602 * gdb.base/solib_threshold.exp: new file.
26603 * gdb.base/solib_threshold.link_opts: new file.
26604 * gdb.base/solib_threshold.mk: new file.
26605 * gdb.base/gen_solib_threshold.c: new file.
26606
26607 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
26608 tests. New tests for enums inside classes.
26609
26610 * gdb.c++/compiler.cc: indicate support of template debugging.
26611
26612 * gdb.c++/demangle.exp: run hp style demangling tests.
26613
26614 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
26615 tests.
26616
26617 * gdb.c++/misc.cc: changes to support new tests.
26618
26619 * gdb.c++/templates.cc: changes to support HP's compiler; changes
26620 to support new tests.
26621
26622 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
26623 gcc, then skip these tests.
26624
26625 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
26626
26627 The following files are part of the HP merge; some had longer
26628 names at HP, but have been renamed to be no more than 14
26629 characters in length.
26630
26631 * gdb.hp/ambiguous.cc: new file.
26632 * gdb.hp/ambiguous.exp: new file.
26633 * gdb.hp/attach.exp: new file.
26634 * gdb.hp/attach2.exp: new file.
26635 * gdb.hp/classes-hp.exp: new file.
26636 * gdb.hp/ctti.exp: new file.
26637 * gdb.hp/ctti-add.cc: new file.
26638 * gdb.hp/ctti-add1.cc: new file.
26639 * gdb.hp/ctti-add2.cc: new file.
26640 * gdb.hp/ctti-add3.cc: new file.
26641 * gdb.hp/dbx.exp: new file.
26642 * gdb.hp/exception.cc: new file.
26643 * gdb.hp/exception.exp: new file.
26644 * gdb.hp/foll-exec.c: new file.
26645 * gdb.hp/foll-exec.exp: new file.
26646 * gdb.hp/foll-fork.c: new file.
26647 * gdb.hp/foll-fork.exp: new file.
26648 * gdb.hp/foll-vfork.c: new file.
26649 * gdb.hp/foll-vfork.exp: new file.
26650 * gdb.hp/inherit-hp.exp: new file.
26651 * gdb.hp/more-steps.exp: new file.
26652 * gdb.hp/namespace.cc: new file.
26653 * gdb.hp/namespace.exp: new file.
26654 * gdb.hp/optimize.exp: new file.
26655 * gdb.hp/pxdb.c: new file.
26656 * gdb.hp/pxdb.exp: new file.
26657 * gdb.hp/quicksort.exp: new file.
26658 * gdb.hp/reg-test.exp: new file.
26659 * gdb.hp/reg-test.s: new file.
26660 * gdb.hp/sized-enum.c: new file.
26661 * gdb.hp/sized-enum.exp: new file.
26662 * gdb.hp/start-stop.exp: new file.
26663 * gdb.hp/templ-hp.cc: new file.
26664 * gdb.hp/templ-hp.exp: new file.
26665 * gdb.hp/thr-lib.c: new file.
26666 * gdb.hp/thr-lib.exp: new file.
26667 * gdb.hp/thr-lib.h: new file.
26668 * gdb.hp/thr-liblib.c: new file.
26669 * gdb.hp/virtfun-hp.c: new file.
26670 * gdb.hp/virtfun-hp.exp: new file.
26671 * gdb.hp/watch-cmd.exp: new file.
26672 * gdb.hp/watch-hp.exp: new file.
26673 * gdb.hp/xdb1.exp: new file.
26674 * gdb.hp/xdb2.exp: new file.
26675 * gdb.hp/xdb3.exp: new file.
26676
26677 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
26678
26679 The following files are part of the HP merge; some had longer
26680 names at HP, but have been renamed to be no more than 14
26681 characters in length.
26682
26683 * gdb.base/ss.h: new file.
26684 * gdb.base/call-ar-st.c: new file.
26685 * gdb.base/call-ar-st.exp: new file.
26686 * gdb.base/call-rt-st.c: new file.
26687 * gdb.base/call-rt-st-exp: new file.
26688 * gdb.base/call-strs.exp: new file.
26689 * gdb.base/ena-dis-br.exp: new file.
26690 * gdb.base/environ.exp: new file.
26691 * gdb.base/long_long.exp: new file.
26692 * gdb.base/sect-cmd.exp: new file.
26693 * gdb.base/shlib-cl2.exp: new file.
26694 * gdb.base/smoke.exp: new file.
26695 * gdb.base/so-impl-ld.c: new file.
26696 * gdb.base/so-impl-ld.exp: new file.
26697 * gdb.base/so-indr-cl.c: new file.
26698 * gdb.base/so-indr-cl.exp: new file.
26699 * gdb.base/varargs.exp: new file.
26700 * gdb.base/volatile.exp: new file.
26701 * gdb.base/whatis-exp.exp: new file.
26702 * gdb.base/display.exp: new file.
26703 * gdb.c++/derivation.exp: new file.
26704 * gdb.c++/local.exp: new file.
26705 * gdb.c++/member-ptr.exp: new file.
26706 * gdb.c++/overload.exp: new file.
26707 * gdb.c++/ovldbreak.exp: new file.
26708 * gdb.c++/ref-types.exp: new file.
26709 * gdb.c++/ref-types2.exp: new file.
26710 * gdb.c++/userdef.exp: new file.
26711
26712 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
26713
26714 * gdb.base/default.exp: Reflect wording change in remote.c.
26715
26716 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
26717
26718 * gdb.base/help.exp: Update to reflect current text.
26719
26720 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
26721
26722 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
26723 they're stack variables and contain garbage.
26724 * gdb.c++/anon-union.exp: new file.
26725
26726 The following changes were made by David Taylor
26727 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26728 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26729 in changes by HP.
26730
26731 * gdb.base/bitops.exp: new file.
26732 * gdb.base/default.exp: change expected messages for catch and
26733 info catch tests to reflect HP merge changes.
26734 * gdb.base/enable-disable-break.exp
26735 * gdb.base/ending-run.c: new file.
26736 * gdb.base/long_long.c: new file.
26737 * gdb.base/maint.exp: new file.
26738 * gdb.base/pointers2.exp: new file.
26739 * gdb.base/shlib-call2.exp: new file.
26740 * gdb.base/solib.exp: new file.
26741 * gdb.base/step-test.c: new file.
26742 * gdb.c++/anon-union.cc: new file.
26743 * gdb.c++/local.cc: new file.
26744 * gdb.c++/member-pointer.cc: new file.
26745 * gdb.c++/method.cc: new file.
26746 * gdb.c++/ref-types.cc: new file.
26747 * gdb.c++/ref-types2.cc: new file.
26748 * gdb.c++/userdef.cc: new file.
26749
26750 * gdb.base/scope.exp: compile one file at a time, then link.
26751 * gdb.base/langs.exp: ditto.
26752 * gdb.base/list.exp: ditto.
26753
26754 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
26755
26756 The following changes were made by David Taylor
26757 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26758 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26759 in changes by HP.
26760
26761 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26762 skip tests. When compiling pass c++ flag to gdb_compile.
26763 * gdb.c++/
26764
26765 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26766 test for on hppa*-*-hpux*; use args to see if c++ was specified.
26767 (skip_hp_tests): new function.
26768 (gdb_preprocess): new function.
26769
26770 * configure.in (hpdir): decide whether to configure gdb.hp.
26771 * configure: regenerated.
26772
26773 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26774 to delete on clean.
26775 (EXECUTABLES): update to reflect new additions.
26776 * gdb.base/commands.exp: update message expected.
26777 * gdb.base/default.exp: add copyright notice.
26778 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26779 * gdb.base/help.exp: update messages to reflect current text.
26780 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26781 targets for recurse tests.
26782 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26783 skip this file.
26784
26785 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26786 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26787 compilation.
26788 * gdb.c++/misc.exp: ditto.
26789 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26790 run the tests. tell gdb_compile that it's a c++ compilation.
26791
26792 * gdb.threads/pthreads.exp: fix typo in message.
26793
26794 * gdb.base/all-bin.exp: new file.
26795 * gdb.base/arithmet.exp: new file.
26796 * gdb.base/assign.exp: new file.
26797 * gdb.base/completion.exp: new file.
26798 * gdb.base/cond-expr.exp: new file.
26799 * gdb.base/condbreak.exp: new file.
26800 * gdb.base/define.exp: new file.
26801 * gdb.base/dollar.exp: new file.
26802 * gdb.base/environment.exp: new file.
26803 * gdb.base/eval-skip.exp: new file.
26804 * gdb.base/jump.exp: new file.
26805 * gdb.base/logical.exp: new file.
26806 * gdb.base/pointers.exp: new file.
26807 * gdb.base/relational.exp: new file.
26808 * gdb.base/section_command.exp: new file.
26809 * gdb.base/whatis-expr.exp: new file.
26810
26811 * gdb.base/all-types.c: new file.
26812 * gdb.base/call-array-struct.c: new file.
26813 * gdb.base/call-return-struct.c: new file.
26814 * gdb.base/call-strings.c: new file.
26815 * gdb.base/callfuncs2.c: new file.
26816 * gdb.base/condbreak.c: new file.
26817 * gdb.base/constvars.c: new file.
26818 * gdb.base/display.c: new file.
26819 * gdb.base/int-type.c: new file.
26820 * gdb.base/jump.c: new file.
26821 * gdb.base/miscexprs.c: new file.
26822 * gdb.base/pointers.c: new file.
26823 * gdb.base/pointers2.c: new file.
26824 * gdb.base/shmain.c: new file.
26825 * gdb.base/shr1.c: new file.
26826 * gdb.base/shr2.c: new file.
26827 * gdb.base/solib.c: new file.
26828 * gdb.base/solib1.c: new file.
26829 * gdb.base/solib2.c: new file.
26830 * gdb.base/varargs.c: new file.
26831 * gdb.c++/derivation.cc: new file.
26832 * gdb.c++/overload.cc: new file.
26833 * gdb.c++/ovldbreak.cc: new file.
26834 * gdb.hp/attach.c: new file.
26835 * gdb.hp/attach2.c: new file.
26836 * gdb.hp/average.c: new file.
26837 * gdb.hp/compiler.c: new file.
26838 * gdb.hp/compiler.cc: new file.
26839 * gdb.hp/execd-program.c: new file.
26840 * gdb.hp/follow-exec.c: new file.
26841 * gdb.hp/follow-fork.c: new file.
26842 * gdb.hp/follow-vfork-and-exec.c: new file.
26843 * gdb.hp/misc-hp.cc: new file.
26844 * gdb.hp/more-steps.c: new file.
26845 * gdb.hp/optimize.c: new file.
26846 * gdb.hp/quicksort.c: new file.
26847 * gdb.hp/run-hp.c: new file.
26848 * gdb.hp/start-stop.c: new file.
26849 * gdb.hp/sum.c: new file.
26850 * gdb.hp/templates-hp.cc: new file.
26851 * gdb.hp/thread-local-in-lib.c: new file.
26852 * gdb.hp/thread-local-in-lib.h: new file.
26853 * gdb.hp/thread-local-in-lib.lib.c: new file.
26854 * gdb.hp/vforked-program.c: new file.
26855 * gdb.hp/virtfunc-hp.cc: new file.
26856 * gdb.hp/watchpoint-hp.c: new file.
26857 * gdb.hp/xdb.c: new file.
26858 * gdb.hp/xdb0.c: new file.
26859 * gdb.hp/xdb0.h: new file.
26860 * gdb.hp/xdb1.c: new file.
26861
26862 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
26863
26864 The following change was made by Edith Epstein
26865 <eepstein@cygnus.com> as part of a project to merge in changes
26866 originally made by HP; HP did not create ChangeLog entries.
26867
26868 * gdb.c++/demangle.exp: changed the expected output for some
26869 ARM-style mangling -- removed second reference to datatype.
26870 For example, maint demangle __dt__11T1__pt__2_cFv
26871 T1<char>::~T1<char>(void)
26872 becomes,
26873 maint demangle __dt__11T1__pt__2_cFv
26874 T1<char>::~T1(void)
26875
26876 (test_hp_style_demangling): new hp specific demangling test cases.
26877
26878 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
26879
26880 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26881 * gdb.trace/backtrace.exp: Likewise.
26882 * gdb.trace/circ.exp: Likewise.
26883 * gdb.trace/collection.exp: Likewise.
26884 * gdb.trace/deltrace.exp: Likewise.
26885 * gdb.trace/infotrace.exp: Likewise.
26886 * gdb.trace/limits.exp: Likewise.
26887 * gdb.trace/packetlen.exp: Likewise.
26888 * gdb.trace/passc-dyn.exp: Likewise.
26889 * gdb.trace/passcount.exp: Likewise.
26890 * gdb.trace/report.exp: Likewise.
26891 * gdb.trace/save-trace.exp: Likewise.
26892 * gdb.trace/tfind.exp: Likewise.
26893 * gdb.trace/tracecmd.exp: Likewise.
26894 * gdb.trace/while-dyn.exp: Likewise.
26895 * gdb.trace/while-stepping.exp: Likewise.
26896
26897 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
26898
26899 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26900
26901 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
26902
26903 From Brendan Kehoe:
26904 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26905 int return types.
26906
26907 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
26908
26909 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
26910 remote dos host testing right.
26911
26912 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
26913
26914 * gdb.base/corefile.exp: remove some xfails.
26915
26916 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
26917
26918 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
26919 have different timestamps.
26920
26921 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
26922
26923 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
26924 gdb.base/default.exp: Replace "exec" with "executable".
26925
26926 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
26927
26928 * gdb.base/default.exp: Change else if to elseif from previous
26929 delta.
26930
26931 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
26932
26933 * gdb.base/default.exp: Add brace missing from previous delta.
26934
26935 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
26936
26937 * gdb.base/default.exp: Support test for info float for all
26938 varieties of arm toolchain.
26939
26940 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
26941
26942 * gdb.trace/*.exp: remove "remote_download" command.
26943
26944 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
26945
26946 * gdb.trace/*.exp: remove -gdwarf from compile.
26947
26948 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
26949
26950 * gdb.trace/configure.in(AC_INIT): typo
26951 * gdb.trace/configure: regenerated
26952
26953 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
26954
26955 * config/m68k-emc.exp: New file.
26956 * lib/<emc-support.exp trace-support.exp}: New files.
26957 * configure.in: add new test directory gdb.trace.
26958 * gdb.trace/{configure configure.in Makefile.in}: New files.
26959 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
26960 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
26961 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
26962 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
26963 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
26964 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
26965 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
26966
26967 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
26968
26969 * gdb.c++/classes.exp: Change all regular expressions to match
26970 arbitrary combinations of newline/carriage-return, so that they
26971 will work equally well on Unix and Windows.
26972 * gdb.c++/inherit.exp: ditto.
26973 * gdb.c++/virtfunc.exp: ditto.
26974
26975 1998-08-11 Dawn Perchik <dawn@cygnus.com>
26976
26977 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
26978
26979 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
26980
26981 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
26982 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
26983 to use a0-a3/d0-d3 as needed.
26984
26985 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
26986
26987 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
26988 * gdb.disasm/am33.exp: Corresponding changes.
26989
26990 1998-07-11 Felix Lee <flee@cygnus.com>
26991
26992 * gdb.base/callfuncs.exp: add cmp10 test.
26993 * gdb.base/callfuncs.c (cmp10): new function.
26994
26995 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
26996
26997 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
26998 into two parts to get around a synchronization problem in expect.
26999
27000 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27001
27002 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27003
27004 * configure.in: Add options for gdbtk testsuite.
27005
27006 * configure: Regenerate.
27007
27008 * gdb.gdbtk: New directory to hold gdbtk tests.
27009
27010 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27011
27012 * gdb.fortran/types.exp: Escape brackets in expect patterns
27013 for test_float_literal_types_accepted tests.
27014 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27015 before run test.
27016
27017 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27018
27019 * am33.exp: Just compile, do not link the testcase.
27020 * am33.s: Add ".am33" pseudoop to force am33 mode.
27021
27022 1998-06-25 Felix Lee <flee@cygnus.com>
27023
27024 * gdb.base/setshow.exp: make sure $pc is sane.
27025
27026 * gdb.stabs/weird.exp: split expect patterns properly.
27027
27028 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27029
27030 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27031 * gdb.disasm/am33.exp: Run it.
27032
27033 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
27034
27035 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27036 match processing (and eliminate spurious timeouts when running).
27037
27038 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
27039
27040 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27041 exception test, but conditionalize it on target [mach | gnu].
27042
27043 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
27044
27045 * gdb.base/overlays.exp: fixup compile line for linker script.
27046
27047 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27048
27049 * gdb.fortran/types.exp: don't guess at float size.
27050
27051 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27052
27053 * gdb.base/exprs.exp: delete test that depends on int size.
27054
27055 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27056
27057 * config/sim.exp: Removed checks for target triplets.
27058 (gdb_target_sim): Use gdb,target_sim_options.
27059
27060 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27061
27062 * gdb.base/reread.exp: New file.
27063 * gdb.base/reread1.c: New file.
27064 * gdb.base/reread2.c: New file.
27065
27066 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27067
27068 * config/sim.exp: Use 'target sim -sparclite' when running
27069 SPARClite programs.
27070
27071 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27072
27073 * gdb.base/structs2.exp: New file.
27074 * gdb.base/structs2.c: New file.
27075
27076 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27077
27078 * gdb.asm/common.inc: New file.
27079 * gdb.asm/d10v.inc: New file.
27080 * asm-source.exp: Pass -I's to gas to find .inc files.
27081 Update line numbers in expected output.
27082 * asmsrc1.s: Rewrite.
27083 * asmsrc2.s: Rewrite.
27084 * configure.in: Create arch.inc symlink.
27085 * configure: Regenerate.
27086 * Makefile.in (distclean): Delete arch.inc.
27087
27088 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27089
27090 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
27091 (t_enum_value2): ditto
27092 (t_enum_value3): ditto
27093 (main): ditto
27094 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27095
27096 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27097 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27098 change.
27099 Use gdb_test instead of send_gdb/gdb_expect sequences.
27100
27101 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27102
27103 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27104 not void.
27105
27106 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27107
27108 * gdb.base/branches.c: Code with lots of loops and
27109 subroutines. Used to test gdbs ability to single step through PC
27110 changes, especially to test mips-tdep.c:mips_next_pc
27111
27112 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27113
27114 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27115 more rigorous EGCS C++ error checking.
27116
27117 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27118
27119 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27120 tests.
27121 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27122 function when asleep.
27123 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27124 for i*86 Linux and SVR4 signal handling problems.
27125 Remove linux xfail for `next to handler in signals_tests_1', fixed
27126 by recent infrun.c change.
27127 Limit backtrace to 10 frames to avoid timeout problems with infinite
27128 stack backtraces.
27129 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27130 target.[ch] change.
27131
27132 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27133
27134 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27135 for a newline from gdb before continuing.
27136 (default_gdb_exit): Just look for y or n.
27137 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27138 it does, fail the rests of the tests in the file.
27139
27140 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27141
27142 * config/cygmon.exp: New file.
27143
27144 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27145
27146 * gdb.base/list.exp: Fix problem with "list default lines around
27147 main" test on remote targets.
27148
27149 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27150 run test on remote targets.
27151
27152 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27153
27154 * gdb.asm: New directory.
27155 * configure.in: Configure it.
27156 * configure: Regenerate.
27157 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27158 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27159
27160 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27161
27162 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27163
27164 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
27165
27166 * gdb.base/overlays (several files): Merge the two overlay
27167 managers into one. Change variables (foox, barx, bazx, grbxx)
27168 back into ints but force them to load in their proper sections.
27169
27170 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27171
27172 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
27173 on-chip insn memory and IMAP1 to upper 128k.
27174 (D10VCopy): Handle memory regions crossing 16k boundaries.
27175 (D10VCopy): Transfer data in 32 bit chunks.
27176
27177 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27178
27179 * gdb.base/overlays.c (main): Exit normally when result is
27180 correct.
27181
27182 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
27183 map. Include space for printf in .text segment.
27184
27185 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
27186 updated d10v memory VMA/LMA map.
27187 (D10VCopy): Call D10VTranslate.
27188
27189 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27190
27191 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27192
27193 * gdb.base/bar.c (barx, bar): Change variable to small array so
27194 that it won't be put into the .sdata - small data -
27195 section. Update reference.
27196 * gdb.base/baz.c (bazx, baz): Ditto.
27197 * gdb.base/foo.c (foox, foo): Ditto.
27198 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27199
27200 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
27201 to be arrays.
27202
27203 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
27204
27205 * gdb.base/overlays.exp: fix up and get working again.
27206 Add tests for backtraces from an overlay function.
27207
27208 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27209
27210 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27211 "calling function with watchpoint enabled".
27212
27213 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27214
27215 * gdb.base/break.exp (test_next_with_recursion): Remove
27216 gdb_suppress_tests for d10v-*-*.
27217 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27218 pending review of whether it is useful or not.
27219
27220 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27221
27222 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27223
27224 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27225
27226 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27227 * config/dve.exp: New file to support Densan boards.
27228
27229 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27230
27231 * gdb.base/interrupt.exp: Document problem of simulators, signals,
27232 reads and BSD.
27233
27234 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27235
27236 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27237 response.
27238
27239 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27240
27241 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27242
27243 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
27244 test.
27245
27246 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
27247 target_sizeof_long and target_bigendian_p.
27248 (structs_by_value, structs_by_reference): Check values according
27249 to targets word size and endianess.
27250
27251 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27252
27253 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
27254 output.
27255
27256 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27257
27258 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
27259 Update test of set args help to match source change.
27260
27261 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27262
27263 * gdb.base/default.exp: Expect help system output to be in
27264 alphabetical order.
27265 * gdb.base/help.exp: Ditto.
27266
27267 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27268
27269 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27270 "i*86-pc-linux-gnu*".
27271 * gdb.base/interrupt.exp: Ditto.
27272 * gdb.base/corefile.exp: Ditto.
27273
27274 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
27275 define vxworks when building the testcase.
27276
27277 * gdb.base/ptype.exp: Fix testnames to be unique.
27278 * gdb.base/radix.exp: Ditto.
27279 * gdb.base/term.exp: Ditto.
27280 * gdb.base/whatis.exp: Ditto.
27281 * gdb.c++/classes.exp: Ditto.
27282
27283 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27284
27285 * gdb.base/callfuncs.exp: Fix indentation.
27286
27287 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27288 suppress_flag has been set.
27289 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27290 target feature.
27291
27292 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27293
27294 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27295 the testcase.
27296
27297 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
27298 set_debug_traps() and breakpoint().
27299 * gdb.c++/misc.cc (main): Ditto.
27300 * gdb.c++/templates.cc (main): Ditto.
27301 * gdb.c++/virtfunc.cc (main): Ditto.
27302
27303 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27304
27305 * lib/gdb.exp(gdb_step_for_stub): New function.
27306 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27307 exists, reload the executable and do a "continue" instead of
27308 doing a jump.
27309 (runto_main): Use gdb_step_for_stub.
27310
27311 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
27312 tests to have unique names.
27313 * gdb.base/callfuncs.exp: Ditto.
27314 * gdb.base/commands.exp: Ditto.
27315 * gdb.base/default.exp: Ditto.
27316 * gdb.base/help.exp: Ditto.
27317 * gdb.base/list.exp: Ditto.
27318 * gdb.base/opaque.exp: Ditto.
27319 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27320 similar tests.
27321
27322 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27323 * gdb.c++/cplusfuncs.cc: Ditto.
27324 * gdb.c++/virtfunc.cc: Ditto.
27325
27326 * config/monitor.exp: Keep track of the last file we saw, rather
27327 than trying to get the info from gdb.
27328
27329 * gdb.fortran/types.exp: Move comment to previous line.
27330
27331 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27332
27333 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
27334 target mode.
27335
27336 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27337
27338 From Bob Manson:
27339 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
27340 string from GDB when it connects.
27341
27342 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27343
27344 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27345
27346 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
27347 if we can't get a debug format from GDB (we may be testing an
27348 older GDB). Use a 10 second timeout when checking for the format.
27349
27350 * gdb.stabs/weird.exp: Fix quoting.
27351
27352 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27353
27354 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27355
27356 * config/arm-ice.exp: New file.
27357
27358 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27359
27360 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
27361 until it has been modified to work with the new testsuite.
27362
27363 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
27364 testcase won't compile, cause all of the testcases in the file to
27365 fail instead.
27366
27367 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27368 (gdb_clear_suppressed): New procedure.
27369 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27370 it contains a positive value.
27371
27372 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
27373
27374 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27375
27376 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27377
27378 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
27379
27380 * lib/gdb.exp (setup_xfail_format): New function.
27381 (get_debug_format): New function to get debug format.
27382 (debug_format): New global variable to hold last value set
27383 by get_debug_format.
27384 * gdb.base/list.exp: Call get_debug_format and expect some
27385 tests to fail for DWARF 1 and COFF formats.
27386 * gdb.c++/ptype.exp: Ditto.
27387 * gdb.c++/classes.exp: Ditto.
27388 * gdb.c++/cplusfuncs.exp: Ditto.
27389 * gdb.c++/inherit.exp: Ditto.
27390 * gdb.c++/templates.exp: Ditto.
27391 * gdb.c++/virtfunc.exp: Ditto.
27392
27393 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
27394
27395 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27396 host doesn't have a currently-open connection.
27397
27398 * config/sparclet.exp: Cleanups and fixes to make it generic for
27399 any gdb stub target. Handle cases where gdb doesn't respond when
27400 interrupted in a sane fashion.
27401
27402 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
27403 same thing in a totally different way.
27404
27405 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
27406 setting "timeout".
27407 (gdb_start): We set the global gdb_prompt variable in
27408 default_gdb_init now.
27409
27410 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
27411
27412 * gdb.base/printcmds.exp: Fix "check for floating addition"
27413 regexp to accept results within approx +/- .01 of exact value.
27414 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27415
27416 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
27417
27418 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
27419 properly.
27420 (gdb_expect): Add optional timeout parameter, and add timeout
27421 value to various calls.
27422 (gdb_suppress_tests): Only give one warning message per group.
27423
27424 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
27425
27426 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
27427 global variables. Handle getting a value for $timeout more
27428 gracefully.
27429
27430 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27431
27432 * lib/gdb.exp: Close connection to remote host if gdb doesn't
27433 initialize.
27434 (default_gdb_init): New procedure; allow gdb_init to be overridden
27435 by a target configuration file.
27436 (gdb_expect): Pass the timeout to remote_expect.
27437
27438 * config/monitor.exp(gdb_load): Fix typo in regexp.
27439
27440 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
27441
27442 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27443
27444 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
27445
27446 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
27447 here. Call gdb_target_exec before rebooting the target, to make
27448 sure the connection to the target is closed.
27449 (gdb_load): Pass the name of the executable to gdb_target_monitor.
27450 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27451 Also detect "Timeout reading from remote" error.
27452
27453 * config/gdbserver.exp: Pass the executable being loaded to
27454 gdb_target_monitor. Don't call gdb_file_cmd here; let
27455 gdb_target_monitor do it.
27456
27457 * gdb.disasm/hppa.exp: Don't use exec_output.
27458
27459 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
27460
27461 * gdb.base/list.exp: If we're debugging a non-native target,
27462 try to set the pc register to point to the start of the
27463 program before doing the first list command.
27464
27465 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
27466 test_calls after restarting.
27467
27468 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
27469 reloading.
27470
27471 * gdb.base/watchpoint.exp: Fix typo.
27472
27473 * gdb.base/setshow.exp: Check for use_gdb_stub.
27474
27475 * gdb.base/break.exp: Fix continue until exit test for the gdb
27476 stub case.
27477 * gdb.base/langs.exp: Ditto.
27478
27479 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
27480 gdb_load_offset. If we weren't given a file to load, figure out
27481 what the current file is and use it.
27482
27483 * config/i386-bozo.exp: New file.
27484
27485 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
27486
27487 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27488 feature.
27489
27490 * config/proelf.exp: New entry.
27491
27492 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
27493
27494 * lib/gdb.exp: Remove spurious .* patterns at the beginning
27495 of regexps.
27496
27497 * gdb.base/watchpoint.exp: Don't run the test_stepping
27498 tests if gdb can't call functions on the target.
27499
27500 * gdb.base/setshow.exp: Don't run the set prompt tests if
27501 the board has gdb_prompt set.
27502
27503 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
27504
27505 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27506 * gdb.base/commands.exp: Likewise.
27507 * gdb.base/setshow.exp: Likewise.
27508
27509 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
27510
27511 * config/monitor.exp(gdb_start): Look for gdb_prompt target
27512 feature.
27513
27514 * config/i960.exp: New file.
27515
27516 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
27517
27518 * gdb.base/funcargs.exp: Check for gdb,short_int target
27519 feature instead of looking for explicit target triplets.
27520
27521 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
27522
27523 * gdb.base/printcmds.exp: add a couple more tests a la
27524 "p 123DEADBEEF", to check parse_number.
27525 * top.c: change "to enable to enable" to "to enable" in a couple
27526 of help strings.
27527
27528 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
27529
27530 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27531 on the mn10300.
27532
27533 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
27534
27535 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
27536 where the test executable is run with explicit args.
27537 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
27538
27539 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
27540
27541 * gdb.base/run.c: Use FAKEARGV to build test executable that
27542 does not require a command line arg, since most simulators
27543 don't currently support passing such an arg into the simulated
27544 program.
27545 * gdb.base/commands.exp: Change tests to insert the proper
27546 value as the arg to the first recursive factorial call. Change
27547 compilation line to define FAKEARGV at compile time.
27548
27549 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
27550
27551 * gdb.base/recurse.exp: Enable these tests for the mn10300.
27552 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
27553 function with watchpoint enabled" test.
27554
27555 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
27556
27557 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
27558 Don't call gdb_test when the command doesn't return to a gdb prompt.
27559
27560 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
27561 "Tests restarted" messages.
27562
27563 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
27564
27565 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
27566
27567 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
27568
27569 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
27570 for INFO SYMBOL; add help tests for OVERLAY commands.
27571 * gdb.base/default.exp: add tests for INFO SYMBOL command;
27572 add tests for OVERLAY commands
27573 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
27574 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
27575 * gdb.base/sigall.c: add usestubs code frag
27576 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
27577
27578 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
27579
27580 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
27581 failures.
27582 (gdb_stop_suppressing_tests): Note that tests have restarted.
27583
27584 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
27585
27586 * config/h8300.exp: New file.
27587
27588 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
27589
27590 * gdb.base/setshow.exp: Check for the existence of a
27591 feature, not its value.
27592
27593 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
27594
27595 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
27596
27597 * gdb.base/scope.exp: It's now init0(), not init().
27598
27599 * gdb.base/scope0.c: For now, change init() to be init0().
27600
27601 * config/monitor.exp: Use gdb_serial in preference to serial
27602 or netport.
27603
27604 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
27605 and it's not already set.
27606
27607 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
27608
27609 * gdb.base/setshow.exp: Only test the run command if the target
27610 isn't using a stub and if it supports argument passing.
27611
27612 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
27613
27614 * config/udi.exp(gdb_start): Make sure UDICONF is set
27615 properly before starting gdb.
27616
27617 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
27618
27619 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
27620 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
27621 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
27622
27623 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
27624
27625 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
27626 specialized code to reboot the board, use remote_reboot instead.
27627
27628 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
27629
27630 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
27631
27632 * config/monitor.exp: Make sure we disconnect from the target.
27633 Also, try a reboot/reload cycle instead of failing if the
27634 load fails.
27635
27636 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
27637
27638 * gdb.base/default.exp: Don't set match_max.
27639 * gdb.base/help.exp: Ditto.
27640 * gdb.base/list.exp: Ditto.
27641 * gdb.base/signals.exp: Ditto.
27642
27643 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
27644 set, use remote_ld to download the testcase instead of
27645 the GDB loader.
27646
27647 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
27648
27649 * config/vr5000.exp: New file.
27650
27651 * config/monitor.exp(gdb_target_monitor): Add pattern for
27652 "Ending remote" to detect errors in connecting.
27653
27654 * gdb.base/setshow.exp: Add .* within auto language test.
27655
27656 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
27657 target feature.
27658
27659 * config/monitor.exp(gdb_load): Check for a failure when loading,
27660 and reboot the board if necessary.
27661
27662 * gdb.base/setvar.exp(test_set): Handle multiple prints within
27663 a set of tests. Remove print.* from the patterns being checked.
27664
27665 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
27666
27667 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
27668 refer to gdb_spawn_id.
27669
27670 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
27671 longer used.
27672 * config/sparclet.exp: Ditto.
27673 * config/sparclet-old.exp: Ditto.
27674 * config/slite.exp: Ditto.
27675 * config/sim.exp: Ditto.
27676 * gdb.base/funcargs.exp: Ditto.
27677
27678 * lib/gdb.exp:Remove references to gdb_spawn_id.
27679 (gdb_expect): Move to remote.exp.
27680
27681 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
27682
27683 * config/monitor.exp: Detect the "Couldn't establish connection"
27684 message from GDB.
27685
27686 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
27687
27688 * gdb.base/bitfields.exp: Use runto instead of explicit
27689 gdb_run_cmd/gdb_expect sequences.
27690
27691 * gdb.base/break.exp(text_next_with_recursion): Add match for
27692 gdb_expect call.
27693
27694 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
27695 We also need to handle the "A program is being debugged already"
27696 prompt from gdb. Use gdb_test to set the baud rate.
27697
27698 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
27699 to 20000. Really. I mean it.
27700
27701 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27702
27703 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
27704 fails. If suppress_flag is set, skip perror message about not
27705 being able to send to GDB.
27706 (send_gdb): If suppress_flag is set, don't try to send commands to
27707 GDB.
27708 (gdb_expect): If suppress_flag is set, always fail immediately.
27709 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
27710 (gdb_init): Call gdb_stop_suppressing_tests.
27711 (default_gdb_exit): Ditto.
27712 (default_gdb_start): Ditto.
27713
27714 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
27715 gdb_stop_suppressing_tests as appropriate.
27716 * gdb.base/break.exp: Ditto.
27717 * gdb.base/callfuncs.exp: Ditto.
27718 * gdb.base/commands.exp: Ditto.
27719 * gdb.base/exprs.exp: Ditto.
27720 * gdb.base/funcargs.exp: Ditto.
27721 * gdb.base/list.exp: Ditto.
27722 * gdb.base/recurse.exp: Ditto.
27723 * gdb.base/scope.exp: Ditto.
27724 * gdb.base/structs.exp: Ditto.
27725 * gdb.c++/inherit.exp: Ditto.
27726
27727 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
27728
27729 * config/vr4300.exp: New file.
27730
27731 * gdb.*/*.exp: Call gdb_expect instead of expect.
27732
27733 * lib/gdb.exp(gdb_expect): New function.
27734
27735 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
27736
27737 * lib/gdb.exp(gdb_init): New function.
27738
27739 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
27740 for each individual variable set.
27741
27742 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
27743 name.
27744
27745 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
27746
27747 * gdb.base/scope.exp: Use gdb_test.
27748
27749 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
27750 aborting; the testsuite driver will do that for us (see
27751 gdb_finish). Also, use gdb_test in a few more places.
27752
27753 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
27754
27755 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
27756
27757 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
27758
27759 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
27760 and "add_tests" are not at the same address.
27761
27762 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
27763
27764 * gdb.base/ptype.exp: Use gdb_test.
27765
27766 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
27767
27768 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27769 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27770 left in. No longer expect them to fail.
27771
27772 * gdb.stabs/*.mt; Deleted, no longer used.
27773 * gdb.stabs/configure.in: Remove references to target makefile
27774 frags.
27775 * gdb.stabs/configure: Rebuilt.
27776
27777 * gdb.disasm/*.mt: Deleted, no longer used.
27778 * gdb.disasm/configure.in: Remove references to target makefile
27779 frags. Use "sh3.s" as the unique filename for this directory.
27780 * gdb.disasm/configure: Rebuilt.
27781
27782 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27783 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27784 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27785
27786 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
27787
27788 * config/udi.exp: Use mondfe,name instead of remote_host.
27789
27790 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
27791
27792 * gdb.base/watchpoint.exp: Don't expect a failure when calling
27793 a function with a watchpoint enabled on the mn10200.
27794
27795 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27796 before trying to create it!
27797
27798 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
27799
27800 * config/vx.exp: Use hostname instead of netport.
27801
27802 * config/vxworks.exp: New file.
27803
27804 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27805
27806 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
27807 gdb before assuming everything worked. Send a ^C if a timeout
27808 occurs.
27809
27810 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27811 $gdb_spawn_id directly.
27812 (gdb_run_cmd): Try _start as well as start. Use the target feature
27813 gdb,start_symbol as the symbol to start from when jumping.
27814
27815 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
27816
27817 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27818 redundant) test.
27819
27820 * gdb.base/recurse.exp: Relax final value test for 'b' so that
27821 it doesn't lose for 16bit integer systems.
27822
27823 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
27824
27825 * gdb.fortran/types.exp: If the target doesn't support "double"
27826 data types, then expect "real" types to only be 4 bytes.
27827
27828 * gdb.c++/virtfunc.exp: Expect failure for virtual function
27829 call tests if the target doesn't support inferior function calls.
27830
27831 * gdb.base/printcmds.exp: Allow minor deviation in FP values
27832 in printf tests.
27833
27834 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
27835
27836 * gdb.base/help.exp: Disable "help set", "help show", and
27837 "help support". Simplify regexp for "help stack".
27838
27839 * gdb.base/default.exp: Set match_max to 5000 and the timeout
27840 to 60 seconds. Temporarily set match_max to 15000 around the
27841 "info copying" test.
27842
27843 * gdb.base/nodebug.exp: Don't try to do an inferior function
27844 call if the target doesn't support them.
27845 * gdb.base/printcmds.exp: Likewise.
27846 * gdb.base/setvar.exp: Likewise.
27847 * gdb.base/structs.exp: Likewise.
27848 * gdb.c++/templates.exp: Likewise.
27849 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
27850
27851 * gdb.base/recurse.exp: Enable for the mn10200.
27852
27853 * configure.in: Do configure gdb.stabs directory for *-*-elf
27854 targets.
27855 * configure: Rebuilt.
27856
27857 * gdb.base/break.exp: Check for gdb,noresults before testing
27858 exit status and/or results from the target.
27859 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27860 * lib/gdb.exp: Remove old (now bogus) initialization of
27861 noinferior, noargs, noresults and nosignals.
27862
27863 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
27864
27865 * config/sh.exp: New file.
27866
27867 * config/slite.exp: Try to connect multiple times to the board
27868 before rebooting. Only send a "monitor run" if need_monitor_run
27869 is set.
27870
27871 * gdb.base/break.exp: Don't do the "stub continue" test if
27872 the target has gdb_stub set.
27873
27874 * gdb.base/callfuncs.exp: Increase the timeout.
27875
27876 * gdb.base/interrupt.exp: Don't even try to compile the testcase
27877 if the target has gdb,noinferiorio set.
27878
27879 * gdb.base/list.exp: Increase match_max to 10000 characters.
27880
27881 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27882
27883 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27884 target.
27885
27886 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27887
27888 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
27889
27890 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
27891 trying to delete the copy of gdb. Catch the file delete so we
27892 don't die if the delete fails; also, the file should be copied to
27893 the host, not to the build.
27894
27895 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
27896
27897 * lib/gdb.exp(gdb_test): Surround the result pattern with
27898 parenthesis in case it contains multiple regexps separated
27899 with |.
27900
27901 * gdb.base/watchpoint.exp: Use gdb_test.
27902 * gdb.base/default.exp: Ditto.
27903
27904 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
27905
27906 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
27907
27908 * gdb.base/scope.exp: Use gdb_test.
27909 * gdb.c++/classes.exp: Ditto.
27910 * gdb.c++/inherit.exp: Ditto.
27911
27912 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
27913
27914 * gdb.base/crossload.exp: Don't use execute_anywhere, use
27915 remote_exec instead.
27916 * gdb.base/corefile.exp: Don't be ridiculous.
27917 * gdb.base/*.c: Add missing stub invocations.
27918
27919 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
27920
27921 * config/slite.exp: Miscellaneous fixes.
27922
27923 * lib/gdb.exp: Fix runto.
27924
27925 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
27926 the target.
27927
27928 * gdb.base/watchpoint.exp: Fix regexp.
27929
27930 * lib/gdb.exp(default_gdb_exit): Add a catch to the
27931 close and wait commands, as the descriptor may now be
27932 invalid. Always call "remote_close host".
27933
27934 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
27935
27936 Major rewrite for testsuite revision.
27937
27938 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
27939 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
27940 instead of relying on spawn_id to always contain a valid
27941 spawn id.
27942 (get_compiler_info): New procedure to build the ${binfile}.ci
27943 file, instead of replicating this in N different places.
27944 (gdb_compile): New procedure.
27945
27946 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
27947 appropriate arguments) instead of compile. Use gdb_test in a lot
27948 more places. Use send_gdb instead of send. Always run gdb_start
27949 at the start of a testcase, as this is no longer done magically.
27950
27951 config/*-gdb.exp: Rename without the -gdb suffix.
27952
27953 config/mips.exp: Use remote_close instead of exit_remote_shell.
27954 config/monitor.exp: Use target_info instead of looking at
27955 baud, timeout, etc.
27956 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
27957
27958 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27959
27960 * gdb.c++/templates.exp (test_ptype_of_templates),
27961 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
27962 Update expect patterns for destructors and assignment operators
27963 to match corresponding c-typeprint.c changes.
27964 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
27965 to destructor breakpoint test, GDB should be able to set the
27966 destructor breakpoint without specifying arguments.
27967
27968 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
27969
27970 * gdb.threads/pthreads.exp: Change result for failure to compile due
27971 to lack of pthreads runtime support from an error to simply an
27972 unsupported test, per dejagnu standards.
27973
27974 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27975
27976 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
27977 where GDB exits to reduce pattern match time.
27978 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
27979
27980 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
27981
27982 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
27983
27984 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
27985 * gdb.base/default.exp: ditto.
27986 * gdb.base/nodebug.exp: ditto.
27987 * gdb.base/printcmds.exp: ditto.
27988 * gdb.base/ptype.exp: ditto.
27989 * gdb.base/setvar.exp: ditto.
27990 * gdb.base/structs.exp: ditto.
27991 * gdb.base/setshow.c: Guard against uninitialized values of argc.
27992
27993 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
27994
27995 * configure, */configure: Rebuild with autoconf 2.12.
27996
27997 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
27998
27999 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28000 use new i*86-pc-linux*-gnu quads.
28001 * gdb.base/corefile.exp: Ditto.
28002 * gdb.base/signals.exp: Ditto.
28003 * gdb.base/sigall.exp: Ditto.
28004 * gdb.base/interrupt.exp: Ditto.
28005
28006 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28007 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28008 RedHat 4.0.
28009
28010 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
28011 linux. This allows the test case to at least compile on latest
28012 linux, but still not run due to missing the threads runtime library.
28013
28014 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28015
28016 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28017 directory to search gdb directory. Accept and step over conditional
28018 stack alignment code. Consume $prompt in failure cases.
28019 Reset timeout to $oldtimeout instead of some arbitrary value.
28020 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28021 timeout problems with infinite stack backtraces.
28022 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28023 Accept function parameters for linkfunc member.
28024
28025 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28026
28027 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28028 (CXXFLAGS): Remove, unreferenced.
28029 (B_OPTIONS): Add for -B options and add code to initialize with
28030 previous -B options and also add -B option to pick up cross compiled
28031 runtime.
28032 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28033 doing cross compiles.
28034 (target_alias): Declare global.
28035 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28036 to verify that gcc exists in build tree, and if so set CC to that
28037 gcc and to use B_OPTIONS and TARGET_INCLUDES.
28038
28039 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28040
28041 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28042 ptype test for anonymous union. Fixup testcase to match
28043 current gcc debug output.
28044
28045 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28046
28047 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28048 force argument to an unsigned long type.
28049
28050 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28051
28052 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
28053 tests and anonymous union print/ptype tests.
28054 * gdb.base/list.exp (test_forward-search): Increase timeout by
28055 5 minutes for the "search extremely long line" case.
28056 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28057 completely optional and that the pass/fail messages use the command as
28058 the message if that third arg is a null string.
28059 (gdb_test_exact): Arrange that a null string pattern means match a
28060 null string output rather than any output, which might include random
28061 errors.
28062 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28063 backtrace test.
28064 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28065 always failing and failure is now exposed by gdb.exp changes.
28066
28067 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28068
28069 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28070 weren't being noted.
28071
28072 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28073
28074 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28075 * gdb.stabs/weird.exp: Remove v_comb xfails.
28076
28077 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
28078
28079 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
28080 list.exp scope.exp watchpoint.exp]
28081 Make all timeout error msgs explicitly say "(timeout)".
28082
28083 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
28084
28085 * config/monitor.exp: Increase download timeout to 1000 seconds.
28086
28087 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
28088
28089 * config/m32r.exp: Increase timeout to 120 seconds.
28090
28091 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28092
28093 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28094 and accept older ordering as obsolescent gcc or gdb.
28095 * gdb.c++/templates.exp: Ditto.
28096 * gdb.c++/virtfunc.exp: Ditto.
28097
28098 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28099
28100 * gdb.base/coremaker.c: Add code to mmap some data so we
28101 can check that it ends up in the core file.
28102 * gdb.base/corefile.exp: Add test to read mmapped data
28103 from core file.
28104
28105 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
28106
28107 * config/m32r.exp: New file.
28108
28109 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28110
28111 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28112 that cflags can contains -gstabs, and work correctly for other tests.
28113
28114 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
28115
28116 * gdb.base/setshow.exp: New file, tests show and set.
28117 * gdb.base/setshow.c: New file, tests show and set.
28118 * gdb.base/help.exp: Add test for help set|show annotate.
28119 * gdb.base/default.exp: Add test for set|show annotate.
28120
28121 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28122
28123 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28124 errors unique.
28125 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28126 explicitly.
28127
28128 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28129
28130 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28131 and width commands. This is done elsewhere.
28132 * (gdb_start): Don't call gdb_start_sim here. That's already
28133 done in gdb_load. This fixes lots of failures in default.exp.
28134
28135 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28136
28137 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28138 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28139 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28140 in the same we we treat other failures (since it may be an expected
28141 condition), rather than as an error.
28142 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28143 old test format.
28144
28145 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28146
28147 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28148 (distclean maintainer-clean realclean): No need to remove files
28149 twice. Nuke the duplicates.
28150 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
28151 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
28152 Remove config.h along with other config files.
28153
28154 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28155
28156 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28157 "p func1 ()" and note that rests of tests are skipped.
28158 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
28159 setup_xfails for "print func2::coremaker_local".
28160 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28161 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28162 affected by the previous run test.
28163 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28164 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28165 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28166 "pass int powerset tuple" and "pass modeless int powerset tuple".
28167 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28168 "real write 4" and "real write 8".
28169 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
28170 setup_xfails for "print vs1 after tuple assign 2",
28171 "print \$i after tuple assign 2", and
28172 "print vs2 after tuple assign 2".
28173 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28174 meaningful error message and return -1 so the caller can
28175 suppress further tests and avoid a cascade of errors.
28176
28177 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28178
28179 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28180 format for printing version.
28181 * gdb.base/default.exp: Ditto.
28182 * gdb.base/interrupt.exp: Fix problem with cascade of
28183 errors if child process dies while calling a function.
28184
28185 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28186
28187 * Makefile.in (VPATH): Add
28188 * Makefile.in (Makefile, config.status): Fix rules so things get
28189 remade when necessary.
28190
28191 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28192
28193 * Makefile.in (just-check): Add path to sibling expect dir
28194 to environment variable specified by RPATH_ENVVAR.
28195
28196 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28197
28198 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28199 (just-check): Add shared library paths for libstdc++, tk,
28200 tcl, bfd, and opcodes to the environment variable specified
28201 in RPATH_ENVVAR.
28202 * configure.in: Add support to recognize --enable-shared flag
28203 and generate correct value for RPATH_ENVVAR.
28204 * configure: Regenerated with autoconf.
28205
28206 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28207
28208 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
28209 include all osf versions.
28210 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28211 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28212 when target is linux. When failing to build pthreads test
28213 executable, give more meaningful message.
28214 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28215 arg for pthread_create.
28216
28217 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28218
28219 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
28220 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
28221 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
28222 and -lpthreads (everybody else).
28223 (test_startup): Fail gracefully if threads are not supported.
28224 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28225 "p/c array_index("abcdef",2)" when not gcc compiled.
28226 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28227 "print func2::coremaker_local" when not gcc compiled.
28228 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28229 "ptype on opaque struct tagname (statically)",
28230 "ptype on opaque struct tagname (dynamically) 1", and
28231 "ptype on opaque struct tagname (dynamically) 2"
28232 for not compiled with gcc.
28233 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28234 backtrace when compiled with gcc.
28235 * lib/gdb.exp (runto_main): Return result of "runto main" rather
28236 than always return success.
28237
28238 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28239
28240 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28241
28242 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28243
28244 * gdb.base/structs.exp: Undo last change.
28245
28246 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28247
28248 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28249 encapsulate all the steps/nexts done during self test, starting
28250 at main, and makes them less sensitive to optimization issues.
28251 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28252 signal handler" test.
28253 * gdb.threads/pthreads.exp: Only run this for native configs.
28254 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28255 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28256 tests.
28257 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28258 for "runto test_calls(void)" test.
28259
28260 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28261
28262 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28263 and don't expect address info in breakpoint confirmations.
28264
28265 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28266
28267 * gdb.base/list.exp (test_forward_search): Increase timeout
28268 temporarily by 60 seconds for searching extremely long line,
28269 and then reset to old value when done. Increase expect input
28270 buffer to 10000.
28271
28272 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28273
28274 * gdb.base/list.exp (test_forward_search): Fix to handle very
28275 long source line without overflowing expect's input buffer.
28276
28277 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28278
28279 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28280 "buffer_full".
28281
28282 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28283 "buffer_full".
28284
28285 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28286 "buffer_full".
28287
28288 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28289 "buffer_full".
28290
28291 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28292
28293 * configure.in (configdirs): Add gdb.threads.
28294 * configure: Regenerated with autoconf.
28295 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28296 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28297 * gdb.threads/configure: New, generated with autoconf.
28298
28299 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28300
28301 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28302
28303 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28304
28305 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28306 each signal's status in the output of "handle all print".
28307 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28308 the \r\n sequence that immediately precedes the gdb prompt.
28309 * gdb.base/a1-selftest.exp: Save original timeout and restore
28310 after test.
28311
28312 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28313
28314 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28315 symbol.
28316
28317 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28318
28319 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28320
28321 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28322
28323 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28324 timeout by 60 seconds.
28325
28326 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28327
28328 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28329 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28330 error return.
28331
28332 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28333
28334 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28335 gdb initialization, also report how long dejagnu waited. Restore
28336 old timeout before doing error return. Temporarily increase timeout
28337 by 3 minutes to allow for slow startups over heavy NFS use.
28338
28339 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28340
28341 * lib/gdb.exp: Report timeout value for verbosity level 2.
28342 * config/gdbserver.exp: Ditto.
28343 * config/hppro.exp: Ditto.
28344 * config/mips-gdb.exp: Ditto.
28345 * config/monitor.exp: Ditto.
28346 * config/netware.exp: Ditto.
28347 * config/sim-gdb.exp: Ditto.
28348 * config/slite-gdb.exp: Ditto.
28349 * config/udi-gdb.exp: Ditto.
28350 * config/unix-gdb.exp: Ditto.
28351 * config/vx-gdb.exp: Ditto.
28352 * gdb.base/a1-selftest.exp: Ditto.
28353 * gdb.base/a2-run.exp: Ditto.
28354 * gdb.base/break.exp: Ditto.
28355 * gdb.base/corefile.exp: Ditto.
28356 * gdb.base/list.exp: Ditto.
28357 * gdb.base/recurse.exp: Ditto.
28358 * gdb.base/scope.exp: Ditto.
28359 * gdb.base/signals.exp: Ditto.
28360
28361 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28362
28363 * gdb.threads/Makefile.in (docdir): Removed.
28364
28365 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28366
28367 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
28368 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
28369 @srcdir@.
28370 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
28371 autoconf 2.5 or higher.
28372 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28373
28374 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
28375
28376 * configure: Regenerated.
28377 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28378 avoid name clashes with SunOS headers.
28379
28380 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
28381
28382 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28383
28384 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
28385
28386 * gdb.base/callfuncs.exp: Finish last change -- make sure the
28387 prototype information ends up in the compiler info file.
28388
28389 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
28390
28391 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28392 attempting to regenerate it. Eliminate use of a temporary file
28393 and just generate the info file directly. Source it immediately,
28394 for consistency of use.
28395 * gdb.base/corefile.exp: Ditto
28396 * gdb.base/exprs.exp: Ditto.
28397 * gdb.base/funcargs.exp: Ditto.
28398 * gdb.base/langs.exp: Ditto.
28399 * gdb.base/list.exp: Ditto.
28400 * gdb.base/mips_pro.exp: Ditto.
28401 * gdb.base/nodebug.exp: Ditto.
28402 * gdb.base/opaque.exp: Ditto.
28403 * gdb.base/ptype.exp: Ditto.
28404 * gdb.base/scope.exp: Ditto.
28405 * gdb.base/setvar.exp: Ditto.
28406 * gdb.base/signals.exp: Ditto.
28407 * gdb.base/whatis.exp: Ditto.
28408 * gdb.c++/templates.exp: Ditto.
28409 * gdb.c++/virtfunc.exp: Ditto.
28410 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
28411 whether or not to add -lstdc++ to the compile command line args.
28412
28413 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28414
28415 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
28416 it got fixed by the recent lookup_minimal_symbol_by_pc change.
28417 Increase timeout, a lot of single stepping might be needed if the
28418 target has no hardware watchpoints.
28419
28420 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
28421
28422 * gdb.base/break.exp: Ignore compiler warnings when compiling
28423 break.c.
28424 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28425 * gdb.base/default.exp: Add h8300 xfails. Handle messages
28426 from remote-sim.
28427 * gdb.base/exprs.exp: Add h8300 xfails.
28428 * gdb.base/funcargs.exp: Likewise.
28429 * gdb.base/nodebug.exp: Likewise.
28430 * gdb.base/printcmds.exp: Likewise.
28431 * gdb.base/ptype.exp: Likewise.
28432 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
28433 h8300 xfails.
28434 * gdb.base/return.exp: Handle float/double precision problems
28435 on the h8300.
28436 * gdb.base/funcargs.c: Explicitly make last constant argument to
28437 call_after_alloca_subr an unsigned long type.
28438 * gdb.base/return.c: Include stdio.h.
28439
28440 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
28441
28442 * config/abug.exp: New file for the older Motorola Bug monitor
28443 that runs on the mvme13x series VME boards.
28444 * config/monitor.exp: Use the new config array for target settings
28445 if they exist.
28446
28447 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
28448
28449 * sim-gdb.exp: Make the SH simulator allocate less space when
28450 it is targeted.
28451
28452 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
28453
28454 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28455 test.
28456
28457 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
28458
28459 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28460 "rs6000-*-*" for "list function in include file" when gcc compiled.
28461 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28462 for "p ctable1[120]".
28463 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28464 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28465 Remove setup_xfail for "rs6000-*-*" for
28466 "print 'scope0.c'::filelocal before run".
28467 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28468 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28469 since some compilers don't allow both options to be given
28470 on the same command line. Create object file and move it.
28471
28472 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
28473
28474 * gdb.base/corefile.exp: Always regenerate the core file, since
28475 we always regenerate the coremaker program. Detect special case
28476 where registers cannot be read from core file.
28477
28478 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
28479
28480 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28481 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28482 * gdb.c++/templates.exp: Only match on basename of file since
28483 some formats like xcoff don't encode directory information.
28484 * gdb.stabs/weird.exp: Use the right sed script for powerpc
28485 and rs6000 AIX xcoff targets.
28486 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28487 * configure: Regenerate.
28488 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28489 here, rather than in distclean.
28490
28491 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
28492
28493 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28494 defined, and use it to compile the test case with -O2. The
28495 native compilation still uses no optimization.
28496 * gdb.base/mips_pro.c: Remove inline assembly code since
28497 it is compiled PIC by default, which results in assembler
28498 warnings that make the testsuite think the compilation
28499 was unsuccessful.
28500
28501 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
28502
28503 * gdb.c++/misc.exp: Add note to message for
28504 "print s.a for foo struct" that this is a known gcc 2.7.2
28505 and earlier bug.
28506
28507 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
28508
28509 * gdb.base/break.exp: Fix pattern for matching "Delete all
28510 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
28511 setup_xfail for deleting all breakpoints test. Fix various
28512 timeout messages to include "(timeout)".
28513 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28514 for "p t_float_values2(3.14159,float_val2)".
28515 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28516 for "continue to call2g" when gcc compiled.
28517 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28518 "up to foo in langs.exp", "show language at foo in langs.exp",
28519 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28520 and "show language at fsub in langs.exp".
28521 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28522 "list line 1 in include file", "list message for lines past EOF",
28523 "list function in include file", "list list0.h:foo", and
28524 "list filename:function; nonexistant function".
28525 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28526 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28527 and "ptype t_char_array" to be for native cc only.
28528
28529 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
28530
28531 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
28532 setup_xfail for "print coremaker_bss", "print coremaker_ro",
28533 "print func2::coremaker_local", and "backtrace in corefile.exp".
28534
28535 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
28536
28537 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
28538 "bt in signals.exp". This problem only appears when running
28539 the testsuite, and then only intermittently.
28540
28541 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
28542
28543 * gdb.base/return.exp (return_tests): Differentiate between
28544 two tests of continuing.
28545
28546 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
28547
28548 * */Makefile.in (maintainer-clean): Remove config.log.
28549 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
28550 * gdb.c++/Makefile.in (PROGS): Add inherit.
28551 (clean): Remove *.ci.
28552
28553 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
28554
28555 * gdb.c++/misc.cc: Add test code from Mike Stump.
28556 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
28557
28558 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
28559
28560 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
28561 to "alpha-*-osf2*" and add comment.
28562 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
28563 setup_xfail for "step over execarg initialization" and
28564 "step over corearg initialization".
28565 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
28566 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
28567 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
28568 gcc compiled for "print coremaker_bss", "print coremaker_ro",
28569 "print func2::coremaker_local", and "backtrace in corefile.exp".
28570 * gdb.base/signals.exp: Build and source signals.ci.
28571 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
28572 to be for gcc only.
28573 * lib/gdb.exp: Move verbose statements outside conditionals.
28574
28575 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28576
28577 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
28578 Feb 3 procfs.c change.
28579
28580 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
28581
28582 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
28583
28584 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
28585
28586 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
28587 from dejagnu's apparent default of 10 seconds, which gives random
28588 results when running the tests over NFS on moderately loaded systems.
28589 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
28590
28591 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
28592
28593 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
28594 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
28595 result reports.
28596
28597 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
28598
28599 * configure.in (CY_AC_PATH_TCLH): Remove.
28600 * configure: Regenerate.
28601
28602 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
28603
28604 * gdb.c++/Makefile.in (clean): Add missing '{'.
28605
28606 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
28607
28608 * lib/gdb.exp: Provide a default value for noinferior.
28609
28610 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
28611 Load libgloss.exp.
28612
28613 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
28614
28615 * gdb.disasm/hppa.exp: Compile directly into an executable, use
28616 the executable, not the .o to run the tests from.
28617
28618 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
28619
28620 * gdb.base/break.exp: Don't test for program exit or exit status
28621 if $noresults if nonzero.
28622 * gdb.base/langs.exp: Likewise.
28623 * gdb.base/watchpoint.exp: Likewise.
28624
28625 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
28626 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
28627 trying to compile the testcase.
28628
28629 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
28630
28631 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
28632 * gdb.base/signals.exp (continue to handler): Likewise.
28633
28634 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
28635
28636 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
28637
28638 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
28639
28640 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
28641
28642 * gdb.base/corefile.exp: Recognize "not found" as failure
28643 when trying to determine if a core file was generated.
28644 If no core file was generate the first time, try again without
28645 the ulimit -c to work around braindamaged shells.
28646
28647 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
28648
28649 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
28650 [] tests with "test" and enclose string in quotes.
28651 * gdb.stabs/configure: Rebuild
28652
28653 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
28654
28655 Changes in sync with expect:
28656 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
28657 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
28658 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
28659 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
28660 argument to AC_REQUIRE.
28661 * configure: Regenerated.
28662
28663 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
28664
28665 * gdb.base/corefile.exp: When generating a core, discard any
28666 error messages about ulimit not found and the "core dumped"
28667 message from the shell that runs the coredumper.
28668
28669 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
28670
28671 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
28672
28673 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
28674 which sed script to run. Expect failure for v_comb test
28675 on PA targets too.
28676
28677 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
28678
28679 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
28680 "print func2::coremaker_local" and for "backtrace in corefile.exp"
28681
28682 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
28683
28684 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
28685 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
28686 "sparc-sun-solaris*" xfails for "p v_comb".
28687 * lib/gdb.exp (default_gdb_start): Fix typo.
28688 * gdb.base/corefile.exp: Allow "Core was generated by ..."
28689 messages to not include the full program name that caused
28690 the core dump since some systems (such as solaris) apparently
28691 truncate this path to about 80 characters.
28692 When generating a core file first try increasing the core file
28693 size limit to unlimited since some systems may default it to
28694 zero, and it is harmless to try it. Move the test for failing
28695 to generate a core file to where it will actually get executed.
28696 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
28697 new gdb result from g++ debug info improvements and make old
28698 pattern obsolescent. Also account for size_t differences
28699 (may be int or long).
28700 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
28701 initialization before function call is placed in the delay slot
28702 and thus appears to be skipped over by commands such as "next".
28703
28704 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
28705
28706 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
28707
28708 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
28709
28710 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
28711 input source file; fix code to compile test to deal with this
28712 convention.
28713 * gdb.c++/*.exp: Likewise.
28714
28715 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
28716
28717 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
28718 "bt in signals.exp".
28719
28720 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
28721
28722 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
28723 "step over execarg initialization" and
28724 "step over corearg initialization".
28725
28726 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
28727
28728 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
28729 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
28730
28731 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
28732
28733 From Rob Savoye (rob@poseidon.cygnus.com)
28734 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
28735 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
28736 configure.in}, gdb.disasm/{Makefile.in, configure.in},
28737 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
28738 configure.in}: Major reworking for autoconfig.
28739 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
28740 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
28741 New files.
28742 * config/unix-gdb.exp: Make GDB global.
28743 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
28744 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
28745 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
28746 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
28747 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
28748 term.exp, twice.exp, watchpoint.exp, whatis.exp},
28749 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
28750 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
28751 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
28752 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
28753 pr-8136.exp, result.exp, string.exp, tuples.exp},
28754 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
28755 to returns as necessary, arrange for test to compile own testcase
28756 executable.
28757 * lib/gdb.exp: Changes for testsuite to compile own test cases.
28758
28759 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
28760
28761 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
28762 clear_xfail at end of test which might not call either pass or fail.
28763 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28764 "backtrace through signal handler".
28765
28766 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28767
28768 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
28769 continuing from a job control stop signal.
28770 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
28771
28772 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
28773
28774 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28775 * gdb.base/corefile.exp: Likewise.
28776 * gdb.base/funcargs.exp: Likewise.
28777
28778 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
28779
28780 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
28781 * config/monitor.exp: Add support for setting baud rate.
28782
28783 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
28784
28785 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28786 i*86-*-linux* xfails for "backtrace through signal handler".
28787 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28788 "print func2::coremaker_local".
28789 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
28790 alpha-dec-osf2* xfail for
28791 "delete all breakpoints when none".
28792
28793 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
28794
28795 * gdb.base/break.exp: Change test that deletes all breakpoints
28796 when no user breakpoints are installed. A post 4.15 change
28797 causes gdb to no longer prompt in this case.
28798
28799 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
28800
28801 * gdb.base/return.exp (return_tests): Change xfail for test
28802 "correct value returned double test" to stop xfailing at
28803 Solaris 2.5. Apparently the bug has been fixed.
28804
28805 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
28806
28807 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28808 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28809
28810 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
28811
28812 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28813 * gdb.disasm/hppa.s: Corresponding changes.
28814
28815 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
28816
28817 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28818 makefile fragment.
28819 * config/mt-hpux: Deleted.
28820
28821 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
28822
28823 * Many files: When warning about suppressed tests due to a
28824 nonexistant test binary, avoid incrementing the warning count.
28825
28826 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
28827
28828 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
28829
28830 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28831
28832 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
28833 "sparc-*-solaris2*".
28834
28835 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28836
28837 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
28838 Add global and local variables and initialize them.
28839 * gdb.base/corefile.exp: Test correct mapping of corefile sections
28840 by printing variables. Remove rs6000 and powerpc xfails, BFD now
28841 extracts the file name and terminating signal from the core file.
28842 * TODO: Remove note about tests for correct mapping of corefile.
28843 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
28844 from optimizing it away.
28845 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
28846 handles common blocks.
28847
28848 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
28849
28850 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28851 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28852
28853 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
28854
28855 * Makefile.in (maintainer-clean): New target, synonym for
28856 realclean.
28857 * gdb.base/Makefile.in (maintainer-clean): Likewise.
28858 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28859 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28860 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28861 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28862 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28863
28864 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
28865
28866 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
28867 xfails when not gcc compiled for "print foo::funclocal".
28868 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28869 "print foo::funclocal at foo",
28870 "print 'scope1.c'::foo::funclocal at foo",
28871 "print foo::funclocal_bss at foo",
28872 "print 'scope1.c'::foo::funclocal_bss at foo",
28873 "print foo::funclocal_ro at foo",
28874 "print 'scope1.c'::foo::funclocal_ro at foo",
28875 "print bar::funclocal at foo" and
28876 "print 'scope1.c'::bar::funclocal at foo".
28877 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
28878 gcc compiled for "print foo::funclocal at bar".
28879 Expand all messages to ensure that they identify that
28880 the test is at bar().
28881 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28882 gcc compiled for:
28883 "ptype on opaque struct pointer (statically)",
28884 "ptype on opaque struct tagname (statically)",
28885 "ptype on opaque struct pointer (dynamically) 1",
28886 "ptype on opaque struct tagname (dynamically) 1",
28887 "ptype on opaque struct pointer (dynamically) 2" and
28888 "ptype on opaque struct tagname (dynamically) 2
28889 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28890 gcc compiled for:
28891 "p datalocal"
28892 "whatis datalocal",
28893 "ptype datalocal",
28894 "p bsslocal",
28895 "whatis bsslocal", and
28896 "ptype bsslocal".
28897 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28898 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28899 when not gcc compiled.
28900 * gdb.base/funcargs.exp (float_and_integral_args): Add
28901 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28902 compiled.
28903 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
28904 "backtrace from call6a" when not gcc compiled.
28905 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28906 "backtrace from call7a" when not gcc compiled.
28907 * gdb.base/callfuncs.exp (do_function_calls):
28908 Add "hppa*-*-hpux*" xfail when not gcc compiled for
28909 "p t_char_array_values(char_array_val2,char_array_val1)",
28910 "p t_char_array_values(char_array_val1,char_array_val2)",
28911 "p t_char_array_values("carray 1","carray 2")",
28912 "p t_char_array_values("carray 1",char_array_val2)",
28913 "p t_char_array_values(char_array_val1,"carray 2")",
28914 "p sum_args(1,{2})",
28915 "p sum_args(2,{2,3})",
28916 "p sum_args(3,{2,3,4})",
28917 "p sum_args(4,{2,3,4,5})"
28918 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28919 "backtrace in corefile.exp" when not gcc compiled.
28920
28921 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28922
28923 * gdb.base/signals.exp: Rewrite `handle all print' test as
28924 a procedure. Accept blanks or TABs as whitespace, increase
28925 timeout and expect input buffer size for the large output
28926 from the command. Remove "i*86-*-bsdi2.0" xfail.
28927
28928 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28929
28930 * gdb.base/setvar.exp: Add new testcases for truncation when
28931 assigning invalid values to bitfields.
28932
28933 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
28934
28935 * gdb.base/callfuncs.exp (do_function_calls): Remove
28936 mips-sgi-irix* xfail for
28937 "call inferior func with struct - returns char *"
28938 and fix test so that an optional (unsigned char *) cast is
28939 accepted in the result.
28940
28941 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
28942
28943 * gdb.base/funcargs.exp (float_and_integral_args): Remove
28944 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28945 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
28946 * gdb.base/signals.exp: Remove duplicate "handle all print" test
28947 that accidentally got checked in.
28948
28949 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
28950
28951 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
28952 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
28953 compiled test.
28954 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
28955 Add mips-sgi-irix5* xfail for not gcc compiled.
28956 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
28957 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
28958 compiled for "p top", "whatis top", "p middle", and "whatis
28959 middle".
28960 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
28961 "whatis signed char" for not gcc compiled.
28962 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
28963 "set variable signed char=-1 (-1)" and
28964 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
28965 * gdb.base/funcargs.exp (float_and_integral_args):
28966 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
28967 Add mips-sgi-irix* xfail when not gcc compiled for
28968 "continue to call2b".
28969 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
28970 "continue to call2g".
28971 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
28972 compiled for "backtrace from call6a"
28973 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
28974 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
28975 when not gcc compiled for "backtrace from call7a".
28976 (localvars_after_alloca): Fix gdb_test cmds for
28977 "print * after runto ...".
28978 Remove rs6000-*-* xfails for
28979 "print i after runto localvars_after_alloca" and
28980 "print l after runto localvars_after_alloca"
28981 for all compilers.
28982 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
28983 when not compiled with gcc, for:
28984 "print signed char == (minus)",
28985 "print signed char != (minus)",
28986 "print signed char < (minus)",
28987 "print signed char > (minus)".
28988 * gdb.base/callfuncs.exp (do_function_calls):
28989 Add mips-sgi-irix* xfail, when compiled with native compiler, for
28990 "call inferior func with struct - returns char *".
28991 * gdb.base/return.exp (return_tests): Change xfail for
28992 "correct value returned double test" to include Solaris 2.4.
28993 * gdb.base/funcargs.exp (float_and_integral_args):
28994 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28995
28996 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28997
28998 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
28999 enumeration bitfields if compiling with GNU C.
29000 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29001 to empty' prompt.
29002
29003 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29004
29005 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29006 test for PRO targets.
29007
29008 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29009 breakpoints in the inferior at any given time by making
29010 two groups of breakpoints for call2*, call6* and call7*
29011 tests.
29012
29013 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29014
29015 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29016 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29017 from optimizing it away.
29018 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29019 "call inferior func with struct".
29020
29021 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29022
29023 * configure.in: Only configure gdb.chill for particular targets.
29024
29025 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29026
29027 * gdb.base/Makefile.in: Add action to .c.o transformation
29028 rule that generates a .ci file for each .o file and remove
29029 explicit .c.o rules except for callfuncs.o.
29030 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29031 generates a .ci file for each .o file and remove explicit
29032 .cc.o rules.
29033 (clean): Remove *.tmp *.ci files.
29034 (EXECUTABLES): Remove templ-info.exp.
29035 * gdb.base/compiler.c: New file.
29036 * gdb.c++/compiler.cc: New file
29037 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29038 Change rs6000-*-* xfail for
29039 "print 'scope0.c'::filelocal_ro" and
29040 "print 'scope1.c'::filelocal" and
29041 "print 'scope1.c'::filelocal_bss" and
29042 "print 'scope1.c'::filelocal_ro" and
29043 "print 'scope1.c'::foo::funclocal" and
29044 "print 'scope1.c'::foo::funclocal_ro" and
29045 "print 'scope1.c'::bar::funclocal" and
29046 "print 'scope0.c'::filelocal_ro" and
29047 "print 'scope1.c'::filelocal at foo" and
29048 "print 'scope1.c'::filelocal_bss at foo" and
29049 "print 'scope1.c'::filelocal_ro at foo" and
29050 "print 'scope1.c'::foo::funclocal at foo" and
29051 "print 'scope1.c'::foo::funclocal_bss at foo" and
29052 "print 'scope1.c'::foo::funclocal_ro at foo" and
29053 "print 'scope1.c'::bar::funclocal at foo" and
29054 "print 'scope0.c'::filelocal_ro" and
29055 "print 'scope1.c'::filelocal" and
29056 "print 'scope1.c'::filelocal_bss" and
29057 "print 'scope1.c'::filelocal_ro" and
29058 "print 'scope1.c'::foo::funclocal" and
29059 "print 'scope1.c'::foo::funclocal_bss" and
29060 "print 'scope1.c'::foo::funclocal_ro" and
29061 "print 'scope1.c'::bar::funclocal" and
29062 "print 'scope1.c'::bar::funclocal_bss"
29063 to only be xfail'd when not compiled with gcc.
29064 Add rs6000-*-* xfail for
29065 "print 'scope0.c'::filelocal_bss before run"
29066 when compiled with gcc.
29067 (test_at_main): Add rs6000-*-* xfail for
29068 "print filelocal_ro in test_at_main"
29069 when compiled with gcc.
29070 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
29071 Add rs6000-*-aix* xfail for
29072 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29073 "ptype t_char_array", not compiled with gcc.
29074 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29075 xfail for "list foo (in include file)" when gcc compiled.
29076 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
29077 (integral_args): Add rs6000-*-* xfail for
29078 "run to call0a" if not compiled with gcc.
29079 (unsigned_integral_args): Add rs6000-*-* xfail for
29080 "run to call1a" if not compiled with gcc.
29081 (float_and_integral_args): Add rs6000-*-* xfail for
29082 "run to call2a" if not compiled with gcc and for
29083 "continue to call2b" for any compiler.
29084 Add rs6000-*-* xfail to
29085 "print f1 after run to call2a" for gcc compiled.
29086 (discard_and_shuffle): Add rs6000-*-* xfail for
29087 "run to call6a".
29088 (shuffle_round_robin): Add rs6000-*-* xfail for
29089 "backtrace from call7a" if not compiled with gcc.
29090 Add rs6000-*-* xfail for
29091 "backtrace from call7b" if compiled with gcc.
29092 (call_after_alloca): Add rs6000-*-* xfail for
29093 "print c in call_after_alloca" and
29094 "print s in call_after_alloca" and
29095 "backtrace from call_after_alloca_subr"
29096 if not compiled with gcc.
29097 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29098 "print c in localvars_in_indirect_call" and
29099 "print c in localvars_in_indirect_call" and
29100 "backtrace in indirectly called function" and
29101 "stepping into indirectly called function"
29102 if not compiled with gcc.
29103 (localvars_after_alloca): Add rs6000-*-* xfail for
29104 "print c after runto localvars_after_alloca" and
29105 "print s after runto localvars_after_alloca" and
29106 "print i after runto localvars_after_alloca" and
29107 "print l after runto localvars_after_alloca"
29108 for all compilers.
29109 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29110 than whatis-info.exp.
29111 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29112 than opaque-info.exp.
29113 Setup rs6000-*-* xfail for
29114 "ptype on opaque struct pointer (statically)" and
29115 "ptype on opaque struct pointer (dynamically)" when
29116 not compiled with gcc.
29117 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29118 rather than callf-info.exp.
29119 (do_function_calls): Add clear_xfail for rs6000-*-* for
29120 "p t_float_values2(3.14159,float_val2)". Seems to work
29121 fine there, both with xlc and gcc. Need to find out what
29122 it is doing right and fix other platforms.
29123 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29124 "call inferior func with struct - returns int",
29125 "call inferior func with struct - returns long",
29126 "call inferior func with struct - returns float",
29127 "call inferior func with struct - returns double",
29128 "call inferior func with struct - returns char *",
29129 but only if not gcc compiled (presumes xlc compiled).
29130 Change rs6000-*-* xfails for
29131 "call inferior func with struct - returns char" and
29132 " call inferior func with struct - returns short" to only
29133 xfail if not using gcc.
29134 (clean mostlyclean): Remove *.ci and *.tmp files.
29135 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29136 than templ-info.exp.
29137 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29138 Add rs6000-*-* xfail for "up to foo in langs.exp"
29139 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
29140 when not gcc compiled.
29141
29142 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29143
29144 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29145 * gdb.base/corefile.exp: Likewise.
29146 * gdb.base/list.exp: Likewise.
29147 * gdb.base/scope.exp: Likewise.
29148 * gdb.base/siganls.exp: Likewise.
29149
29150 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29151 compiler output.
29152 * gdb.base/whatis.exp: Likewise.
29153
29154 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29155
29156 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29157 failure (opcode table has been fixed to match reality).
29158
29159 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29160
29161 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29162 "call inferior func with struct - returns char",
29163 "call inferior func with struct - returns short"
29164
29165 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29166 "print 'scope0.c'::filelocal at main",
29167 "print 'scope0.c'::filelocal_bss in test_at_main",
29168 "print 'scope0.c'::filelocal at foo",
29169 "print 'scope0.c'::filelocal_bss in test_at_foo",
29170 "print 'scope0.c'::filelocal at bar",
29171 "print 'scope0.c'::filelocal_bss in test_at_bar"
29172
29173 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29174 in source file 1". This bug seems to have been fixed with both
29175 gcc and native cc (was native assembler bug?).
29176
29177 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29178
29179 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29180 "backtrace through signal handler" to "i*86-*-sysv4*".
29181 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29182 continue" case. Add "known SVR4 bug" to fail message.
29183 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29184 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29185 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29186 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29187 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29188 "up to foo in langs.exp", "show language at foo in
29189 langs.exp", "up to cppsub_ in langs.exp", "show
29190 language at cppsub_ in langs.exp", "up to fsub in
29191 langs.exp", and "show language at fsub in langs.exp".
29192 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29193 "bactrace in corefile.exp".
29194 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29195 "call inferior function with struct - returns float" and
29196 "call inferior function with struct - returns double".
29197
29198 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29199
29200 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29201 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29202 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29203 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29204
29205 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29206
29207 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29208 (or overriden) "CHILL" macro rather then bare "gcc".
29209 Also look for ../../gcc/xgcc since that is what we will
29210 actually need, not "Makefile". Remove following assignment
29211 of CHILL to CHILL_FOR_TARGET because that results in
29212 recursive definition.
29213
29214 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29215
29216 * gdb.base/corefile.exp: Change xfail for backtrace in
29217 corefile.exp from linuxaout to all linux.
29218 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29219 cases where we miss the breakpoint at the signal handler
29220 for some reason. Setup xfail for linuxoldld/linuxaout and
29221 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29222 hitting SIGURG breakpoint.
29223 * gdb.base/signals.exp: Setup xfail for "next" acting like
29224 continue to add linuxoldld. Setup xfail for all linux for
29225 "next to handler in signals_tests_1", "backtrace in
29226 signals_tests_1", "continue to func1", "pass SIGUSR1",
29227 and continue to handler".
29228
29229 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29230
29231 * Update all FSF addresses except those in COPYING* files.
29232
29233 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29234
29235 * gdb.base/a2-run.exp: Change messages to be more explicit about
29236 the status of args, and quote binfile in results.
29237
29238 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29239
29240 * gdb.base/callfuncs.exp: Add tests for passing structs to
29241 inferior functions and return various types.
29242 * gdb.base/callfuncs.c: Add functions to receive a struct
29243 and return a member of the struct, in various types.
29244
29245 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29246
29247 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29248
29249 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29250
29251 * config/vxworks29k.exp: New file, sources vxworks.exp.
29252
29253 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29254
29255 * config/gdbremote.exp: New file. Testing framework using
29256 gdbserver.
29257
29258 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29259
29260 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29261 "call function when asleep" and "send end of file".
29262 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29263 for "backtrace in corefile.exp".
29264 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29265 for "backtrace through signal handler".
29266 * gdb.base/corefile.exp: Make sure we actually generate a core file
29267 before trying the core tests. Some systems allow the user to suppress
29268 generation of core files and default to that (linux for example).
29269 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29270 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29271
29272 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29273
29274 * gdb.threads: New directory with some crude multi-threaded
29275 gdb tests (step.exp and step2.exp).
29276 * config/mt-lynx (STEP_EXECUTABLE): Define.
29277 (THREADFLAGS): Define.
29278
29279 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29280
29281 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29282
29283 * gdb.base/signals.exp: Disable whole file for lynx until
29284 further notice.
29285
29286 * gdb.base/signals.exp: xfail test where "next" acts like
29287 "continue" for lynx.
29288
29289 * gdb.base/interrupt.exp: xfail test for calling function while
29290 inferior is asleep for lynx.
29291
29292 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29293 than one cr-lf after each command.
29294
29295 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29296
29297 * configure.in: Reinstate setting of stabsdirs variable, fix
29298 typo in setting up configdirs for native builds.
29299
29300 * gdb.base/return.exp: Fix typo in return double test.
29301 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29302 compiler from optimizing them away.
29303
29304 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29305
29306 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29307 sequences to be echo'd by gdb when using gdb_test.
29308 * gdb.chill/chexp.exp: Likewise.
29309 * gdb.fortran/exprs.exp: Likewise
29310
29311 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29312
29313 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29314 after the inferior gdb has started.
29315
29316 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29317 after each command.
29318 * gdb.base/funcargs.exp: Likewise.
29319 * gdb.base/gdbvars.exp: Likewise.
29320 * gdb.base/interrupt.exp: Likewise.
29321 * gdb.base/list.exp: Likewise.
29322 * gdb.base/watchpoint.exp: Likewise.
29323 * gdb.c++/demangle.exp: Likewise.
29324 * gdb.c++/inherit.exp: Likewise.
29325 * gdb.chill/chexp.exp: Likewise.
29326 * gdb.fortran/exprs.exp: Likewise.
29327
29328 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29329 test if we can't handle IO to/from the inferior.
29330
29331 * gdb.c++/misc.exp: Always check for a program already being
29332 started after sending a "run" command to gdb.
29333
29334 * gdb.base/twice.exp: Start with a fresh gdb.
29335
29336 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29337 only depend on gdb's expression code, not the chill runtime.
29338
29339 * gdb.base/return.c: Put return values into variables so we
29340 can have gdb print them rather than depending on the program
29341 to print them.
29342 * gdb.base/return.exp: Corresponding changes.
29343
29344 * lib/gdb.exp: Provide default value for noinferiorio.
29345 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29346 the inferior.
29347
29348 * gdb.base/break.exp: Always check for a program already being
29349 started after sending a "run" command to gdb.
29350 (text_next_with_recursion): Don't check the output from the
29351 program's printf statement. Instead just make sure the program
29352 exited.
29353
29354 * gdb.base/commands.exp: Protect tests which need arguments with
29355 $noargs conditionals.
29356
29357 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29358
29359 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29360 of structure member arrays to match gdb/valops.c:value_addr change.
29361
29362 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29363
29364 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29365 cases.
29366
29367 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29368
29369 * configure.in (configdirs): Remove gdb.chill from default list
29370 of subdirs and then add it back in only if doing a native build.
29371 The current chill compiler does not yet work in any cross build.
29372 * Revert all signal changes from Jul 6.
29373 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
29374 for sh-hms targets, allowing these tests to link, with no other
29375 changes. Testing is suppressed by setting "nosignals" in site.exp.
29376
29377 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
29378
29379 * configure.in (signaldirs): Define and add to configdirs for all
29380 targets except some specific ones that are known to not support signals.
29381 Also clean up formatting.
29382 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
29383 (signals, sigall): Remove rules to build.
29384 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29385 Moved to new gdb.signals directory.
29386 * gdb.signals: New test directory.
29387 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29388 signals.c signals.exp}: New or moved files.
29389
29390 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
29391
29392 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29393
29394 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
29395
29396 * gdb.base/return.exp: Xfail `return double' test failure
29397 on at least Solaris 2.3 and handle future/past versions on
29398 a case by case basis as appropriate. Also update message
29399 to include i*86 failures.
29400
29401 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29402
29403 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29404
29405 * lib/gdb.exp: Fix comment which erroneously identified
29406 gdb_file_cmd as gdb_load (the 19 May change was in fact to
29407 gdb_file_cmd not gdb_load).
29408 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29409
29410 * gdb.base/setvar.exp: Make test names consistent between pass and
29411 fail cases. Use gdb_test more.
29412
29413 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29414
29415 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29416
29417 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29418
29419 * gdb.base/help.exp: Fix expected help string for `show commands'.
29420
29421 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
29422
29423 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29424
29425 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29426 of a text section.
29427
29428 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
29429
29430 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
29431 that loop eventually terminates. Fix Connection refused logic so
29432 that testsuite will expire nicely.
29433
29434 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
29435
29436 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29437 config/rom68k.exp: New tcl glue for the appropriate monitors.
29438 These all just end up calling monitor.exp.
29439 * config/monitor.exp (gdb_target_monitor): Handle `Connection
29440 refused' by retrying. Cleanup some timeout issues.
29441 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
29442 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
29443 callers don't have to set/restore global timeout variable.
29444
29445 * The following set of changes centralizes management of the global
29446 timeout variable. This way, it can be set in one target dependent
29447 place instead of dozens of places scattered throughout the test suite.
29448 If you need to lengthen a timeout, then you should either set timeout
29449 in one of the config/{target}.exp files, or multiply it by a factor.
29450 Setting it to an absolute value is always going to lose for some
29451 targets.
29452 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
29453 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
29454 * gdb.base/funcargs.exp: Don't set timeout.
29455 * gdb.base/list.exp (test_forward_search): Only use local timeout.
29456 * gdb.base/printcmds.exp (test_print_string_constants
29457 test_print_array_constants): Don't set timeout.
29458 * gdb.base/ptype.exp: Don't set timeout.
29459 * gdb.base/recurse.exp: Don't set timeout.
29460 * gdb.base/return.exp: Don't set timeout.
29461 * gdb.base/watchpoint.exp: Don't set timeout.
29462 * gdb.c++/classes.exp (do_tests): Don't set timeout.
29463 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
29464
29465 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
29466
29467 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29468
29469 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29470
29471 * lib/gdb.exp: Disable chill tests for irix5.
29472
29473 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29474
29475 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
29476 each test pass or fail.
29477
29478 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29479
29480 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29481 xlc not gcc.
29482
29483 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
29484
29485 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
29486
29487 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
29488
29489 * config/est.exp: Fix copyright and comments. Remove dead code.
29490 Use targetname, serialport and baud variables instead of fixed
29491 constants.
29492 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
29493 * config/cpu32bug.exp: New file to support cpu32bug monitors.
29494
29495 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29496
29497 * gdb.base/watchpoint.exp: Don't run
29498 test_watchpoint_triggered_in_syscall for sunos.
29499
29500 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29501
29502 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29503 they don't seem to exist. Do include stdio.h.
29504
29505 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29506
29507 * gdb.base/a1-selftest.exp: Add alpha xfail.
29508
29509 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29510
29511 * gdb.base/watchpoint.c (main): Prompt before calling read().
29512 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29513 Revise accordingly. Remove cruft about sending "123" several
29514 times, until it gets noticed. Clean up the "print buf[0]" stuff
29515 so that it passes or fails, and waits for prompts in the usual way.
29516
29517 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29518
29519 * gdb.base/recurse.exp: Fix comment.
29520
29521 * TODO: Remove item about printing variables in nodebug.exp. Add
29522 item about enabling tests which are only run on some targets.
29523
29524 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29525 fail, make test names unique, use new gdb_test convention
29526 regarding pattern, use gdb_test more, etc.).
29527
29528 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29529 fail, make test names unique, etc.).
29530
29531 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29532
29533 * gdb.base/nodebug.c: Change return type of top and middle to
29534 short.
29535 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
29536 are fixed by the recent mdebugread.c changes. Allow `short ()'
29537 as type for top and middle.
29538
29539 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29540
29541 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
29542 nearly as I can tell, the whole thing was an accident in Stu's
29543 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
29544 to replace a send/expect pair with gdb_test, but ended up only
29545 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
29546 of 30 Mar 1995 took care of it, but left this vestigial comment
29547 which I am now nuking.
29548
29549 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29550
29551 * gdb.base/break.exp: Look for different line number for
29552 breakpoint at main depending on usestubs.
29553
29554 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29555
29556 * gdb.base/list.exp: Adjust some alternate expect patterns to
29557 match recent list0.c change. Add alternate expect pattern for
29558 output from `list default lines around main' for optimizing
29559 compilers.
29560
29561 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29562
29563 * lib/gdb.exp: If nosignals is not set, set it to 0.
29564
29565 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
29566
29567 * config/slite-gdb.exp: Responds to load symbol table prompt.
29568 * gdb.base/break.exp: Adjust line number, fix rerun.
29569 * gdb.base/langs0.c: Add #ifdef usestubs.
29570
29571 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
29572
29573 * gdb.base/list.exp: Adjust line contents after adding new lines in
29574 list0.c. Also fix a syntax error.
29575
29576 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
29577 * gdb.base/break.exp: ditto.
29578 * gdb.base/list.exp: ditto.
29579 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
29580 * gdb.base/run.c: ditto.
29581 * gdb.base/list0.c: ditto.
29582 * gdb.base/funcargs.c: ditto.
29583
29584 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
29585
29586 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
29587 $targetname, $serialport and $baud instead of hardwired variables.
29588 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
29589 target doesn't support signals.
29590
29591 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
29592
29593 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
29594
29595 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29596
29597 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
29598 Don't rely on the value of an auto variable before it has been
29599 initialized. Use gdb_test more.
29600
29601 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29602
29603 * lib/gdb.exp (default_gdb_version): A version number must start
29604 with a digit, but other than that contains all characters up to
29605 the first whitespace character.
29606
29607 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29608
29609 * gdb.base/commands.exp (breakpoint_command_test): New tests.
29610
29611 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29612
29613 * gdb.c++/*.exp: Warn if executable does not exist. The original
29614 reason for skipping the warning was that configure.in sometimes
29615 intentionally skipped building the executables but the tcl code
29616 had no way of knowing. That (a) was always bogus with respect to
29617 error handling, (b) is no longer true (right now there is no way
29618 to skip C++ tests).
29619
29620 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
29621
29622 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29623
29624 * gdb.base/list.exp: Add expect patterns for output from
29625 SunPRO compiled executables.
29626 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
29627 types.
29628
29629 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29630
29631 * gdb.base/break.exp (test_next_with_recursion): Accept any line
29632 number (we are already testing that the correct source line text
29633 gets printed).
29634
29635 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
29636 that is what is intended, but something needed to be done to get
29637 sunos4 native working again.
29638
29639 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
29640
29641 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
29642 apparently went with a (very) old xfail.
29643
29644 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
29645
29646 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
29647 runto_main is a proc in gdb.exp that will do 'step' for target use
29648 stubs.
29649 * gdb.base/exprs.exp: ditto.
29650 * gdb.base/interrupt.exp: ditto.
29651 * gdb.base/opaque.exp: ditto.
29652 * gdb.base/printcmds.exp: ditto.
29653 * gdb.base/ptype.exp: ditto.
29654 * gdb.base/scope.exp: ditto.
29655 * gdb.base/setvar.exp: ditto.
29656 * gdb.base/signals.exp: ditto.
29657 * gdb.base/twice.exp: ditto.
29658 * gdb.c++/classes.exp: ditto.
29659 * gdb.c++/inherit.exp: ditto.
29660 * gdb.c++/templates.exp: ditto.
29661 * gdb.base/break.exp: no run and hit main for stubs. Change line
29662 numbers for breakpoints and info breakpoint.
29663 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
29664 breakpoint().
29665 * gdb.base/callfuncs.c: ditto.
29666 * gdb.base/exprs: ditto.
29667 * gdb.base/interrupt.c: ditto.
29668 * gdb.base/opaque0.c: ditto.
29669 * gdb.base/printcmds.c: ditto.
29670 * gdb.base/ptype.c: ditto.
29671 * gdb.base/scope0.c: ditto.
29672 * gdb.base/setvar.c: ditto.
29673 * gdb.base/signals.c: ditto.
29674 * gdb.base/twice.c: ditto.
29675 * gdb.c++/misc.cc: ditto.
29676 * gdb.c++/templates.cc: ditto.
29677
29678 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29679
29680 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
29681
29682 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
29683 somewhere between `read' and `main.c'. I'm pretty sure the
29684 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
29685 and it isn't particularly useful.
29686
29687 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
29688
29689 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29690
29691 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
29692
29693 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
29694
29695 * config/mt-slite: add LIBS and -nostdlib.
29696 * config/slite-gdb.exp: add this new file to support sparclite target.
29697
29698 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
29699
29700 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
29701
29702 * gdb.base/a2-run.exp: Change argument to istarget from
29703 "*-*-vxworks" to "*-*-vxworks*".
29704 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
29705
29706 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
29707
29708 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
29709 will not runto main but do a 'step' to step out of breakpoint().
29710 * config/mt-slite: add -Dusestubs.
29711
29712 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29713
29714 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
29715 instead of just @.
29716
29717 * gdb.base/signals.exp: Add test for "handle all print".
29718 * TODO: Remove "handle all print". Also remove item about
29719 checking copyright date (I don't like the idea of a spurious FAIL
29720 based on when we run the tests).
29721
29722 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
29723 for SunOS4 (reason for failure not investigated). Remove
29724 redundant test for $binfile.
29725
29726 * gdb.base/nodebug.c (array_index): Call malloc.
29727
29728 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
29729
29730 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
29731
29732 * gdb.base/recurse.exp: Update gdb_test invocation to use new
29733 conventions and slightly simplify the matching regexp.
29734
29735 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29736
29737 * gdb.base/break.exp: Update gdb_test invocation to use new
29738 convention.
29739
29740 * lib/gdb.exp: If noargs is not set, set it to 0.
29741
29742 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
29743 tests unique.
29744
29745 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
29746
29747 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29748
29749 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
29750 one argument of type "<non-float parameter>".
29751
29752 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
29753
29754 * config/rom68k.exp: New file to support Motorola IDP board.
29755 * gdb.base/a2-run.exp: Skip this file if noargs is set.
29756 * gdb.base/break.c: Change things around so that this program
29757 doesn't depend upon args. This is necessary to make remote
29758 targets work (in general, they can't take args).
29759 * gdb.base/break.exp: Don't try to send args to program. Don't
29760 expect output. Also, replace lots of code with gdb_test.
29761
29762 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29763
29764 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29765 printing of '\'' (which is what the comment says we are testing,
29766 even though we were not), not '''.
29767 (test_integer_literals_rejected): Test that printing ''' is an error.
29768
29769 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29770 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29771 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29772 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29773 Use gdb_test not test_print_accept.
29774 * lib/gdb.exp: Remove test_print_accept.
29775
29776 * gdb.base/signals.exp (signal_tests_1): Make pass message
29777 consistent with fail message.
29778
29779 * gdb.base/whatis.exp: Remove xfails for printing char vs.
29780 unsigned char; the bug (PR 1821) is fixed.
29781
29782 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29783
29784 * gdb.base/scope.exp (test_at_localscopes): Call pass for
29785 successful tests--makes xfailing them work right.
29786
29787 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29788
29789 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29790 only \r\n, not .*. The test can pass .* as the last thing in
29791 $pattern if that is what it wants. In addition to providing this
29792 flexibility, this change should speed up pattern matching in cases
29793 where the pattern already ended with .* (there were a number of
29794 them). This change also helps catch bad patterns--in the old
29795 scheme the typo "char \*" instead of "char \\*" would pass. Now
29796 it is caught.
29797 * Many .exp files: Update callers.
29798
29799 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
29800 clearer and does not spuriously match multiple ('s. Likewise for
29801 ) and *.
29802
29803 * gdb.base/nodebug.exp: Test ability to call a function and pass
29804 it a string (even with no debugging info).
29805
29806 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29807 "p '\'", which is the same as "p ''" once tcl gets done with
29808 quoting, to "p '\\'", which I suspect is what is intended (one
29809 backslash gets sent to GDB).
29810
29811 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29812
29813 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29814
29815 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
29816 1817) was fixed literally years ago.
29817
29818 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29819
29820 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
29821 test, it causes stepping out of call_after_alloca_subr with
29822 optimizing compilers.
29823 (localvars_in_indirect_call): Consume GDB prompt if `finish'
29824 fails.
29825
29826 * gdb.c++/templates.exp: Source templ-info.exp only if
29827 the templates executable exists.
29828
29829 * gdb.c++/misc.cc (class Contains_static_instance,
29830 class Contains_nested_static_instance),
29831 gdb.c++/classes.exp (test_static_members): Test printing of
29832 a class that contains a static instance of the class.
29833
29834 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29835
29836 * gdb.base/langs2.c (cppsub_): Don't prototype.
29837 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29838 only, I believe).
29839
29840 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29841
29842 * lib/gdb.exp (skip_chill_tests): New procedure.
29843
29844 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29845
29846 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
29847
29848 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29849 each expect pattern. Cuts runtime from 12 to about 4 seconds.
29850
29851 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29852
29853 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29854
29855 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29856 disassemble 8, not 16, instructions for part 4.
29857
29858 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
29859 support the latter anymore.
29860
29861 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29862 -DNO_PROTOTYPES.
29863 * gdb.base/callfuncs.c: Control use of prototypes based on
29864 NO_PROTOTYPES, not __STDC__.
29865 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29866 t_float_values2 tests if prototypes in use.
29867
29868 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29869 t_double_values): When checking differences against DELTA, check
29870 that difference is within the range (-DELTA,DELTA), not just
29871 (-infinity,DELTA).
29872
29873 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
29874
29875 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29876 'file' command firts, then 'target', then 'load', this is due to gdb
29877 target set up.
29878 * config/mips-gdb.exp: Fix a couple regular exp bugs.
29879
29880 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
29881
29882 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29883 FP load/store variants.
29884 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29885
29886 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29887
29888 * gdb.base/term.exp: Do not give a warning if not native, it is
29889 not an abnormal condition.
29890
29891 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
29892
29893 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29894 t_char_array".
29895
29896 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29897
29898 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29899 are getting the version number.
29900
29901 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29902 if not native, it is not an abnormal condition.
29903
29904 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29905
29906 * lib/gdb.exp: Just use "file exists", rather than undocumented
29907 dejagnu procedure "findfile".
29908
29909 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29910
29911 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29912 (LDFLAGS): Set to -Xlinker -Ur.
29913
29914 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29915 Removed, these values are set by lib/gdb.exp.
29916
29917 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29918
29919 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29920
29921 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29922 of replicating gdb startup code.
29923
29924 * config/mt-vxworks (LDFLAGS): Set to -r.
29925 (CFLAGS_FOR_TARGET): Removed.
29926
29927 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
29928 (gdb) and gdb for vxworks uses (vxgdb).
29929
29930 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
29931 executable is not in the tree and host != target, use sed and
29932 program_transform_name to determine the gdb name used by the
29933 target.
29934
29935 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
29936 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
29937
29938 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29939
29940 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
29941 floats, chars, and shorts where there are ANSI-style function
29942 definitions.
29943
29944 * gdb.base/langs.exp, gdb.base/langs*: New test.
29945 * gdb.base/Makefile.in: Build it.
29946 * TODO: Remove item about checking that C names don't get C++
29947 demangling applied; this test tests it.
29948
29949 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29950
29951 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
29952 went with the const70 xfail. The xfail went away a year ago.
29953
29954 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
29955
29956 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
29957 for hp300.
29958
29959 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
29960
29961 * gdb.base/a1-selftest.exp: Don't run on hp300.
29962
29963 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29964
29965 * Makefile.in (site.exp): Set host_alias and target_alias as well
29966 as host_triplet and target_triplet.
29967
29968 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29969
29970 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
29971
29972 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
29973 places as other ecoff systems).
29974
29975 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
29976 ultrix.
29977
29978 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29979
29980 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
29981 remove them.
29982 * gdb.base/nodebug.exp: Accept "function" in addition to "text
29983 variable and "variable" in addition to "data variable".
29984 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
29985
29986 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
29987 2.
29988 * gdb.base/list1.c (long_line): Add additional statement at start
29989 of function.
29990 * gdb.base/list.exp (test_forward_search): Update line number to
29991 reflect new statement.
29992
29993 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29994
29995 * gdb.base/signals.exp: Reinitialize searched source directories
29996 after gdb_start call.
29997
29998 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
29999
30000 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30001 * gdb.stabs/Makefile.in: Likewise.
30002
30003 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30004 change. Instead split the tests into smaller pieces.
30005 * gdb.disasm/hppa.s: Corresponding changes.
30006
30007 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30008
30009 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30010 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30011
30012 * gdb.base/funcargs.exp: Modify many tests so that every test
30013 either passes or fails. Make some test names unique.
30014
30015 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30016
30017 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30018 Call stty to set interrupt character.
30019
30020 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30021 for HP assembler versus GNU assembler based on actual behavior of
30022 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30023
30024 * TODO: Suggest a few more stepping tests.
30025
30026 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30027
30028 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30029 restart GDB for h8300 after a continue.
30030 (return): Add pattern to match a29k-udi behavior.
30031 * gdb.base/nodebug.exp: Remove obsolete comment.
30032 * gdb.base/regs.exp: New file, testing of register displays.
30033 * gdb.base/return.exp: Fix typo in reference to $objdir.
30034 * gdb.base/whatis.exp: Always start with a fresh GDB.
30035
30036 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30037
30038 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30039 higher, these tests generate a lot of output.
30040
30041 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30042
30043 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30044 code following the catch silently ignored some errors; without the
30045 catch they should be thrown like any other tcl error. Also, the
30046 catch used "" instead of {} which meant all the callers who wanted
30047 to include one of the characters "[]$ had to quote it an extra time.
30048 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30049 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30050 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30051 Remove extra quoting.
30052
30053 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30054
30055 * gdb.base/commands.exp: Make test names unique; every test either
30056 passes or fails. Update some comments.
30057
30058 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30059
30060 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30061
30062 The following fixes a FAIL caused by the fact that the alpha stabs
30063 configuration didn't use the ".if alpha" code in weird.def.
30064 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30065 bit pointer, so the 32 bit version works even on the alpha.
30066 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30067 Remove the stuff which allowed us to have separate versions for
30068 alpha and everything else.
30069
30070 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30071 regexp which "info func operator\[\](" is supposed to match. Fix
30072 string to send to GDB. Note that GDB still doesn't work right. Add a
30073 new test for "info func .perator\[\](" which GDB does handle correctly.
30074
30075 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30076
30077 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30078
30079 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30080 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30081 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30082 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30083 it makes the tests harder to understand and confuses test-o-matic.
30084 The preferred style is that each test provides a PASS or a FAIL,
30085 and has a unique message (e.g. "continue #54" not just "continue")
30086 which is the same for the pass and the fail.
30087 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30088 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30089 to lib/gdb.exp.
30090 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30091 prt_accept which was basically the same thing. Likewise for
30092 test_print_reject and prt_reject.
30093 * lib/gdb.exp (test_print_reject): Add some more error message
30094 patterns to match from the former printcmds.exp (prt_reject).
30095 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30096 One defect of the passcount stuff is that some of it failed to
30097 report XPASS where appropriate.
30098 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30099 stuff before and after arg in expected pattern.
30100 (test_paddr_operator_functions): Re-do test without print_addr_of;
30101 this is the only test which seems to want extra stuff there.
30102
30103 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30104
30105 * gdb.base/nodebug.exp: Update new tests to reflect improved
30106 wording of gdb output.
30107
30108 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30109 and "ptype" work on variables in files compiled without -g.
30110 Replaces commented out "maint print msymbol" tests.
30111
30112 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30113
30114 * gdb.base/setvar.c (dummy): Call malloc.
30115
30116 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30117 losing with the irix4 sed.
30118
30119 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30120 ALRM" on irix4.
30121
30122 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30123
30124 * TODO: Remove items about corefile.exp testing new exec-file and
30125 backtrace; both are now done. Add items about printing enums.
30126
30127 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30128
30129 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30130 "get signal $thissig" test fails.
30131
30132 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30133
30134 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30135
30136 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30137 compiler warning with dec alpha compiler.
30138
30139 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30140 extra \n from gdb_test call (this explains why the prompt test
30141 that I removed yesterday was there).
30142 (user_defined_command_test): Remove extra \n and prompt test.
30143
30144 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30145 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30146 doesn't exist.
30147 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30148 Also remove alpha workaround, which turns out to be because
30149 SIGABRT == SIGLOST.
30150
30151 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30152
30153 * gdb.base/help.exp: Don't test "help show".
30154
30155 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30156
30157 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30158 "set print address" is on.
30159 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30160 pass prompt to gdb_test; gdb_test already looks for the prompt.
30161
30162 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30163
30164 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30165 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30166 was to make sure that gdb can read a core file. But (a) the "read
30167 the corefile" part didn't make it to a1-selftest.exp, we just
30168 delete the corefile after creating it, and (b) we test reading
30169 corefiles in corefile.exp anyway. Also, this test left around a
30170 xgdb process on Solaris.
30171
30172 * gdb.base/corefile.exp: Also test backtrace.
30173
30174 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30175
30176 * gdb.base/commands.exp: Test a simple user defined command with
30177 arguments and if/while statements; verify the full user command is
30178 printed by "show user".
30179
30180 * gdb.base/commands.exp: Test if/while commands as part of a
30181 breakpoint command list; verify they appear in breakpoint
30182 information.
30183
30184 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30185
30186 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30187 than by dividing by zero.
30188
30189 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30190
30191 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30192 performing an inferior call with watchpoints enabled.
30193 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30194 call.
30195
30196 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30197
30198 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30199 of "file" command.
30200
30201 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30202 Add additional pattern for when "int operator int(void);" appears
30203 in a different order.
30204
30205 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30206
30207 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30208
30209 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30210 and "signal" with ".*".
30211
30212 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30213
30214 * TODO: Add note about "handle all nostop".
30215
30216 * gdb.base/{sigall.c, sigall.exp}: New test.
30217 * gdb.base/Makefile.in: Add it.
30218
30219 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30220
30221 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30222 when invoking GDB, suppresses any windowing interface.
30223
30224 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30225
30226 * config/sim-gdb: New file, simulator testing support.
30227
30228 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30229
30230 * gdb.base/interrupt.exp: Test calling func1 twice.
30231
30232 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30233
30234 * gdb.base/list.exp (test_forward_search): Set timeout higher
30235 when we'll be getting lots of output from gdb.
30236
30237 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30238 "init_malloc" to after the expect statement. Run it if that
30239 regexp is taken, but also for two others which happen if source
30240 cannot be found.
30241
30242 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30243
30244 * gdb.base/printcmds.exp: New test, for printing register before
30245 program is running.
30246
30247 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30248
30249 * gdb.base/list.exp: Correct some alternate expect patterns
30250 to reflect changes in list1.c.
30251
30252 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30253
30254 * TODO: Add item regarding large frames.
30255
30256 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30257
30258 * TODO: Remove item about enabling return.exp; it
30259 is enabled. Suggest a few more "return" tests.
30260
30261 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30262
30263 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30264 anonymous unions.
30265
30266 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30267
30268 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30269 and pr-5646.o, so "make" is the same as "make all", not "make
30270 pr-4975.o".
30271
30272 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30273
30274 * gdb.base/list.exp: Adjust expectations to reflect changes in
30275 list1.c.
30276 (test_forward_search): New test proc.
30277 * gdb.base/list1.c (long_line): New function, has long source line.
30278
30279 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30280
30281 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30282 additional line of code that was added.
30283
30284 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30285
30286 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30287 tests so as not to overflow expect's input buffers.
30288 * gdb.disasm/hppa.exp: Corresponding changes.
30289
30290 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30291
30292 Beginnings of template debugging tests.
30293 * gdb.c++/templ-info.cc: New file to test for template
30294 debugging capability of the compiler.
30295 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30296 templ-info.cc.
30297 * gdb.c++/templates.cc: Add explicit template instantiations
30298 to enable compiling with -fno-implicit-templates. Add destructor
30299 and 'value' method to T5 class for template tests.
30300 * gdb.c++/templates.exp: Add testcases for printing of template
30301 types, setting breakpoints on template methods and calling a
30302 template method.
30303
30304 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30305
30306 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30307 branch target since some assemblers (gas-2.5) may emit a
30308 relocation for the branch instead of resolving it in the
30309 assembler.
30310
30311 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30312
30313 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30314 through signal handler.
30315
30316 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30317
30318 * configure.in (*-*-netware): Use config/mt-netware.
30319
30320 * config/mt-netware: New file.
30321 * config/mt-i386-netware: Removed, separate configs for different
30322 netware architectures are no longer needed now that we have
30323 --with-headers.
30324
30325 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30326
30327 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30328 by the recent changes to use ANSI C arithmetic conversions.
30329
30330 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30331
30332 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30333 bug involving using inferior_pid to figure out whether to select a
30334 frame.
30335
30336 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30337
30338 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30339 match the current disassembler output.
30340
30341 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30342
30343 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30344 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30345 types, expect "int" as type of integer values (for now).
30346
30347 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30348
30349 * gdb.base/commands.exp: New tests for if/while commands.
30350
30351 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30352
30353 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30354 by .*, since hex values have different syntax in Chill mode.
30355
30356 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30357
30358 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30359 linefeed from expect pattern for repeated types with indices > 9.
30360
30361 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30362
30363 First part of Fortran test suite.
30364 * gdb.fortran: New directory.
30365 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30366
30367 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30368
30369 * gdb.base/default.exp: Update expect pattern for load command
30370 without arguments.
30371
30372 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
30373
30374 * configure.in: Change i386 to i[345]86.
30375 * gdb.base/configure.in: Likewise.
30376 * gdb.c++/configure.in: Likewise.
30377 * gdb.chill/configure.in: Likewise.
30378
30379 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
30380
30381 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30382 patterns, since that is not a valid context for comments.
30383
30384 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
30385
30386 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30387 repeated types and repeated types with indices > 9.
30388
30389 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
30390
30391 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30392 2417; old bug has been fixed.
30393
30394 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
30395
30396 * gdb.base/interrupt.exp: When trying to wake up the inferior,
30397 send the newline ourselves instead of assuming gdb_test will do
30398 so when passed an empty input string.
30399
30400 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30401 stabs testcode.
30402
30403 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30404
30405 * lib/gdb.exp (gdb_test): Don't send anything if the first
30406 argument is an empty string. This makes cases where we want to
30407 match output that is already in expect's buffers (for example,
30408 matching a breakpoint after gdb_run_cmd has been called) work
30409 reliably.
30410
30411 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30412
30413 * config/netware.exp: New file.
30414
30415 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30416
30417 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30418 the -B and -L prefixes so we can find the debugging stub.
30419
30420 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30421 there and we are using the gcc from the tree.
30422
30423 * gdb.base/types.c: Removed.
30424
30425 * gdb.base/configure.in: Look for makefile fragments in ../config.
30426 Recognize i386-*-netware.
30427 * gdb.c++/configure.in: Likewise.
30428
30429 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30430
30431 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
30432 the correct TCL syntax.
30433
30434 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30435
30436 * gdb.base/opaque.exp: use runto instead of messing around with
30437 breakpoints. Simplify by using gdb_test.
30438
30439 * gdb.base/bitfields.exp: restart between tests on netware targets
30440 because breakpoints aren't relocated after target death. Run
30441 processes to completion.
30442
30443 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30444
30445 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
30446
30447 * Makefile.in: Remove extra tabs that confuse some versions
30448 of "make". Use the newly built gdb to test with by default,
30449 rather than the first one in the tester's search path.
30450
30451 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
30452
30453 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30454
30455 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30456 condition help.
30457
30458 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30459
30460 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30461
30462 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30463 running.
30464 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30465 * gdb.base/funcargs.exp: Likewise.
30466
30467 * gdb.base/bitfields.exp: Simplify by using gdb_test.
30468 * gdb.base/funcargs.exp: Likewise.
30469
30470 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30471 message is "".
30472
30473 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30474
30475 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30476 return,signals,twice}.exp: Handle non-existant binaries
30477 consistantly.
30478
30479 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30480 * gdb.base/Makefile.in: Don't try to generate a core dump, we
30481 might testing a cross development system.
30482
30483 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30484
30485 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30486 runtest script is relative to ${srcdir}, not ${rootdir}.
30487
30488 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
30489
30490 * gdb.base/signals.exp: Allow for optionality of breakpoint
30491 address.
30492
30493 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30494
30495 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30496
30497 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30498
30499 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30500 for size_t definition.
30501 * gdb.c++/templates.cc: Likewise
30502
30503 * config/mt-i386-netware: New file.
30504
30505 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30506 defined.
30507
30508 * gdb.base/Makefile.in: Added support for systems that name core
30509 files by appending "core" to the program name.
30510 * gdb.base/a1-selftest.exp: Likewise.
30511
30512 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30513
30514 * gdb.base/return.exp: Add comment and message for `return double'
30515 test failure on Sparc Solaris.
30516
30517 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
30518
30519 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30520
30521 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30522
30523 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
30524 from optimizing them away.
30525 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
30526 patterns to include default constructors and assignment operators,
30527 to match gcc versions beyond 2.5.8. Accept any cplus demangling
30528 character in the output of the virtual base pointer.
30529
30530 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30531
30532 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
30533 expression match in print_addr_of to avoid unintented matches.
30534 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
30535 versions up to 2.5.8.
30536
30537 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30538
30539 * gdb.base/list.exp: Tweak alternate pattern for listing of an
30540 included file to run under newer versions of expect.
30541 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
30542 consecutive >'s in templates to accomodate recent cplus-dem.c change.
30543 Remove xfail for the virtual table of BDDHookV.
30544
30545 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
30546
30547 * lib/gdb.exp (string_to_regexp): Set a default result.
30548 (default_gdb_start): Fix misleading message.
30549
30550 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
30551
30552 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
30553 Remove all CC, etc definitions.
30554 * config/mt-hpux: New file.
30555 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
30556 (CFLAGS, LDFLAGS): Define.
30557 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
30558
30559 * Makefile.in (site.exp): Don't insert host_os, etc.
30560 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
30561 (distclean): Check existence of subdir.
30562 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
30563 * gdb.base/Makefile.in: General cleanup and simplification.
30564 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30565 to build executables. Use default rule to build .o files.
30566 (EXPECT, RUNTEST, CC): Fix relative pathname.
30567 (site.exp): Don't insert host_os, etc.
30568 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
30569 and/or SIGUSR1 defined.
30570 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
30571 * gdb.c++/Makefile.in: General cleanup and simplification.
30572 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30573 (CFLAGS): Remove.
30574 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
30575
30576 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
30577
30578 * gdb.base/recurse.exp: Misc changes to get tests running again
30579 after Kung's changes to the watchpoint code.
30580 * gdb.base/watchpoint.exp: Likewise.
30581
30582 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
30583
30584 * lib/gdb.exp (string_to_regexp): Convert {\} also.
30585
30586 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
30587
30588 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
30589 * lib/gdb.exp (default_gdb_start): Define.
30590 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
30591 gdb.base/funcargs.exp, gdb.base/opaque.exp,
30592 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
30593 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
30594 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
30595 Don't call gdb_target_udi in between tests.
30596
30597 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30598
30599 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
30600 (which was basically just a local version of the same thing). In
30601 addition to avoiding duplication, gdb_test_exact is faster.
30602 * lib/gdb.exp (gdb_test_exact): Fix typo.
30603
30604 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
30605 don't give an error.
30606
30607 * gdb.base/term.exp: Call delete_breakpoints before starting.
30608
30609 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
30610 (t10): Add comment.
30611
30612 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30613
30614 Reorganization of the GDB Test Suite.
30615
30616 * gdb.base: New directory, contains all the basic tests.
30617 * gdb.c++: New directory, tests specific to C++.
30618 * gdb.chill: New directory, tests specific to Chill.
30619 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
30620 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
30621 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
30622 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
30623 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
30624 t30-31 to chill).
30625 * */gdbme.*: Rename to match appropriate expect scripts.
30626 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
30627 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
30628 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
30629 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
30630 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
30631 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
30632 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
30633 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
30634 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
30635 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
30636 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
30637 gdb.c++/virtfunc.cc: New names of C++ files.
30638 * gdb.chill/chillvars.ch: New name of Chill file.
30639 * gdb.base/configure.in, gdb.c++/configure.in,
30640 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
30641 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
30642 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
30643 * configure.in (configdirs): Update to reflect directory changes.
30644 (target_abbrev): No longer define for any configuration.
30645 * Makefile.in: Cosmetic improvements to header comments.
30646
30647 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
30648
30649 Various changes to gdb.t31:
30650
30651 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
30652 * gdbme.ch: Make all key-words and predefineds be upper-case.
30653 * chillvars.exp: Expect key-words and predefinds in upper-case.
30654
30655 * chillvars.exp: Use gdb_test_exact many places.
30656 Change expected output for arrays (which now includes index labels).
30657
30658 * pr-5020.exp, gdme.ch (module PR_5020):
30659 New test, for PR-5020.
30660
30661 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
30662
30663 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
30664 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
30665
30666 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
30667
30668 * Makefile.in: Fix bit-rot in definitions of CHILL,
30669 CHILL_FOR_TARGET and Chill_LIB.
30670 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
30671 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
30672 CHILL, and CHILL_LIB.
30673
30674 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
30675
30676 * Revert the previous changes. Please see Rob's directory
30677 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
30678
30679 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
30680
30681 * Makefile.in, configure.in, config/mips-gdb.exp,
30682 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
30683 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
30684 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
30685 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
30686 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
30687 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
30688 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
30689 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
30690 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
30691 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
30692 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
30693 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
30694 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
30695 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
30696 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
30697 changes from 94Q1.
30698
30699 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
30700
30701 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
30702 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
30703 Rob's new testing fragments.
30704
30705 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
30706
30707 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
30708 lib/gdb.exp: Replace error proc calls with perror.
30709
30710 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30711
30712 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
30713 version also, match on casted version strings, and match on
30714 gdb startup case where the line numbers might be messed up.
30715
30716 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
30717
30718 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
30719 (CFLAGS): Delete it from here.
30720
30721 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
30722
30723 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
30724
30725 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
30726
30727 * Makefile.in (RUNTEST): Default to just "runtest".
30728
30729 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30730
30731 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
30732 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
30733 the code has been restructured.
30734
30735 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30736
30737 * gdb.t00/default.exp (set write): Allow any number of \r and/or
30738 \n, not just one of each.
30739
30740 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
30741 /bin/cc gives a warning if you do.
30742
30743 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
30744
30745 * gdb.t24/demangle.exp: change expect pattern of
30746 __t10ListS_link1ZUiRCUiPT0
30747
30748 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30749
30750 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
30751 on local variables in recursive functions.
30752
30753 * gdb.t07/Makefile.in: Build the new test.
30754
30755 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30756
30757 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
30758 directly. Instead compare the return values from actual calls.
30759
30760 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
30761
30762 * Makefile.in (check): Set TCL_LIBRARY for runtest.
30763
30764 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30765
30766 * From Peter Schauer with minor modifications.
30767 * gdb.t15/return.exp (return_tests): Handle targets where "return"
30768 stops in mid-line in the caller. Add xfail for returning a float
30769 value on X86 targets.
30770
30771 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30772
30773 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30774 to avoid expect lossage.
30775 (fmem_LRbug_tests): Likewise.
30776 * gdb.disasm/hppa.s: Corresponding changes.
30777
30778 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30779 conditions to work with latest dejagnu/expect.
30780
30781 * gdb.t15/funcargs.exp (finish from indirect call): No longer
30782 expected to fail on the PA.
30783 (backtrace in call with trampolines): Explicitly require main
30784 to be frame #1 (no trampolines should show up in backtrace).
30785
30786 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30787 "continue -expect".
30788 * gdb.t06/break.exp: Likewise.
30789 * gdb.t07/watchpoint.exp: Likewise.
30790 * gdb.t13/bitfields.exp: Likewise.
30791 * gdb.t15/{funcargs,return}.exp: Likewise.
30792 * gdb.stabs/weird.exp: Likewise.
30793 * config/{mips,udi}-gdb.exp: Likewise.
30794
30795 * hppa.sed: Enclose comments within a sed command to avoid
30796 losing with the old OSF1 sed.
30797
30798 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30799
30800 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
30801 sequent dynix.
30802 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
30803 * gdb.t15/funcargs.exp: Conditionally step again to really
30804 finish from marker_call_with_trampolines. Handle the case where
30805 the first step from within call_with_trampolines already steps
30806 us back to main.
30807 * gdb.t15/gdbme.c: Add comment to closing brace of
30808 call_with_trampolines for funcargs.exp.
30809
30810 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30811
30812 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30813 Fix typo(s).
30814
30815 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30816
30817 * gdb.t07/gdbme.c: More code for watchpoint testing.
30818
30819 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30820 "Hardware watchpoint" throughout file.
30821 (test_watchpoint_triggered_in_syscall): New test.
30822 (test_complex_watchpoint): New test.
30823
30824 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30825
30826 * gdbme.c (call_with_trampolines): New function to try and step
30827 into. Tests trampoline problems on the PA.
30828
30829 * funcargs.exp (localvars_in_indirect_call): No longer expect
30830 stepping into indirect call to fail on PAs.
30831 (test_stepping_over_trampolines): New test.
30832
30833 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30834
30835 * TODO: Add suggestions for static member function tests, and
30836 completion tests.
30837
30838 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30839
30840 * TODO: Add suggestions for "p/a" tests.
30841
30842 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30843 (default_gdb_exit): Replace all the hair with sending "quit" to
30844 the process with a simple close.
30845
30846 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30847
30848 * TODO: Add suggestions for shared library tests.
30849
30850 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30851
30852 * TODO: Add suggestions for x/s tests.
30853
30854 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30855
30856 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30857 "enable once", and "enable breakpoints once" with ".*".
30858
30859 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30860
30861 * TODO: Add suggestions about structure passing tests.
30862
30863 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30864
30865 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
30866 the primary1 test, use work around if __GNUC__ < 2.
30867 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
30868 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
30869 Test for bad output rather than waiting for timeout. Issue
30870 second continue only if first continue failed.
30871
30872 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30873
30874 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30875 operator[] test with gdb_test because the old code didn't seem to
30876 be getting the quoting right with the new dejagnu.
30877
30878 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
30879
30880 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30881 one from the path.
30882 * Makefile.in: Use a fresh expect if there is one, use runtest
30883 from the src tree if there is one.
30884
30885 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30886
30887 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30888 next over recursive call. Revise the tests from that point on
30889 (which had been skipped) to match GDB's actual (correct) output.
30890
30891 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30892 with next over a breakpoint whose condition is false.
30893
30894 * gdb.t00/help.exp: Comment out "help set print" tests just like
30895 (and for same reason as) "help set" test.
30896
30897 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30898
30899 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30900 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30901
30902 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30903
30904 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30905 necessary gdb_target_udi.
30906
30907 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30908
30909 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30910 1838 and 2417; they are fixed.
30911
30912 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30913 gdb.t03/ptype.exp (ptype structure, ptype union):
30914 Remove xfails; the test is looser than when the xfails were added.
30915
30916 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30917 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30918
30919 * gdb.t01/run.exp: Only run shell test if isnative.
30920
30921 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30922 since "run" automatically loads if necessary. Call gdb_target_udi
30923 after the "file" since "file" kills any execution target.
30924
30925 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
30926 GDB. GDB doesn't work that way (not anymore at least) on UDI.
30927 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
30928 argument for UDI.
30929
30930 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30931
30932 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
30933
30934 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
30935
30936 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30937
30938 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
30939 properly quoting regexps. This makes the second argument to
30940 demangle a fixed string, which matches the callers, instead of a
30941 shell-style pattern which is what the previous implementation
30942 used. Update some of the callers.
30943
30944 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30945
30946 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
30947 (comib_nullified_tests): Fix typo.
30948 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
30949 strings. No longer expected to fail.
30950
30951 * gdb.disasm/hppa.s (addib_tests): Fix typo.
30952 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
30953 strings. No longer expected to fail.
30954
30955 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
30956 string. No longer expected to fail.
30957
30958 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30959
30960 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
30961 No longer expected to fail.
30962
30963 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
30964 string. No longer expected to fail.
30965
30966 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30967
30968 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
30969 only in the names (I probably got most of them). I was even
30970 generous with some which differed in underscores in names, and
30971 probably missed a few, and I *still* was able to remove almost a
30972 third of the file with almost no impact on testsuite coverage.
30973
30974 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30975
30976 * gdb.t00/default.exp: Match udi_attach error message as well as
30977 the one from child_attach.
30978
30979 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
30980
30981 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
30982
30983 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
30984 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
30985
30986 * Move test with enums and partial symbols back to
30987 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
30988 Reverts the change of 26 May 93. Per today's change to
30989 stabs.texinfo, the behavior that weird.exp was expecting was
30990 unreasonable; what is important is that the compiler+gdb get
30991 things right, which happens with a recent gcc. Also fix the test
30992 to deal with native compilers which put out the stab gdb can't
30993 deal with.
30994
30995 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30996
30997 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
30998 in the names. The main thing these accomplish is to slow things down.
30999 Many more such duplicates surely remain.
31000
31001 * gdb.t00/help.exp: Comment out "help support" test just like
31002 (and for same reason as) "help set" test.
31003
31004 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31005
31006 * gdb.t06/break.exp: Remove setup_xfails for
31007 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31008 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31009 about known bug in gcc to include up through 2.5.8.
31010 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31011 well as "_vb$".
31012 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31013 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31014 with latest gcc and gdb.
31015 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31016 well as "_vb$".
31017
31018 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31019
31020 * configure.in (hppa*-*-*): Also configure and build stabs-only
31021 tests.
31022
31023 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31024
31025 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31026 * gdb.t10/configure.in (hppa*-*-*): Use it.
31027
31028 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31029
31030 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31031
31032 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31033
31034 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31035 versions prior to 1.13.5.
31036
31037 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31038
31039 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31040 the prompt is at the start of a line.
31041
31042 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31043
31044 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31045 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31046 in the copr tests now.
31047 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31048 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31049 expected to fail.
31050
31051 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31052
31053 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31054 gdb.t31/chillvars.exp, lib/gdb.exp:
31055 Tweak to run under either version of expect.
31056 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31057 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31058 * gdb.t11/list.exp: Remove extraneous whitespace.
31059
31060 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31061
31062 * gdb.t16/printcmds.exp (test_print_strings): Accept
31063 "(unsigned char *) " before the string.
31064
31065 * TODO: Add notes about printing of fancy types and GDB expressions.
31066
31067 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31068
31069 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31070 * gdb.t06/configure.in: Don't try to compile signals test program
31071 if doing mips-idt-ecoff.
31072
31073 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31074
31075 * Most .exp files: Tweak to run under either version of expect.
31076
31077 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31078
31079 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31080 xfails; I'm not sure why they are failing, but not because of PR 1806.
31081
31082 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31083
31084 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31085 defined in lib/gdb.exp.
31086
31087 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31088
31089 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31090 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31091 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31092 have to be typeless.
31093
31094 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31095
31096 * TODO: Add suggestion for copyright year test.
31097
31098 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31099
31100 * configure.in (*-*-lynxos*): Add stabs tests.
31101
31102 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31103
31104 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31105 so insert a tab before any assembler directive in column zero.
31106
31107 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31108 stores.
31109 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31110 stores.
31111 (fpu_short_memory_tests): Likewise.
31112
31113 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31114
31115 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31116 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31117 .stabs directives in comments.
31118
31119 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31120
31121 * TODO: New file, describing tests we could write.
31122 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31123
31124 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31125
31126 * gdb.t06/signals.exp: Add kludge to force re-sync.
31127
31128 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31129 to xgdb instead of gdb, get out of gdb.
31130
31131 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31132
31133 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31134 for info.
31135
31136 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31137
31138 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31139 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31140 * gdb.stabs/hppa.sed: New sed script for the PA.
31141
31142 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31143
31144 * gdb.stabs: Re-write weird.def and configuration to use sed
31145 instead of cpp. sed is portable and POSIX; cpp is neither.
31146
31147 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31148
31149 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31150
31151 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31152
31153 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31154
31155 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31156
31157 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31158 "_vb$".
31159 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31160 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31161
31162 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31163
31164 * lib/gdb.exp: Comment out code which depends on non-existent
31165 `transform' procedure.
31166
31167 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31168
31169 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31170 * lib/gdb.exp: Transform tool name.
31171 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31172 1.1's new error handling system.
31173
31174 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31175
31176 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31177
31178 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31179
31180 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31181 They made pattern matching so slow that timeouts happened on
31182 heavily loaded systems. Now any output from "show print" which
31183 gets us back to the GDB prompt is a PASS.
31184
31185 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31186
31187 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31188
31189 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31190
31191 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31192
31193 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31194 It is not from PR 3220.
31195
31196 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31197
31198 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31199 just started failing because they depended on the order the
31200 subcommands are presented, or exact docstring text. This kind of
31201 test is a pain and has minimal benefit.
31202
31203 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31204
31205 * gdb.t09/corefile.exp: At end of test, use "core" command with
31206 no arguments.
31207
31208 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31209
31210 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31211 17}/Makefile.in: Make it possible to run the testsuite with Sun
31212 make and CC = cross gcc by adding explicit build rules for .o
31213 files.
31214
31215 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31216
31217 * gdb.t15/funcargs.exp: Don't put comments on same line as
31218 setup_xfail (@#$*%& tcl braindamage!).
31219
31220 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31221
31222 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31223
31224 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31225
31226 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31227 * gdb.t20/inherit.exp: remove three dumplicate entries.
31228
31229 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31230
31231 * gdb.t06/break.exp: For "next over recursive call", fail on any
31232 incorrect output, not just on "factorial (value=2)".
31233
31234 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31235
31236 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31237 working now. Add an xfail if accesing a bss variable causes
31238 a memory error if the target is not yet run.
31239
31240 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31241
31242 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31243 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31244 name of __st* demangling (2 strings). Did Kung really get the
31245 more than 95 others right without testing them?
31246
31247 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31248
31249 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31250
31251 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31252
31253 * configure.in (configdirs): Add gdb.disasm
31254 * gdb.disasm: New directory for GDB disassembler tests.
31255 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31256
31257 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31258
31259 * gdb.t00/help.exp: Don't test "help set".
31260
31261 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31262 from within expect statements. None of these happen anymore and
31263 they cause regressions to be silently unnoticed.
31264
31265 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31266 messages) about known failures with gcc cygnus-2.4.5-930417.
31267
31268 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31269 comp-info.exp so it gets built if it doesn't exist.
31270
31271 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31272 it is no longer used.
31273 * gdb.t13/comp-info.c: Removed.
31274
31275 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31276
31277 * gdb.t06/signals.exp: Add xfail for sun3.
31278
31279 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31280
31281 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31282 relevant because ^C doesn't get sent but failure can be reproduced
31283 interactively).
31284
31285 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31286
31287 * gdb.stabs/alpha.mt: New configuration file for alpha.
31288 * gdb.stabs/configure.in: Use it.
31289 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31290 sharing with alpha.mt, redefine long to word via preprocessor.
31291 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31292 for alpha.
31293 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31294 native cc.
31295 * gdb.t00/teststrategy.exp: Change expect string so that we
31296 consume the `(xgdb)' from the command echo and from the gdb prompt.
31297 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31298 gdb currently compares all values as long, so this failure probably
31299 applies to any configuration where LONGEST is bigger than a target int.
31300 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31301 with gcc.
31302 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31303 to handle opaque pointers, gcc is.
31304 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31305 as first argument. Include <sys/types.h> and change all operator
31306 new definitions to use size_t.
31307 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31308 now that we use size_t.
31309
31310 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31311
31312 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
31313 a long or float array cast all array members to the same type.
31314 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
31315 with 64 bit longs.
31316 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
31317 on alpha.
31318 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
31319
31320 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31321
31322 * gdb.t24 (demangle.exp): Constructors of templates have names like
31323 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31324 section 14.6 of the ARM.
31325
31326 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31327 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31328 accomplish little and slow down the testsuite.
31329
31330 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31331 Accept spaces various places.
31332
31333 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31334
31335 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31336 with watchpoint enabled.
31337
31338 * Makefile.in: Remove definition of CC and remove the second
31339 definition of CXX (the "CXX = gcc" one remains). These definitions
31340 were causing backquotes to be expanded within backquotes, which
31341 doesn't work.
31342
31343 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31344
31345 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31346
31347 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31348
31349 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31350 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
31351 by mips cc and contains no stabs entries.
31352
31353 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31354
31355 * config/vx-gdb.exp: Use fake device to load files rather than
31356 NFS.
31357 * lib/gdb.exp: New proc to do "file" command.
31358 * config/unix-gdb.exp: Use new "file" proc.
31359
31360 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31361
31362 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31363 Rework board rebooting slightly.
31364 (gdb_exit): Don't exit from the remote shell; there isn't one.
31365 * gdb.stabs/weird.exp: If a program is being debugged already,
31366 kill it.
31367 * gdb.t04/setvar.exp: Stop and restart gdb.
31368 * gdb.t05/expr.exp: Likewise.
31369 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31370 restart gdb and reload the program.
31371 * gdb.t08/opaque.exp: Likewise.
31372 * gdb.t12/scope.exp: Likewise.
31373 * gdb.t13/bitfields.exp: Likewise.
31374 * gdb.t15/funcargs.exp: Likewise.
31375 * gdb.t20/classes.exp: Likewise.
31376 * gdb.t03/ptype.exp: Increase timeout.
31377 * gdb.t16/printcmds.exp (test_print_string_constants,
31378 test_print_array_constants): Likewise.
31379 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31380 * gdb.t20/classes.exp (do_tests): Likewise.
31381 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31382
31383 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
31384
31385 * gdb.stabs: Renamed *wierd* to *weird*.
31386
31387 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31388
31389 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31390 for timeout. Add "known gcc 2.4.5 bug" to failure message.
31391
31392 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31393
31394 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31395 (do_tests): Remove xfail for whatis on one_var and two_var.
31396
31397 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
31398
31399 * Makefile.in: Made cross building work better by adding
31400 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31401
31402 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31403
31404 * gdb.t15/{return.c,return.exp,Makefile.in}:
31405 New test, currently commented out.
31406
31407 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
31408
31409 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31410 still running and removes the leftover named socket so GDb can do
31411 clean restarts.
31412
31413 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
31414
31415 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31416 console, not GDB.
31417 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31418 cross testing works better with "make check"
31419 * config/unix-gdb: Use default procedures for exit and version.
31420 * config/vx-gdb.exp: Cleaned up and massaged back to working order
31421 with the newest VxWorks.
31422
31423 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31424
31425 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31426 old form.
31427
31428 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31429 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31430
31431 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31432
31433 * config/unix-gdb.exp: Remove this version of gdb_exit
31434 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31435 Rob says he'll look at it when he gets back to testing boards.
31436
31437 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
31438
31439 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
31440 an expected fail for certain ptype commands.
31441
31442 * gdb.t20/classes.exp: Update expected results of "ptype class
31443 Base1" to account for the constructor that now appears in the type.
31444
31445 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
31446
31447 * configure.in (configdirs): Restore gdb.t04, which mysteriously
31448 disappeared from list.
31449 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
31450 "alldone" proc with call to cleanup and exit.
31451 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31452 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31453 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31454 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31455 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
31456 "alldone" proc with simple returns that suppress remaining
31457 tests. The alldone proc went away many months ago.
31458
31459 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31460
31461 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31462
31463 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31464
31465 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31466
31467 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
31468 as vax gdb will display them.
31469
31470 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31471
31472 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31473 optimizers.
31474
31475 * scope.exp: Change "bad value for localval" messages so each one
31476 is unique.
31477
31478 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31479 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31480
31481 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31482
31483 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31484
31485 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31486 doesn't exist (due to optimization).
31487
31488 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31489
31490 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31491 contains \r because the filename is long.
31492
31493 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31494 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31495
31496 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31497
31498 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31499 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
31500 Ultrix.
31501 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
31502 int tests.
31503 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
31504
31505 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
31506
31507 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
31508
31509 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
31510 to match does not match the passing case but still matches the
31511 failing case.
31512
31513 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31514
31515 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31516
31517 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
31518
31519 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
31520 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31521 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31522 Remove various versions of gdb_exit.
31523 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
31524 gdb_exit.
31525 * config/unix-gdb.exp: gdb_exit remains here, and should override
31526 the generic version, since it's doing a lot of wierd stuff that
31527 the other versions aren't. FIXME, fold it in, or abandon this
31528 version.
31529
31530 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31531
31532 * gdb.t24/demangle.exp: Add tests for PR 3220.
31533
31534 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31535
31536 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
31537
31538 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
31539
31540 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
31541 "i386-*-*". Works for i486 as well.
31542
31543 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
31544 bug, and expand domain of xfail to all SVR4 systems, since the
31545 actual problem is likely to be in generic SVR4 /proc support.
31546
31547 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31548
31549 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
31550
31551 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
31552
31553 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
31554 xfails for other systems. Match a missing 'Continuing.' as an
31555 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
31556
31557 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
31558 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
31559 Only issue warning for missing executables if -all option is used.
31560
31561 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
31562 file if -all option is used. It's like an unpredictable XFAIL.
31563
31564 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31565
31566 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
31567 for dynamically linked binaries.
31568
31569 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
31570
31571 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31572
31573 * gdb.t20/inherit.exp: Change message for "print tagless struct"
31574 to state that this is a known bug in old versions of g++.
31575
31576 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31577
31578 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
31579 while waiting for `Continuing'.
31580
31581 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
31582
31583 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
31584 in text, data, and bss.
31585 * gdb.t10/nodebug.c: Add local and global test variables for
31586 initialized and uninitialized data.
31587
31588 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31589
31590 * config/unix-gdb.exp (gdb_exit): Add "wait".
31591
31592 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31593
31594 * gdb.t06/signals.exp: xfail the continue from the handler for all
31595 targets.
31596
31597 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
31598 function with watchpoints enabled, the i386 call dummy starts with
31599 a call.
31600
31601 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
31602 386 bsd names its corefiles.
31603
31604 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
31605
31606 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
31607 compilers don't grok it.
31608 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
31609 with small octal ints rather than character constants, which
31610 are signed and might not fit if first promoted to int.
31611
31612 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
31613
31614 * gdb.t09/Makefile.in (clean): Remove corefile.
31615
31616 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31617
31618 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
31619
31620 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31621 and Jim Kingdon (kingdon@cygnus.com)
31622
31623 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
31624 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
31625 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
31626
31627 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31628
31629 * gdb.t17/interrupt.exp: Add xfail for hppa.
31630
31631 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31632
31633 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
31634 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
31635 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
31636 to determine signed-ness of bitfields and use the result to setup
31637 the xfail.
31638 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
31639 * gdb.t15/funcargs.exp: Use them to step until the second indirect
31640 call line is reached if necessary.
31641
31642 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31643
31644 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
31645
31646 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31647
31648 * gdb.t06/break.exp: Also test `clear' command.
31649
31650 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31651
31652 * gdb.t00/teststrategy.exp: Remove extra quote.
31653
31654 * gdb.t07/watchpoint.exp: Change xfail for calling function with
31655 watchpoint enabled to be for all non-68k machines.
31656
31657 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
31658
31659 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31660
31661 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
31662 targets use aout.mt instead of ecoff.mt as gas understands
31663 standard aout format.
31664
31665 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31666
31667 * lib/gdb.exp (runto): Don't insist that function we are running to
31668 was compiled with -g.
31669
31670 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
31671
31672 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
31673 to get back into the read system call.
31674 Accept leading newline in case where we woke it up.
31675
31676 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31677
31678 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
31679 to make the stabs test work on ecoff systems using gcc and -with-stabs.
31680 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
31681 enable ecoff configuration.
31682
31683 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31684
31685 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
31686
31687 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31688
31689 * gdb.t16/printcmds.exp: Add another printf test.
31690
31691 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
31692
31693 * configure.in: If configured -with-stabs on any target, add
31694 stabsdirs to configdirs.
31695
31696 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31697
31698 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
31699 fun" so pattern does not match the command itself.
31700
31701 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31702
31703 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
31704
31705 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31706
31707 * gdb.t17/interrupt.exp: Test for more things.
31708
31709 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31710
31711 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
31712 compiler arranges the code and line numbers.
31713
31714 * gdb.t17/interrupt.exp: Don't send \n after ^C.
31715
31716 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31717
31718 * gdb.t00/help.exp: Increase expect input buffer size.
31719
31720 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31721
31722 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
31723
31724 * gdb.t07/watchpoint.exp: Add xfail for hppa.
31725
31726 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
31727
31728 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
31729 [0-9]*, not just [0-9].
31730
31731 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31732
31733 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
31734
31735 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
31736
31737 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31738
31739 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
31740
31741 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31742
31743 * gdb.t06/signals.c: Add xfails for sun3.
31744
31745 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
31746
31747 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
31748 test_stepping tests.
31749
31750 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31751
31752 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
31753
31754 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
31755
31756 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
31757 rather than actually putting it through cpp twice.
31758
31759 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
31760
31761 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
31762
31763 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31764 no longer needed.
31765
31766 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31767
31768 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31769
31770 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31771 C++ features prints as "struct", make it a pass, not an xfail.
31772
31773 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31774
31775 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31776 Don't require VA to print as "class" rather than "struct".
31777
31778 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
31779
31780 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31781
31782 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31783
31784 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31785
31786 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31787
31788 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
31789 order.
31790
31791 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31792
31793 * gdb.t16/printcmds.exp: Add printf tests.
31794
31795 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31796
31797 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31798
31799 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
31800
31801 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
31802 pass counts, to counteract any existing or future setup_xfails.
31803
31804 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31805
31806 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31807 {BEGIN,END}_COMMON for common block instead of STAB.
31808 * gdb.stabs/wierd.exp: Add xfail for rs6000.
31809
31810 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31811 intp_var should be N_GSYM not N_LSYM.
31812 wierd-aout.S: Use a label for the value of the N_SO.
31813 wierd.def: Remove all backslashes.
31814 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31815
31816 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31817
31818 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31819 get the expected next to inheritance3.
31820
31821 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31822
31823 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31824 now that gcc-2.4 gets it right.
31825
31826 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31827
31828 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31829
31830 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31831 generating comp-info.exp which works for cross-compilation.
31832
31833 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
31834
31835 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
31836 "*-*-sysv4.*".
31837
31838 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
31839
31840 * gdb.t01/run.exp: Start with a fresh gdb.
31841 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
31842 SVR4.x.
31843
31844 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
31845
31846 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31847 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31848 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31849 Makefile.in (distclean, realclean): Remove gdbme.c from list of
31850 things to remove.
31851
31852 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
31853
31854 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
31855 test cases from bug reports.
31856
31857 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
31858
31859 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
31860 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
31861 avoid spurious xfails.
31862 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
31863 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
31864 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
31865
31866 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
31867
31868 * gdb.t00/teststrategy.exp: Rework to provide more useful
31869 description of each test, fix problem with systems that define
31870 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31871 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
31872 results for "next over recursive call" so timeouts aren't taken
31873 by error.
31874
31875 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
31876
31877 * gdb.t12/scope.exp: Test printing of variables before run.
31878
31879 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31880 printed in wrong order due to sorting.
31881
31882 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
31883
31884 * gdb.t00/teststrategy.exp: Fix expected results for printing
31885 user entered string constant. Is array of char, prints with no
31886 address.
31887
31888 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
31889 commands.
31890 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
31891 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
31892 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
31893 of struct of char arrays.
31894 * gdb.t00/radix.exp: New tests for radix commands.
31895
31896 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
31897
31898 * gdb.t16/printcmd.exp: Print a variable before running program
31899 (with xfail for AIX).
31900
31901 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
31902
31903 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31904
31905 * gdb.t16/printcmd.exp: Don't print variables before running program.
31906
31907 * gdb.t06/break.exp: Don't require envp argument to main.
31908
31909 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31910
31911 * gdb.t02/whatis.exp, gdb.t11/list.exp:
31912 Add xfails for rs6000.
31913
31914 * gdb.t02/whatis.exp: Change other tests not to re-test something
31915 we already tested.
31916
31917 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31918 each type used has a variable of that type.
31919
31920 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
31921
31922 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
31923
31924 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
31925
31926 * configure.in: change srctrigger to be a file, not a directory
31927
31928 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
31929
31930 * configure.in (mips-idt-ecoff*): Added trailing '*'.
31931
31932 * gdb.t11/list.exp: Fixed a couple of typos.
31933
31934 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
31935
31936 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
31937 is fixed and PR is closed.
31938 * gdb.t16 (gdbme.c): Add simple test string variable.
31939 * gdb.t16 (printcmds.exp): Add tests with simple test string
31940 variable, primarily for boundaries on "set print elements".
31941
31942 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
31943
31944 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
31945 Make leading 0's optional and don't expect a tab in the middle
31946 of the number.
31947
31948 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
31949
31950 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
31951 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
31952 don't end command passed to gdb_test with newline.
31953
31954 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
31955 signed keyword away, don't expect signed bitfields to be signed.
31956
31957 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
31958 printing with only as many 1's as are in the field as well as printing
31959 with 32 1's (see comment).
31960
31961 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
31962
31963 * gdb.t00/default.exp: Start with a fresh gdb.
31964 * configure.in (configdirs): Remove gdb.t31 until the chill
31965 compiler works again. It no longer is able to find chillrt0
31966 since it isn't in libchill.a anymore.
31967 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
31968 wierd.o, make more modular.
31969 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
31970 spurious newlines that caused problems.
31971
31972 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31973
31974 * Move test with enums and partial symbols from gdb.t03/ptype.exp
31975 to gdb.stabs/wierd.exp since GCC has worked around the bug.
31976 gdb.stabs/wierd.{exp,def}: Many new tests.
31977
31978 * gdb.t00/default.exp: update info line for new message.
31979
31980 * gdb.t02/{whatis.exp,gdbme.c}:
31981 Test that "char *" doesn't print as "caddr_t".
31982
31983 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31984
31985 * gdb.t00/help.exp: Use .* in place of some help messages which
31986 just changed.
31987 gdb.t00/default.exp: Update "info frame" test for new message.
31988 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
31989 Remove some xfails
31990
31991 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31992
31993 * gdb.t03/{gdbme.c,ptype.exp}:
31994 Add tests for typedef'd struct and union without tags.
31995 Also check "whatis" on a variable of a typedef'd enum without a tag.
31996
31997 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
31998 PRMS 1823; the bug still exists but isn't reproduced by this test
31999 anymore), and remove rs6000 XFAIL (the bug is fixed).
32000
32001 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32002 duplicated from whatis.exp. For those that are left, accept
32003 "long", "long int", or "int" for long variables (whatis.exp already
32004 has an XFAIL for "int", so no need to fail it here).
32005
32006 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32007 Deal with GCC's names for types now that GDB uses the compiler's names.
32008
32009 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32010 setup_xfail's for sunos4. If we #defined the signed keyword away,
32011 don't expect GDB to know that char it is signed.
32012
32013 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32014
32015 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32016
32017 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32018 should work on any system, regardless of debugging format.
32019 * gdb.t21/demangle.exp: Move to gdb.t24.
32020 * gdb.t24/demangle.exp: Move from gdb.t21.
32021 * gdb.t24/{Makefile.in, configure.in}: New files.
32022
32023 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32024
32025 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32026 * gdb.stabs: New directory.
32027
32028 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32029
32030 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32031 not just "Quit anyway?".
32032
32033 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32034
32035 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32036 that all setup_xfails are immediately followed by clear_xfails.
32037
32038 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32039
32040 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32041 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32042 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32043 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32044 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32045 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32046 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32047 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32048 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32049 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32050 gdb.t31/chillvars.exp, lib/gdb.exp:
32051 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32052 bug-gdb@prep.ai.mit.edu.
32053
32054 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32055
32056 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32057 with 0.0, not integer 0.
32058
32059 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32060
32061 * gdb.t06/break.exp: Update for "Kill the program" message change.
32062
32063 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32064
32065 * Makefile.in (GDBFLAGS): Set to -nx.
32066 * Makefile.in (site.exp): Use GDBFLAGS.
32067
32068 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32069
32070 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32071 Makefiles.
32072 (check): depend on just-check.
32073 (just-check): added so that tests can be run without a noop
32074 build pass.
32075
32076 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32077
32078 Switch to using configure's configdirs.
32079 * Makefile.in (Makefile): add configure.in dependency.
32080 (SUBDIRS): removed redundant assignment.
32081 * configure.in: switch subdirs assignment to configdirs.
32082 * gdb.t*/configure.in: new files.
32083
32084 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32085
32086 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32087 works.
32088
32089 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32090
32091 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32092 in explicit rules. Apparently this is not supported by some makes.
32093
32094 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32095
32096 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32097
32098 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32099
32100 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32101 disappeared.
32102
32103 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32104
32105 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32106
32107 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32108
32109 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32110 watchpoint problem that is now fixed.
32111 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32112 uninitialized convenience variables.
32113 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32114 structures.
32115
32116 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32117
32118 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32119 which causes expect to get out of sync with gdb on long output
32120 from help set.
32121 * gdb.t09/corefile.exp: Make expected pattern for core file
32122 failing signal and frame output format less sun specific.
32123
32124 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32125
32126 * gdb.t31/chillvars.exp: Add and remove initial dummy
32127 breakpoint, so that symbol table is forced in.
32128 (Needed at least on Sunos4, though it seems not SVR4.)
32129 * gdb.t31/chillvars.exp: Update for changed output format.
32130
32131 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32132
32133 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
32134
32135 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32136
32137 * Makefile.in: Added --srcdir when invoking runtest, removed the
32138 need for a local config file. (optional now)
32139
32140 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32141
32142 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32143 failure count used to force early termination. Add some more
32144 expected failures for gnu style demangling.
32145
32146 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32147
32148 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32149 pmi variable from gdb.t20/gdbme to get optimized away.
32150 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32151 Check for written corefile upon timeout _and_ eof.
32152
32153 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32154
32155 * config/unix-gdb.exp: Add missing return 0.
32156
32157 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32158
32159 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32160 test termination.
32161
32162 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32163
32164 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32165 disappeared.
32166
32167 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32168
32169 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32170 time as i860 support works.
32171
32172 * gdb.t15/funcargs.exp: Fix expected outputs to include
32173 "backtrace 100\r" rather than just "backtrace\r", to match last
32174 change.
32175
32176 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32177
32178 * config/udi-gdb.exp (gdb_exit): Remove close command.
32179 (gdb_target_udi): New procedure to set the UDI target.
32180 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32181 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32182 Added waits for prompts after several question responses. Added
32183 some more responses used by a29k-amd-udi-gdb.
32184 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32185 pass different arguments, restart UDI connection after program
32186 completion.
32187 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32188 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32189 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32190 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32191 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32192 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32193 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32194 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32195 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32196 after program completion.
32197 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32198 compiled with a SELECT_VECS setting.
32199 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32200 infinite recursion.
32201
32202 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32203 Added checks for COFF results, and made them expected failures for
32204 all targets. It would be better to make them expected failures
32205 for COFF targets only.
32206
32207 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32208
32209 * Makefile.in: add null dvi target, don't bother to recurse
32210 through test directories for info and install-info; rename
32211 $(datadir) to be dejagnu instead of deja-gnu
32212
32213 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32214
32215 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32216 compiler to coredump.
32217 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32218 code.
32219
32220 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32221
32222 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32223 coredump.
32224 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32225 code.
32226
32227 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32228
32229 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32230 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32231 which in a shell. Deletes xgdb when done.
32232 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32233 Tests the return from the "set height" or "set width" commands.
32234 Added a few return codes where needed.
32235
32236 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32237
32238 * Makefile.in (SUBDIRS): Add gdb.t17.
32239 * configure.in (subdirs): Add gdb.t17.
32240 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32241 files to test gdb's calling of functions in the inferior with
32242 the correct arguments and gdb's ability to retrieve any
32243 result returned.
32244
32245 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32246
32247 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32248 may be called after gdb goes away. Previous versions of expect
32249 needed these to avoid file descriptor leaks, but they cause
32250 errors with the current revision of expect.
32251 * gdb.t00/gdbvars.exp: Use -re on expected output after
32252 setting sevenbit-strings.
32253 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32254 to set sevenbit-strings consistent across tests.
32255 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32256 set sevenbit-strings consistent across tests.
32257
32258 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32259
32260 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32261 expected output to match current "expect" expectations.
32262
32263 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32264
32265 * gdb.t00/default.exp: Change expected output for default "source"
32266 command, to match new gdb behavior which requires a filename to
32267 source.
32268
32269 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32270
32271 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32272 expected fail for i486-*-* that misses the marker2 function.
32273 * gdb.t10/crossload.exp (bfddefault): Allow successful
32274 recognition of a format to pass even if no symbols are found.
32275 Explicitly catch failures where the format is not recognized
32276 or is ambiguous, and add the reason to the fail message.
32277 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32278 the cause is and invalid target and add reason to failure message.
32279 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32280 elf32-i386, elf32-sparc, and elf32-i860.
32281 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32282 Set up expected failure for 'filename'::variable scope resolution,
32283 which is now apparently broken on all targets.
32284 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32285 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32286 gdb.t23/templates.exp: Change failure for missing binfile into
32287 just a warning.
32288 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32289 references.
32290
32291 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32292
32293 * gdb.t00/default.exp: Add expected output for default "source"
32294 command, to match new gdb behavior.
32295 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32296
32297 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32298
32299 * config/*-gdb.exp: returns an error, rather than exiting on
32300 internal errors.
32301
32302 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32303
32304 * gdb.t03/gdbme.c: Add pointer to struct variable.
32305 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32306 referencing struct members.
32307
32308 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32309
32310 * configure.in (mips-idt-ecoff): New target.
32311 * config/mips-gdb.exp: New file for remote board using MIPS remote
32312 debugging protocol.
32313
32314 * Redid configuration scheme. Removed gdb.t*/configure.in.
32315 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32316 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32317 distclean targets. Built executables via .o files. Adjusted
32318 tests to account for source files in $(srcdir) rather than
32319 $(objdir).
32320 * lib/gdb.exp (runto): Don't expect () after the function name,
32321 because it may have arguments.
32322
32323 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32324
32325 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32326 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32327 expected failures for mips-idt-* and mips-sgi-*.
32328 * gdb.t00/default.exp (attach): Kill process if requested.
32329 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32330 that does not read core files.
32331 * gdb.t01/run.exp: Removed checks for exit status code.
32332 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32333 it is linked in.
32334 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32335 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32336 appropriate, rather than doing it by hand.
32337 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32338 execution.
32339 * gdb.t10/crossload.exp: Kill existing program if needed.
32340 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32341 appropriate, rather than doing it by hand. Always increase
32342 timeout for this test, not just for VxWorks.
32343
32344 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32345
32346 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32347 of Chill STRUCT types and STRUCT values.
32348 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32349 than "char".
32350 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
32351 struct2): New struct definitions and initializations to test
32352 simple Chill STRUCT types.
32353
32354 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32355
32356 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32357 the null byte at the end of strings.
32358 * gdb.t00/default.exp: Make show version insensitive to copyright
32359 date.
32360 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32361 to avoid dependencies on target char signedness.
32362 * gdb.t16/printcmds.exp: Update expected results for explicitly
32363 unsigned char.
32364 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32365 now work.
32366 * gdb.t21/demangle.exp: Add many more patterns for template
32367 demangling, most of them being expected failures.
32368 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32369 string we are matching for, to match on the whole string.
32370 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32371 and fix a whole bunch that had incorrect expected output but were
32372 passing anyway because of the bug in "proc demangle".
32373 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
32374 type.
32375 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
32376
32377 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
32378
32379 * gdb/testsuite: made modifications to testcases, etc., to allow
32380 them to work properly given the reorganization of deja-gnu and the
32381 relocation of the testcases from deja-gnu to a "tool" subdirectory.
32382
32383 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
32384
32385 * gdb/testsuite: Initial creation of gdb/testsuite.
32386 Migrated dejagnu testcases and support files for testing nm to
32387 gdb/testsuite from deja-gnu. These files were moved "as is"
32388 with no modifications. This migration is part of a major overhaul
32389 of dejagnu. The modifications to these testcases, etc., which
32390 will allow them to work with the new version of dejagnu will be
32391 made in a future update.
32392
32393 For additional changes see gdb.mi/ChangeLog-1999-2003.
32394 \f
32395 ;; Local Variables:
32396 ;; mode: change-log
32397 ;; left-margin: 8
32398 ;; fill-column: 74
32399 ;; version-control: never
32400 ;; End:
32401
32402 Copyright 1993-2013 Free Software Foundation, Inc.
32403 Copying and distribution of this file, with or without modification,
32404 are permitted provided the copyright notice and this notice are preserved.
This page took 0.688033 seconds and 5 git commands to generate.