introduce gdb_remote_download and finish parallel fixes in gdb.dwarf2
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2013-08-22 Tom Tromey <tromey@redhat.com>
2
3 * gdb.dwarf2/dw2-basic.exp: Use gdb_remote_download.
4 * gdb.dwarf2/dw2-compressed.exp: Use gdb_remote_download.
5 * gdb.dwarf2/dw2-intercu.exp: Use gdb_remote_download.
6 * gdb.dwarf2/dw2-intermix.exp: Use gdb_remote_download.
7 * gdb.dwarf2/dw2-producer.exp: Use gdb_remote_download.
8 * gdb.dwarf2/mac-fileno.exp: Use gdb_remote_download.
9 * lib/gdb.exp (gdb_remote_download): New proc.
10
11 2013-08-22 Tom Tromey <tromey@redhat.com>
12
13 * gdb.dwarf2/clztest.exp: Use standard_testfile.
14 * gdb.dwarf2/dw2-minsym-in-cu.exp: Use standard_testfile.
15 * gdb.dwarf2/fission-base.S: Remove directory from
16 DW_AT_GNU_dwo_name.
17 * gdb.dwarf2/fission-base.exp: Use build_executable. Set
18 debug-file-directory.
19 * gdb.dwarf2/fission-reread.S: Remove directory from
20 DW_AT_GNU_dwo_name.
21 * gdb.dwarf2/fission-reread.exp: Use build_executable. Set
22 debug-file-directory.
23
24 2013-08-16 Doug Evans <dje@google.com>
25
26 * lib/prelink-support.exp (prelink_yes): Flag test as unsupported if
27 prelink complains about an unhandled DWARF version.
28
29 2013-08-14 Cary Coutant <ccoutant@google.com>
30
31 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
32
33 2013-08-13 Tom Tromey <tromey@redhat.com>
34 Yao Qi <yao@codesourcery.com>
35
36 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
37 * lib/gdb.exp: Handle GDB_PARALLEL.
38 (default_gdb_version): Kill inotify_pid if it exists.
39 (default_gdb_exit): Emit warning if the inotify log is not
40 empty.
41 (standard_output_file): Respect GDB_PARALLEL.
42 (standard_temp_file): Likewise.
43 (gdb_init): Start inotifywait if requested.
44
45 2013-08-13 Andrew Burgess <aburgess@broadcom.com>
46
47 * gdb.base/printcmds.exp (test_printf): Add test for printf of
48 pointer with various flags.
49
50 2013-08-13 Tom Tromey <tromey@redhat.com>
51
52 * lib/cache.exp: New file.
53 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
54 * lib/gdb.exp: Load cache.exp.
55 (support_complex_tests, is_ilp32_target, is_lp64_target)
56 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
57 (gdb_skip_xml_test): Use gdb_caching_proc.
58 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
59
60 2013-08-13 Tom Tromey <tromey@redhat.com>
61
62 * lib/gdb.exp (standard_temp_file): New proc.
63 (support_complex_tests, is_ilp32_target, is_lp64_target)
64 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
65 standard_temp_file.
66
67 2013-08-13 Tom Tromey <tromey@redhat.com>
68
69 * lib/gdb.exp (build_id_debug_filename_get): Use
70 standard_output_file.
71 * lib/prelink-support.exp (section_get)
72 (build_executable_own_libs): Use standard_output_file.
73
74 2013-08-12 Tom Tromey <tromey@redhat.com>
75
76 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
77
78 2013-08-12 Ali Anwar <alianwar@codesourcery.com>
79
80 * gdb.base/break.exp: Test break via convenience variable
81 with file name.
82
83 2013-08-09 Doug Evans <dje@google.com>
84
85 * lib/future.exp (gdb_find_ldd): New proc.
86 * lib/prelink-support.exp (build_executable_own_libs): Call it.
87 Make "/usr/sbin/" in prelink path optional.
88
89 2013-08-09 Yao Qi <yao@codesourcery.com>
90
91 * gdb.trace/collection.exp (gdb_collect_args_test): Set
92 "only" and "both" to 'print entry-values' before selecting
93 trace frame.
94
95 2013-08-08 Yao Qi <yao@codesourcery.com>
96
97 * gdb.trace/mi-trace-unavailable.exp: Don't set
98 "print entry-values" to "no".
99 (test_trace_unavailable): Set various values to
100 "print entry-values" to test that the output of
101 '-stack-list-locals' is not affected, and then set
102 set "print entry-values" to "no".
103
104 2013-08-07 Doug Evans <dje@google.com>
105
106 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
107 * gdb.python/py-value-cc.exp: Update.
108 * gdb.python/py-value.exp: Use different names for .o files for
109 C and C++. Only perform C++ tests if !skip_cplus_tests.
110
111 2013-08-07 Tom Tromey <tromey@redhat.com>
112
113 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
114
115 2013-08-07 Tom Tromey <tromey@redhat.com>
116
117 * gdb.dwarf2/dwz.exp: New file.
118
119 2013-08-02 Tom Tromey <tromey@redhat.com>
120
121 * gdb.base/watchpoint.c (struct foo5): New.
122 (nullptr): New global.
123 * gdb.base/watchpoint.exp (test_watch_location): Add test.
124
125 2013-08-01 Doug Evans <dje@google.com>
126
127 PR symtab/15691
128 * gdb.dwarf2/fission-mix.exp: New file.
129 * gdb.dwarf2/fission-mix.h: New file.
130 * gdb.dwarf2/fission-mix.c: New file.
131 * gdb.dwarf2/fission-mix2.c: New file.
132
133 PR symtab/15695
134 * gdb.base/func-ptr.exp: New file.
135 * gdb.base/func-ptr.c: New file.
136
137 2013-08-01 Yao Qi <yao@codesourcery.com>
138
139 * gdb.python/py-sync-interp.c: New.
140 * gdb.python/py-sync-interp.exp: New.
141
142 2013-07-31 Yao Qi <yao@codesourcery.com>
143
144 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
145 'tdump' on stack frame 0 and 1 respectively.
146
147 2013-07-31 Yao Qi <yao@codesourcery.com>
148
149 PR gdb/13443
150 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
151 'traceframe'. Wrap test with with_test_prefix.
152 (top level): Update.
153
154 2013-07-31 Yao Qi <yao@codesourcery.com>
155
156 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
157 'gdb_start'.
158 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
159 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
160
161 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
162
163 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
164 when printing an optimized out value. Expect an error when using
165 an optimized out value in an expression.
166
167 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
168
169 * gdb.dwarf2/pieces-optimized-out.exp: New file.
170 * gdb.dwarf2/pieces-optimized-out.c: New file.
171 * gdb.dwarf2/pieces-optimized-out.S: New file.
172
173 2013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
174
175 PR gdb/15715
176 * gdb.base/setshow.exp: Test that relative paths passed to
177 'set history filename' are converted to absolute paths.
178
179 2013-07-26 Keith Seitz <keiths@redhat.com>
180
181 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
182 of f77.
183 Allow for compiler variations of integer types.
184 Use mi_create_varobj.
185 Use mi_list_varobj_children for the immediate children of `array'.
186 Add "has_more" attribute for grandchildren test.
187
188 2013-07-26 Pedro Alves <palves@redhat.com>
189
190 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
191 files.
192
193 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
194
195 * gdb.mi/mi-reg-undefined.exp: New file.
196 * gdb.mi/mi-reg-undefined.c: Likewise.
197 * gdb.mi/mi-reg-undefined.S: Likewise.
198
199 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
200
201 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
202 z, o, and t output formats.
203 * gdb.base/display.exp: Use 'k' as an undefined format now that
204 'z' is defined.
205
206 2013-07-24 Doug Evans <dje@google.com>
207
208 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
209 "--" to switch.
210
211 2013-07-24 Yao Qi <yao@codesourcery.com>
212
213 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
214 host.
215 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
216 Likewise. If host is remote, copy ${binfile} to host.
217
218 2013-07-23 Yao Qi <yao@codesourcery.com>
219
220 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
221 message.
222
223 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
224
225 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
226 instructions and enable disp-step-syscall for arm targets.
227
228 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
229
230 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
231 assembler errors on arm.
232 * gdb.dwarf2/mac-fileno.S: Likewise.
233 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
234 * gdb.dwarf2/pr13961.S: Likewise.
235
236 2013-07-19 Hui Zhu <hui@codesourcery.com>
237
238 PR gdb/15692
239 * gdb.mi/mi-dprintf.exp: Add double quotes test.
240
241 2013-07-19 Yao Qi <yao@codesourcery.com>
242
243 * gdb.trace/read-memory.exp (test_from_remote): Update test.
244 (teset_from_exec): Likewise.
245
246 2013-07-19 Yao Qi <yao@codesourcery.com>
247
248 * gdb.trace/read-memory.c: New.
249 * gdb.trace/read-memory.exp: New.
250
251 2013-07-19 Yao Qi <yao@codesourcery.com>
252
253 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
254 $dest to link options if host is remote. Move the
255 generated file to $dest.a on host if host is remote.
256
257 2013-07-18 Will Newton <will.newton@linaro.org>
258
259 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
260 to ensure the test is linked against pthreads.
261 * gdb.threads/tls-var-main.c: Likewise.
262 * gdb.threads/tls-shared.c: Likewise.
263
264 2013-07-18 Yao Qi <yao@codesourcery.com>
265
266 * lib/future.exp (gdb_default_target_compile): Use tail name
267 of $destfile as the output name of compile. Move the
268 generated file to $destfile on build.
269
270 2013-07-18 Yao Qi <yao@codesourcery.com>
271
272 * lib/gdb.exp (gdb_compile): Set
273 gdb_saved_set_unbuffered_mode_obj to
274 set_unbuffered_mode_saved.o if host is remote. Invoke
275 remote_download to copy $unbuf_obj to host.
276
277 2013-07-17 Doug Evans <dje@google.com>
278
279 * gdb.python/py-frame-args.c: New file.
280 * gdb.python/py-frame-args.py: New file.
281 * gdb.python/py-frame-args.exp New file.
282
283 2013-07-16 Andrew Burgess <aburgess@broadcom.com>
284
285 * gdb.base/printcmds.exp (test_printf): Add tests for format
286 strings with missing format specifier.
287
288 2013-07-16 Tom Tromey <tromey@redhat.com>
289
290 * gdb.ada/info_types.exp: Use standard_testfile.
291
292 2013-07-16 Tom Tromey <tromey@redhat.com>
293
294 * gdb.mi/mi-basics.exp: Use standard_output_file.
295 (test_dir_specification, test_cwd_specification)
296 (test_path_specification): Use testsubdir, not subdir and objdir.
297
298 2013-07-16 Tom Tromey <tromey@redhat.com>
299
300 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
301
302 2013-07-09 Joel Brobecker <brobecker@adacore.com>
303
304 * gdb.ada/small_reg_param.exp: Accept optional entry value
305 for parameter "w".
306
307 2013-07-09 Joel Brobecker <brobecker@adacore.com>
308
309 * gdb.ada/small_reg_param.exp: Remove trailing space.
310
311 2013-07-09 Doug Evans <dje@google.com>
312
313 * gdb.base/default.exp: Update expected output of "show print array"
314 and "show print pretty".
315
316 2013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
317
318 * gdb.threads/wp-replication.exp: Stop counting available hardware
319 watchpoints after NR_THREADS iterations.
320
321 2013-07-08 Andrew Burgess <aburgess@broadcom.com>
322
323 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
324
325 2013-07-07 Yao Qi <yao@codesourcery.com>
326
327 * boards/native-gdbserver.exp: Move invoke of
328 process_multilib_options to gdbserver-base.exp.
329 Move set_board_info 'compiler', 'gdb,noinferiorio',
330 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
331 gdbserver-base.exp.
332 Move proc ${board}_download, ${board}_upload and
333 ${board}_file to gdbserver-base.exp.
334 * boards/native-extended-gdbserver.exp: Likewise.
335 * boards/native-stdio-gdbserver.exp: Likewise.
336 * boards/gdbserver-base.exp: New file.
337
338 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
339
340 * gdb.base/dump.exp: Remove arch-specific tests and do a
341 generic data address check to set is64bitonly correctly.
342
343 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
344
345 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
346 the register number instead of expecting only 0.
347
348 2013-07-05 Will Newton <will.newton@linaro.org>
349
350 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
351 in asm syntax to allow building on ARM.
352
353 2013-07-05 Yao Qi <yao@codesourcery.com>
354
355 * boards/local-remote-host.exp: Remove obsolete comments.
356 * boards/native-extended-gdbserver.exp: Likewise.
357 * boards/native-gdbserver.exp: Likewise.
358 * boards/native-stdio-gdbserver.exp: Likewise.
359
360 2013-07-04 Andrew Burgess <aburgess@broadcom.com>
361
362 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
363 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
364 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
365
366 2013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
367
368 * gdb.base/break-on-linker-gcd-function.exp: Replace
369 prepare_for_testing by build_executable_from_specs and clean_restart.
370
371 2013-06-27 Tom Tromey <tromey@redhat.com>
372
373 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
374 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
375 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
376 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
377 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
378 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
379 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
380 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
381 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
382 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
383 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
384 Use standard_testfile, standard_output_file, prepare_for_testing,
385 clean_restart.
386
387 2013-06-27 Tom Tromey <tromey@redhat.com>
388
389 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
390 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
391 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
392 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
393 gdb.base/shreloc.exp, gdb.base/sigall.exp,
394 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
395 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
396 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
397 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
398 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
399 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
400 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
401 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
402 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
403 gdb.base/solib-weak.exp, gdb.base/source.exp,
404 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
405 gdb.base/stap-probe.exp, gdb.base/start.exp,
406 gdb.base/step-break.exp, gdb.base/step-bt.exp,
407 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
408 gdb.base/step-test.exp, gdb.base/structs.exp,
409 gdb.base/structs2.exp, gdb.base/structs3.exp,
410 gdb.base/symbol-without-target_section.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/nextoverexit.exp, gdb.base/nextoverexit.exp,
416 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
417 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
418 gdb.base/pending.exp, gdb.base/permissions.exp,
419 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
420 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
421 gdb.base/printcmds.exp, gdb.base/prologue.exp,
422 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
423 gdb.base/ptype.exp, gdb.base/randomize.exp,
424 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
425 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
426 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
427 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
428 standard_testfile, standard_output_file, prepare_for_testing,
429 clean_restart.
430
431 2013-06-27 Tom Tromey <tromey@redhat.com>
432
433 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
434 gdb.base/huge.exp, gdb.base/included.exp,
435 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
436 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
437 gdb.base/info-os.exp, gdb.base/info-proc.exp,
438 gdb.base/info-target.exp, gdb.base/infoline.exp,
439 gdb.base/interp.exp, gdb.base/interrupt.exp,
440 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
441 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
442 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
443 gdb.base/logical.exp, gdb.base/long_long.exp,
444 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
445 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
446 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
447 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
448 standard_testfile, standard_output_file, prepare_for_testing,
449 clean_restart.
450
451 2013-06-27 Tom Tromey <tromey@redhat.com>
452
453 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
454 gdb.base/enumval.exp, gdb.base/environ.exp,
455 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
456 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
457 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
458 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
459 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
460 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
461 gdb.base/fullname.exp, gdb.base/funcargs.exp,
462 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
463 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
464 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
465 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
466 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
467 gdb.base/gnu_vector.exp: Use standard_testfile,
468 standard_output_file, prepare_for_testing, clean_restart.
469
470 2013-06-27 Tom Tromey <tromey@redhat.com>
471
472 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
473 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
474 gdb.base/call-strs.exp, gdb.base/callexit.exp,
475 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
476 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
477 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
478 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
479 gdb.base/commands.exp, gdb.base/completion.exp,
480 gdb.base/complex.exp, gdb.base/cond-expr.exp,
481 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
482 gdb.base/constvars.exp, gdb.base/corefile.exp,
483 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
484 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
485 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
486 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
487 gdb.base/dup-sect.exp: Use standard_testfile,
488 standard_output_file, prepare_for_testing, clean_restart.
489
490 2013-06-27 Tom Tromey <tromey@redhat.com>
491
492 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
493 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
494 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
495 gdb.base/async-shell.exp, gdb.base/async.exp,
496 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
497 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
498 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
499 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
500 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
501 gdb.base/break-on-linker-gcd-function.exp,
502 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
503 standard_output_file, prepare_for_testing, clean_restart.
504
505 2013-06-26 Yao Qi <yao@codesourcery.com>
506
507 * gdb.trace/mi-trace-frame-collected.exp: New.
508
509 2013-06-25 Yao Qi <yao@codesourcery.com>
510
511 * boards/native-extended-gdbserver.exp: Set board_info
512 'gdb,predefined_tsv'.
513 * boards/native-gdbserver.exp: Likewise.
514 * boards/native-stdio-gdbserver.exp: Likewise.
515 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
516 uploaded TSVs if target supports tracing.
517 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
518 tracing and target has predefined tsv.
519
520 2013-06-25 Yao Qi <yao@codesourcery.com>
521 Hui Zhu <hui@codesourcery.com>
522 Pedro Alves <palves@redhat.com>
523
524 PR breakpoints/15075
525 PR breakpoints/15434
526 * gdb.base/dprintf-next.c: New file.
527 * gdb.base/dprintf-next.exp: New file.
528 * gdb.base/dprintf-non-stop.c: New file.
529 * gdb.base/dprintf-non-stop.exp: New file.
530 * gdb.base/dprintf.exp: Don't check "continue" in the output
531 of "info breakpoints".
532 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
533 Don't check "continue" in script field.
534
535 2013-06-21 Tom Tromey <tromey@redhat.com>
536
537 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
538 name in a test name.
539
540 2013-06-20 Yao Qi <yao@codesourcery.com>
541
542 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
543 and set an action.
544 (test_trace_unavailable): Test command -data-list-register-values
545 in the context of traceframe and with option --skip-unavailable.
546 * gdb.trace/trace-unavailable.c (foo): New.
547 (main): Call it.
548 * gdb.mi/gdb2549.exp: Update matching pattern.
549
550 2013-06-19 Mike Frysinger <vapier@gentoo.org>
551
552 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
553 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
554 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
555 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
556 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
557
558 2013-06-19 Luis Machado <lgustavo@codesourcery.com>
559
560 * gdb.base/subst.exp: Delete default rules before further
561 tests.
562
563 2013-06-19 Yao Qi <yao@codesourcery.com>
564
565 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
566 unsupported if it is not registered.
567
568 2013-06-18 Tom Tromey <tromey@redhat.com>
569
570 * gdb.base/random-signal.c: New file.
571 * gdb.base/random-signal.exp: New file.
572
573 2013-06-18 Will Newton <will.newton@linaro.org>
574
575 * gdb.base/skip.c: Use comma to evaluate results of foo()
576 and bar() before passing to baz().
577 * gdb.base/skip.c: baz() now takes one argument instead of
578 two.
579
580 2013-06-18 Tom Tromey <tromey@redhat.com>
581
582 * gdb.dwarf2/implptrpiece.exp: New file.
583 * gdb.dwarf2/implptrconst.exp (d): New variable.
584 Print d.
585 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
586
587 2013-06-18 Tom Tromey <tromey@redhat.com>
588
589 * lib/selftest-support.exp (do_self_tests): Reject remote or
590 non-native targets.
591 * gdb.gdb/complaints.exp: Remove check.
592 * gdb.gdb/observer.exp: Remove check.
593 * gdb.gdb/xfullpath.exp: Remove check.
594 * gdb.gdb/complaints.exp: Remove check.
595
596 2013-06-07 Pedro Alves <palves@redhat.com>
597
598 * boards/native-extended-gdbserver.exp: Remove semicolon.
599 * config/arm-ice.exp: Likewise.
600 * config/bfin.exp: Likewise.
601 * config/cygmon.exp: Likewise.
602 * config/h8300.exp: Likewise.
603 * config/monitor.exp: Likewise.
604 * config/sid.exp: Likewise.
605 * config/sim.exp: Likewise.
606 * config/slite.exp: Likewise.
607 * config/vx.exp: Likewise.
608 * gdb.arch/i386-bp_permanent.exp: Likewise.
609 * gdb.asm/asm-source.exp: Likewise.
610 * gdb.base/args.exp: Likewise.
611 * gdb.base/attach-pie-misread.exp: Likewise.
612 * gdb.base/auxv.exp: Likewise.
613 * gdb.base/bigcore.exp: Likewise.
614 * gdb.base/bitfields2.exp: Likewise.
615 * gdb.base/bitfields.exp: Likewise.
616 * gdb.base/break.exp: Likewise.
617 * gdb.base/break-interp.exp: Likewise.
618 * gdb.base/callfuncs.exp: Likewise.
619 * gdb.base/call-sc.exp: Likewise.
620 * gdb.base/commands.exp: Likewise.
621 * gdb.base/corefile.exp: Likewise.
622 * gdb.base/dbx.exp: Likewise.
623 * gdb.base/ending-run.exp: Likewise.
624 * gdb.base/exprs.exp: Likewise.
625 * gdb.base/funcargs.exp: Likewise.
626 * gdb.base/hbreak2.exp: Likewise.
627 * gdb.base/huge.exp: Likewise.
628 * gdb.base/list.exp: Likewise.
629 * gdb.base/memattr.exp: Likewise.
630 * gdb.base/overlays.exp: Likewise.
631 * gdb.base/printcmds.exp: Likewise.
632 * gdb.base/recurse.exp: Likewise.
633 * gdb.base/remotetimeout.exp: Likewise.
634 * gdb.base/reread.exp: Likewise.
635 * gdb.base/savedregs.exp: Likewise.
636 * gdb.base/scope.exp: Likewise.
637 * gdb.base/sepdebug.exp: Likewise.
638 * gdb.base/setshow.exp: Likewise.
639 * gdb.base/setvar.exp: Likewise.
640 * gdb.base/sigaltstack.exp: Likewise.
641 * gdb.base/siginfo-addr.exp: Likewise.
642 * gdb.base/siginfo.exp: Likewise.
643 * gdb.base/siginfo-obj.exp: Likewise.
644 * gdb.base/sigrepeat.exp: Likewise.
645 * gdb.base/sigstep.exp: Likewise.
646 * gdb.base/structs.exp: Likewise.
647 * gdb.base/testenv.exp: Likewise.
648 * gdb.base/twice.exp: Likewise.
649 * gdb.base/valgrind-db-attach.exp: Likewise.
650 * gdb.base/valgrind-infcall.exp: Likewise.
651 * gdb.base/varargs.exp: Likewise.
652 * gdb.base/watchpoint.exp: Likewise.
653 * gdb.cp/gdb1355.exp: Likewise.
654 * gdb.cp/misc.exp: Likewise.
655 * gdb.disasm/hppa.exp: Likewise.
656 * gdb.disasm/t01_mov.exp: Likewise.
657 * gdb.disasm/t02_mova.exp: Likewise.
658 * gdb.disasm/t03_add.exp: Likewise.
659 * gdb.disasm/t04_sub.exp: Likewise.
660 * gdb.disasm/t05_cmp.exp: Likewise.
661 * gdb.disasm/t06_ari2.exp: Likewise.
662 * gdb.disasm/t07_ari3.exp: Likewise.
663 * gdb.disasm/t08_or.exp: Likewise.
664 * gdb.disasm/t09_xor.exp: Likewise.
665 * gdb.disasm/t10_and.exp: Likewise.
666 * gdb.disasm/t11_logs.exp: Likewise.
667 * gdb.disasm/t12_bit.exp: Likewise.
668 * gdb.disasm/t13_otr.exp: Likewise.
669 * gdb.gdb/selftest.exp: Likewise.
670 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
671 * gdb.mi/mi-reverse.exp: Likewise.
672 * gdb.pascal/floats.exp: Likewise.
673 * gdb.python/py-inferior.exp: Likewise.
674 * gdb.threads/attach-into-signal.exp: Likewise.
675 * gdb.threads/pthreads.exp: Likewise.
676 * gdb.threads/thread_events.exp: Likewise.
677 * gdb.threads/watchthreads.exp: Likewise.
678 * gdb.trace/actions-changed.exp: Likewise.
679 * gdb.trace/actions.exp: Likewise.
680 * gdb.trace/ax.exp: Likewise.
681 * gdb.trace/backtrace.exp: Likewise.
682 * gdb.trace/change-loc.exp: Likewise.
683 * gdb.trace/deltrace.exp: Likewise.
684 * gdb.trace/disconnected-tracing.exp: Likewise.
685 * gdb.trace/ftrace.exp: Likewise.
686 * gdb.trace/infotrace.exp: Likewise.
687 * gdb.trace/passc-dyn.exp: Likewise.
688 * gdb.trace/passcount.exp: Likewise.
689 * gdb.trace/pending.exp: Likewise.
690 * gdb.trace/qtro.exp: Likewise.
691 * gdb.trace/range-stepping.exp: Likewise.
692 * gdb.trace/report.exp: Likewise.
693 * gdb.trace/save-trace.exp: Likewise.
694 * gdb.trace/status-stop.exp: Likewise.
695 * gdb.trace/strace.exp: Likewise.
696 * gdb.trace/tfile.exp: Likewise.
697 * gdb.trace/tfind.exp: Likewise.
698 * gdb.trace/trace-break.exp: Likewise.
699 * gdb.trace/tracecmd.exp: Likewise.
700 * gdb.trace/trace-mt.exp: Likewise.
701 * gdb.trace/tspeed.exp: Likewise.
702 * gdb.trace/tsv.exp: Likewise.
703 * gdb.trace/while-stepping.exp: Likewise.
704 * lib/gdb.exp: Likewise.
705 * lib/gdbserver-support.exp: Likewise.
706 * lib/java.exp: Likewise.
707 * lib/mi-support.exp: Likewise.
708 * lib/pascal.exp: Likewise.
709 * lib/prompt.exp: Likewise.
710 * lib/trace-support.exp: Likewise.
711
712 2013-06-07 Pedro Alves <palves@redhat.com>
713
714 * gdb.ada/info_types.c: Fix formating in copyright header.
715 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
716 * gdb.base/float.c: Likewise.
717 * gdb.base/inferior-died.c: Likewise.
718 * gdb.base/interp.c: Likewise.
719 * gdb.base/jit-main.c: Likewise.
720 * gdb.base/jit-solib.c: Likewise.
721 * gdb.base/long_long.c: Likewise.
722 * gdb.base/longjmp.c: Likewise.
723 * gdb.base/nextoverexit.c: Likewise.
724 * gdb.base/pr11022.c: Likewise.
725 * gdb.base/prelink-lib.c: Likewise.
726 * gdb.base/prelink.c: Likewise.
727 * gdb.base/prologue.c: Likewise.
728 * gdb.base/restore.c: Likewise.
729 * gdb.base/sigchld.c: Likewise.
730 * gdb.base/solib-search-lib1.c: Likewise.
731 * gdb.base/solib-search-lib2.c: Likewise.
732 * gdb.base/solib-search.c: Likewise.
733 * gdb.base/solib-search.h: Likewise.
734 * gdb.base/whatis.c: Likewise.
735 * gdb.cp/abstract-origin.cc: Likewise.
736 * gdb.cp/anon-struct.cc: Likewise.
737 * gdb.cp/baseenum.cc: Likewise.
738 * gdb.cp/bs15503.cc: Likewise.
739 * gdb.cp/call-c-1.c: Likewise.
740 * gdb.cp/call-c.cc: Likewise.
741 * gdb.cp/class2.cc: Likewise.
742 * gdb.cp/classes.cc: Likewise.
743 * gdb.cp/cttiadd.cc: Likewise.
744 * gdb.cp/cttiadd1.cc: Likewise.
745 * gdb.cp/cttiadd2.cc: Likewise.
746 * gdb.cp/cttiadd3.cc: Likewise.
747 * gdb.cp/derivation.cc: Likewise.
748 * gdb.cp/derivation2.cc: Likewise.
749 * gdb.cp/dispcxx.cc: Likewise.
750 * gdb.cp/exception.cc: Likewise.
751 * gdb.cp/gdb2384-base.cc: Likewise.
752 * gdb.cp/gdb2384-base.h: Likewise.
753 * gdb.cp/gdb2384.cc: Likewise.
754 * gdb.cp/gdb2495.cc: Likewise.
755 * gdb.cp/mb-inline.h: Likewise.
756 * gdb.cp/mb-inline1.cc: Likewise.
757 * gdb.cp/mb-inline2.cc: Likewise.
758 * gdb.cp/member-name.cc: Likewise.
759 * gdb.cp/member-ptr.cc: Likewise.
760 * gdb.cp/misc.cc: Likewise.
761 * gdb.cp/namespace1.cc: Likewise.
762 * gdb.cp/nextoverthrow.cc: Likewise.
763 * gdb.cp/pr-574.cc: Likewise.
764 * gdb.cp/pr9631.cc: Likewise.
765 * gdb.cp/printmethod.cc: Likewise.
766 * gdb.cp/psmang1.cc: Likewise.
767 * gdb.cp/psmang2.cc: Likewise.
768 * gdb.cp/psymtab-parameter.cc: Likewise.
769 * gdb.cp/ptype-flags.cc: Likewise.
770 * gdb.cp/ref-params.cc: Likewise.
771 * gdb.cp/ref-types.cc: Likewise.
772 * gdb.cp/smartp.cc: Likewise.
773 * gdb.cp/try_catch.cc: Likewise.
774 * gdb.cp/userdef.cc: Likewise.
775 * gdb.cp/using-crash.cc: Likewise.
776 * gdb.cp/virtfunc.cc: Likewise.
777 * gdb.cp/virtfunc2.cc: Likewise.
778 * gdb.dwarf2/callframecfa.S: Likewise.
779 * gdb.dwarf2/dw2-ranges.c: Likewise.
780 * gdb.dwarf2/dw2-ranges2.c: Likewise.
781 * gdb.dwarf2/dw2-ranges3.c: Likewise.
782 * gdb.dwarf2/dw2-restore.S: Likewise.
783 * gdb.dwarf2/pieces.S: Likewise.
784 * gdb.dwarf2/valop.S: Likewise.
785 * gdb.java/jnpe.java: Likewise.
786 * gdb.mi/mi-stepn.c: Likewise.
787 * gdb.mi/mi-var-cp.cc: Likewise.
788 * gdb.mi/mi-var-rtti.cc: Likewise.
789 * gdb.mi/ns-stale-regcache.c: Likewise.
790 * gdb.mi/pr11022.c: Likewise.
791 * gdb.mi/solib-lib.c: Likewise.
792 * gdb.mi/solib-main.c: Likewise.
793 * gdb.python/py-arch.c: Likewise.
794 * gdb.python/py-block.c: Likewise.
795 * gdb.python/py-breakpoint.c: Likewise.
796 * gdb.python/py-events.c: Likewise.
797 * gdb.python/py-evthreads.c: Likewise.
798 * gdb.python/py-explore.c: Likewise.
799 * gdb.python/py-explore.cc: Likewise.
800 * gdb.python/py-finish-breakpoint.c: Likewise.
801 * gdb.python/py-finish-breakpoint2.cc: Likewise.
802 * gdb.python/py-symbol.c: Likewise.
803 * gdb.threads/execl.c: Likewise.
804 * gdb.threads/execl1.c: Likewise.
805
806 2013-06-07 Will Newton <will.newton@linaro.org>
807
808 * gdb.base/long_long.exp: Fix ARM EABI target glob.
809
810 2013-06-07 Will Newton <will.newton@linaro.org>
811
812 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
813 and "starting".
814
815 2013-06-07 Will Newton <will.newton@linaro.org>
816
817 * gdb.cp/anon-struct.exp: Conditionalize constructor and
818 destructor prototypes for ARM ABI.
819 * gdb.cp/m-static.exp: Likewise.
820
821 2013-06-07 Yao Qi <yao@codesourcery.com>
822
823 * gdb.trace/mi-trace-unavailable.exp: New.
824 * gdb.trace/trace-unavailable.c: New.
825
826 2013-06-06 Doug Evans <dje@google.com>
827
828 * gdb.cp/derivation.exp: Make tests have unique names.
829
830 2013-06-06 Tom Tromey <tromey@redhat.com>
831
832 * gdb.base/dump.exp (capture_value): Don't put expression into
833 test name if arguments passed in.
834 Rename a couple more tests to make them unique.
835
836 2013-06-06 Tom Tromey <tromey@redhat.com>
837
838 * gdb.base/break-always.exp: Explicitly specify test name.
839
840 2013-06-05 Doug Evans <dje@google.com>
841 Keith Seitz <keiths@redhat.com>
842
843 * gdb.cp/derivation2.cc: New file.
844 * gdb.cp/derivation.cc (main): Call foo2.
845 * gdb.cp/derivation.exp: Add tests for typedefs in another
846 file, and when there's an active block.
847
848 2013-06-05 Luis Machado <lgustavo@codesourcery.com>
849
850 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
851 from targets that use function descriptors in the virtual tables.
852 Handle presence of dot symbols.
853
854 2013-06-04 Gary Benson <gbenson@redhat.com>
855
856 * gdb.base/break-probes.exp: New file.
857 * gdb.base/break-probes.c: Likewise.
858 * gdb.base/break-probes-solib.c: Likewise.
859 * gdb.base/info-shared.exp: New file.
860 * gdb.base/info-shared.c: Likewise.
861 * gdb.base/info-shared-solib1.c: Likewise.
862 * gdb.base/info-shared-solib2.c: Likewise.
863
864 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
865 Gary Benson <gbenson@redhat.com>
866
867 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
868 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
869 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
870 to be set to "no" to indicate that no ld.so copy should be made.
871 * gdb.base/break-interp.exp (solib_bp): New constant.
872 (reach_1): Use the above instead of "_dl_debug_state".
873 (test_attach): Likewise.
874 (test_ld): Likewise.
875 * gdb.threads/dlopen-libpthread.exp: New file.
876 * gdb.threads/dlopen-libpthread.c: Likewise.
877 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
878 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
879
880 2013-05-30 Yao Qi <yao@codesourcery.com>
881
882 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
883 Add a test that no MI notification is emitted when executing
884 -exec-arguments.
885
886 2013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
887
888 PR testsuite/12649
889 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
890 $mi_gdb_prompt expectation by mi_expect_stop.
891 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
892 (mi info dprintf second time): Replace them by mi_send_resuming_command
893 and mi_expect_stop.
894
895 2013-05-24 Gary Benson <gbenson@redhat.com>
896
897 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
898 backslash.
899 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
900 backslashes.
901 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
902 backslash.
903
904 2013-05-24 Yao Qi <yao@codesourcery.com>
905
906 * gdb.trace/tfile.exp: Test inferior and thread.
907
908 2013-05-24 Yao Qi <yao@codesourcery.com>
909 Pedro Alves <palves@redhat.com>
910
911 * gdb.base/range-stepping.exp: Skip the rest of tests if the
912 test fails.
913 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
914 Return 0 if the test passes, otherwise return 1.
915
916 2013-05-23 Doug Evans <dje@google.com>
917
918 * boards/fission-dwp.exp: New file.
919
920 2013-05-23 Yao Qi <yao@codesourcery.com>
921 Pedro Alves <palves@redhat.com>
922
923 * gdb.base/range-stepping.c: New file.
924 * gdb.base/range-stepping.exp: New file.
925 * gdb.trace/range-stepping.c: New file.
926 * gdb.trace/range-stepping.exp: New file.
927 * lib/range-stepping-support.exp: New file.
928
929 2013-05-22 Tom Tromey <tromey@redhat.com>
930
931 * gdb.cp/class2.cc (main): New local 'aref'.
932 * gdb.cp/class2.exp: Check printing of 'aref'.
933
934 2013-05-22 Doug Evans <dje@google.com>
935
936 * gdb.threads/wp-replication.c (main): Insert some code at the start
937 to ensure the breakpoint on main is only hit once. Fix comment.
938
939 2013-05-21 Keith Seitz <keiths@redhat.com>
940 Pedro Alves <palves@redhat.com>
941
942 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
943 gdb_expect.
944 Add test to flush the remaining input buffer so that this
945 file passes testsuite/12649.
946
947 2013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
948
949 * gdb.base/catch-signal-fork.exp: New file.
950 * gdb.base/catch-signal-fork.c: New file.
951
952 2013-05-21 Sterling Augustine <saugustine@google.com>
953
954 * boards/remote-stdio-gdbserver.exp: New file.
955
956 2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
957
958 PR testsuite/12649
959 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
960 racy matches.
961
962 2013-05-21 Christian Groessler <chris@groessler.org>
963
964 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
965 since it's not supported in all shells.
966
967 2013-05-21 Hui Zhu <hui@codesourcery.com>
968
969 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
970 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
971
972 2013-05-20 Doug Evans <dje@google.com>
973
974 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
975 (_handle_DW_TAG): Use it.
976 (cu, tu): Replace parameters is_64, version, addr_size with options.
977 All callers updated. Add Fission support.
978 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
979 * gdb.dwarf2/method-ptr.exp: Ditto.
980 * gdb.dwarf2/nostaticblock.exp: Ditto.
981 * gdb.dwarf2/subrange.exp: Ditto.
982 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
983
984 2013-05-20 Tom Tromey <tromey@redhat.com>
985
986 * gdb.gdb/python-selftest.exp: New file.
987
988 2013-05-20 Doug Evans <dje@google.com>
989
990 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
991 -fdebug-types-section.
992
993 2013-05-20 Joel Brobecker <brobecker@adacore.com>
994
995 * gdb.ada/float_param: New testcase.
996
997 2013-05-17 Doug Evans <dje@google.com>
998
999 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
1000 Add tests for "maint check-symtabs", "maint expand-symtabs".
1001
1002 * gdb.base/maint.exp: Remove testing of individual maint command
1003 help output.
1004
1005 2013-05-16 Pedro Alves <palves@redhat.com>
1006
1007 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
1008 comment. Use gdb_test_no_output.
1009
1010 2013-05-16 Joel Brobecker <brobecker@adacore.com>
1011
1012 * gdb.ada/complete.exp: Add test verifying completion using
1013 the "tab" key.
1014
1015 2013-05-15 Keith Seitz <keiths@redhat.com>
1016
1017 * gdb.base/filesym.exp: New completer test.
1018 * gdb.base/filesym.c: New file.
1019
1020 2013-05-15 Pedro Alves <palves@redhat.com>
1021
1022 * gdb.base/fixsection.c: Remove attribution.
1023 * gdb.base/watch-read.exp: Ditto.
1024
1025 2013-05-13 Tom Tromey <tromey@redhat.com>
1026
1027 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
1028 size and change type sizes to 4 bytes.
1029
1030 2013-05-13 Tom Tromey <tromey@redhat.com>
1031
1032 * gdb.base/exprs.exp (test_expr): Add regression test.
1033 * gdb.base/exprs.c (null_t_struct): New global.
1034
1035 2013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
1036
1037 * gdb.base/default.exp: Disable history saving.
1038 * gdb.base/setshow.exp: Likewise.
1039
1040 2013-05-10 Pedro Alves <palves@redhat.com>
1041
1042 PR remote/15455
1043
1044 * gdb.trace/qtro.c: New file.
1045 * gdb.trace/qtro.exp: New file.
1046
1047 2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
1048
1049 * gdb.python/py-framefilter.py: New File.
1050 * gdb.python/py-framefilter-mi.exp: Ditto.
1051 * gdb.python/py-framefilter.c: Ditto.
1052 * gdb.python/py-framefilter-mi.exp: Ditto.
1053 * gdb.python/py-framefilter-mi.c: Ditto,
1054 * gdb.python/py-framefilter-gdb.py.in: Ditto.
1055
1056 2013-05-08 Tom Tromey <tromey@redhat.com>
1057
1058 * gdb.base/solib-search.exp: Set test name for "set
1059 solib-search-path" test.
1060
1061 2013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
1062
1063 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
1064 (set_a_tracepoint): Set tracepoint before prologue.
1065 (run_trace_experiment): Test setup_tracepoints and 'break end'
1066 in it.
1067 (trace_buffer_normal): Remove.
1068 (gdb_trace_circular_tests): Remove. Move tests to...
1069 (top level): ...here. Call 'runto_main' before checking for
1070 trace support. Use commands to check the support for circular
1071 trace buffer and changing of trace buffer size. Add test
1072 to calculate size of single frame. Use this size to
1073 calculate the size of trace buffer. Use 'tfind pc func9'
1074 instead of 'tfind 9'. Use 'with_test_prefix'.
1075
1076 2013-05-07 Tom Tromey <tromey@redhat.com>
1077
1078 * lib/selftest-support.exp: New file.
1079 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1080 do_self_tests.
1081 (setup_test, find_gdb): Remove.
1082 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1083 do_self_tests.
1084 (setup_test, find_gdb): Remove.
1085 (test_observer): Don't call setup_test. Remove argument.
1086 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1087 (find_gdb): Remove.
1088 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1089 do_self_tests.
1090 (setup_test, find_gdb): Remove.
1091 (test_with_self): Don't call setup_test. Remove argument.
1092
1093 2013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1094
1095 * gdb.arch/system-gcore.exp: Remove.
1096 * gdb.arch/gcore.c: Remove.
1097 * gdb.base/gcore.exp: Add "info reg system".
1098
1099 2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1100
1101 PR breakpoints/15413:
1102 * gdb.base/pending.exp: Add test for completion of the "condition"
1103 command for pending breakpoints.
1104 * gdb.linespec/linespec.ex: Add test for completion of the
1105 "condition" command when dealing with multiple locations.
1106
1107 2013-05-07 Luis Machado <lgustavo@codesourcery.com>
1108
1109 * gdb.threads/wp-replication.c: New file.
1110 * gdb.threads/wp-replication.exp: New file.
1111
1112 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1113
1114 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1115
1116 2013-05-06 Doug Evans <dje@google.com>
1117
1118 * gdb.base/solib-search-lib1.c: New file.
1119 * gdb.base/solib-search-lib2.c: New file.
1120 * gdb.base/solib-search.c: New file.
1121 * gdb.base/solib-search.h: New file.
1122 * gdb.base/solib-search.exp: New file.
1123
1124 * lib/gdb.exp (gdb_core_cmd): New function.
1125 * gdb.arch/system-gcore.exp: Use it.
1126 * gdb.arch/vsx-regs.exp: Ditto.
1127 * gdb.base/gcore.exp: Ditto.
1128 * gdb.threads/gcore-thread.exp: Ditto.
1129
1130 * gdb.reverse/shr.h: New file.
1131 * gdb.reverse/shr1.c: New file.
1132 * gdb.reverse/shr2.c: #include "shr.h".
1133 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1134 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1135 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1136 Update tests using sleep/printf to use shr2.sl instead.
1137 * gdb.reverse/solib-reverse.exp: Ditto.
1138
1139 2013-05-06 Tom Tromey <tromey@redhat.com>
1140
1141 * gdb.dwarf2/implptrconst.c: New file.
1142 * gdb.dwarf2/implptrconst.exp: New file.
1143 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1144 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1145 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1146
1147 2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1148
1149 * gdb.base/catch-sig.c (main): Raise SIGINT.
1150 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1151
1152 2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1153
1154 * status-stop.exp (test_tstart_tstart): Check for error
1155 returned by the second 'tstart' command.
1156
1157 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1158
1159 * gdb.xml/maint_print_struct.exp: New file.
1160 * gdb.xml/maint_print_struct.xml: New file.
1161
1162 2013-04-25 Tom Tromey <tromey@redhat.com>
1163
1164 * gdb.dwarf2/nostaticblock.exp: New file.
1165
1166 2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1167
1168 PR gdb/10462
1169 * gdb.base/setshow.exp: Add test case.
1170
1171 2013-04-23 Hui Zhu <hui@codesourcery.com>
1172
1173 PR gdb/15293
1174 * gdb.base/dprintf.exp: Add ignore command.
1175
1176 2013-04-23 Hui Zhu <hui@codesourcery.com>
1177
1178 PR gdb/15165
1179 * gdb.base/save-bp.exp: Add test for dprintf.
1180
1181 2013-04-22 Tom Tromey <tromey@redhat.com>
1182
1183 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1184 notice_open_fds.
1185
1186 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1187
1188 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1189 ldflags.
1190
1191 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1192
1193 * gdb.arch/arm-bl-branch-dest.c: New file.
1194 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1195
1196 2013-04-19 Vladimir Kargov <kargov@gmail.com>
1197 Pedro Alves <palves@redhat.com>
1198
1199 * gdb.arch/i386-float.S: New file.
1200 * gdb.arch/i386-float.exp: New file.
1201
1202 2013-04-18 Luis Machado <lgustavo@codesourcery.com>
1203
1204 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1205 type void *.
1206
1207 2013-04-17 Doug Evans <dje@google.com>
1208
1209 * lib/dwarf.exp (Dwarf): New proc "tu".
1210 * gdb.dwarf2/missing-sig-type.exp: New file.
1211
1212 2013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1213
1214 Add option to link testcases with Pthreads library when
1215 using 'prepare_for_testing' in tests.
1216
1217 * lib/gdb.exp (build_executable_from_specs): Use
1218 gdb_compile_pthreads to compile if option "pthreads" is
1219 specified.
1220
1221 2013-04-15 Tom Tromey <tromey@redhat.com>
1222
1223 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1224
1225 2013-04-15 Tom Tromey <tromey@redhat.com>
1226
1227 * gdb.base/default.exp: Update for $_exception.
1228 * gdb.cp/exceptprint.cc: New file.
1229 * gdb.cp/exceptprint.exp: New file.
1230 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1231
1232 2013-04-15 Tom Tromey <tromey@redhat.com>
1233
1234 * gdb.cp/typeid.cc: New file.
1235 * gdb.cp/typeid.exp: New file.
1236
1237 2013-04-15 Tom Tromey <tromey@redhat.com>
1238
1239 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1240
1241 2013-04-13 Yao Qi <yao@codesourcery.com>
1242
1243 * gdb.base/completion.exp: Test completion of command
1244 'target ctf' if target ctf is supported.
1245
1246 2013-04-10 Pedro Alves <palves@redhat.com>
1247
1248 * gdb.base/completion.exp: Test "set height", "set listsize" and
1249 "set trace-buffer-size" completion.
1250 * gdb.base/setshow.exp: Test "set height unlimited".
1251 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1252 unlimited".
1253
1254 2013-04-10 Yao Qi <yao@codesourcery.com>
1255
1256 * gdb.trace/actions.exp: Save trace data to CTF.
1257 Change to ctf target if GDB supports, read CTF data in ctf
1258 target, and check the actions of tracepoints.
1259 * gdb.trace/while-stepping.exp: Likewise.
1260 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1261 format and read CTF trace file if GDB supports.
1262 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1263 target is supported, change to ctf target, read trace data and
1264 check output of command "tstatus".
1265 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1266 read CTF data by target ctf and call check_tsv.
1267
1268 2013-04-10 Yao Qi <yao@codesourcery.com>
1269
1270 * gdb.trace/actions.exp (check_tracepoint): New.
1271 (top level): Start the tracing and check the actions of
1272 tracepoints. Save trace data to tfile format. Restart GDB
1273 and read trace file in tfile target. Check the actions of
1274 tracepoints again.
1275 * gdb.trace/while-stepping.exp: Likewise.
1276
1277 2013-04-10 Yao Qi <yao@codesourcery.com>
1278
1279 * gdb.trace/report.exp: Use standard_output_file for saved
1280 trace file.
1281
1282 2013-04-10 Hui Zhu <hui@codesourcery.com>
1283
1284 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1285 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1286 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1287
1288 2013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1289
1290 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1291 response.
1292
1293 2013-04-08 Pedro Alves <palves@redhat.com>
1294
1295 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1296 the location.
1297
1298 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1299
1300 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1301 for breakpoint location.
1302
1303 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1304
1305 * gdb.linespec/linespec.exp: Make dir/file:line tests
1306 conditional for non-remote hosts only.
1307
1308 2013-04-04 Stan Shebs <stan@codesourcery.com>
1309 Pedro Alves <palves@redhat.com>
1310
1311 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1312 * gdb.trace/actions-changed.c: New file.
1313 * gdb.trace/actions-changed.exp: New file.
1314 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1315 (gdb_trace_setactions_command): ... this. Add "actions_command"
1316 parameter, and handle it.
1317 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1318
1319 2013-04-04 Yao Qi <yao@codesourcery.com>
1320
1321 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1322 'step'.
1323
1324 2013-04-03 Yao Qi <yao@codesourcery.com>
1325
1326 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1327 "tfile-basic.tf".
1328 (test_tfind_tfile): Likewise.
1329
1330 2013-04-03 Yao Qi <yao@codesourcery.com>
1331
1332 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1333 "tfile-basic.tf" instead of "basic.tf".
1334 (write_error_trace_file): Pass argument "tfile-error.tf"
1335 instead of "error.tf".
1336 * gdb.trace/tfile.exp: Update tfile names to
1337 "tfile-basic.tf" and "tfile-error.tf".
1338
1339 2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1340
1341 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1342 empty directory in file for breakpoint hit.
1343
1344 2013-03-29 Yao Qi <yao@codesourcery.com>
1345
1346 * gdb.base/completion.exp: Test completion of commands
1347 "target core", "target tfile" and "target exec".
1348 * gdb.trace/tfile.exp: Test completion of command
1349 "target tfile".
1350
1351 2013-03-28 Joel Brobecker <brobecker@adacore.com>
1352
1353 * gdb.ada/win_fu_syms: New testcase.
1354
1355 2013-03-28 Doug Evans <dje@google.com>
1356
1357 * gdb.base/maint.exp (maint print statistics): Update expected output.
1358
1359 2013-03-28 Pedro Alves <palves@redhat.com>
1360
1361 PR gdb/15294
1362
1363 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1364 mean unlimited instead of $arg < 0.
1365 (test_listsize): Remove "listsize of 0 suppresses output" test.
1366 Test that "set listsize 0" ends up with an unlimited listsize.
1367
1368 2013-03-28 Pedro Alves <palves@redhat.com>
1369
1370 * gdb.base/list.exp (last_line): New global.
1371 (last_line_re): New global.
1372 (test_listsize, test_list_function, test_list_forward)
1373 (test_repeat_list_command, test_list_range)
1374 (test_list_filename_and_function): Use them.
1375 * gdb.base/list0.c: Comment the last line of the file with "last
1376 line".
1377
1378 2013-03-28 Pedro Alves <palves@redhat.com>
1379
1380 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1381 list the whole file.
1382
1383 2013-03-28 Pedro Alves <palves@redhat.com>
1384
1385 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1386 "set listsize".
1387
1388 2013-03-26 Keith Seitz <keiths@redhat.com>
1389
1390 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1391 from passing.
1392
1393 2013-03-26 Pedro Alves <palves@redhat.com>
1394
1395 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1396 until after GDB has run.
1397
1398 2013-03-26 Yao Qi <yao@codesourcery.com>
1399
1400 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1401 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1402
1403 2013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1404
1405 * gdb.btrace/enable.exp: Add regression test.
1406
1407 2013-03-25 Tom Tromey <tromey@redhat.com>
1408
1409 * gdb.cp/m-static.exp: Add destructor-printing tests.
1410
1411 2013-03-25 Tom Tromey <tromey@redhat.com>
1412
1413 * gdb.cp/m-static.exp: Add constructor ptype tests.
1414 * gdb.cp/m-static.cc (single_constructor): New class.
1415 (main): Make instance of single_constructor.
1416
1417 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1418 Pedro Alves <palves@redhat.com>
1419
1420 * gdb.server/server-kill.c: New file.
1421 * gdb.server/server-kill.exp: New file.
1422
1423 2013-03-21 Pedro Alves <palves@redhat.com>
1424
1425 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1426 Expect $gdb_prompt in gdb_test_multiple.
1427
1428 2013-03-21 Doug Evans <dje@google.com>
1429
1430 * gdb.base/maint.exp: Update tests for per-command stats.
1431
1432 2013-03-21 Tom Tromey <tromey@redhat.com>
1433
1434 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1435 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1436
1437 2013-03-20 Pedro Alves <palves@redhat.com>
1438
1439 PR gdb/15289
1440
1441 * gdb.base/remote.exp: Test
1442 "set remote hardware-watchpoint-limit -1",
1443 "set remote hardware-breakpoint-limit -1",
1444 "set remote hardware-watchpoint-limit 2147483647" and
1445 "set remote hardware-breakpoint-limit 2147483647".
1446
1447 2013-03-20 Pedro Alves <palves@redhat.com>
1448 Yao Qi <yao@codesourcery.com>
1449
1450 * gdb.trace/tfile.c: Add comments.
1451 (nonconstglob): New global.
1452 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
1453 global that is not covered by the trace frame. Test
1454 disassembling.
1455
1456 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1457
1458 * gdb.base/valgrind-infcall.exp
1459 (continue #$continue_count) <remote connection closed>
1460 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1461 $valgrind_pid.
1462
1463 2013-03-15 Tom Tromey <tromey@redhat.com>
1464
1465 * gdb.cp/overload.cc (intintfunc): New.
1466 * gdb.cp/overload.exp: Add regression test.
1467
1468 2013-03-15 Yao Qi <yao@codesourcery.com>
1469
1470 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1471 using with_test_prefix.
1472 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1473 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1474 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1475 * gdb.threads/watchpoint-fork.exp (test): Likewise.
1476 * gdb.base/break-interp.exp (test_core): Likewise.
1477 (test_attach_gdb): Likewise.
1478 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1479 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1480 Likewise.
1481 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1482 * gdb.base/jit.exp (one_jit_test): Likewise.
1483 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1484 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1485 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1486 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1487 Likewise.
1488 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1489 Likewise.
1490 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1491 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1492 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1493 (tracepoint_change_loc_2): Likewise.
1494 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1495 Likewise.
1496 (disconnected_tfind): Likewise.
1497 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1498 Likewise.
1499 (test_tfind_remote): Likewise.
1500 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1501 Likewise.
1502 (test_pending_resolved): Likewise.
1503 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1504 Likewise.
1505 (test_upload_tsv): Likewise.
1506 * gdb.trace/pending.exp (pending_tracepoint_resolved):
1507 Likewise.
1508 (pending_tracepoint_works): Likewise.
1509 * gdb.trace/report.exp (use_collected_data): Likewise.
1510 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1511 Likewise.
1512 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1513 * gdb.trace/strace.exp (strace_info_marker): Likewise.
1514 (strace_trace_on_same_addr): Likewise.
1515 (strace_trace_on_diff_addr): Likewise.
1516 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1517 (gdb_collect_locals_test): Likewise.
1518 (gdb_unavailable_registers_test): Likewise.
1519 (gdb_collect_globals_test): Likewise.
1520
1521 2013-03-15 Yao Qi <yao@codesourcery.com>
1522
1523 * gdb.base/condbreak.exp: Add semicolon back which was removed
1524 by my previous commit.
1525
1526 2013-03-14 Yao Qi <yao@codesourcery.com>
1527
1528 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1529 'return'.
1530 (gdb_target_monitor, gdb_load): Likewise.
1531 * config/sid.exp (gdb_load): Likewise.
1532 * config/slite.exp (gdb_load): Likewise.
1533 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1534 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1535 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1536 (single_step_until): Likewise.
1537 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1538 * gdb.arch/system-gcore.exp: Likewise.
1539 * gdb.base/bigcore.exp (extract_heap): Likewise.
1540 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1541 * gdb.base/call-ar-st.exp: Likewise.
1542 * gdb.base/call-rt-st.exp: Likewise.
1543 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1544 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1545 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1546 * gdb.base/corefile.exp: Likewise.
1547 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1548 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1549 * gdb.base/fixsection.exp: Likewise.
1550 * gdb.base/funcargs.exp: Likewise.
1551 * gdb.base/gcore-buffer-overflow.exp: Likewise.
1552 * gdb.base/gcore-relro.exp: Likewise.
1553 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1554 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1555 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1556 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1557 * gdb.base/list.exp: Likewise.
1558 (set_listsize): Likewise.
1559 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1560 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1561 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1562 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1563 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1564 * gdb.base/setvar.exp: Likewise.
1565 (test_set): Likewise.
1566 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1567 * gdb.base/solib-overlap.exp: Likewise.
1568 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1569 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1570 * gdb.base/watchpoint.exp (initialize): Likewise.
1571 (test_simple_watchpoint): Likewise.
1572 (test_disabling_watchpoints): Likewise.
1573 (test_watchpoint_triggered_in_syscall): Likewise.
1574 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1575 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1576 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1577 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1578 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1579 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1580 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1581 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1582 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1583 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1584 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1585 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1586 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1587 * gdb.mi/gdb792.exp: Likewise.
1588 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1589 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1590 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1591 * gdb.threads/gcore-thread.exp: Likewise.
1592 (load_core): Likewise.
1593 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1594 (test_startup, check_control_c): Likewise.
1595 * gdb.threads/sigstep-threads.exp: Likewise.
1596 * gdb.threads/thread_check.exp: Likewise.
1597 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1598 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1599 (set_a_tracepoint, trace_buffer_normal): Likewise.
1600 (gdb_trace_circular_tests): Likewise.
1601 * gdb.trace/collection.exp: Likewise.
1602 * gdb.trace/disconnected-tracing.exp: Likewise.
1603 * gdb.trace/infotrace.exp: Likewise.
1604 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1605 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1606 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1607 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1608 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1609 * gdb.trace/stap-trace.exp: Likewise.
1610 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1611 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
1612 * gdb.trace/trace-buffer-size.exp: Likewise.
1613 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
1614 * gdb.trace/unavailable.exp: Likewise.
1615 * gdb.trace/while-dyn.exp: Likewise.
1616 * lib/fortran.exp (set_lang_fortran): Likewise.
1617 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
1618 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
1619 (default_gdb_start, get_compiler_info): Likewise.
1620 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
1621 (get_debug_format, setup_xfail_format): Likewise.
1622 (rerun_to_main, gdb_skip_float_test): Likewise.
1623 (build_id_debug_filename_get, get_remotetimeout): Likewise.
1624 * lib/java.exp (set_lang_java): Likewise.
1625 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
1626 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
1627 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
1628 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
1629 * lib/objc.exp (set_lang_objc): Likewise.
1630 * lib/pascal.exp (set_lang_pascal): Likewise.
1631 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1632 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
1633 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
1634
1635 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
1636
1637 PR c++/15203
1638 PR c++/15210
1639 * gdb.cp/m-static.cc (keepalive_int): New function.
1640 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
1641 * gdb.cp/m-static.exp: New test for `sintvar'.
1642
1643 2013-03-14 Yao Qi <yao@codesourcery.com>
1644
1645 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
1646 of 'tstatus' into tstatus_output.
1647 (top level): Save the trace data to tfile. Read trace file in
1648 tfile target. Check the trace status.
1649
1650 2013-03-13 Yao Qi <yao@codesourcery.com>
1651
1652 * gdb.trace/tsv.exp (check_tsv): New.
1653 (top level): Save a tfile on current trace session. Call
1654 check_tsv on live target. Load the tfile with target tfile
1655 and call check_tsv again.
1656
1657 2013-03-13 Yao Qi <yao@codesourcery.com>
1658
1659 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
1660 Replace some "gdb_test" with "gdb_test_no_output".
1661
1662 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
1663
1664 * gdb.ada/expr_delims.exp: New file.
1665 * gdb.ada/expr_delims/foo.adb: New file.
1666 * gdb.ada/expr_delims/pck.ads: New file.
1667 * gdb.ada/expr_delims/pck.adb: New file.
1668
1669 2013-03-11 Keith Seitz <keiths@redhat.com>
1670
1671 * watchpoint.exp (test_no_hw_watchpoints): Add test using
1672 both condition and thread. Then delete the watchpoint.
1673
1674 2013-03-11 Christian Himpel <christian.himpel@intel.com>
1675
1676 * Makefile.in: Add btrace testsuite.
1677 * configure: Regenerated.
1678 * configure.ac: Add btrace testsuite.
1679 * gdb.btrace/Makefile.in: New file.
1680 * gdb.btrace/enable.c: New file.
1681 * gdb.btrace/enable.exp: New file.
1682 * gdb.btrace/function_call_history.c: New file.
1683 * gdb.btrace/function_call_history.exp: New file.
1684 * gdb.btrace/instruction_history.c: New file.
1685 * gdb.btrace/instruction_history.exp: New file.
1686 * gdb.btrace/instruction_history.S: New file.
1687 * lib/gdb.exp: Add btrace skip proc.
1688
1689 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1690
1691 Fix entry-values if the callee called a noreturn function.
1692 * gdb.arch/amd64-tailcall-noret.S: New file.
1693 * gdb.arch/amd64-tailcall-noret.c: New file.
1694 * gdb.arch/amd64-tailcall-noret.exp: New file.
1695
1696 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1697
1698 Fix entry-values in C++ across CUs.
1699 * gdb.arch/amd64-tailcall-cxx.exp: New file.
1700 * gdb.arch/amd64-tailcall-cxx1.S: New file.
1701 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
1702 * gdb.arch/amd64-tailcall-cxx2.S: New file.
1703 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
1704
1705 2013-03-08 Stan Shebs <stan@codesourcery.com>
1706 Hafiz Abid Qadeer <abidh@codesourcery.com>
1707
1708 gdb/testsuite/
1709 * gdb.trace/trace-buffer-size.exp: New file.
1710 * gdb.trace/trace-buffer-size.c: New file.
1711
1712 2013-03-06 Pedro Alves <palves@redhat.com>
1713
1714 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
1715 doesn't support the tested optional feature, call "unsupported"
1716 with the same test message as the "pass" case, instead of calling
1717 "pass" with a different message. Use the same text for the "fail"
1718 cases too.
1719
1720 2013-03-06 Yao Qi <yao@codesourcery.com>
1721
1722 * gdb.trace/tstatus.exp: Remove the invocation of
1723 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
1724 (test_tracepoints): Don't set fast tracepoint.
1725 (top level): Don't check agent library is loaded or not.
1726
1727 2013-03-06 Yao Qi <yao@codesourcery.com>
1728
1729 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
1730 parentheses by "\\".
1731
1732 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1733
1734 * gdb.linespec/base/one/thefile.cc (twodup): New.
1735 (m): Call it.
1736 * gdb.linespec/base/two/thefile.cc (dupname): New.
1737 (n): Call it.
1738 * gdb.linespec/break-ask.exp: New file.
1739 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
1740
1741 2013-02-28 Yao Qi <yao@codesourcery.com>
1742
1743 * gdb.trace/report.exp: Move some code to ...
1744 (use_collected_data): New.
1745 (top level): Call use_collected_data once on the live target.
1746 Save at file of the current trace session, load it with target
1747 tfile, and call use_collected_data again.
1748
1749 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1750
1751 * gdb.threads/fork-thread-pending.c (main): Add alarm.
1752
1753 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1754
1755 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
1756 Add final kill of ${valgrind_pid}.
1757
1758 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
1759
1760 * gdb.python/py-arch.c: New test case
1761 * gdb.python/py-arch.exp: New tests to test
1762 gdb.Architecture.disassemble
1763 * gdb.python/Makefile.in: Add py-arch to the list of
1764 EXECUTABLES.
1765
1766 2013-02-18 Tom Tromey <tromey@redhat.com>
1767
1768 * gdb.dwarf2/subrange.exp: New file.
1769
1770 2013-02-15 Pedro Alves <pedro@codesourcery.com>
1771 Hafiz Abid Qadeer <abidh@codesourcery.com>
1772
1773 * gdb.trace/tfile.exp: Add test for -trace-status command.
1774
1775 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1776
1777 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
1778 nanosleep by sleep.
1779
1780 2013-02-14 Pedro Alves <palves@redhat.com>
1781
1782 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
1783
1784 2013-02-14 Pedro Alves <pedro@codesourcery.com>
1785 Hafiz Abid Qadeer <abidh@codesourcery.com>
1786
1787 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
1788
1789 2013-02-12 Tom Tromey <tromey@redhat.com>
1790
1791 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
1792 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
1793
1794 2013-02-12 Pedro Alves <palves@redhat.com>
1795
1796 * gdb.base/catch-signal.c: Update copyright years.
1797 * gdb.base/catch-signal.exp: Update copyright years.
1798 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
1799 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
1800 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
1801 * gdb.dwarf2/dw2-error.S: Update copyright years.
1802 * gdb.dwarf2/dw2-error.c: Update copyright years.
1803 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
1804 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
1805 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
1806
1807 2013-02-12 Pedro Alves <palves@redhat.com>
1808
1809 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
1810 message.
1811 * gdb.base/sigaltstack.exp: Ditto.
1812 * gdb.base/siginfo.exp: Ditto.
1813 * gdb.base/sizeof.exp: Ditto.
1814
1815 2013-02-12 Pedro Alves <palves@redhat.com>
1816
1817 * gdb.mi/mi-basics.exp: Tweak intro comment.
1818 * gdb.mi/mi-break.exp: Tweak intro comment.
1819 * gdb.mi/mi-console.exp: Tweak intro comment.
1820 * gdb.mi/mi-file.exp: Tweak intro comment.
1821 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
1822 * gdb.mi/mi-return.exp: Tweak intro comment.
1823 * gdb.mi/mi-stepi.exp: Tweak intro comment.
1824 * gdb.mi/mi-until.exp: Tweak intro comment.
1825 * gdb.mi/mi-watch.exp: Tweak intro comment.
1826
1827 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1828
1829 * gdb.server/no-thread-db.exp: New file.
1830 * gdb.server/no-thread-db.c: New file.
1831 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
1832
1833 2013-02-11 Doug Evans <dje@google.com>
1834
1835 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
1836 two decfloats.
1837
1838 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1839
1840 * gdb.base/bitfields.c (struct internalvartest): New declaration.
1841 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1842
1843 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1844
1845 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1846
1847 2013-02-06 Yao Qi <yao@codesourcery.com>
1848
1849 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1850 to ...
1851 (test_create_delete_modify_tsv): ... here. New test on modifying
1852 the initial value of a tsv.
1853
1854 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1855
1856 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1857 (cd .../rdir): ... here.
1858
1859 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1860
1861 * gdb.linespec/base/one/header.h: New file.
1862 * gdb.linespec/base/two/header.h: New file.
1863 * gdb.linespec/macro-relative.c: New file.
1864 * gdb.linespec/macro-relative.exp: New file.
1865
1866 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1867
1868 * gdb.base/fullpath-expand-func.c: New file.
1869 * gdb.base/fullpath-expand.c: New file.
1870 * gdb.base/fullpath-expand.exp: New file.
1871 * gdb.base/realname-expand-real.c: New file.
1872 * gdb.base/realname-expand.c: New file.
1873 * gdb.base/realname-expand.exp: New file.
1874
1875 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1876
1877 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1878 * gdb.dwarf2/dw2-dir-file-name.c: New file.
1879
1880 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1881
1882 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1883 (compare_filenames_for_search does not match)
1884 (compare_filenames_for_search does match): New tests.
1885
1886 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1887
1888 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1889
1890 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1891
1892 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1893
1894 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1895
1896 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1897 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1898 ${binfile}.mini_debuginfo-debuglink and
1899 ${binfile}.mini_debuginfo-debuglink.xz.
1900
1901 2013-02-01 Tom Tromey <tromey@redhat.com>
1902
1903 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1904 attributes.
1905
1906 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1907 Tom Tromey <tromey@redhat.com>
1908
1909 * gdb.dwarf2/method-ptr.exp: Link with c++.
1910 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1911
1912 2013-01-31 Tom Tromey <tromey@redhat.com>
1913
1914 * gdb.base/jit.exp (compile_jit_test): New proc.
1915 Add PIE tests.
1916
1917 2013-01-31 Tom Tromey <tromey@redhat.com>
1918
1919 * gdb.dwarf2/method-ptr.cc: New file.
1920 * gdb.dwarf2/method-ptr.exp: New file.
1921
1922 2013-01-31 Tom Tromey <tromey@redhat.com>
1923
1924 * lib/dwarf.exp (namespace Dwarf): New.
1925
1926 2013-01-29 Tom Tromey <tromey@redhat.com>
1927
1928 * gdb.dwarf2/fission-reread.exp: Add unload test.
1929
1930 2013-01-28 Doug Evans <dje@google.com>
1931
1932 * gdb.dwarf2/fission-loclists.exp: New file.
1933 * gdb.dwarf2/fission-loclists.S: New file.
1934
1935 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1936
1937 Code cleanup.
1938 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1939 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1940 and prepare_for_testing.
1941 * gdb.base/store.exp: Likewise.
1942
1943 2013-01-25 Tom Tromey <tromey@redhat.com>
1944
1945 * gdb.python/py-explore.exp: Expect the gdb prompt.
1946
1947 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
1948
1949 * gdb.base/gnu_vector.c: New variable for use in tests.
1950 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1951 changes in scalar to vector casting and widening.
1952 * gdb.python/py-type.c: New variables for use in tests.
1953 * gdb.python/py-type.exp: Update vector related tests to reflect
1954 changes in scalar to vector casting and widening.
1955
1956 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1957
1958 * gdb.base/prologue-include.c: New file.
1959 * gdb.base/prologue-include.exp: New file.
1960 * gdb.base/prologue-include.h: New file.
1961
1962 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
1963
1964 PR gdb/13443
1965 * gdb.mi/mi-var-block.exp: Make test messages unique.
1966
1967 2013-01-23 Tom Tromey <tromey@redhat.com>
1968
1969 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1970
1971 2013-01-23 Tom Tromey <tromey@redhat.com>
1972
1973 * gdb.cp/converts.cc (main): Initialize 'a'.
1974
1975 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1976
1977 * testsuite/gdb.python/frame.exp: Add a test for
1978 gdb.Frame.architecture() method.
1979
1980 2013-01-22 Pedro Alves <palves@redhat.com>
1981
1982 * gdb.base/annota1.exp (signal sent): No longer expect
1983 breakpoints-invalid.
1984 * gdb.cp/annota2.exp (continue until exit)
1985 (watch triggered on a.x): Ditto.
1986
1987 2013-01-22 Pedro Alves <palves@redhat.com>
1988
1989 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1990 Adjust tests to breakpoints-invalid changes.
1991 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1992 variables.
1993 Adjust tests to breakpoints-invalid changes.
1994
1995 2013-01-22 Pedro Alves <palves@redhat.com>
1996
1997 * gdb.base/annota1.exp (annotate ignore count change): Add
1998 expected output for failure case.
1999
2000 2013-01-22 Tom Tromey <tromey@redhat.com>
2001
2002 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
2003 call.
2004
2005 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
2006
2007 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
2008 * gdb.mi/mi-catch-load.exp: Ditto.
2009 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
2010 Also handle 'thread' field.
2011 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
2012 * gdb.mi/mi-watch.exp: Ditto.
2013 * lib/mi-support.exp: Ditto.
2014
2015 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
2016
2017 * gdb.python/py-explore.exp: Improve a test
2018
2019 2013-01-18  David Blaikie  <dblaikie@gmail.com>
2020
2021 * gdb.base/label.c (main): Correct the type of the second
2022 parameter.
2023
2024 2013-01-18 Tom Tromey <tromey@redhat.com>
2025
2026 * gdb.dwarf2/trace-crash.s: New file.
2027 * gdb.dwarf2/trace-crash.exp: New file.
2028
2029 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
2030
2031 PR gdb/13443
2032 * gdb.base/checkpoint.exp: Update test messages to make them
2033 unique.
2034
2035 2013-01-18 Yao Qi <yao@codesourcery.com>
2036
2037 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
2038 output of 'info tracepoints'.
2039 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2040 Likewise.
2041 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
2042 * gdb.trace/disconnected-tracing.c (struct foo): New.
2043
2044 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2045
2046 * gdb.dwarf2/dw2-dos-drive.S: New file.
2047 * gdb.dwarf2/dw2-dos-drive.exp: New file.
2048
2049 2013-01-17 Doug Evans <dje@google.com>
2050
2051 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
2052 CXX_FOR_TARGET.
2053
2054 * boards/cc-with-tweaks.exp: New file.
2055
2056 2013-01-17 Tom Tromey <tromey@redhat.com>
2057
2058 * gdb.base/completion.exp: Add "set cp-abi" completion test.
2059
2060 2013-01-17 Pedro Alves <palves@redhat.com>
2061
2062 Merge dg-extract-results.sh from upstream (svn 195224).
2063
2064 2013-01-15 David Blaikie <dblaikie@gmail.com>
2065 * dg-extract-results.sh: Fix order of summary counts.
2066
2067 2013-01-15 David Blaikie <dblaikie@gmail.com>
2068 * dg-extract-results.sh: Constrain the start-of-log pattern.
2069
2070 2013-01-15 David Blaikie <dblaikie@gmail.com>
2071 * dg-extract-results.sh: Handle KPASSes.
2072
2073 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2074 * dg-extract-results.sh: Redirect grep output to /dev/null instead
2075 of grep -q.
2076
2077 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2078
2079 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2080 interface.
2081 * gdb.base/jithost.c: New file.
2082 * gdb.base/jithost.h: New file.
2083 * gdb.base/jitreader.c : New file.
2084 * gdb.base/jit-protocol.h: New file.
2085
2086 2013-01-16 Tom Tromey <tromey@redhat.com>
2087
2088 * gdb.base/catch-signal.c: New file.
2089 * gdb.base/catch-signal.exp: New file.
2090
2091 2013-01-16 Tom Tromey <tromey@redhat.com>
2092
2093 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2094
2095 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2096
2097 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2098
2099 2013-01-14 Tom Tromey <tromey@redhat.com>
2100
2101 * gdb.base/completion.exp: Add "set gnutarget" test.
2102
2103 2013-01-14 Tom Tromey <tromey@redhat.com>
2104
2105 * gdb.dwarf2/dw2-restrict.S: New file.
2106 * gdb.dwarf2/dw2-restrict.c: New file.
2107 * gdb.dwarf2/dw2-restrict.exp: New file.
2108
2109 2013-01-14 Tom Tromey <tromey@redhat.com>
2110
2111 * gdb.dwarf2/dw2-error.exp: New file.
2112 * gdb.dwarf2/dw2-error.c: New file.
2113 * gdb.dwarf2/dw2-error.S: New file.
2114
2115 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2116
2117 * gdb.cp/parse-lang.cc: New file.
2118 * gdb.cp/parse-lang.exp: New file.
2119
2120 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2121
2122 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2123 (set substitute-path): New test.
2124 (fullname present): Remove content.
2125 (substituted fullname): New test.
2126
2127 2013-01-13 Joel Brobecker <brobecker@adacore.com>
2128
2129 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2130 check. Move $gdb_py_is_py24 value check right after.
2131
2132 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2133
2134 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2135 targets.
2136
2137 2013-01-11 Yao Qi <yao@codesourcery.com>
2138
2139 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2140 for dprintf.
2141 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2142 Check the fields in "=breakpoint-created" for dprintf.
2143
2144 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2145
2146 * gdb.mi/mi-fullname-deleted.exp: New file.
2147
2148 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2149
2150 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2151 expected output.
2152 (info skip with pending file): Remove.
2153 (ignoring function in solib, info skip for function multiply): Update
2154 the expected output.
2155 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2156 (info skip (delete 1), info skip after disabling all)
2157 (info skip after enabling all, info skip after disabling 4 2-3)
2158 (info skip after enabling 2-3, info skip 2-3)
2159 (info skip after deleting 2 3): Update the expected output.
2160 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2161 statement to its initialization and return.
2162 * gdb.linespec/skip-two.exp: New file.
2163
2164 2012-12-19 Doug Evans <dje@google.com>
2165
2166 * gdb.base/maint.exp: Handle testing with .gdb_index.
2167
2168 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2169
2170 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2171 Cavium to FSF.
2172
2173 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2174
2175 * dg-extract-results.sh: Update contact info in copyright notice.
2176 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2177 GPL v3 or later. Update contact info.
2178 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2179 gdb.threads/watchpoint-fork-mt.c,
2180 gdb.threads/watchpoint-fork-parent.c,
2181 gdb.threads/watchpoint-fork-st.c,
2182 gdb.threads/watchpoint-fork.h: Likewise.
2183
2184 2012-12-15 Yao Qi <yao@codesourcery.com>
2185
2186 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2187 'installed' field in '=breakpoint-modified'.
2188 (test_reconnect): Check 'installed' field in
2189 '=breakpoint-modified' and '=breakpoint-created'.
2190
2191 * gdb.trace/actions.exp: Update test for 'installed' field.
2192 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2193 (tracepoint_change_loc_2): Likewise.
2194 Check 'info tracepoint' display nothing else.
2195 * gdb.trace/deltrace.exp: Likewise.
2196 * gdb.trace/infotrace.exp: Likewise.
2197 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2198 Likewise.
2199 * gdb.trace/passcount.exp: Likewise.
2200 * gdb.trace/tracecmd.exp: Likewise.
2201 * gdb.trace/while-stepping.exp: Likewise.
2202
2203 2012-12-14 Tom Tromey <tromey@redhat.com>
2204
2205 * gdb.cp/member-name.exp: New file.
2206 * gdb.cp/member-name.cc: New file.
2207
2208 2012-12-14 Tom Tromey <tromey@redhat.com>
2209
2210 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2211
2212 2012-12-14 Doug Evans <dje@google.com>
2213
2214 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2215 DW_OP_GNU_implicit_pointer is section-relative.
2216
2217 2012-12-14 Tom Tromey <tromey@redhat.com>
2218
2219 * gdb.base/info-proc.exp: Add core file tests.
2220
2221 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2222
2223 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
2224
2225 2012-12-13 Doug Evans <dje@google.com>
2226
2227 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2228 * gdb.multi/multi-arch.exp: Ditto.
2229
2230 2012-12-12 Keven Boell <keven.boell@intel.com>
2231
2232 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2233 catch load test library source file.
2234 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2235 load test source file.
2236 * gdb.mi/mi-catch-load.exp: New. Test file for
2237 basic MI -catch-load and -catch-unload tests.
2238
2239 2012-12-11 Paul Koning <paul_koning@dell.com>
2240
2241 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2242 exception.
2243 (_iterator_except): New function.
2244 (ArrayPrinter): Use _iterator function instead of local _iterator
2245 class for Python 3 compatibility.
2246 (NoStringContainerPrinter): Use _iterator_except instead of
2247 _iterator.
2248 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2249 execfile for Python 3 compatibility.
2250 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2251 format in error_prompt test.
2252
2253 2012-12-10 Paul Koning <paul_koning@dell.com>
2254
2255 * gdb.base/charset.exp: Change print syntax for Python 3
2256 compatibility.
2257 * gdb.python/py-block.exp: Ditto.
2258 * gdb.python/py-breakpoint.exp: Ditto.
2259 * gdb.python/py-cmd.exp: Ditto.
2260 * gdb.python/py-events.py: Ditto.
2261 * gdb.python/py-finish-breakpoint.py: Ditto.
2262 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2263 * gdb.python/py-finish-breakpoint2.py: Ditto.
2264 * gdb.python/py-frame-inline.exp: Ditto.
2265 * gdb.python/py-frame.exp: Ditto.
2266 * gdb.python/py-infthread.exp: Ditto.
2267 * gdb.python/py-objfile.exp: Ditto.
2268 * gdb.python/py-parameter.exp: Ditto.
2269 * gdb.python/py-progspace.exp: Ditto.
2270 * gdb.python/py-prompt.exp: Ditto.
2271 * gdb.python/py-symbol.exp: Ditto.
2272 * gdb.python/py-symtab.exp: Ditto.
2273 * gdb.python/py-template.exp: Ditto.
2274 * gdb.python/py-value-cc.exp: Ditto.
2275 * gdb.python/python.exp: Ditto.
2276 * gdb.python/source2.py: Ditto.
2277 * gdb.python/lib-types.exp: Change print syntax for Python 3
2278 compatibility.
2279 Use sorted() function rather than sort() method.
2280 Accept either int or long values for enum values.
2281 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2282 execfile for Python 3 compatibility.
2283 * gdb.python/py-evsignal.exp: Ditto.
2284 * gdb.python/py-evthreads.exp: Ditto.
2285 * gdb.python/py-mi.exp: Ditto.
2286 * gdb.python/py-pp-maint.exp: Ditto.
2287 * gdb.python/py-prettyprint.exp: Ditto.
2288 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
2289 Python 3 compatibility.
2290 Skip tests for Python 2.4.
2291 * gdb.python/py-inferior.exp: Change print syntax for
2292 Python 3 compatibility.
2293 Use byte string rather than character string in memory write test
2294 if Python 3.
2295 * gdb.python/py-pp-maint.py: Change class declarations to "new
2296 class" syntax.
2297 * gdb.python/py-prettyprint.py: Change iterator class to generator
2298 function for Python 3 compatibility.
2299 Make all classes "new style".
2300 Fix indentation issue and stray semicolon.
2301 * gdb.python/py-shared.expChange print syntax for Python 3
2302 compatibility.
2303 Define "long" if Python 3.
2304 * gdb.python/py-type.exp: Change print syntax for Python 3
2305 compatibility.
2306 Accept either int or long values for enum values.
2307 * gdb.python/py-value.exp: Change print syntax for Python 3
2308 compatibility.
2309 Skip "long" and "unicode" tests if Python 3.
2310 Accept either "type" or "class" in type checks.
2311 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2312 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2313
2314 2012-12-10 Tom Tromey <tromey@redhat.com>
2315
2316 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2317 (test): Add "two_cu" argument.
2318 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2319 for types; allow two CUs.
2320
2321 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2322
2323 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2324 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2325
2326 2012-12-08 Yao Qi <yao@codesourcery.com>
2327 Pedro Alves <palves@redhat.com>
2328
2329 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2330 '=breakpoint-created' when GDB merges the tracepoints of both
2331 sides.
2332
2333 2012-12-07 Tom Tromey <tromey@redhat.com>
2334
2335 * gdb.base/break1.c (enum some_enum, union some_union): New.
2336 (some_enum_global, some_union_global, some_value): New globals.
2337 * gdb.base/completion.exp: Add tag completion tests.
2338
2339 2012-12-07 Tom Tromey <tromey@redhat.com>
2340
2341 * gdb.base/completion.exp: Add tests for ptype and whatis
2342 completion.
2343
2344 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2345
2346 * gdb.base/stale-infcall.exp: Fix copyright line.
2347
2348 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2349
2350 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2351
2352 2012-12-06 Pedro Alves <palves@redhat.com>
2353 Tom Tromey <tromey@redhat.com>
2354
2355 * gdb.base/exprs.exp: Add tests for cast to void.
2356
2357 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2358
2359 * gdb.python/py-mi.exp: Correct expected results for attribute
2360 "dynamic" returned by -var-update.
2361 Add test case for correct handling of "diplayhint" for children
2362 of dynamic varobjs.
2363 * gdb.python/py-prettyprint.c (set_itme): New function.
2364 (bug_14741) New function.
2365 (main) Add call to bug_14741().
2366 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2367
2368 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2369
2370 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2371 ${binfile}.funcsyms list.
2372
2373 2012-12-04 Yao Qi <yao@codesourcery.com>
2374
2375 PR gdb/13443
2376 * gdb.trace/actions.exp: Make test messages unique.
2377
2378 2012-11-29 Tom Tromey <tromey@redhat.com>
2379
2380 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2381
2382 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2383
2384 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2385 * gdb.opencl/datatypes.exp: Likewise.
2386 * gdb.opencl/operators.exp: Likewise.
2387 * gdb.opencl/vec_comps.exp: Likewise.
2388
2389 2012-11-29 Jerome Guitton <guitton@adacore.com>
2390
2391 * gdb.ada/iwide: New testcase.
2392
2393 2012-11-29 Jerome Guitton <guitton@adacore.com>
2394
2395 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2396 ptype test.
2397
2398 2012-11-29 Jerome Guitton <guitton@adacore.com>
2399
2400 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2401 form {VARIANT_TYPE}ADDRESS.
2402
2403 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2404
2405 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2406 (func): New function.
2407 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2408 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2409 pointers to members with pointer-to-function type.
2410
2411 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2412 Tom Tromey <tromey@redhat.com>
2413
2414 * gdb.base/gnu-debugdata.exp: New file.
2415 * gdb.base/gnu-debugdata.c: New file.
2416 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2417 (gdb_unload): Return 0 on success.
2418
2419 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2420
2421 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2422
2423 2012-11-26 Joel Brobecker <brobecker@adacore.com>
2424
2425 * gdb.base/empty_exe.exp: New testcase.
2426
2427 2012-11-20 Mike Frysinger <vapier@gentoo.org>
2428
2429 * gdb.base/completion.exp: Add test for help aliases completion.
2430
2431 2012-11-20 Yao Qi <yao@codesourcery.com>
2432
2433 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2434 Don't test 'maint set show-debug-regs'.
2435 Use command 'set remotecache' instead of
2436 'set circular-trace-buffer'.
2437
2438 2012-11-16 Keith Seitz <keiths@redhat.com>
2439
2440 PR c++/13615
2441 * gdb.cp/baseenum.cc: New file.
2442 * gdb.cp/baseenum.exp: New file.
2443 * gdb.cp/derivation.cc (A): Add copyright.
2444 Add a typedef.
2445 (B): Use A::value_type instead of int. Change all references.
2446 (D): Use value_type instead of int. Change all references.
2447 (E): Likewise.
2448 (F); Likewise.
2449 (Z): New class.
2450 (ZZ): New class.
2451 (N, Base, Derived): New namespace and classes.
2452 (main): Add instances of Z and ZZ.
2453 Make sure all symbols from N are kept.
2454 * gdb.cp/derivation.exp: Update typedef changes in tests.
2455 Add tests for class typedefs both before and after starting
2456 the inferior.
2457 Add tests for searching for a typedef while stopped in a
2458 method.
2459
2460 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2461
2462 * gdb.mi/mi-var-create-rtti.c: New file.
2463 * gdb.mi/mi-var-create-rtti.exp: New file.
2464
2465 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2466
2467 * gdb.base/structs3.exp: Run to main before doing any tests.
2468
2469 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
2470
2471 * gdb.python/py-type.exp: Uniquify test names.
2472
2473 2012-11-14 Yao Qi <yao@codesourcery.com>
2474
2475 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2476 (thread_function) [DEBUG]: Call 'printf'.
2477 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2478 command line if 'DEBUG=1' is passed to test.
2479 Remove a pattern to match inferior's output.
2480
2481 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
2482
2483 * gdb.mi/mi-fill-memory.exp: New test.
2484
2485 2012-11-12 Tom Tromey <tromey@redhat.com>
2486
2487 * gdb.base/completion.exp: Update for "info type-printers".
2488 * gdb.python/py-typeprint.cc: New file.
2489 * gdb.python/py-typeprint.exp: New file.
2490 * gdb.python/py-typeprint.py: New file.
2491
2492 2012-11-12 Tom Tromey <tromey@redhat.com>
2493
2494 * gdb.base/call-sc.exp: Use "ptype/r".
2495 * gdb.base/volatile.exp: Don't expect "int".
2496 * gdb.cp/ptype-flags.cc: New file.
2497 * gdb.cp/ptype-flags.exp: New file.
2498 * gdb.cp/templates.exp: Use ptype/r.
2499 (test_ptype_of_templates, test_template_typedef): Likewise.
2500 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2501 argument. Handle template names and template parameters.
2502 * gdb.mi/mi-var-cmd.exp: Accept "long".
2503 * gdb.mi/mi-var-child.exp: Accept "long".
2504 * gdb.mi/mi-var-display.exp: Accept "long".
2505 * gdb.mi/mi2-var-child.exp: Accept "long".
2506
2507 2012-11-12 Tom Tromey <tromey@redhat.com>
2508
2509 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2510 "ptype" from calls to cp_test_ptype_class.
2511 (test_enums): Likewise.
2512 * gdb.cp/derivation.exp: Remove "ptype" from calls to
2513 cp_test_ptype_class.
2514 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2515 calls to cp_test_ptype_class.
2516 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2517 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2518 from calls to cp_test_ptype_class.
2519 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2520 command here. Change "in_command" argument to "in_exp".
2521
2522 2012-11-10 Keith Seitz <keiths@redhat.com>
2523
2524 PR gdb/14288
2525 * gdb.base/printcmds.c: Add invalid_XXX globals
2526 for repeated byte tests.
2527 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2528 * gdb.base/wchar.c (main): Add and construct a wchar_t
2529 array with repeated characters.
2530 * gdb.base/wchar.exp: Add repeated character tests.
2531
2532 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
2533
2534 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2535 disassembly output.
2536
2537 2012-11-09 Pedro Alves <palves@redhat.com>
2538
2539 PR gdb/14306
2540
2541 * gdb.multi/multi-arch-exec.c: New file.
2542 * gdb.multi/multi-arch-exec.exp: New file.
2543
2544 2012-11-09 Yao Qi <yao@codesourcery.com>
2545
2546 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2547 (top level): Call it.
2548
2549 2012-11-09 Yao Qi <yao@codesourcery.com>
2550
2551 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2552 typo.
2553
2554 2012-11-09 Pedro Alves <palves@redhat.com>
2555
2556 * gdb.multi/multi-arch.exp: New.
2557
2558 2012-11-08 Tom Tromey <tromey@redhat.com>
2559
2560 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
2561 core files, if possible.
2562 * gdb.base/siginfo-thread.c: New file
2563 * gdb.base/siginfo-thread.exp: New file
2564
2565 2012-11-08 Tom Tromey <tromey@redhat.com>
2566
2567 * gdb.base/comprdebug.exp: New file.
2568
2569 2012-11-06 Pedro Alves <palves@redhat.com>
2570
2571 PR gdb/14810
2572
2573 * gdb.base/disabled-location.c: New file.
2574 * gdb.base/disabled-location.exp: New file.
2575
2576 2012-11-06 Tom Tromey <tromey@redhat.com>
2577
2578 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2579 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2580 gdb_gcore_cmd.
2581 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2582 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2583 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2584 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2585 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2586 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2587 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2588 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2589 * lib/gdb.exp (gdb_gcore_cmd): New proc.
2590
2591 2012-11-05 Pedro Alves <palves@redhat.com>
2592
2593 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2594 procedure.
2595 (do_vfork_and_follow_child_tests_exec)
2596 (do_vfork_and_follow_child_tests_exit): Call it.
2597
2598 2012-11-05 Pedro Alves <palves@redhat.com>
2599
2600 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2601 fails.
2602
2603 2012-11-03 Yao Qi <yao@codesourcery.com>
2604
2605 Fix PR gdb/14617.
2606 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2607 Remove setup_kfail, and update test.
2608
2609 2012-11-02 Tom Tromey <tromey@redhat.com>
2610
2611 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
2612 test.
2613
2614 2012-11-02 Pedro Alves <palves@redhat.com>
2615
2616 PR gdb/14766
2617
2618 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
2619 setup_kfail.
2620 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
2621 get registers".
2622
2623 2012-11-02 Pedro Alves <palves@redhat.com>
2624
2625 * gdb.base/foll-vfork-exit.c: New file.
2626 * gdb.base/foll-vfork.exp (top level): New file-describing
2627 comment.
2628 (vfork_child_follow_to_exit): New procedure.
2629 (tcatch_vfork_then_child_follow): Rename as ...
2630 (tcatch_vfork_then_child_follow_exec): ... this.
2631 (tcatch_vfork_then_child_follow_exit): New procedure.
2632 (do_vfork_and_follow_parent_tests): New procedure, factored out
2633 from do_vfork_and_exec_tests.
2634 (do_vfork_and_follow_child_tests_exec): Ditto.
2635 (do_vfork_and_exec_tests): Delete.
2636 (do_vfork_and_follow_child_tests_exit): New procedure.
2637 (top level): Run tests with both the program that has the vfork
2638 child execing, and the program has the vfork child exiting.
2639
2640 2012-11-02 Pedro Alves <palves@redhat.com>
2641
2642 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
2643 (check_vfork_catchpoints, vfork_parent_follow_through_step)
2644 (vfork_parent_follow_to_bp): Call it.
2645 (kill_child): Delete.
2646 (vfork_and_exec_child_follow_to_main_bp)
2647 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
2648 longer call kill_child.
2649 (tcatch_vfork_then_parent_follow): Call setup_gdb.
2650 (do_vfork_and_exec_tests): Don't runto_main before calling each
2651 test procedure.
2652 (top level): Don't clean restart and set verbose before running
2653 each test procedure.
2654
2655 2012-11-02 Pedro Alves <palves@redhat.com>
2656
2657 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
2658 (vfork_parent_follow_to_bp)
2659 (vfork_and_exec_child_follow_to_main_bp)
2660 (vfork_and_exec_child_follow_through_step)
2661 (tcatch_vfork_then_parent_follow)
2662 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2663 Use with_test_prefix.
2664
2665 2012-11-02 Pedro Alves <palves@redhat.com>
2666
2667 * gdb.base/foll-vfork.c: Add copyright header.
2668 * gdb.base/vforked-prog.c: Add copyright header.
2669
2670 2012-11-02 Pedro Alves <palves@redhat.com>
2671
2672 * gdb.base/foll-vfork.exp
2673 (vfork_and_exec_child_follow_through_step): Don't skip on
2674 non-HP/UX targets. Expect the next to only step one line on
2675 non-HP/UX targets, rather than stopping only after the exec.
2676
2677 2012-11-02 Pedro Alves <palves@redhat.com>
2678
2679 Don't hard code line numbers.
2680
2681 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
2682 Expect text from the sources instead of a line number.
2683 (vfork_parent_follow_to_bp)
2684 (vfork_and_exec_child_follow_to_main_bp)
2685 (vfork_and_exec_child_follow_through_step)
2686 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2687 Use gdb_get_line_number.
2688
2689 2012-11-02 Pedro Alves <palves@redhat.com>
2690
2691 Modernize.
2692
2693 * gdb.base/foll-vfork.exp: Use standard_testfile and
2694 build_executable. Pass descriptive string to untested.
2695 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
2696 (vfork_and_exec_child_follow_to_main_bp)
2697 (vfork_and_exec_child_follow_through_step)
2698 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
2699 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
2700 of send_gdb/gdb_expect.
2701
2702 (kill_child): New procedure.
2703 (vfork_and_exec_child_follow_to_main_bp)
2704 (vfork_and_exec_child_follow_through_step): Use it.
2705
2706 2012-11-02 Yao Qi <yao@codesourcery.com>
2707
2708 * gdb.base/setvar.exp: Test setting nested struct.
2709 * gdb.base/setvar.c (v_struct3): New.
2710
2711 2012-11-01 Doug Evans <dje@google.com>
2712
2713 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
2714 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
2715 use them.
2716
2717 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
2718
2719 PR cli/14772
2720 * gdb.base/gnu_vector.c (union_with_vector_1)
2721 (struct_with_vector_1): Add new struct and union for testing
2722 ptype.
2723 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
2724 structs / unions containing vectors.
2725
2726 2012-10-25 Yao Qi <yao@codesourcery.com>
2727
2728 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
2729 'setup_kfail' instead of 'setup_kfail_for_target'.
2730 * gdb.base/varargs.exp: Likewise.
2731 * lib/gdb.exp (setup_kfail_for_target): Remove.
2732
2733 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
2734
2735 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
2736
2737 2012-10-25 Mark Kettenis <kettenis@gnu.org>
2738
2739 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
2740
2741 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2742
2743 * gdb.ada/set_wstr: New testcase.
2744
2745 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2746
2747 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
2748
2749 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2750
2751 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
2752
2753 2012-10-24 Mark Kettenis <kettenis@gnu.org>
2754
2755 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
2756
2757 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2758
2759 * gdb.base/callfuncs.exp (do_function_calls): Fix
2760 setup_kfail_for_target for -m32 mode.
2761
2762 2012-10-23 Mark Kettenis <kettenis@gnu.org>
2763
2764 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
2765 are now fixed.
2766
2767 2012-10-23 Yao Qi <yao@codesourcery.com>
2768
2769 * gdb.base/info-os.exp: Resume the inferior until it exits.
2770
2771 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
2772
2773 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
2774 * gdb.base/print-file-var.exp: Likewise.
2775 * gdb.base/type-opaque.exp: Likewise.
2776
2777 2012-10-17 Yao Qi <yao@codesourcery.com>
2778
2779 * gdb.mi/mi-memory-changed.exp: New.
2780
2781 2012-10-16 Yao Qi <yao@codesourcery.com>
2782
2783 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
2784 returns true.
2785 Call gdb_load_shlibs.
2786 * gdb.reverse/solib-reverse.exp: Likewise.
2787
2788 2012-10-15 Keith Seitz <keiths@redhat.com>
2789
2790 * lib/cp-support.exp (cp_test_ptype_class): Add support
2791 for class typedefs.
2792
2793 * gdb.cp/derivation.exp: Add tests for g_instance.
2794
2795 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2796
2797 Fix entry values resolving in inlined frames.
2798 * gdb.arch/amd64-entry-value-inline.S: New file.
2799 * gdb.arch/amd64-entry-value-inline.c: New file.
2800 * gdb.arch/amd64-entry-value-inline.exp: New file.
2801
2802 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2803 Doug Evans <dje@google.com>
2804
2805 Fix recent gdb_breakpoint regression.
2806 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
2807 braces from the parameter.
2808 * gdb.java/jprint.exp: Likewise.
2809
2810 2012-10-15 Doug Evans <dje@google.com>
2811
2812 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
2813
2814 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
2815
2816 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2817
2818 2012-10-15 Tom Tromey <tromey@redhat.com>
2819
2820 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2821
2822 2012-10-15 Tom Tromey <tromey@redhat.com>
2823
2824 * gdb.python/py-symbol.exp: Test symbol destructor.
2825
2826 2012-10-14 Yao Qi <yao@codesourcery.com>
2827
2828 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
2829 * gdb.mi/mi-cli.exp: New.
2830
2831 * gdb.mi/mi2-basics.exp: Remove.
2832 * gdb.mi/mi2-break.exp: Remove.
2833 * gdb.mi/mi2-console.exp: Remove.
2834 * gdb.mi/mi2-disassemble.exp: Remove.
2835 * gdb.mi/mi2-eval.exp: Remove.
2836 * gdb.mi/mi2-file.exp: Remove.
2837 * gdb.mi/mi2-hack-cli.exp: Remove.
2838 * gdb.mi/mi2-pthreads.exp: Remove.
2839 * gdb.mi/mi2-read-memory.exp: Remove.
2840 * gdb.mi/mi2-regs.exp: Remove.
2841 * gdb.mi/mi2-return.exp: Remove.
2842 * gdb.mi/mi2-simplerun.exp: Remove.
2843 * gdb.mi/mi2-stack.exp: Remove.
2844 * gdb.mi/mi2-stepi.exp: Remove.
2845 * gdb.mi/mi2-syn-frame.exp: Remove.
2846 * gdb.mi/mi2-until.exp: Remove.
2847 * gdb.mi/mi2-watch.exp: Remove.
2848 * gdb.mi/mi2-var-block.exp: Remove.
2849 * gdb.mi/mi2-var-cmd.exp: Remove.
2850 * gdb.mi/mi2-var-display.exp: Remove.
2851
2852 2012-10-12 Yao Qi <yao@codesourcery.com>
2853
2854 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2855 trail '.*' on matching patterns.
2856
2857 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2858
2859 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2860 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2861 * gdb.arch/i386-disp-step.exp: Likewise.
2862 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2863 * gdb.arch/i386-prologue.exp: Likewise.
2864 * gdb.arch/i386-size-overlap.exp: Likewise.
2865 * gdb.arch/i386-size.exp: Likewise.
2866 * gdb.arch/i386-unwind.exp: Likewise.
2867
2868 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2869
2870 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2871 * gdb.arch/i386-word.exp: Likewise.
2872
2873 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2874
2875 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2876 is_ilp32_target to set nr_regs.
2877 * gdb.arch/i386-sse.exp: Likewise.
2878
2879 2012-10-11 Doug Evans <dje@google.com>
2880
2881 PR breakpoints/14643.
2882 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2883 * gdb.linespec/thread.c: New file.
2884 * gdb.linespec/thread.exp: New file.
2885
2886 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2887 Recognize "message" -> print pass and fail. Add eof case.
2888 (runto): Recognize message, no-message. Print pass/fail if requested,
2889 with same treatment as gdb_breakpoint.
2890 (runto_main): Pass no-message to runto.
2891 (gdb_internal_error_resync): Add log message.
2892 (gdb_file_cmd): Tweak internal error fail text for consistency.
2893
2894 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2895
2896 Fix crash during stepping on ppc32.
2897 * gdb.base/step-symless.c: New file.
2898 * gdb.base/step-symless.exp: New file.
2899
2900 2012-10-03 Doug Evans <dje@google.com>
2901
2902 PR symtab/14601
2903 * gdb.cp/using-crash.exp: New file.
2904 * gdb.cp/using-crash.cc: New file.
2905
2906 2012-10-02 Doug Evans <dje@google.com>
2907
2908 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2909 more consistent.
2910 (runto,gdb_debug_format): Ditto.
2911 (gdb_file_cmd): Watch for eof in nested gdb_expect.
2912 Clean up logging and error messages.
2913
2914 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
2915
2916 Test find command on unmapped memory.
2917 * gdb.base/find-unmapped.c: New file.
2918 * gdb.base/find-unmapped.exp: New file.
2919
2920 2012-09-29 Yao Qi <yao@codesourcery.com>
2921
2922 * gdb.trace/mi-tracepoint-changed.exp: New.
2923 * gdb.mi/mi-breakpoint-changed.exp: New.
2924 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2925 * gdb.mi/pendshr2.c: New.
2926
2927 2012-09-28 Yao Qi <yao@codesourcery.com>
2928
2929 * gdb.mi/pr11022.exp: New.
2930 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
2931
2932 2012-09-27 Tom Tromey <tromey@redhat.com>
2933
2934 * gdb.cp/derivation.exp: Add regression test.
2935 * gdb.cp/derivation.cc (class V_base, class V_inter, class
2936 V_derived): New.
2937 (vderived): New global.
2938
2939 2012-09-26 Tom Tromey <tromey@redhat.com>
2940
2941 * gdb.dwarf2/dw2-common-block.S: New file.
2942 * gdb.dwarf2/dw2-common-block.exp: New file.
2943
2944 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2945
2946 * gdb.fortran/common-block.exp: New file.
2947 * gdb.fortran/common-block.f90: New file.
2948
2949 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
2950
2951 * gdb.base/duplicate-bp.c: New file.
2952 * gdb.base/duplicate-bp.exp: New file.
2953
2954 2012-09-26 Yao Qi <yao@codesourcery.com>
2955
2956 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
2957
2958 Revert:
2959 2012-09-21 Yao Qi <yao@codesourcery.com>
2960
2961 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2962
2963 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2964
2965 * gdb.base/longest-types.c: New test case.
2966 * gdb.base/longest-types.exp: New test case.
2967
2968 2012-09-25 Yao Qi <yao@codesourcery.com>
2969
2970 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2971
2972 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2973
2974 Fix internal error on canonicalization of clang types.
2975 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2976 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2977 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2978
2979 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2980
2981 Fix disassemble without parameters in tailcall frame.
2982 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2983
2984 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
2985
2986 * gdb.dwarf2/dw2-op-out-param.S: New file.
2987 * gdb.dwarf2/dw2-op-out-param.exp: New file.
2988
2989 2012-09-21 Yao Qi <yao@codesourcery.com>
2990
2991 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2992
2993 2012-09-21 Yao Qi <yao@codesourcery.com>
2994
2995 * gdb.mi/mi-cli.exp: Remove.
2996 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2997
2998 2012-09-21 Yao Qi <yao@codesourcery.com>
2999
3000 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
3001 "=record-started" notification.
3002
3003 2012-09-21 Yao Qi <yao@codesourcery.com>
3004
3005 * gdb.mi/mi-record-changed.exp: New.
3006 * gdb.mi/mi-reverse.exp: Adjust expected output.
3007
3008 2012-09-20 Tom Tromey <tromey@redhat.com>
3009
3010 * gdb.python/python.exp: Test atexit.register.
3011
3012 2012-09-20 Doug Evans <dje@google.com>
3013
3014 * boards/dwarf4-gdb-index.exp: New file.
3015
3016 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
3017 while running the tests.
3018
3019 2012-09-18 Joel Brobecker <brobecker@adacore.com>
3020
3021 * gdb.ada/bp_reset: New testcase.
3022
3023 2012-09-18 Yao Qi <yao@codesourcery.com>
3024
3025 * gdb.trace/mi-tsv-changed.exp: New.
3026
3027 2012-09-18 Yao Qi <yao@codesourcery.com>
3028
3029 * gdb.trace/mi-traceframe-changed.exp: New.
3030
3031 2012-09-17 Yao Qi <yao@codesourcery.com>
3032
3033 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
3034 when it is less than 0.
3035
3036 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3037
3038 PR 14119
3039 * gdb.arch/amd64-tailcall-ret.S: New file.
3040 * gdb.arch/amd64-tailcall-ret.c: New file.
3041 * gdb.arch/amd64-tailcall-ret.exp: New file.
3042 * gdb.reverse/amd64-tailcall-reverse.S: New file.
3043 * gdb.reverse/amd64-tailcall-reverse.c: New file.
3044 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
3045
3046 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3047
3048 PR 14548
3049 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
3050 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
3051 * gdb.reverse/singlejmp-reverse.S: New file.
3052 * gdb.reverse/singlejmp-reverse.c: New file.
3053 * gdb.reverse/singlejmp-reverse.exp: New file.
3054
3055 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3056
3057 Fix compatibility with old GCC (~4.1).
3058 * gdb.cp/converts.cc (my_enum_var): New variable.
3059
3060 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
3061
3062 * gdb.xml/tdesc-regs.exp: Update expected output for new
3063 vector_size syntax of vector types.
3064
3065 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
3066
3067 Refactor Python "gdb" module into a proper Python package, by
3068 introducing a new "_gdb" module for code implemented in C, and
3069 using reload/__import__ instead of exec.
3070 * gdb.python/python.exp (Test stderr location): Update module
3071 location of GDB-specific sys.stderr.
3072 (Test stdout location): Ditto for sys.stdout.
3073
3074 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3075
3076 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3077
3078 2012-09-12 Keith Seitz <keiths@redhat.com>
3079
3080 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3081 conversion statement.
3082
3083 2012-09-12 Doug Evans <dje@google.com>
3084
3085 * gdb.base/help.exp: Remove testing of individual command help text,
3086 too much of a maintenance burden. Instead, test the functionality
3087 of "help" itself.
3088
3089 2012-09-11 Doug Evans <dje@google.com>
3090
3091 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3092 breakpoint.
3093
3094 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3095 * gdb.dwarf2/fission-reread.S: Ditto.
3096 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3097 * gdb.dwarf2/fission-reread.exp: Ditto.
3098
3099 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
3100
3101 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3102
3103 2012-09-10 Joel Brobecker <brobecker@adacore.com>
3104
3105 * gdb.ada/optim_drec: New testcase.
3106
3107 2012-09-10 Doug Evans <dje@google.com>
3108
3109 * boards/fission.exp: Explicitly mark "board" as not remote.
3110
3111 2012-09-10 Keith Seitz <keiths@redhat.com>
3112
3113 PR gdb/13483
3114 * gdb.cp/converts.cc (A::A): Add ctor.
3115 (A::member_): Add member.
3116 (enum my_enum): New enumeration.
3117 (main): Add calls to foo1_7 with various
3118 permitted arguments.
3119 * gdb.cp/converts.exp: Add tests for boolean
3120 conversions permitted by the standard.
3121
3122 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3123
3124 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3125 avoid spurious results due to ~/.gdbinit.
3126 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3127 $INTERNAL_GDBFLAGS in run command.
3128 * gdb.gdb/observer.exp (setup_test): Ditto.
3129 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3130 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3131
3132 2012-09-06 Doug Evans <dje@google.com>
3133
3134 * boards/fission.exp: New file.
3135
3136 * gdb.python/py-value.exp: Use clean_restart.
3137
3138 2012-09-05 Doug Evans <dje@google.com>
3139
3140 * gdb.base/info-macros.c: Fix whitespace.
3141
3142 2012-08-28 Pedro Alves <palves@redhat.com>
3143
3144 PR gdb/14428
3145
3146 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3147
3148 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3149
3150 * gdb.base/break-caller-line.c: New file.
3151 * gdb.base/break-caller-line.exp: New file.
3152
3153 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3154
3155 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3156 * gdb.arch/i386-cfi-notcurrent.S: New file.
3157 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3158
3159 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
3160 Yao Qi <yao@codesourcery.com>
3161 Pedro Alves <palves@redhat.com>
3162
3163 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3164 New procedures.
3165 (top level): Add overlap checking tests.
3166
3167 2012-08-24 Tom Tromey <tromey@redhat.com>
3168
3169 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3170 gdb_test_multiple fails for other reasons.
3171
3172 2012-08-24 Yao Qi <yao@codesourcery.com>
3173
3174 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3175
3176 2012-08-23 Pedro Alves <palves@redhat.com>
3177
3178 * gdb.base/help.exp: Adjust to "handle" help text change.
3179
3180 2012-08-23 Yao Qi <yao@codesourcery.com>
3181
3182 * gdb.trace/disconnected-tracing.c (start, end): New.
3183 (main): Call start and end.
3184 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3185 existing tests into this proc.
3186 (disconnected_tfind): New.
3187
3188 2012-08-23 Yao Qi <yao@codesourcery.com>
3189
3190 * boards/native-gdbserver.exp (${board}_upload): New.
3191 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3192 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3193 Execute tfile on remote target.
3194 Copy trace file from target to host.
3195
3196 2012-08-22 Joseph Myers <joseph@codesourcery.com>
3197
3198 * gdb.arch/thumb-bx-pc.S: New file.
3199 * gdb.arch/thumb-bx-pc.exp: New file.
3200
3201 2012-08-22 Tom Tromey <tromey@redhat.com>
3202
3203 * gdb.base/maint.exp: Update.
3204
3205 2012-08-22 Tom Tromey <tromey@redhat.com>
3206
3207 * lib/gdb.exp (skip_unwinder_tests): New proc.
3208 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3209 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3210
3211 2012-08-21 Tom Tromey <tromey@redhat.com>
3212
3213 * gdb.hp/gdb.aCC/exception.exp: Remove.
3214
3215 012-08-19 Andrew Pinski <apinski@cavium.com>
3216
3217 * gdb.arch/mips-octeon-bbit.c: New file.
3218 * gdb.arch/mips-octeon-bbit.exp: New Test.
3219
3220 012-08-19 Keith Seitz <keiths@redhat.com>
3221
3222 PR c++/14365
3223 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3224 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3225
3226 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3227
3228 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3229 verbose -log by more specific untested call.
3230
3231 2012-08-18 Yao Qi <yao@codesourcery.com>
3232
3233 * gdb.trace/tfind.exp: Move tests on various command help before
3234 checking target supports trace.
3235 Fix the expected output of 'help tfind end'.
3236
3237 2012-08-17 Keith Seitz <keiths@redhat.com>
3238
3239 PR c++/13356
3240 * gdb.base/default.exp: Update all "check type" tests.
3241 * gdb.base/help.exp: Likewise.
3242 * gdb.base/setshow.exp: Likewise.
3243 * gdb.cp/converts.cc (foo1_type_check): New function.
3244 (foo2_type_check): New function.
3245 (foo3_type_check): New function.
3246 (main): Call new functions.
3247 * converts.exp: Add tests for integer-to-pointer conversions
3248 with/without strict type-checking.
3249
3250 2012-08-16 Mike Frysinger <vapier@gentoo.org>
3251
3252 * gdb.base/help.exp: Update expected output.
3253
3254 2012-08-16 Joel Brobecker <brobecker@adacore.com>
3255
3256 * gdb.ada/rdv_wait: New testcase.
3257
3258 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3259
3260 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3261
3262 2012-08-13 Doug Evans <dje@google.com>
3263
3264 * gdb.base/help.exp: Update expected output.
3265 * gdb.base/default.exp: Update expected output of "show convenience".
3266
3267 2012-08-10 Doug Evans <dje@google.com>
3268
3269 * gdb.python/py-strfns.c: New file.
3270 * gdb.python/py-strfns.exp: New file.
3271 * gdb.python/py-type.exp (test_fields): Add vector tests.
3272
3273 2012-08-10 Mike Frysinger <vapier@gentoo.org>
3274
3275 PR cli/10436:
3276 * gdb.base/completion.exp: Add tests for handle completion.
3277
3278 2012-08-09 Yao Qi <yao@codesourcery.com>
3279
3280 * gdb.mi/mi-cmd-param-changed.exp: New.
3281 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3282 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3283 * gdb.mi/mi2-prompt.exp: Likewise.
3284
3285 2012-08-08 Doug Evans <dje@google.com>
3286
3287 * gdb.base/debug-expr.c: New file.
3288 * gdb.base/debug-expr.exp: New file.
3289 * gdb.base/exprs.exp: Test {type} casts.
3290 * gdb.cp/debug-expr.exp: New file.
3291
3292 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3293
3294 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3295 global variable loop, not a 'break'. Add loop count limit to 100.
3296 Add new fail case for terminated vgdb.
3297
3298 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3299 Jean-Marc Saffroy <saffroy@gmail.com>
3300
3301 PR 11804
3302 * gdb.base/gcore-relro.exp: New file.
3303 * gdb.base/gcore-relro-main.c: New file.
3304 * gdb.base/gcore-relro-lib.c: New file.
3305
3306 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3307
3308 Do not false FAIL with old GCCs.
3309 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3310 GCC < 4.5 in $no_hw mode.
3311
3312 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3313
3314 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3315
3316 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3317
3318 * gdb.base/list.exp (test_only_end): New function.
3319 Call it.
3320
3321 2012-08-06 Tom Tromey <tromey@redhat.com>
3322
3323 * gdb.python/py-mi.exp: Add test for printer whose children
3324 are a list.
3325 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3326 (main): New variable children_as_list.
3327 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3328 New.
3329 (register_pretty_printers): Register new printer.
3330
3331 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3332
3333 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3334 symbols. Abort if vgdb remote connection is closed.
3335
3336 2012-08-02 Doug Evans <dje@google.com>
3337
3338 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3339
3340 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3341
3342 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3343 s390x, PowerPC 64 and m68k-linux.
3344
3345 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3346
3347 * gdb.base/annota1.exp: Accept no frames-invalid notification
3348 when starting up the program.
3349 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3350 show a symbolic value as well.
3351 * gdb.server/server-exec-info.exp: Skip test when skipping
3352 gdbserver test and/or when skipping shared library tests.
3353 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3354 avoid name conflicts with other tests.
3355
3356 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3357
3358 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3359 Fix wrong output on big-endian systems.
3360 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3361 4-byte pointer types on 64-bit s390x.
3362
3363 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3364
3365 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3366 marker comment at the beginning (after intialization).
3367 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3368 breakpoint on marker comment instead of function begin.
3369 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3370 PowerPC.
3371 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3372 or 64-bit PowerPC.
3373 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3374 gdb,no_hardware_watchpoints flag is set.
3375 (initialize): Remove now redundant can-use-hw-watchpoints change.
3376
3377 2012-08-02 Yao Qi <yao@codesourcery.com>
3378 Pedro Alves <palves@redhat.com>
3379
3380 * boards/local-remote-host.exp: New.
3381
3382 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3383
3384 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3385 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3386 * gdb.base/print-file-var.exp: Likewise.
3387 * gdb.server/solib-list.exp: Skip on remote targets.
3388
3389 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3390
3391 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3392 watchpoints on ARM. When expecting software watchpoints, tolerate
3393 (remote) targets that report unsupported hardware watchpoint only
3394 at continue time.
3395 (test_wide_location_2): Likewise.
3396
3397 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3398
3399 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3400 valgrind versions.
3401
3402 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3403
3404 * gdb.base/valgrind-infcall.c: New file.
3405 * gdb.base/valgrind-infcall.exp: New file.
3406
3407 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3408
3409 2012-07-30 Keith Seitz <keiths@redhat.com>
3410
3411 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3412 linespecs.
3413
3414 2012-07-30 Doug Evans <dje@google.com>
3415
3416 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3417 * gdb.dwarf2/pr13961.S: Ditto.
3418
3419 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3420
3421 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
3422
3423 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3424 change its format immediately after reloading the binary.
3425
3426 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3427
3428 Fix testsuite regression after --use-deprecated-index-sections removal.
3429 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3430 string.
3431 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3432
3433 2012-07-27 Yao Qi <yao@codesourcery.com>
3434
3435 KFAIL for PR remote/14161.
3436 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3437 Cleanup socket files.
3438 (strace_info_marker): Detach inferior.
3439
3440 2012-07-26 Tom Tromey <tromey@redhat.com>
3441
3442 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
3443
3444 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3445
3446 * gdb.python/py-inferior.c (thread): New function.
3447 (check_threads): New function.
3448 (test_threads): New function.
3449 * gdb.python/py-inferior.exp: Added test.
3450 Replaced runto with continue to breakpoint.
3451
3452 2012-07-26 Tom Tromey <tromey@redhat.com>
3453
3454 * lib/ada.exp (standard_ada_testfile): New proc.
3455 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3456 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3457 * gdb.ada/array_return.exp: Use standard_ada_testfile.
3458 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3459 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3460 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3461 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3462 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3463 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3464 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3465 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3466 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3467 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3468 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3469 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3470 * gdb.ada/char_param.exp: Use standard_ada_testfile.
3471 * gdb.ada/complete.exp: Use standard_ada_testfile.
3472 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3473 standard_output_file.
3474 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3475 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3476 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3477 standard_output_file.
3478 * gdb.ada/exprs.exp: Use standard_ada_testfile.
3479 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3480 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3481 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3482 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3483 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3484 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3485 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3486 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3487 * gdb.ada/homonym.exp: Use standard_ada_testfile.
3488 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3489 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3490 * gdb.ada/interface.exp: Use standard_ada_testfile.
3491 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3492 standard_output_file
3493 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3494 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3495 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3496 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3497 * gdb.ada/nested.exp: Use standard_ada_testfile.
3498 * gdb.ada/null_array.exp: Use standard_ada_testfile.
3499 * gdb.ada/null_record.exp: Use standard_ada_testfile.
3500 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3501 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3502 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3503 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3504 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3505 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3506 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3507 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3508 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3509 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3510 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3511 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3512 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3513 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3514 * gdb.ada/start.exp: Use standard_ada_testfile.
3515 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3516 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3517 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3518 * gdb.ada/tagged.exp: Use standard_ada_testfile.
3519 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3520 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3521 * gdb.ada/tasks.exp: Use standard_ada_testfile.
3522 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3523 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3524 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3525 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3526 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3527 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3528 * gdb.ada/widewide.exp: Use standard_ada_testfile.
3529
3530 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3531
3532 Fix testsuite regression after --use-deprecated-index-sections removal.
3533 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3534
3535 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3536
3537 Fix compatibility with Tcl before 7.5.
3538 * lib/future.exp (lreverse): New function if it does not exist.
3539
3540 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
3541
3542 * gdb.mi/mi-pending.c: New method to set a second pending
3543 breakpoint.
3544 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3545 condition.
3546
3547 2012-07-20 Pedro Alves <palves@redhat.com>
3548
3549 PR threads/11692
3550 PR gdb/12203
3551
3552 * gdb.threads/create-fail.c: New file.
3553 * gdb.threads/create-fail.exp: New file.
3554
3555 2012-07-19 Pedro Alves <palves@redhat.com>
3556
3557 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3558 * config/vx.exp (gdb_start): Likewise.
3559 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3560 * gdb.base/setvar.exp (test_set): Likewise.
3561 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3562 * gdb.reverse/sigall-precsave.exp: Likewise.
3563 * gdb.reverse/sigall-reverse.exp: Likewise.
3564
3565 2012-07-19 Pedro Alves <palves@redhat.com>
3566
3567 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3568 handler before recording.
3569
3570 2012-07-19 Tom Tromey <tromey@redhat.com>
3571
3572 * gdb.cp/casts.exp: Add tests for typeof and decltype.
3573 * gdb.cp/casts.cc (decltype): New function.
3574 (main): Use it.
3575
3576 2012-07-19 Pedro Alves <palves@redhat.com>
3577
3578 * gdb.base/sigall.exp (signals): New list.
3579 <top level>: Loop over signals in the $signals list instead of
3580 calling a test function once per signal.
3581 * gdb.reverse/sigall-precsave.exp (signals): New list.
3582 <top level>: Loop over signals in the $signals list instead of
3583 calling a test function once per signal.
3584 * gdb.reverse/sigall-reverse.exp (signals): New list.
3585 <top level>: Loop over signals in the $signals list instead of
3586 calling a test function once per signal.
3587
3588 2012-07-19 Yao Qi <yao@codesourcery.com>
3589
3590 * gdb.base/setshow.exp: Test 'set args ~'.
3591
3592 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3593
3594 * gdb.base/store.exp (check_set): Import gdb_prompt.
3595 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3596 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3597
3598 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3599
3600 PR 11914
3601 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3602 (main): Call eval_sub.
3603 * gdb.python/py-prettyprint.exp:
3604 (python execfile ('py-prettyprint.py')): Move it earlier.
3605 New breakpoint for eval-break.
3606 (continue to breakpoint: eval-break, info locals): New test.
3607 (python execfile ('py-prettyprint.py')): Move it from here.
3608 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3609 (register_pretty_printers): Register pp_eval_type.
3610
3611 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3612
3613 Fix a testcase regression by me.
3614 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
3615 DW_FORM_data4.
3616
3617 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3618 Doug Evans <dje@google.com>
3619
3620 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
3621 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
3622
3623 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3624
3625 Fix gdbserver run regression.
3626 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
3627
3628 2012-07-12 Tom Tromey <tromey@redhat.com>
3629
3630 * lib/gdb.exp (standard_testfile): Don't declare objdir.
3631 (clean_restart): Likewise.
3632 (core_find): Use standard_output_file.
3633
3634 2012-07-12 Tom Tromey <tromey@redhat.com>
3635
3636 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
3637 * gdb.dwarf2/dw2-anonymous-func.exp: Use
3638 prepare_for_testing_full.
3639 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
3640 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
3641 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
3642 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
3643 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
3644 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
3645 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
3646 prepare_for_testing_full.
3647 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
3648 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
3649 prepare_for_testing_full.
3650 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
3651 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
3652 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
3653
3654 2012-07-12 Tom Tromey <tromey@redhat.com>
3655
3656 * lib/gdb.exp (build_executable_from_specs): New proc, from
3657 build_executable.
3658 (build_executable): Use it.
3659 (prepare_for_testing_full): New proc.
3660
3661 2012-07-11 Tom Tromey <tromey@redhat.com>
3662
3663 * gdb.reverse/break-precsave.exp: Use standard_output_file.
3664 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
3665 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
3666 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
3667 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
3668 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
3669 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
3670 * gdb.reverse/step-precsave.exp: Use standard_output_file.
3671 * gdb.reverse/until-precsave.exp: Use standard_output_file.
3672 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
3673
3674 2012-07-10 Tom Tromey <tromey@redhat.com>
3675
3676 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
3677 standard_output_file.
3678 * gdb.mi/gdb2549.exp: Use standard_testfile.
3679 * gdb.mi/gdb669.exp: Use standard_testfile.
3680 * gdb.mi/gdb701.exp: Use standard_testfile.
3681 * gdb.mi/gdb792.exp: Use standard_testfile.
3682 * gdb.mi/mi-async.exp: Use standard_testfile.
3683 * gdb.mi/mi-basics.exp: Use standard_testfile.
3684 * gdb.mi/mi-break.exp: Use standard_testfile.
3685 * gdb.mi/mi-cli.exp: Use standard_testfile.
3686 * gdb.mi/mi-console.exp: Use standard_testfile.
3687 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
3688 * gdb.mi/mi-eval.exp: Use standard_testfile.
3689 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
3690 * gdb.mi/mi-file.exp: Use standard_testfile.
3691 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
3692 * gdb.mi/mi-logging.exp: Use standard_testfile.
3693 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
3694 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
3695 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
3696 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
3697 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
3698 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
3699 * gdb.mi/mi-pending.exp: Use standard_testfile,
3700 standard_output_file.
3701 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
3702 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
3703 * gdb.mi/mi-regs.exp: Use standard_testfile.
3704 * gdb.mi/mi-return.exp: Use standard_testfile.
3705 * gdb.mi/mi-reverse.exp: Use standard_testfile.
3706 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
3707 * gdb.mi/mi-solib.exp: Use standard_testfile,
3708 standard_output_file.
3709 * gdb.mi/mi-stack.exp: Use standard_testfile.
3710 * gdb.mi/mi-stepi.exp: Use standard_testfile.
3711 * gdb.mi/mi-stepn.exp: Use standard_testfile.
3712 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
3713 * gdb.mi/mi-until.exp: Use standard_testfile.
3714 * gdb.mi/mi-var-block.exp: Use standard_testfile.
3715 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
3716 * gdb.mi/mi-var-child.exp: Use standard_testfile.
3717 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
3718 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
3719 * gdb.mi/mi-var-display.exp: Use standard_testfile.
3720 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
3721 standard_output_file.
3722 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
3723 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
3724 * gdb.mi/mi-watch.exp: Use standard_testfile.
3725 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
3726 * gdb.mi/mi2-basics.exp: Use standard_testfile.
3727 * gdb.mi/mi2-break.exp: Use standard_testfile.
3728 * gdb.mi/mi2-cli.exp: Use standard_testfile.
3729 * gdb.mi/mi2-console.exp: Use standard_testfile.
3730 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
3731 * gdb.mi/mi2-eval.exp: Use standard_testfile.
3732 * gdb.mi/mi2-file.exp: Use standard_testfile.
3733 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
3734 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
3735 * gdb.mi/mi2-regs.exp: Use standard_testfile.
3736 * gdb.mi/mi2-return.exp: Use standard_testfile.
3737 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
3738 * gdb.mi/mi2-stack.exp: Use standard_testfile.
3739 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
3740 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
3741 * gdb.mi/mi2-until.exp: Use standard_testfile.
3742 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
3743 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
3744 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
3745 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
3746 * gdb.mi/mi2-watch.exp: Use standard_testfile.
3747
3748 2012-07-10 Tom Tromey <tromey@redhat.com>
3749
3750 * gdb.cp/abstract-origin.exp: Use standard_testfile.
3751 * gdb.cp/ambiguous.exp: Use standard_testfile,
3752 prepare_for_testing.
3753 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
3754 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
3755 * gdb.cp/anon-ns.exp: Use standard_testfile.
3756 * gdb.cp/anon-struct.exp: Use standard_testfile.
3757 * gdb.cp/anon-union.exp: Use standard_testfile,
3758 prepare_for_testing.
3759 * gdb.cp/arg-reference.exp: Use standard_testfile,
3760 prepare_for_testing.
3761 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
3762 * gdb.cp/breakpoint.exp: Use standard_testfile,
3763 prepare_for_testing.
3764 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
3765 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
3766 standard_output_file.
3767 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
3768 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
3769 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
3770 (test_static_members): Update.
3771 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
3772 * gdb.cp/converts.exp: Use standard_testfile.
3773 * gdb.cp/cp-relocate.exp: Use standard_testfile.
3774 * gdb.cp/cpcompletion.exp: Use standard_testfile,
3775 prepare_for_testing.
3776 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
3777 * gdb.cp/cplabel.exp: Use standard_testfile.
3778 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
3779 prepare_for_testing.
3780 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
3781 * gdb.cp/derivation.exp: Use standard_testfile,
3782 prepare_for_testing.
3783 * gdb.cp/destrprint.exp: Use standard_testfile.
3784 * gdb.cp/dispcxx.exp: Use standard_testfile.
3785 * gdb.cp/exception.exp: Use standard_testfile,
3786 prepare_for_testing.
3787 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
3788 * gdb.cp/extern-c.exp: Use standard_testfile,
3789 prepare_for_testing.
3790 * gdb.cp/formatted-ref.exp: Use standard_testfile,
3791 prepare_for_testing.
3792 * gdb.cp/fpointer.exp: Use standard_testfile.
3793 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
3794 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
3795 standard_output_file.
3796 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
3797 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
3798 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
3799 standard_output_file.
3800 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
3801 (do_tests): Update.
3802 * gdb.cp/koenig.exp: Use standard_testfile.
3803 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
3804 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
3805 * gdb.cp/m-static.exp: Use standard_testfile,
3806 prepare_for_testing.
3807 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
3808 * gdb.cp/mb-inline.exp: Use standard_testfile,
3809 prepare_for_testing.
3810 * gdb.cp/mb-templates.exp: Use standard_testfile,
3811 prepare_for_testing.
3812 * gdb.cp/member-ptr.exp: Use standard_testfile,
3813 prepare_for_testing.
3814 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
3815 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
3816 * gdb.cp/method2.exp: Use standard_testfile.
3817 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
3818 standard_output_file.
3819 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
3820 (do_tests): Update.
3821 * gdb.cp/namespace-enum.exp: Use standard_testfile,
3822 prepare_for_testing.
3823 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
3824 prepare_for_testing.
3825 * gdb.cp/namespace.exp: Use standard_testfile,
3826 prepare_for_testing.
3827 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
3828 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
3829 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
3830 * gdb.cp/nsimport.exp: Use standard_testfile,
3831 prepare_for_testing.
3832 * gdb.cp/nsnested.exp: Use standard_testfile.
3833 * gdb.cp/nsnoimports.exp: Use standard_testfile.
3834 * gdb.cp/nsrecurs.exp: Use standard_testfile,
3835 prepare_for_testing.
3836 * gdb.cp/nsstress.exp: Use standard_testfile,
3837 prepare_for_testing.
3838 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3839 * gdb.cp/operator.exp: Use standard_testfile.
3840 * gdb.cp/oranking.exp: Use standard_testfile.
3841 * gdb.cp/overload-const.exp: Use standard_testfile.
3842 * gdb.cp/overload.exp: Use standard_testfile,
3843 prepare_for_testing.
3844 * gdb.cp/ovldbreak.exp: Use standard_testfile.
3845 * gdb.cp/ovsrch.exp: Use standard_testfile.
3846 * gdb.cp/paren-type.exp: Use standard_testfile.
3847 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3848 prepare_for_testing.
3849 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3850 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3851 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3852 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3853 * gdb.cp/pr10728.exp: Use standard_testfile,
3854 standard_output_file.
3855 * gdb.cp/pr12028.exp: Use standard_testfile.
3856 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3857 * gdb.cp/pr9167.exp: Use standard_testfile.
3858 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3859 * gdb.cp/printmethod.exp: Use standard_testfile,
3860 prepare_for_testing.
3861 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3862 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3863 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3864 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3865 standard_output_file.
3866 * gdb.cp/readnow-language.exp: Use standard_testfile.
3867 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3868 (gdb_start_again): Use clean_restart.
3869 * gdb.cp/ref-types.exp: Use standard_testfile,
3870 prepare_for_testing.
3871 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3872 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3873 * gdb.cp/smartp.exp: Use standard_testfile.
3874 * gdb.cp/static-method.exp: Use standard_testfile.
3875 * gdb.cp/static-print-quit.exp: Use standard_testfile.
3876 * gdb.cp/temargs.exp: Use standard_testfile.
3877 * gdb.cp/templates.exp: Use standard_testfile,
3878 prepare_for_testing.
3879 (do_tests): Update.
3880 * gdb.cp/try_catch.exp: Use standard_testfile,
3881 prepare_for_testing.
3882 * gdb.cp/typedef-operator.exp: Use standard_testfile.
3883 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3884 * gdb.cp/virtbase.exp: Use standard_testfile,
3885 prepare_for_testing.
3886 * gdb.cp/virtfunc.exp: Use standard_testfile,
3887 prepare_for_testing.
3888 (do_tests): Update.
3889 * gdb.cp/virtfunc2.exp: Use standard_testfile,
3890 prepare_for_testing.
3891
3892 2012-07-10 Tom Tromey <tromey@redhat.com>
3893
3894 * lib/gdb.exp (standard_testfile): Unset output variables from
3895 earlier invocations.
3896
3897 2012-07-10 Yao Qi <yao@codesourcery.com>
3898
3899 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3900 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3901 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3902 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3903 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3904 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3905 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3906 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3907 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3908 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3909 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3910 * gdb.mi/mi-var-display.exp: Likewise.
3911 * gdb.mi/mi-var-invalidate.exp: Likewise.
3912 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3913 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3914 * gdb.mi/mi2-console.exp: Likewise.
3915 * gdb.mi/mi2-disassemble.exp: Likewise.
3916 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3917 * gdb.mi/mi2-read-memory.exp: Likewise.
3918 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3919 * gdb.mi/mi2-simplerun.exp: Likewise.
3920 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3921 * gdb.mi/mi2-syn-frame.exp: Likewise.
3922 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3923 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3924 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3925
3926 2012-07-09 Tom Tromey <tromey@redhat.com>
3927
3928 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3929 * gdb.base/callfuncs.exp: Add cast-based test.
3930 * gdb.base/callfuncs.c (voidfunc): New function.
3931
3932 2012-07-08 Doug Evans <dje@google.com>
3933
3934 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3935
3936 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3937
3938 Fix XFAIL compatibility with old i386 systems.
3939 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3940 Check also 'Cannot insert breakpoint 0'.
3941
3942 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3943
3944 PR 14321
3945 * gdb.base/find.exp
3946 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3947
3948 2012-07-06 Tom Tromey <tromey@redhat.com>
3949
3950 * gdb.base/whatis.exp: Add test.
3951
3952 2012-07-06 Tom Tromey <tromey@redhat.com>
3953
3954 * gdb.base/whatis.exp: Add regression test.
3955
3956 2012-07-06 Tom Tromey <tromey@redhat.com>
3957
3958 * gdb.base/whatis.exp: Add tests.
3959
3960 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3961
3962 PR 12649
3963 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3964 gdb_test_multiple $gdb_prompt terminator.
3965
3966 2012-07-04 Pedro Alves <palves@redhat.com>
3967
3968 * gdb.mi/mi-reverse.exp: Use supports_reverse and
3969 supports_process_record.
3970
3971 2012-07-04 Pedro Alves <palves@redhat.com>
3972
3973 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3974 endings.
3975 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3976
3977 2012-07-03 Stan Shebs <stan@codesourcery.com>
3978
3979 * gdb.base/info-os.c (main): Retry resource acquisition until an
3980 available one is found.
3981 * gdb.base/info-os.exp: Collect resource keys from the program
3982 and use them in matching.
3983
3984 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3985
3986 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3987 Wrap the test into loop for corefile and core0file.
3988
3989 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3990
3991 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3992 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
3993 .note.GNU-stack.
3994
3995 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3996
3997 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
3998
3999 * gdb.base/help.exp (help b, help br, help bre, help brea, help
4000 break): Include help message for the new `-probe' and `-probe-stap'
4001 options.
4002
4003 2012-07-02 Stan Shebs <stan@codesourcery.com>
4004
4005 * gdb.base/dprintf.exp: Add agent style tests.
4006
4007 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4008
4009 * gdb.base/stale-infcall.c (infcall): New label test-next.
4010 (main): New labels test-pass and test-fail.
4011 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
4012 $test_fail_bpnum to test-fail.
4013 (test system longjmp tracking support): New test.
4014 Delete $test_fail_bpnum.
4015 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
4016 breakpoint.
4017
4018 2012-06-30 Doug Evans <dje@google.com>
4019
4020 * gdb.dwarf2/fission-reread.S: New file.
4021 * gdb.dwarf2/fission-reread.exp: New file.
4022
4023 2012-06-28 Stan Shebs <stan@codesourcery.com>
4024
4025 * gdb.mi/mi-logging.exp: New file.
4026
4027 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4028 Pedro Alves <palves@redhat.com>
4029
4030 * gdb.threads/siginfo-threads.exp: New file.
4031 * gdb.threads/siginfo-threads.c: New file.
4032 * gdb.threads/sigstep-threads.exp: New file.
4033 * gdb.threads/sigstep-threads.c: New file.
4034
4035 2012-06-28 Tom Tromey <tromey@redhat.com>
4036
4037 * gdb.go/package.exp: Partially revert earlier patch; use
4038 gdb_compile again. Use standard_output_file.
4039
4040 2012-06-27 Doug Evans <dje@google.com>
4041
4042 * gdb.dwarf2/fission-base.c: New file.
4043 * gdb.dwarf2/fission-base.S: New file.
4044 * gdb.dwarf2/fission-base.exp: New file.
4045
4046 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4047
4048 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
4049
4050 2012-06-27 Tom Tromey <tromey@redhat.com>
4051
4052 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
4053 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
4054
4055 2012-06-27 Tom Tromey <tromey@redhat.com>
4056
4057 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
4058 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
4059 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
4060 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
4061 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
4062 prepare_for_testing.
4063 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
4064 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
4065 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4066 standard_testfile.
4067 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4068 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4069 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4070 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4071 prepare_for_testing.
4072 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4073 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4074 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4075 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4076 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4077 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4078 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4079 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4080 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4081 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4082 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4083 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4084 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4085 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4086 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4087 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4088 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4089 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4090 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4091 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4092 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4093 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4094 standard_output_file.
4095 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4096 standard_output_file.
4097 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4098 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4099 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4100 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4101 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4102 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4103 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4104 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4105 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4106 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4107 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4108 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4109 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4110 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4111 * gdb.dwarf2/valop.exp: Use standard_testfile,
4112 prepare_for_testing.
4113
4114 2012-06-27 Tom Tromey <tromey@redhat.com>
4115
4116 * gdb.python/python.exp: Fix regexps in pagination tests.
4117
4118 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4119
4120 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4121 'last' of gdb.Symtab_and_line.
4122 * gdb.python/py-symbol.c: Move break point comment to enable
4123 testing of gdb.Symtab_and_line.last.
4124
4125 2012-06-26 Tom Tromey <tromey@redhat.com>
4126
4127 * gdb.threads/step.c: Remove.
4128 * gdb.threads/step.exp: Remove.
4129 * gdb.threads/step2.exp: Remove.
4130
4131 2012-06-26 Tom Tromey <tromey@redhat.com>
4132
4133 * gdb.threads/watchpoint-fork.exp (test): Use
4134 standard_output_file. Don't declare objdir.
4135 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4136 standard_output_file.
4137 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4138 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4139 clean_restart. Remove incdir.
4140 * gdb.threads/corethreads.exp: Use standard_testfile.
4141 * gdb.threads/execl.exp: Use standard_testfile,
4142 standard_output_file, clean_restart.
4143 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4144 clean_restart.
4145 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4146 clean_restart.
4147 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4148 incdir.
4149 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4150 clean_restart. Remove incdir.
4151 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4152 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4153 clean_restart. Remove incdir.
4154 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4155 Remove incdir.
4156 * gdb.threads/leader-exit.exp: Use standard_testfile.
4157 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4158 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4159 clean_restart.
4160 * gdb.threads/manythreads.exp: Use standard_testfile,
4161 clean_restart. Remove incdir.
4162 * gdb.threads/multi-create.exp: Use standard_testfile,
4163 clean_restart.
4164 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4165 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4166 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4167 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4168 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4169 * gdb.threads/pending-step.exp: Use standard_testfile,
4170 clean_restart. Remove incdir.
4171 * gdb.threads/print-threads.exp: Use standard_testfile,
4172 clean_restart. Remove incdir.
4173 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4174 clean_restart. Remove incdir.
4175 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4176 Remove incdir.
4177 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4178 incdir.
4179 * gdb.threads/sigthread.exp: Use standard_testfile,
4180 clean_restart.
4181 * gdb.threads/staticthreads.exp: Use standard_testfile,
4182 clean_restart. Remove incdir.
4183 * gdb.threads/switch-threads.exp: Use standard_testfile,
4184 clean_restart. Remove incdir.
4185 * gdb.threads/thread-execl.exp: Use standard_testfile,
4186 clean_restart. Remove incdir.
4187 * gdb.threads/thread-find.exp: Use standard_testfile,
4188 clean_restart.
4189 * gdb.threads/thread-specific.exp: Use standard_testfile,
4190 clean_restart. Remove incdir.
4191 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4192 clean_restart. Remove incdir.
4193 * gdb.threads/thread_check.exp: Use standard_testfile,
4194 clean_restart. Remove incdir.
4195 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4196 incdir.
4197 * gdb.threads/threadapply.exp: Use standard_testfile,
4198 clean_restart. Remove incdir.
4199 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4200 clean_restart. Remove incdir.
4201 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4202 clean_restart.
4203 * gdb.threads/tls-shared.exp: Use standard_testfile,
4204 clean_restart, standard_output_file.
4205 * gdb.threads/tls-var.exp: Use standard_testfile,
4206 standard_output_file.
4207 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4208 Remove incdir.
4209 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4210 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4211 incdir.
4212 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4213 clean_restart. Remove incdir.
4214
4215 2012-06-26 Tom Tromey <tromey@redhat.com>
4216
4217 * gdb.trace/actions.exp: Use standard_testfile.
4218 * gdb.trace/ax.exp: Use standard_testfile.
4219 * gdb.trace/backtrace.exp: Use standard_testfile.
4220 * gdb.trace/change-loc.exp: Use standard_testfile.
4221 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4222 * gdb.trace/collection.exp: Use standard_testfile,
4223 prepare_for_testing.
4224 * gdb.trace/deltrace.exp: Use standard_testfile.
4225 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4226 * gdb.trace/ftrace.exp: Use standard_testfile.
4227 * gdb.trace/infotrace.exp: Use standard_testfile.
4228 * gdb.trace/packetlen.exp: Use standard_testfile.
4229 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4230 * gdb.trace/passcount.exp: Use standard_testfile.
4231 * gdb.trace/pending.exp: Use standard_testfile.
4232 * gdb.trace/report.exp: Use standard_testfile.
4233 * gdb.trace/save-trace.exp: Use standard_testfile.
4234 * gdb.trace/stap-trace.exp: Use standard_testfile.
4235 * gdb.trace/status-stop.exp: Use standard_testfile.
4236 * gdb.trace/strace.exp: Use standard_testfile.
4237 * gdb.trace/tfile.exp: Use standard_testfile.
4238 * gdb.trace/tfind.exp: Use standard_testfile.
4239 * gdb.trace/trace-break.exp: Use standard_testfile.
4240 * gdb.trace/trace-mt.exp: Use standard_testfile.
4241 * gdb.trace/tracecmd.exp: Use standard_testfile.
4242 * gdb.trace/tspeed.exp: Use standard_testfile.
4243 * gdb.trace/tstatus.exp: Use standard_testfile.
4244 * gdb.trace/tsv.exp: Use standard_testfile.
4245 * gdb.trace/unavailable.exp: Use standard_testfile,
4246 prepare_for_testing.
4247 * gdb.trace/while-dyn.exp: Use standard_testfile.
4248 * gdb.trace/while-stepping.exp: Use standard_testfile.
4249
4250 2012-06-26 Tom Tromey <tromey@redhat.com>
4251
4252 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4253 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4254 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4255 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4256 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4257 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4258 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4259 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4260 prepare_for_testing.
4261 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4262 prepare_for_testing.
4263 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4264 prepare_for_testing.
4265 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4266 prepare_for_testing.
4267 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4268 prepare_for_testing
4269 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4270 * gdb.reverse/machinestate.exp: Use standard_testfile.
4271 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4272 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4273 build_executable.
4274 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4275 build_executable.
4276 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4277 standard_output_file.
4278 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4279 standard_output_file.
4280 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4281 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4282 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4283 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4284 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4285 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4286
4287 2012-06-26 Tom Tromey <tromey@redhat.com>
4288
4289 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4290 standard_output_file.
4291 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4292 prepare_for_testing. Remove directory-checking code.
4293
4294 2012-06-25 Tom Tromey <tromey@redhat.com>
4295
4296 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4297 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4298 build_executable, not prepare_for_testing.
4299 * gdb.multi/base.exp: Use standard_output_file. Use
4300 build_executable, not prepare_for_testing.
4301
4302 2012-06-25 Tom Tromey <tromey@redhat.com>
4303
4304 * gdb.fortran/subarray.exp: Use standard_testfile,
4305 prepare_for_testing.
4306 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4307 * gdb.fortran/module.exp: Use standard_testfile.
4308 * gdb.fortran/logical.exp: Use standard_testfile.
4309 * gdb.fortran/library-module.exp: Use standard_testfile,
4310 standard_output_file.
4311 * gdb.fortran/derived-type.exp: Use standard_testfile,
4312 prepare_for_testing.
4313 * gdb.fortran/complex.exp: Use standard_testfile,
4314 prepare_for_testing.
4315 * gdb.fortran/charset.exp: Use standard_testfile.
4316 * gdb.fortran/array-element.exp: Use standard_testfile,
4317 prepare_for_testing.
4318
4319 2012-06-25 Keith Seitz <keiths@redhat.com>
4320
4321 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4322 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4323
4324 2012-06-25 Tom Tromey <tromey@redhat.com>
4325
4326 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4327 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4328 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4329 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4330
4331 2012-06-25 Tom Tromey <tromey@redhat.com>
4332
4333 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4334 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4335 * gdb.linespec/linespec.exp: Use standard_testfile.
4336
4337 2012-06-25 Tom Tromey <tromey@redhat.com>
4338
4339 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4340 prepare_for_testing.
4341
4342 2012-06-25 Tom Tromey <tromey@redhat.com>
4343
4344 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4345 prepare_for_testing.
4346 * gdb.opt/inline-break.exp: Use standard_testfile,
4347 prepare_for_testing.
4348 * gdb.opt/inline-bt.exp: Use standard_testfile,
4349 prepare_for_testing.
4350 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4351 prepare_for_testing.
4352 * gdb.opt/inline-locals.exp: Use standard_testfile,
4353 prepare_for_testing.
4354
4355 2012-06-25 Tom Tromey <tromey@redhat.com>
4356
4357 * gdb.asm/asm-source.exp: Use standard_output_file,
4358 standard_testfile. Construct .o files in proper subdir.
4359
4360 2012-06-25 Tom Tromey <tromey@redhat.com>
4361
4362 * gdb.server/ext-attach.exp: Use standard_testfile,
4363 prepare_for_testing.
4364 * gdb.server/ext-run.exp: Use standard_testfile,
4365 build_executable.
4366 * gdb.server/file-transfer.exp: Use standard_testfile,
4367 prepare_for_testing.
4368 * gdb.server/server-exec-info.exp: Use standard_testfile.
4369 * gdb.server/server-mon.exp: Use standard_testfile,
4370 prepare_for_testing.
4371 * gdb.server/server-run.exp: Use standard_testfile,
4372 build_executable.
4373 * gdb.server/solib-list.exp: Use standard_testfile,
4374 standard_output_file.
4375
4376 2012-06-25 Tom Tromey <tromey@redhat.com>
4377
4378 * lib/gdb.exp (standard_output_file): Use "file join".
4379 * gdb.go/chan.exp: Use standard_testfile.
4380 * gdb.go/handcall.exp: Use standard_testfile.
4381 * gdb.go/hello.exp: Use standard_testfile.
4382 * gdb.integers/chan.exp: Use standard_testfile.
4383 * gdb.go/methods.exp: Use standard_testfile.
4384 * gdb.go/package.exp: Use standard_testfile.
4385 * gdb.go/strings.exp: Use standard_testfile.
4386 * gdb.go/types.exp: Use standard_testfile.
4387 * gdb.go/unsafe.exp: Use standard_testfile.
4388
4389 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4390
4391 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4392
4393 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4394
4395 Fix regression by the previous commit.
4396 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4397
4398 2012-06-22 Tom Tromey <tromey@redhat.com>
4399
4400 * gdb.python/lib-types.exp: Use standard_testfile,
4401 prepare_for_testing.
4402 * gdb.python/py-block.exp: Use standard_testfile.
4403 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4404 * gdb.python/py-events.exp: Use standard_testfile,
4405 standard_output_file.
4406 * gdb.python/py-evsignal.exp: Use standard_testfile.
4407 * gdb.python/py-evethreads.exp: Use standard_testfile.
4408 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4409 * gdb.python/py-explore.exp: Use standard_testfile.
4410 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4411 standard_output_file.
4412 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4413 prepare_for_testing.
4414 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4415 * gdb.python/py-frame.exp: Use standard_testfile.
4416 * gdb.python/py-inferior.exp: Use standard_testfile.
4417 * gdb.python/py-infthread.exp: Use standard_testfile.
4418 * gdb.python/py-mi.exp: Use standard_testfile.
4419 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4420 build_executable.
4421 * gdb.python/py-objfile.exp: Use standard_testfile.
4422 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4423 prepare_for_testing.
4424 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4425 * gdb.python/py-progspace.exp: Use standard_testfile,
4426 build_executable.
4427 * gdb.python/py-prompt.exp: Use standard_testfile,
4428 build_executable.
4429 * gdb.python/py-section-script.exp: Use standard_testfile,
4430 build_executable.
4431 * gdb.python/py-shared.exp: Use standard_testfile,
4432 standard_output_file, clean_restart.
4433 * gdb.python/py-symbol.exp: Use standard_output_file,
4434 prepare_for_testing.
4435 * gdb.python/py-symtab.exp: Use standard_output_file,
4436 prepare_for_testing
4437 * gdb.python/py-template.exp: Use standard_testfile.
4438 * gdb.python/py-type.exp: Use standard_testfile.
4439 * gdb.python/py-value-cc.exp: Use standard_testfile.
4440 * gdb.python/py-value.exp: Use standard_testfile.
4441 * gdb.python/python.exp: Use standard_testfile, build_executable.
4442
4443 2012-06-22 Tom Tromey <tromey@redhat.com>
4444
4445 * gdb.objc/basicclass.exp: Use standard_testfile.
4446 (do_objc_tests): Don't declare objdir.
4447 * gdb.objc/nondebug.exp: Use standard_testfile.
4448 (do_objc_tests): Don't declare objdir.
4449 * gdb.objc/objcdecode.exp: Use standard_testfile.
4450 (do_objc_tests): Don't declare objdir.
4451
4452 2012-06-22 Tom Tromey <tromey@redhat.com>
4453
4454 * gdb.java/jmain.exp: Use standard_testfile.
4455 * gdb.java/jmisc.exp: Use standard_testfile.
4456 * gdb.java/jnpe.exp: Use standard_testfile.
4457 * gdb.java/jprint.exp: Use standard_testfile.
4458
4459 2012-06-22 Tom Tromey <tromey@redhat.com>
4460
4461 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4462 (standard_output_file, standard_testfile): New procs.
4463 (build_executable, clean_restart): Use standard_output_file.
4464
4465 2012-06-22 Yao Qi <yao@codesourcery.com>
4466
4467 * boards/native-gdbserver.exp: New proc ${board}_exec.
4468 * boards/native-stdio-gdbserver.exp: Likewise.
4469
4470 2012-06-21 Tom Tromey <tromey@redhat.com>
4471
4472 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4473 (build_executable): Update.
4474 (get_compiler_info): Remove 'binfile' argument.
4475 * gdb.ada/arrayidx.exp: Update.
4476 * gdb.ada/null_array.exp: Update.
4477 * gdb.arch/altivec-abi.exp: Update.
4478 * gdb.arch/altivec-regs.exp: Update.
4479 * gdb.arch/amd64-byte.exp: Update.
4480 * gdb.arch/amd64-dword.exp: Update.
4481 * gdb.arch/amd64-word.exp: Update.
4482 * gdb.arch/i386-avx.exp: Update.
4483 * gdb.arch/i386-byte.exp: Update.
4484 * gdb.arch/i386-sse.exp: Update.
4485 * gdb.arch/i386-word.exp: Update.
4486 * gdb.arch/ppc-dfp.exp: Update.
4487 * gdb.arch/ppc-fp.exp: Update.
4488 * gdb.arch/vsx-regs.exp: Update.
4489 * gdb.base/all-bin.exp: Update.
4490 * gdb.base/annota1.exp: Update.
4491 * gdb.base/async.exp: Update.
4492 * gdb.base/attach.exp: Update.
4493 * gdb.base/break-interp.exp: Update.
4494 * gdb.base/call-ar-st.exp: Update.
4495 * gdb.base/call-rt-st.exp: Update.
4496 * gdb.base/call-sc.exp: Update.
4497 * gdb.base/callfuncs.exp: Update.
4498 * gdb.base/catch-load.exp: Update.
4499 * gdb.base/completion.exp: Update.
4500 * gdb.base/complex.exp: Update.
4501 * gdb.base/condbreak.exp: Update.
4502 * gdb.base/consecutive.exp: Update.
4503 * gdb.base/constvars.exp: Update.
4504 * gdb.base/corefile.exp: Update.
4505 * gdb.base/eval-skip.exp: Update.
4506 * gdb.base/expand-psymtabs.exp: Update.
4507 * gdb.base/exprs.exp: Update.
4508 * gdb.base/fileio.exp: Update.
4509 * gdb.base/fixsection.exp: Update.
4510 * gdb.base/funcargs.exp: Update.
4511 * gdb.base/gdb11530.exp: Update.
4512 * gdb.base/gdb1555.exp: Update.
4513 * gdb.base/gnu-ifunc.exp: Update.
4514 * gdb.base/gnu_vector.exp: Update.
4515 * gdb.base/info-macros.exp: Update.
4516 * gdb.base/jit-simple.exp: Update.
4517 * gdb.base/jit-so.exp: Update.
4518 * gdb.base/jit.exp: Update.
4519 * gdb.base/langs.exp: Update.
4520 * gdb.base/list.exp: Update.
4521 * gdb.base/logical.exp: Update.
4522 * gdb.base/long_long.exp: Update.
4523 * gdb.base/longjmp.exp: Update.
4524 * gdb.base/macscp.exp: Update.
4525 * gdb.base/mips_pro.exp: Update.
4526 * gdb.base/miscexprs.exp: Update.
4527 * gdb.base/morestack.exp: Update.
4528 * gdb.base/nodebug.exp: Update.
4529 * gdb.base/opaque.exp: Update.
4530 * gdb.base/pc-fp.exp: Update.
4531 * gdb.base/pending.exp: Update.
4532 * gdb.base/permissions.exp: Update.
4533 * gdb.base/pointers.exp: Update.
4534 * gdb.base/prelink.exp: Update.
4535 * gdb.base/printcmds.exp: Update.
4536 * gdb.base/psymtab.exp: Update.
4537 * gdb.base/ptype.exp: Update.
4538 * gdb.base/relational.exp: Update.
4539 * gdb.base/scope.exp: Update.
4540 * gdb.base/setvar.exp: Update.
4541 * gdb.base/shlib-call.exp: Update.
4542 * gdb.base/shreloc.exp: Update.
4543 * gdb.base/signals.exp: Update.
4544 * gdb.base/sizeof.exp: Update.
4545 * gdb.base/so-impl-ld.exp: Update.
4546 * gdb.base/so-indr-cl.exp: Update.
4547 * gdb.base/solib-disc.exp: Update.
4548 * gdb.base/solib-display.exp: Update.
4549 * gdb.base/solib-nodir.exp: Update.
4550 * gdb.base/solib-overlap.exp: Update.
4551 * gdb.base/solib-symbol.exp: Update.
4552 * gdb.base/solib-weak.exp: Update.
4553 * gdb.base/solib.exp: Update.
4554 * gdb.base/store.exp: Update.
4555 * gdb.base/structs.exp: Update.
4556 * gdb.base/structs2.exp: Update.
4557 * gdb.base/type-opaque.exp: Update.
4558 * gdb.base/unload.exp: Update.
4559 * gdb.base/varargs.exp: Update.
4560 * gdb.base/volatile.exp: Update.
4561 * gdb.base/watch_thread_num.exp: Update.
4562 * gdb.base/watchpoint-solib.exp: Update.
4563 * gdb.base/watchpoint.exp: Update.
4564 * gdb.base/watchpoints.exp: Update.
4565 * gdb.base/whatis.exp: Update.
4566 * gdb.cell/arch.exp: Update.
4567 * gdb.cell/break.exp: Update.
4568 * gdb.cell/bt.exp: Update.
4569 * gdb.cell/core.exp: Update.
4570 * gdb.cell/data.exp: Update.
4571 * gdb.cell/ea-cache.exp: Update.
4572 * gdb.cell/f-regs.exp: Update.
4573 * gdb.cell/fork.exp: Update.
4574 * gdb.cell/gcore.exp: Update.
4575 * gdb.cell/mem-access.exp: Update.
4576 * gdb.cell/ptype.exp: Update.
4577 * gdb.cell/registers.exp: Update.
4578 * gdb.cell/sizeof.exp: Update.
4579 * gdb.cell/solib-symbol.exp: Update.
4580 * gdb.cell/solib.exp: Update.
4581 * gdb.cp/ambiguous.exp: Update.
4582 * gdb.cp/breakpoint.exp: Update.
4583 * gdb.cp/bs15503.exp: Update.
4584 * gdb.cp/casts.exp: Update.
4585 * gdb.cp/class2.exp: Update.
4586 * gdb.cp/cpexprs.exp: Update.
4587 * gdb.cp/cplusfuncs.exp: Update.
4588 * gdb.cp/ctti.exp: Update.
4589 * gdb.cp/dispcxx.exp: Update.
4590 * gdb.cp/gdb1355.exp: Update.
4591 * gdb.cp/gdb2384.exp: Update.
4592 * gdb.cp/gdb2495.exp: Update.
4593 * gdb.cp/infcall-dlopen.exp: Update.
4594 * gdb.cp/local.exp: Update.
4595 * gdb.cp/m-data.exp: Update.
4596 * gdb.cp/m-static.exp: Update.
4597 * gdb.cp/mb-ctor.exp: Update.
4598 * gdb.cp/mb-inline.exp: Update.
4599 * gdb.cp/mb-templates.exp: Update.
4600 * gdb.cp/member-ptr.exp: Update.
4601 * gdb.cp/method.exp: Update.
4602 * gdb.cp/namespace.exp: Update.
4603 * gdb.cp/nextoverthrow.exp: Update.
4604 * gdb.cp/nsdecl.exp: Update.
4605 * gdb.cp/nsrecurs.exp: Update.
4606 * gdb.cp/nsstress.exp: Update.
4607 * gdb.cp/nsusing.exp: Update.
4608 * gdb.cp/pr-1023.exp: Update.
4609 * gdb.cp/pr-1210.exp: Update.
4610 * gdb.cp/pr-574.exp: Update.
4611 * gdb.cp/pr9631.exp: Update.
4612 * gdb.cp/printmethod.exp: Update.
4613 * gdb.cp/psmang.exp: Update.
4614 * gdb.cp/re-set-overloaded.exp: Update.
4615 * gdb.cp/rtti.exp: Update.
4616 * gdb.cp/shadow.exp: Update.
4617 * gdb.cp/templates.exp: Update.
4618 * gdb.cp/try_catch.exp: Update.
4619 * gdb.dwarf2/dw2-ranges.exp: Update.
4620 * gdb.dwarf2/pr10770.exp: Update.
4621 * gdb.fortran/library-module.exp: Update.
4622 * gdb.hp/gdb.aCC/optimize.exp: Update.
4623 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
4624 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
4625 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
4626 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
4627 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
4628 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
4629 * gdb.hp/gdb.compat/xdb1.exp: Update.
4630 * gdb.hp/gdb.compat/xdb2.exp: Update.
4631 * gdb.hp/gdb.compat/xdb3.exp: Update.
4632 * gdb.hp/gdb.defects/bs14602.exp: Update.
4633 * gdb.hp/gdb.defects/solib-d.exp: Update.
4634 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
4635 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
4636 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
4637 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
4638 * gdb.mi/gdb792.exp: Update.
4639 * gdb.mi/mi-pending.exp: Update.
4640 * gdb.mi/mi-solib.exp: Update.
4641 * gdb.mi/mi-var-cp.exp: Update.
4642 * gdb.opt/clobbered-registers-O2.exp: Update.
4643 * gdb.opt/inline-bt.exp: Update.
4644 * gdb.opt/inline-cmds.exp: Update.
4645 * gdb.opt/inline-locals.exp: Update.
4646 * gdb.python/py-events.exp: Update.
4647 * gdb.python/py-finish-breakpoint.exp: Update.
4648 * gdb.python/py-type.exp: Update.
4649 * gdb.reverse/solib-precsave.exp: Update.
4650 * gdb.reverse/solib-reverse.exp: Update.
4651 * gdb.server/solib-list.exp: Update.
4652 * gdb.stabs/weird.exp: Update.
4653 * gdb.threads/attach-into-signal.exp: Update.
4654 * gdb.threads/attach-stopped.exp: Update.
4655 * gdb.threads/tls-shared.exp: Update.
4656 * gdb.trace/change-loc.exp: Update.
4657 * gdb.trace/strace.exp: Update.
4658
4659 2012-06-19 Tom Tromey <tromey@redhat.com>
4660
4661 * gdb.base/whatis.exp: Add tests.
4662
4663 2012-06-19 Tom Tromey <tromey@redhat.com>
4664
4665 * gdb.cp/m-static.cc (keepalive): New function.
4666 (gnu_obj_1::method): Use it.
4667
4668 2012-06-18 Doug Evans <dje@google.com>
4669
4670 * gdb.base/info-fun.exp: New file.
4671 * gdb.base/info-fun.c: New file.
4672 * gdb.base/info-fun-solib.c: New file.
4673
4674 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4675
4676 Remove stale dummy frames.
4677 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
4678 (maintenance info breakpoints): New tests.
4679 * gdb.base/stale-infcall.c: New file.
4680 * gdb.base/stale-infcall.exp: New file.
4681
4682 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4683
4684 * gdb.arch/amd64-entry-value-param.S: New file.
4685 * gdb.arch/amd64-entry-value-param.c: New file.
4686 * gdb.arch/amd64-entry-value-param.exp: New file.
4687
4688 2012-06-15 Tom Tromey <tromey@redhat.com>
4689
4690 * gdb.cp/namespace.exp: Add "show lang" test.
4691
4692 2012-06-15 Iain Sandoe <iain@codesourcery.com>
4693
4694 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
4695 case. (top level): Use gdb_file_cmd instead of gdb_load.
4696
4697 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4698
4699 PR tdep/14222
4700 * gdb.arch/i386-sse-stack-align.S: New file.
4701 * gdb.arch/i386-sse-stack-align.c: New file.
4702 * gdb.arch/i386-sse-stack-align.exp: New file.
4703
4704 2012-06-13 Keith Seitz <keiths@redhat.com>
4705
4706 PR breakpoints/13798 and mi/11541
4707 * gdb.linespec/ls-errs.exp: Add a few more tests for
4708 filenames with spaces and colons.
4709
4710 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4711
4712 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
4713 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
4714 (test_function): Call CV_f.
4715 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
4716 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
4717 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
4718 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
4719 (p CV_f(CV::i)): New tests.
4720
4721 2012-06-13 Tom Tromey <tromey@redhat.com>
4722
4723 * gdb.base/condbreak.exp: Add tests for "condition" completion.
4724
4725 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4726
4727 Fix regression by the "ambiguous linespec" series.
4728 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
4729 tests.
4730
4731 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4732
4733 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
4734 missing.
4735
4736 2012-06-11 Tom Tromey <tromey@redhat.com>
4737
4738 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
4739 location...
4740 (main): ...here.
4741
4742 2012-06-07 Yao Qi <yao@codesourcery.com>
4743
4744 * gdb.trace/strace.exp: Shorten some too-long lines.
4745
4746 2012-06-06 Pedro Alves <palves@redhat.com>
4747
4748 * gdb.threads/clone-new-thread-event.c: New file.
4749 * gdb.threads/clone-new-thread-event.exp: New file.
4750
4751 2012-06-06 Yao Qi <yao@codesourcery.com>
4752
4753 * gdb.base/dprintf.c (main): Add extra parameter when calling
4754 printf and fprintf.
4755 (bar): New function. It is a dead function, but to ensure
4756 'malloc' is linked explicitly.
4757
4758 2012-06-06 Yao Qi <yao@codesourcery.com>
4759
4760 * gdb.base/info-proc.exp: Return if target doesn't support
4761 'info proc'.
4762
4763 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4764
4765 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
4766 (run program with breakpoint commands): XFAIl if it is not.
4767
4768 2012-06-05 Joel Brobecker <brobecker@adacore.com>
4769
4770 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
4771 and add comment.
4772 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
4773 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
4774 "STOP" marker. Adjust testing strategy to make it work on
4775 all targets.
4776
4777 * gdb.base/print-file-var-main.c (main): Rewrite using local
4778 variables and adjust get_version_2's return value check.
4779 Add small comment.
4780 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
4781 marker. Adjust testing strategy to make it work on all targets.
4782
4783 2012-06-05 Joel Brobecker <brobecker@adacore.com>
4784
4785 * gdb.ada/bad-task-bp-keyword: New testcase.
4786
4787 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4788
4789 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
4790 Simplify it to ...
4791 (symbol-file ${testfile1}): ... here.
4792 (test eliminated var my_global_symbol)
4793 (test eliminated var my_static_symbol)
4794 (test eliminated var my_global_func, get address of main): Wrap them to
4795 'single psymtabs' and 'single symtabs'
4796 (get address of my_global_symbol, get address of my_static_symbol)
4797 (get address of my_global_func, get address of main): Wrap them to
4798 'order1' and 'order2'.
4799
4800 * gdb.base/code_elim.exp
4801 (add-symbol-file ${testfile1} 0x100000)
4802 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
4803 'order2'.
4804 (order1: add-symbol-file ${testfile1} 0x100000)
4805 (order1: add-symbol-file ${testfile2} 0x200000)
4806 (order2: add-symbol-file ${testfile2} 0x200000)
4807 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
4808 .bss as appropriate.
4809
4810 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4811
4812 * gdb.server/solib-list-lib.c: New file.
4813 * gdb.server/solib-list-main.c: New file.
4814 * gdb.server/solib-list.exp: New file.
4815
4816 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
4817
4818 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
4819 for 'set print symbol' change.
4820
4821 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4822
4823 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
4824 .debug_abbrev_seg3.
4825
4826 2012-05-24 John Steele Scott <toojays@toojays.net>
4827
4828 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
4829 * gdb.dwarf2/dw2-icc-opaque.S: New file.
4830 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
4831
4832 2012-05-23 Stan Shebs <stan@codesourcery.com>
4833
4834 * gdb.mi/mi-info-os.exp: New file.
4835
4836 2012-05-23 Keith Seitz <keiths@redhat.com>
4837
4838 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4839 return -1 to suppress the rest of the tests.
4840 (compile_stap_bin): Return boolean success value.
4841
4842 2012-05-21 Tom Tromey <tromey@redhat.com>
4843
4844 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4845 Remove kfails.
4846 (test_print_mi_member_types): Likewise.
4847
4848 2012-05-21 Tom Tromey <tromey@redhat.com>
4849
4850 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4851 print symbol' change.
4852
4853 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
4854
4855 * gdb.python/py-prompt.exp: Quit if the target is remote.
4856
4857 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4858
4859 Fix ERROR: internal buffer is full.
4860 * gdb.base/info-os.exp (expect_multiline): New function.
4861 (get process list, get process groups, get threads)
4862 (get file descriptors, get internet-domain sockets)
4863 (get shared-memory regions, get semaphores, get message queues): Use
4864 it for these tests.
4865
4866 2012-05-18 Tom Tromey <tromey@redhat.com>
4867
4868 * gdb.mi/mi-var-cmd.exp: Update.
4869 * gdb.objc/basicclass.exp (do_objc_tests): Update.
4870 * gdb.cp/virtbase.exp: Update.
4871 * gdb.cp/classes.exp (test_static_members): Update.
4872 * gdb.cp/casts.exp: Update.
4873 * gdb.base/pointers.exp: Update.
4874 * gdb.base/funcargs.exp (pointer_args): Update.
4875 (structs_by_reference): Update.
4876 * gdb.base/find.exp: Update.
4877 * gdb.base/call-strs.exp: Send "set print symbol off".
4878 * gdb.base/call-ar-st.exp: Update.
4879 * gdb.ada/fun_addr.exp: Update.
4880 * gdb.base/printcmds.exp (test_print_symbol): New proc.
4881 Call it.
4882 (test_print_repeats_10, test_print_strings)
4883 (test_print_char_arrays): Update.
4884
4885 2012-05-18 Tom Tromey <tromey@redhat.com>
4886
4887 * gdb.base/charset.exp (string_display): Update.
4888
4889 2012-05-18 Tom Tromey <tromey@redhat.com>
4890
4891 * gdb.mi/mi2-var-display.exp: Update.
4892 * gdb.mi/mi-var-display.exp: Update.
4893 * gdb.mi/mi-var-child.exp: Update.
4894 * gdb.cp/expand-psymtabs-cxx.exp: Update.
4895 * gdb.cp/cp-relocate.exp (get_func_address): Update.
4896
4897 2012-05-17 Doug Evans <dje@google.com>
4898
4899 * info-macros.exp: Pass "debug" to prepare_for_testing.
4900
4901 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4902 * gdb.ada/Makefile.in (clean): Ditto.
4903 * gdb.arch/Makefile.in (clean): Ditto.
4904 * gdb.asm/Makefile.in (clean): Ditto.
4905 * gdb.base/Makefile.in (clean): Ditto.
4906 * gdb.cell/Makefile.in (clean): Ditto.
4907 * gdb.cp/Makefile.in (clean): Ditto.
4908 * gdb.disasm/Makefile.in (clean): Ditto.
4909 * gdb.dwarf2/Makefile.in (clean): Ditto.
4910 * gdb.fortran/Makefile.in (clean): Ditto.
4911 * gdb.go/Makefile.in (clean): Ditto.
4912 * gdb.hp/Makefile.in (clean): Ditto.
4913 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4914 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4915 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4916 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4917 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4918 * gdb.java/Makefile.in (clean): Ditto.
4919 * gdb.linespec/Makefile.in (clean): Ditto.
4920 * gdb.mi/Makefile.in (clean): Ditto.
4921 * gdb.modula2/Makefile.in (clean): Ditto.
4922 * gdb.multi/Makefile.in (clean): Ditto.
4923 * gdb.objc/Makefile.in (clean): Ditto.
4924 * gdb.opencl/Makefile.in (clean): Ditto.
4925 * gdb.opt/Makefile.in (clean): Ditto.
4926 * gdb.pascal/Makefile.in (clean): Ditto.
4927 * gdb.python/Makefile.in (clean): Ditto.
4928 * gdb.reverse/Makefile.in (clean): Ditto.
4929 * gdb.server/Makefile.in (clean): Ditto.
4930 * gdb.stabs/Makefile.in (clean): Ditto.
4931 * gdb.threads/Makefile.in (clean): Ditto.
4932 * gdb.trace/Makefile.in (clean): Ditto.
4933 * gdb.xml/Makefile.in (clean): Ditto.
4934
4935 2012-05-16 Tom Tromey <tromey@redhat.com>
4936
4937 * gdb.base/macscp1.c (macscp_expr): Add comment.
4938 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4939
4940 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4941
4942 * gdb.base/return-nodebug.exp: Also test float and double types.
4943
4944 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4945
4946 PR testsuite/12649
4947 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4948
4949 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4950
4951 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
4952
4953 * gdb.base/stap-probe.exp (stap_test): Remove calls to
4954 `rerun_to_main'.
4955 (stap_test_no_debuginfo): Likewise.
4956
4957 2012-05-14 Stan Shebs <stan@codesourcery.com>
4958
4959 * gdb.base/dprintf.c: New file.
4960 * gdb.base/dprintf.exp: New file.
4961
4962 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
4963
4964 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4965 * gdb.trace/disconnected-tracing.c: New file.
4966 * gdb.trace/disconnected-tracing.exp: New file.
4967
4968 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
4969
4970 * gdb.python/python.c: Add a new breakpoint comment.
4971 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4972
4973 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
4974
4975 * gdb.base/info-os.exp: New file.
4976 * gdb.base/info-os.c: New file.
4977
4978 2012-05-10 Joel Brobecker <brobecker@adacore.com>
4979
4980 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4981 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4982 New files.
4983
4984 2012-05-10 Joel Brobecker <brobecker@adacore.com>
4985
4986 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4987 gdb.base/ctxobj.exp: New files.
4988
4989 2012-05-09 Tom Tromey <tromey@redhat.com>
4990
4991 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4992
4993 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
4994
4995 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4996
4997 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
4998
4999 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
5000 before using it.
5001
5002 2012-05-04 Tristan Gingold <gingold@adacore.com>
5003
5004 * gdb.base/set-noassign.exp: New test.
5005
5006 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
5007
5008 * gdb.python/py-symbol.exp: Add tests to test the new methods
5009 gdb.Symtab.global_block() and gdb.Symtab.static_block().
5010 * gdb.python/py-symbol.c: Add new struct to help test
5011 gdb.Symtab.static_block().
5012
5013 2012-05-03 Doug Evans <dje@google.com>
5014
5015 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
5016 commented out.
5017
5018 2012-05-03 Yao Qi <yao@codesourcery.com>
5019
5020 * gdb.base/catch-syscall.exp: Skip it before compilation if target
5021 doesn't support.
5022 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
5023 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
5024
5025 2012-05-03 Yao Qi <yao@codesourcery.com>
5026
5027 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
5028
5029 2012-04-30 Doug Evans <dje@google.com>
5030
5031 PR testsuite/13961
5032 * gdb.dwarf2/pr13961.S: New file.
5033 * gdb.dwarf2/pr13961.exp: New file.
5034
5035 2012-04-29 Yao Qi <yao@codesourcery.com>
5036
5037 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
5038
5039 2012-04-28 Doug Evans <dje@google.com>
5040
5041 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
5042 .Ltype_int_in_cu2. Use name "int2" instead of "int".
5043 All uses updated.
5044 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
5045 "ptype func_cu1" to expand cu2 before cu1.
5046
5047 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
5048 Tom Tromey <tromey@redhat.com>
5049
5050 * gdb.base/default.exp: Add `$_probe_arg*' convenience
5051 variables.
5052 * gdb.base/stap-probe.c: New file.
5053 * gdb.base/stap-probe.exp: New file.
5054 * gdb.trace/stap-trace.c: New file.
5055 * gdb.trace/stap-trace.exp: New file.
5056 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
5057 libgcc's unwinder.
5058
5059 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
5060
5061 * gdb.arch/mips16-thunks-inmain.c: New file.
5062 * gdb.arch/mips16-thunks-main.c: New file.
5063 * gdb.arch/mips16-thunks-sin.c: New file.
5064 * gdb.arch/mips16-thunks-sinfrob.c: New file.
5065 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5066 * gdb.arch/mips16-thunks-sinmain.c: New file.
5067 * gdb.arch/mips16-thunks-sinmips16.c: New file.
5068 * gdb.arch/mips16-thunks.exp: New file.
5069
5070 2012-04-25 Doug Evans <dje@google.com>
5071
5072 * configure.ac: Create gdb.go/Makefile.
5073 * configure: Regenerate.
5074 * gdb.base/default.exp: Add "go" to "set language" testing.
5075 * gdb.go/Makefile.in: New file.
5076 * gdb.go/basic-types.exp: New file.
5077 * gdb.go/chan.exp: New file.
5078 * gdb.go/chan.go: New file.
5079 * gdb.go/handcall.exp: New file.
5080 * gdb.go/handcall.go: New file.
5081 * gdb.go/hello.exp: New file.
5082 * gdb.go/hello.go: New file.
5083 * gdb.go/integers.exp: New file.
5084 * gdb.go/integers.go: New file.
5085 * gdb.go/methods.exp: New file.
5086 * gdb.go/methods.go: New file.
5087 * gdb.go/package.exp: New file.
5088 * gdb.go/package1.go: New file.
5089 * gdb.go/package2.go: New file.
5090 * gdb.go/print.exp: New file.
5091 * gdb.go/strings.exp: New file.
5092 * gdb.go/strings.go: New file.
5093 * gdb.go/types.exp: New file.
5094 * gdb.go/types.go: New file.
5095 * gdb.go/unsafe.exp: New file.
5096 * gdb.go/unsafe.go: New file.
5097 * lib/future.exp: Add Go support.
5098 (gdb_find_go, gdb_find_go_linker): New procs.
5099 (gdb_default_target_compile): Add Go support.
5100 * lib/gdb.exp (skip_go_tests): New proc.
5101 * lib/go.exp: New file.
5102
5103 2012-04-25 Tom Tromey <tromey@redhat.com>
5104
5105 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5106
5107 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5108 Jan Kratochvil <jan.kratochvil@redhat.com>
5109
5110 PR symtab/7259:
5111 * gdb.base/enumval.c: New test case.
5112 * gdb.base/enumval.exp: New test case.
5113 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5114 field.bitpos.
5115
5116 2012-04-17 Pedro Alves <palves@redhat.com>
5117
5118 * Makefile.in (site.exp): Make site.exp source
5119 $srcdir/lib/append_gdb_boards_dir.exp.
5120 * lib/append_gdb_boards_dir.exp: New file.
5121
5122 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5123
5124 New option "set auto-load safe-path".
5125 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5126 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5127
5128 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5129
5130 auto-load: Implementation.
5131 * gdb.base/help.exp (test set height): Increase the height.
5132 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5133 to ...
5134 (info auto-load python-scripts): ... here.
5135 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5136 to ...
5137 (info auto-load python-scripts *): ... here.
5138
5139 2012-04-16 Yao Qi <yao@codesourcery.com>
5140
5141 * lib/trace-support.exp (get_in_proc_agent): New.
5142 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5143 of in process trace agent.
5144 * gdb.trace/ftrace.exp: Likewise.
5145 * gdb.trace/pending.exp: Likewise.
5146 * gdb.trace/trace-break.exp: Likewise.
5147 * gdb.trace/trace-mt.exp
5148 * gdb.trace/tspeed.exp: Likewise.
5149 * gdb.trace/tstatus.exp
5150 * gdb.trace/strace.exp: Likewise.
5151
5152 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5153
5154 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5155 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5156
5157 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5158
5159 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5160
5161 PR mi/13393
5162 * gdb.mi/mi-var-rtti.cc: New file.
5163 * gdb.mi/mi-var-rtti.exp: New file.
5164 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5165 function.
5166 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5167
5168 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
5169
5170 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5171 EXECUTABLES.
5172 * gdb.python/py-explore.c: C program used for testing the new
5173 'explore' command on C constructs.
5174 * gdb.python/py-explore.cc: C++ program used for testing the new
5175 'explore' command on C++ constructs.
5176 * gdb-python/py-explore.exp: Tests for the new 'explore'
5177 command on C constructs.
5178 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5179 command on C++ constructs.
5180
5181 2012-04-07 Mark Kettenis <kettenis@gnu.org>
5182
5183 * gdb.base/funcargs.exp (complex_args): Fix typo.
5184
5185 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5186
5187 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5188 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5189
5190 2012-04-05 Keith Seitz <keiths@redhat.com>
5191
5192 * gdb.base/advance.exp: Update error message for
5193 "advance malformed" test.
5194 * gdb.base/break.exp: Likewise for "breakpoint with
5195 trailing garbage" test.
5196 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5197 with trailing garbage" test.
5198 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5199 trailng garbage" test.
5200 * gdb.base/until.exp: Likewise for "malformed until" test.
5201 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5202 for "breakpoint info (after setting on all)".
5203 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5204 tests.
5205 * gdb.cp/cplabel.cc: New file.
5206 * gdb.cp/cplabel.exp: New test.
5207 * gdb.linespec/ls-errs.c: New file.
5208 * gdb.linespec/ls-errs.exp: New test.
5209
5210 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5211
5212 * gdb.trace/unavailable.exp
5213 (collect globals: print object on: print derived_partial)
5214 (collect globals: print object on: print derived_whole)
5215 (collect globals: print object off: print derived_partial)
5216 (collect globals: print object off: print derived_whole): Update
5217 expected output.
5218
5219 2012-03-30 Keith Seitz <keiths@redhat.com>
5220
5221 * gdb.python: Add test for linespecs with commas.
5222
5223 2012-03-28 Keith Seitz <keiths@redhat.com>
5224
5225 * gdb.linespec/ls-dollar.cc: New file.
5226 * gdb.linespec/ls-dollar.exp: New test.
5227
5228 2012-03-28 Keith Seitz <keiths@redhat.com>
5229
5230 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5231 starting with the global namespace.
5232
5233 2012-03-23 Doug Evans <dje@google.com>
5234
5235 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5236
5237 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5238
5239 * gdb.python/py-value.cc: Add test case for testing the
5240 methodology exposing C++ values to Python.
5241 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5242 exposing C++ values to Python.
5243 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5244
5245 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5246 Siddhesh Poyarekar <siddhesh@redhat.com>
5247
5248 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5249 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5250 (generate native core dump): Make the test unsupported if core cannot
5251 be generated.
5252
5253 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5254
5255 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5256 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5257 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5258
5259 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5260
5261 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5262
5263 2012-03-17 Doug Evans <dje@google.com>
5264
5265 * dg-extract-results.sh: Handle KFAILs.
5266
5267 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5268
5269 PR symtab/13777
5270 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5271
5272 2012-03-16 Joel Brobecker <brobecker@adacore.com>
5273
5274 * gdb.ada/set_pckd_arr_elt: New testcase.
5275
5276 2012-03-16 Gary Benson <gbenson@redhat.com>
5277
5278 PR breakpoints/10738
5279 * gdb.opt/inline-break.exp: New file.
5280 * gdb.opt/inline-break.c: Likewise.
5281 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5282 * gdb.dwarf2/dw2-inline-break.S: Likewise.
5283 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5284 * gdb.base/async-shell.exp: Likewise.
5285 * lib/mi-support.exp (library_loaded_re): Likewise.
5286
5287 2012-03-15 Tom Tromey <tromey@redhat.com>
5288
5289 * gdb.cp/virtfunc2.exp: Update expected output.
5290 * gdb.cp/pr9631.exp: Update expected output.
5291 * gdb.cp/member-ptr.exp: Update expected output.
5292 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5293 output.
5294 * gdb.cp/casts.exp: Update expected output.
5295
5296 2012-03-15 Tom Tromey <tromey@redhat.com>
5297
5298 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5299 (test_info_vtbl): Likewise.
5300 (do_tests): Call test_info_vtbl.
5301 * gdb.cp/virtfunc.cc (va): New global.
5302
5303 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5304
5305 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5306 describing DWARF data structures.
5307 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5308 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5309 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5310 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5311 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5312 * gdb.dwarf2/dw2-param-error.S: Likewise.
5313 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5314 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5315 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5316 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5317 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5318 * gdb.dwarf2/pr11465.S: Likewise.
5319
5320 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5321
5322 * gdb.mi/mi2-prompt.exp: New file.
5323
5324 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5325
5326 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5327
5328 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5329
5330 * gdb.ada/bp_range_type: New testcase.
5331
5332 2012-03-13 Doug Evans <dje@google.com>
5333
5334 * gdb.base/default.exp: Delete tests for symbol-reloading.
5335 * gdb.base/help.exp: Ditto.
5336 * gdb.base/setshow.exp: Ditto.
5337 * gdb.base/gdb_history: Delete references to symbol-reloading.
5338
5339 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5340
5341 * gdb.base/attach-twice.c: New files.
5342 * gdb.base/attach-twice.exp: New files.
5343
5344 2012-03-08 Keith Seitz <keiths@redhat.com>
5345
5346 * lib/gdb.exp (gdb_get_line_number): Throw an
5347 error instead of returning -1.
5348 * gdb.base/break.exp: Remove unused variable
5349 bp_location5.
5350 * gdb.base/hbreak2.exp: Likewise.
5351 * gdb.base/sepdebug.exp: Likewise.
5352
5353 2012-03-08 Yao Qi <yao@codesourcery.com>
5354 Pedro Alves <palves@redhat.com>
5355
5356 Fix PR server/13392.
5357 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5358 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5359 download tracepoints.
5360 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5361 (pending_tracepoint_resolved_during_trace): Likewise.
5362 (pending_tracepoint_installed_during_trace): Likewise.
5363 (pending_tracepoint_with_action_resolved): Likewise.
5364
5365 2012-03-08 Keith Seitz <keiths@redhat.com>
5366
5367 * gdb.ada/array_bounds.exp: Get breakpoint for line
5368 with "START", not "STOP".
5369 * gdb.python/py-infthread.exp: Do not continue to
5370 line marked "Break here.", which is undefined.
5371
5372 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
5373
5374 Revert:
5375
5376 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5377
5378 Implement testsuite workaround for PR breakpoints/13781.
5379 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5380 (set breakpoint condition-evaluation host): New conditional command.
5381
5382 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5383
5384 Fix CU relative vs. absolute DIE offsets.
5385 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5386 one.
5387
5388 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5389
5390 Fix false FAIL on distros with relro linkage as default.
5391 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5392 -Wl,-z,norelro first.
5393
5394 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5395
5396 * gdb.ada/bp_on_var: New testcase.
5397
5398 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5399
5400 * gdb.ada/bp_enum_homonym: New testcase.
5401
5402 2012-03-06 Yao Qi <yao@codesourcery.com>
5403
5404 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5405 x86_64-*-* and i?86-*-*.
5406 Set up KFAIL for gdb/13808.
5407
5408 2012-03-05 Tom Tromey <tromey@redhat.com>
5409
5410 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5411 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5412
5413 2012-03-05 Tom Tromey <tromey@redhat.com>
5414
5415 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5416
5417 2012-03-04 Yao Qi <yao@codesourcery.com>
5418
5419 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5420 messages for KFAIL.
5421
5422 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5423
5424 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5425 (print one_two_three, indexes off, print few_reps, indexes off)
5426 (print many_reps, indexes off, print empty, indexes off)
5427 (print one_two_three, print few_reps, print many_reps, print empty):
5428 Call setup_xfail if $gcc_old.
5429
5430 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5431
5432 Implement testsuite workaround for PR breakpoints/13781.
5433 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5434 (set breakpoint condition-evaluation host): New conditional command.
5435
5436 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5437
5438 Code cleanup.
5439 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5440 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5441 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5442 number 1 by $bpnum. Four times.
5443
5444 2012-03-03 Yao Qi <yao@codesourcery.com>
5445
5446 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5447
5448 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5449
5450 Setup KFAIL for PR server/13796.
5451 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5452
5453 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5454
5455 * gdb.ada/operator_bp: New testcase.
5456
5457 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5458
5459 * gdb.ada/info_locals_renaming: New testcase.
5460
5461 2012-03-02 Tom Tromey <tromey@redhat.com>
5462
5463 * gdb.base/nextoverexit.c: New file.
5464 * gdb.base/nextoverexit.exp: New file.
5465
5466 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5467
5468 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5469 parameter.
5470
5471 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5472
5473 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5474 core registers.
5475
5476 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5477 Maciej W. Rozycki <macro@codesourcery.com>
5478 Daniel Jacobowitz <dan@codesourcery.com>
5479
5480 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5481
5482 2012-03-01 Pedro Alves <palves@redhat.com>
5483
5484 PR gdb/13767
5485
5486 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5487 (gdb_collect_globals_test): Call it.
5488
5489 2012-03-01 Keith Seitz <keiths@redhat.com>
5490
5491 * gdb.cp/method2.exp: Output of overload menu is now
5492 alphabetized. Update tests for "break A::method".
5493 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5494 of hard-coding them.
5495 Overload menu is alphabetized: rewrite to accommodate.
5496 Unset variables LINE and TYPES which are used in other tests.
5497 Compute the output of "info break".
5498 Update the breakpoint table after all breakpoints are deleted.
5499 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5500 compute ACTUALS and the method body based on parameters.
5501 Update expected output accordingly.
5502 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5503 unique comments to allow the use of gdb_get_line_number.
5504
5505 2012-03-01 Keith Seitz <keiths@redhat.com>
5506
5507 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5508 some Tcl syntax.
5509 * gdb.cp/ovldbreak.exp: Likewise.
5510
5511 2012-03-01 Keith Seitz <keiths@redhat.com>
5512
5513 * gdb.base/help.exp (help show user): Update expected result
5514 for new doc string changes (add "non-python").
5515
5516 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
5517
5518 * gdb.python/py-cmd.exp: Add test to verify that python commands can
5519 be put in the user-defined category and that the commands appear in
5520 "help user-defined".
5521
5522 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5523
5524 * gdb.ada/tagged_not_init: New testcase.
5525
5526 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5527
5528 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5529 * gdb.ada/enum_idx_packed: New testcase.
5530
5531 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5532
5533 * gdb.ada/aliased_array: New testcase.
5534
5535 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5536
5537 * gdb.ada/whatis_array_val: New testcase.
5538
5539 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5540
5541 Fix disp-step-syscall.exp: fork: single step over fork.
5542 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5543 whitespaces.
5544 (single step over $syscall): Remove its check.
5545 (single step over $syscall final pc): New check.
5546
5547 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5548
5549 Support processors without SSSE3.
5550 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5551 pabsd into ...
5552 (ssse3_test): ... a new function.
5553 (main): Call ssse3_test.
5554 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5555 Update expected values everywhere.
5556 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5557 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5558 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5559 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5560 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5561 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5562 Move these tests lower.
5563 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5564 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5565 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5566 New tests.
5567
5568 2012-02-29 Yao Qi <yao@codesourcery.com>
5569 Pedro Alves <palves@redhat.com>
5570
5571 * gdb.trace/trace-mt.c: New.
5572 * gdb.trace/trace-mt.exp: New.
5573
5574 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
5575
5576 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5577 numbers instead of hardcoding them.
5578 * gdb.base/annota1.c: Provide suitable markers.
5579 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5580 numbers instead of hardcoding them.
5581 * gdb.base/annota3.c: Provide suitable markers.
5582
5583 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5584 * gdb.base/annota3.c: Likewise.
5585 * gdb.base/sigall.c: Likewise.
5586 * gdb.base/signals.c: Likewise.
5587 * gdb.reverse/sigall-reverse.c: Likewise.
5588
5589 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
5590
5591 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5592 failure return path.
5593
5594 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
5595
5596 * gdb.base/save-bp.exp: Account for new condition evaluator output.
5597
5598 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
5599
5600 * gdb.base/cond-eval-mode.exp: New file.
5601
5602 2012-02-24 Pedro Alves <palves@redhat.com>
5603
5604 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5605 (top level): Use with_test_prefix.
5606
5607 2012-02-24 Pedro Alves <palves@redhat.com>
5608
5609 * gdb.threads/attach-into-signal.exp (corefunc): Use
5610 with_test_prefix.
5611
5612 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5613
5614 Fix false FAILs on old CPUs without SSE.
5615 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
5616 Return untested for Illegal instruction.
5617
5618 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5619
5620 Fix false FAILs with glibc debug infos installed.
5621 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
5622 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
5623
5624 2012-02-22 Sterling Augustine <saugustine@google.com>
5625
5626 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
5627 constant with cast.
5628
5629 2012-02-21 Pedro Alves <palves@redhat.com>
5630
5631 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
5632
5633 2012-02-21 Pedro Alves <palves@redhat.com>
5634
5635 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
5636
5637 2012-02-21 Pedro Alves <palves@redhat.com>
5638
5639 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
5640 with_test_prefix.
5641
5642 2012-02-21 Pedro Alves <palves@redhat.com>
5643
5644 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
5645 with_test_prefix here.
5646 (top level): Do it here instead. Remove `:' from the
5647 with_test_prefix string.
5648 * gdb.base/attach-pie-misread.exp: Remove the leading space the
5649 the suffix `:' from the with_test_prefix prefix string.
5650 * gdb.base/break-interp.exp: Ditto.
5651 * gdb.base/catch-load.exp: Ditto.
5652 * gdb.base/disp-step-syscall.exp: Ditto.
5653 * gdb.base/jit-so.exp: Ditto.
5654 * gdb.base/jit.exp: Ditto.
5655 * gdb.base/sepdebug.exp: Ditto.
5656 * gdb.base/solib-display.exp: Ditto.
5657 * gdb.base/solib-overlap.exp: Ditto.
5658 * gdb.base/watch-cond-infcall.exp: Ditto.
5659 * gdb.base/watchpoint.exp: Ditto.
5660 * gdb.dwarf2/dw2-noloc.exp: Ditto.
5661 * gdb.mi/mi-watch.exp: Ditto.
5662 * gdb.mi/mi2-watch.exp: Ditto.
5663 * gdb.threads/non-ldr-exc-1.exp: Ditto.
5664 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5665 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5666 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5667 * gdb.threads/watchpoint-fork.exp: Ditto.
5668 * gdb.threads/watchthreads-reorder.exp: Ditto.
5669 * gdb.trace/change-loc.exp: Ditto.
5670 * gdb.trace/pending.exp: Ditto.
5671 * gdb.trace/status-stop.exp: Ditto.
5672 * gdb.trace/strace.exp: Ditto.
5673 * gdb.trace/trace-break.exp: Ditto.
5674 * gdb.trace/unavailable.exp: Ditto.
5675 * lib/gdb.exp (with_test_prefix): Always prefix with space and
5676 suffix with colon. Adjust leading comments.
5677
5678 2012-02-21 Pedro Alves <palves@redhat.com>
5679 Tom Tromey <tromey@redhat.com>
5680
5681 * lib/gdb.exp: Add description of test prefixes.
5682 (with_test_prefix): New procedure.
5683 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
5684 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
5685 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
5686 instead of lappend to append to pf_prefix.
5687 * gdb.base/catch-load.exp: Use with_test_prefix.
5688 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
5689 * gdb.base/jit-so.exp: Use with_test_prefix.
5690 * gdb.base/jit.exp: Use with_test_prefix.
5691 * gdb.base/return-nodebug.exp (do_test): Use append instead of
5692 lappend to append to pf_prefix.
5693 * gdb.base/sepdebug.exp: Use with_test_prefix.
5694 * gdb.base/solib-display.exp: Use with_test_prefix.
5695 * gdb.base/solib-overlap.exp: Use with_test_prefix.
5696 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
5697 * gdb.base/watchpoint.exp: Use with_test_prefix.
5698 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
5699 * gdb.mi/mi-watch.exp: Use with_test_prefix.
5700 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
5701 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
5702 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
5703 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
5704 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
5705 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
5706 append instead of lappend to append to pf_prefix.
5707 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
5708 * gdb.trace/change-loc.exp: Use with_test_prefix.
5709 * gdb.trace/pending.exp: Use with_test_prefix.
5710 * gdb.trace/status-stop.exp: Use with_test_prefix.
5711 * gdb.trace/strace.exp: Use with_test_prefix.
5712 * gdb.trace/trace-break.exp: Use with_test_prefix.
5713 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
5714 instead of lappend to append to pf_prefix.
5715
5716 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5717
5718 Fix racy FAILs.
5719 * gdb.base/inferior-died.c (main): Add return of 0.
5720 * gdb.base/inferior-died.exp (continue): Fix expectation of
5721 asynchronous events.
5722 (p 1): New test.
5723
5724 2012-02-20 Pedro Alves <palves@redhat.com>
5725
5726 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
5727 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
5728 gdb's internal debug output. For the non-threaded case, look for
5729 "Program received signal SIGLARM", for the threaded case, peek at
5730 the thread's siginfo.
5731
5732 2012-02-20 Pedro Alves <palves@redhat.com>
5733
5734 General cleanup, make output test messages unique, and build
5735 different executable files for the non-threaded and threaded
5736 cases.
5737
5738 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
5739 Delete.
5740 (executable_nothr, executable_thr): New globals.
5741 (top level): Adjust to delete both executables.
5742 (corefunc): New parameter $executable. Set $pf_prefix instead of
5743 hand writing a prefix in tests. Issue a clean_restart and enable
5744 lin-lwp debug output here.
5745 (top level): Adjust. Use build_executable. Don't start gdb here,
5746 and don't enable lin-lwp debug output here.
5747 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
5748
5749 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5750
5751 Fix racy FAILs.
5752 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
5753 "continue" command.
5754
5755 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5756
5757 Fix for gdbserver non-extended mode.
5758 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
5759 and gdb_run_cmd.
5760
5761 2012-02-17 Tom Tromey <tromey@redhat.com>
5762
5763 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
5764 * gdb.python/py-events.exp: Check 'dir' output.
5765 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
5766
5767 2012-02-17 Yao Qi <yao@codesourcery.com>
5768
5769 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
5770
5771 2012-02-16 Tom Tromey <tromey@redhat.com>
5772
5773 * gdb.base/inferior-died.c: Don't include stdio.h.
5774
5775 2012-02-16 Tom Tromey <tromey@redhat.com>
5776
5777 * gdb.base/inferior-died.c: New file.
5778 * gdb.base/inferior-died.exp: New file.
5779
5780 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
5781
5782 * gdb.base/break-inline.exp: New file.
5783 * gdb.base/break-inline.c: New file.
5784
5785 2012-02-15 Tom Tromey <tromey@redhat.com>
5786
5787 * gdb.base/pc-fp.exp: Add "info register" tests.
5788
5789 2012-02-15 Tom Tromey <tromey@redhat.com>
5790
5791 * gdb.base/regs.exp: Remove.
5792
5793 2012-02-15 Pedro Alves <palves@redhat.com>
5794
5795 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
5796 the target doesn't support tracepoints.
5797 * gdb.trace/circ.exp: Ditto.
5798 * gdb.trace/collection.exp: Ditto.
5799 * gdb.trace/packetlen.exp: Ditto.
5800 * gdb.trace/passc-dyn.exp: Ditto.
5801 * gdb.trace/report.exp: Ditto.
5802 * gdb.trace/tfind.exp: Ditto.
5803 * gdb.trace/tspeed.exp: Ditto.
5804 * gdb.trace/tsv.exp: Ditto.
5805 * gdb.trace/unavailable.exp: Ditto.
5806 * gdb.trace/while-dyn.exp: Ditto.
5807
5808 2012-02-15 Pedro Alves <palves@redhat.com>
5809
5810 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
5811 gdb_test_multiple, and call unsupported instead of fail, if the
5812 remote side does not support the request.
5813
5814 2012-02-15 Pedro Alves <palves@redhat.com>
5815
5816 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
5817 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
5818 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
5819 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
5820 * gdb.server/server-run.exp: Make sure gdb is disconnected.
5821 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
5822 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
5823 doesn't start with "extended-" already.
5824
5825 2012-02-15 Pedro Alves <palves@redhat.com>
5826
5827 Support extended-remote. Avoid cascading timeouts.
5828
5829 * gdb.base/attach.exp (do_attach_tests): Add expected output for
5830 the extended-remote target. If attaching with no file fails, load
5831 the file manually.
5832 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
5833
5834 2012-02-14 Stan Shebs <stan@codesourcery.com>
5835
5836 * gdb.base/ena-dis-br.exp: Add enable count test.
5837
5838 2012-02-13 Pedro Alves <palves@redhat.com>
5839
5840 * config/mips-idt.exp: Delete.
5841 * gdb.base/a2-run.exp: Remove mips-idt xfails.
5842 * gdb.base/bitfields.exp: Remove mips-idt restarts.
5843 * gdb.base/break.exp: Remove mips-idt references.
5844 * gdb.base/chng-syms.exp: Ditto.
5845 * gdb.base/default.exp: Ditto.
5846 * gdb.base/funcargs.exp (funcargs_reload): Delete.
5847 (top level): Don't call it.
5848 * gdb.base/opaque.exp: Remove mips-idt restarts.
5849 * gdb.base/ptype.exp: Remove mips-idt xfails.
5850 * gdb.base/scope.exp: Remove mips-idt restarts.
5851 * gdb.base/sepdebug.exp: Remove mips-idt references.
5852 * gdb.base/watchpoint.exp (maybe_clean_restart)
5853 (maybe_reinitialize): Delete.
5854 (test_disabling_watchpoints, test_disabling_watchpoints)
5855 (test_watchpoint_triggered_in_syscall)
5856 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5857 Don't call them.
5858
5859 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5860
5861 * gdb.server/server-exec-info.exp: New file.
5862
5863 2012-02-10 Pedro Alves <palves@redhat.com>
5864
5865 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5866 always non-empty.
5867 (test_attach): Always pass $exec to test_attach_gdb.
5868
5869 2012-02-08 Tom Tromey <tromey@redhat.com>
5870
5871 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5872 before inferior is started.
5873
5874 2012-02-07 Tom Tromey <tromey@redhat.com>
5875
5876 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5877 Symbol.value.
5878 * gdb.python/py-symbol.c (qq): Set default value.
5879
5880 2012-02-07 Tom Tromey <tromey@redhat.com>
5881
5882 * gdb.python/py-symbol.c (qq): New global.
5883 * gdb.python/py-symbol.exp: Add test for frame-less
5884 lookup_symbol.
5885 * gdb.python/py-symtab.exp: Fix line number.
5886
5887 2012-02-03 Joel Brobecker <brobecker@adacore.com>
5888
5889 * gdb.ada/mi_task_arg: New testcase.
5890
5891 2012-02-02 Pedro Alves <palves@redhat.com>
5892
5893 * gdb.reverse/until-precsave.exp: Also put "record save" under the
5894 extended timeout.
5895
5896 2012-02-02 Pedro Alves <palves@redhat.com>
5897
5898 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5899 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5900
5901 2012-02-02 Pedro Alves <palves@redhat.com>
5902
5903 * gdb.base/term.exp: Rewrite.
5904 * gdb.base/term.c: New.
5905
5906 2012-02-02 Pedro Alves <palves@redhat.com>
5907
5908 * gdb.base/default.exp (run "r" abbreviation, run): Add
5909 extended-remote expected output.
5910
5911 2012-02-02 Tom Tromey <tromey@redhat.com>
5912
5913 * gdb.cp/dispcxx.exp: New file.
5914 * gdb.cp/dispcxx.cc: New file.
5915
5916 2012-02-01 Tom Tromey <tromey@redhat.com>
5917
5918 * gdb.base/jit-simple.exp: New file.
5919 * gdb.base/jit-simple.c: New file.
5920
5921 2012-01-30 Yao Qi <yao@codesourcery.com>
5922
5923 * gdb.base/skip.exp: Make test result unique.
5924
5925 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5926
5927 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5928 compatibility with valgrind-3.7.0.
5929
5930 2012-01-27 Pedro Alves <palves@redhat.com>
5931
5932 * gdb.base/watchpoint.exp (no_hw): New global.
5933 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5934 disable hw watchpoints.
5935 (test_wide_location_1, test_wide_location_2): If no_hw is set,
5936 don't expect hw watchpoints.
5937 (no_hw_watchpoints): Always clean restart.
5938 (do_tests): New procedure, factored out from the top level.
5939 (top level): Run tests twice. Once with hw watchpoints enabled,
5940 another time with hw watchpoints disabled.
5941
5942 2012-01-27 Pedro Alves <palves@redhat.com>
5943
5944 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5945 out from the top level.
5946 (top level): Call it instead.
5947
5948 2012-01-27 Pedro Alves <palves@redhat.com>
5949
5950 * gdb.base/watchpoint.exp (top level): Re-enable hardware
5951 watchpoints sooner.
5952
5953 2012-01-27 Pedro Alves <palves@redhat.com>
5954
5955 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5956
5957 2012-01-27 Pedro Alves <palves@redhat.com>
5958
5959 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5960 "You may have requested too many hardware
5961 breakpoints/watchpoints".
5962
5963 2012-01-27 Pedro Alves <palves@redhat.com>
5964
5965 * gdb.base/watchpoint.exp (maybe_clean_restart)
5966 (maybe_reinitialize): New.
5967 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
5968 expect "hit N times".
5969 (test_disabling_watchpoints, test_complex_watchpoint)
5970 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5971 Call maybe_clean_restart.
5972 (top level): Use clean_restart. Remove "mips-idt-*"
5973 reinitialization.
5974
5975 2012-01-27 Pedro Alves <palves@redhat.com>
5976
5977 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5978
5979 2012-01-27 Pedro Alves <palves@redhat.com>
5980
5981 * gdb.base/watchpoint.exp: Clean restart after tests that don't
5982 require `initialize' anymore. Remove unnecessary `initialize'
5983 calls.
5984
5985 2012-01-27 Pedro Alves <palves@redhat.com>
5986
5987 * gdb.base/watchpoint.exp (wp_set): Delete.
5988 (initialize, test_simple_watchpoint, top level): Remove dead code.
5989
5990 2012-01-27 Pedro Alves <palves@redhat.com>
5991
5992 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5993 typo.
5994
5995 2012-01-27 Pedro Alves <palves@redhat.com>
5996
5997 * config/extended-gdbserver.exp: New file.
5998 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5999 comment.
6000 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
6001 * boards/native-extended-gdbserver.exp: New file.
6002
6003 2012-01-26 Pedro Alves <palves@redhat.com>
6004
6005 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
6006 and gdb_test_multiple.
6007
6008 2012-01-26 Pedro Alves <palves@redhat.com>
6009
6010 Make test messages unique, and more identifiable.
6011 * gdb.multi/watchpoint-multi.exp: Change test messages.
6012
6013 2012-01-25 Tom Tromey <tromey@redhat.com>
6014
6015 * gdb.base/solib-disc.exp: Fix regexps.
6016
6017 2012-01-24 Tom Tromey <tromey@redhat.com>
6018
6019 * lib/mi-support.exp (mi_expect_stop): Add special case for
6020 solib-event.
6021 * gdb.base/catch-load-so.c: New file.
6022 * gdb.base/catch-load.exp: New file.
6023 * gdb.base/catch-load.c: New file.
6024 * gdb.base/break-interp.exp (reach_1): Update regexp.
6025
6026 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6027
6028 Fix fuzzy results.
6029 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
6030 lpsimple and func.
6031
6032 2012-01-24 Gary Benson <gbenson@redhat.com>
6033
6034 Delete #if 0'd out code.
6035 * gdb.base/default.exp (info catch): Remove.
6036 * gdb.base/gdb_history (info catch): Likewise.
6037 * gdb.base/help.exp (info catch): Likewise.
6038
6039 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6040
6041 Fix watchpoints to be specific for each inferior.
6042 * gdb.multi/watchpoint-multi.c: New file.
6043 * gdb.multi/watchpoint-multi.exp: New file.
6044
6045 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6046
6047 Fix watchpoints across inferior fork.
6048 * gdb.threads/watchpoint-fork-child.c: New file.
6049 * gdb.threads/watchpoint-fork-mt.c: New file.
6050 * gdb.threads/watchpoint-fork-parent.c: New file.
6051 * gdb.threads/watchpoint-fork-st.c: New file.
6052 * gdb.threads/watchpoint-fork.exp: New file.
6053 * gdb.threads/watchpoint-fork.h: New file.
6054
6055 2012-01-23 Pedro Alves <palves@redhat.com>
6056
6057 * gdb.base/call-signal-resume.exp: Allow output after "return".
6058
6059 2012-01-20 Pedro Alves <palves@redhat.com>
6060
6061 * gdb.python/py-finish-breakpoint.py: Fix typo.
6062
6063 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
6064
6065 * gdb.base/info-proc.exp: Also run on remote targets. Main
6066 "info proc" command is now always present; whether target supports
6067 actual info proc operation is detected when attempting to issue
6068 the command.
6069
6070 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6071
6072 * .gdbinit: Remove.
6073
6074 2012-01-19 Pedro Alves <palves@redhat.com>
6075
6076 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6077 look at the funtions' returns.
6078 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6079 (jprint.print(int, int)): Change return type to int. Adjust.
6080
6081 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6082
6083 PR gdb/9538
6084 * gdb.base/sepdebug.exp: New test.
6085
6086 2012-01-18 Pedro Alves <palves@redhat.com>
6087
6088 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6089 Allow output before ^done.
6090
6091 2012-01-16 Tom Tromey <tromey@redhat.com>
6092
6093 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6094 Add tests for relative directory.
6095
6096 2012-01-16 Tom Tromey <tromey@redhat.com>
6097
6098 * gdb.base/printcmds.c (enum flag_enum): New.
6099 (three): New global.
6100 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6101 enum printing.
6102 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6103 FlagEnumerationPrinter.
6104 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6105 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6106 (fval): New global.
6107
6108 2012-01-16 Pedro Alves <palves@redhat.com>
6109
6110 * lib/gdb.exp (banned_procedures): New variable.
6111 (banned_variables_traced): Rename to ...
6112 (banned_traced): ... this.
6113 (gdb_init): Also trace banned procedures.
6114 (gdb_finish): Also untrace banned procedures.
6115
6116 2012-01-16 Pedro Alves <palves@redhat.com>
6117
6118 Remove all calls to strace.
6119
6120 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6121
6122 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6123 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6124
6125 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6126
6127 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6128 * gdb.base/pie-execl.exp: Likewise.
6129
6130 2012-01-12 Keith Seitz <keiths@redhat.com>
6131
6132 PR mi/10586
6133 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6134 (do_anonymous_type_tests): New function.
6135 (main): Call do_anonymous_type_tests.
6136 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6137 (verify_everything): New procedure.
6138 * gdb.mi/mi-var-cp.cc (class A): New class.
6139 (anonymous_structs_and_unions): New function.
6140 (main): Call anonymous_structs_and_unions.
6141 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6142 (verify_everything): New procedure.
6143
6144 2012-01-12 Keith Seitz <keiths@redhat.com>
6145
6146 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6147 (varobj_tree::get_path_expr): Assume that all varobjs are
6148 compound unless they are known simple types.
6149 Adjust path expressions based on parent type, path parent type,
6150 and tree language.
6151 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6152 the root varobj.
6153 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6154
6155 2012-01-11 Pedro Alves <palves@redhat.com>
6156
6157 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6158 core files on this machine" anymore.
6159
6160 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6161
6162 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6163 (main): Repeat recurser call.
6164 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6165 equivalent to 'local_x'.
6166
6167 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6168 Joel Brobecker <brobecker@adacore.com>
6169
6170 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6171
6172 2012-01-05 Pedro Alves <alves.ped@gmail.com>
6173
6174 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6175 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6176 * gdb.python/py-events.exp: Test that "step N" tripping on a
6177 breakpoint emits a breakpoint event.
6178
6179 2012-01-03 Joel Brobecker <brobecker@adacore.com>
6180
6181 * gdb.base/auxv.exp: Reformat the copyright notice.
6182
6183 2012-01-03 Yao Qi <yao@codesourcery.com>
6184
6185 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6186 (strace_trace_on_diff_addr): New.
6187 * gdb.trace/strace.c: (main): Add two local variables.
6188
6189 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6190
6191 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6192 * gdb.cell/gcore.exp: Likewise.
6193 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6194 to verify the correct instance of main is selected.
6195
6196 2012-01-02 Joel Brobecker <brobecker@adacore.com>
6197
6198 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6199 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6200 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6201 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6202 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6203 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6204 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6205 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6206 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6207 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6208 gdb.threads/thread_check.c: Reformat copyright header.
6209
6210 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6211
6212 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
6213 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6214 is not enabled.
6215
6216 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6217
6218 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6219 parameter to self_exec, adjust the function.
6220 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6221 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6222 (set var do_exit = 0): Remove test.
6223 (newline at end of file): Add one.
6224
6225 2011-12-27 Joel Brobecker <brobecker@adacore.com>
6226
6227 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6228 New files.
6229
6230 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6231
6232 Fix racy FAILs.
6233 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6234 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6235 (main): Call pthread_barrier_init for it.
6236
6237 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6238
6239 Fix double send_gdb leading to racy FAILs.
6240 * gdb.base/break.exp (set silent break bp_location1): Replace
6241 3x send_gdb and gdb_expect by gdb_test.
6242 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6243 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6244 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6245 instead of send_gdb. Twice.
6246 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6247 3x send_gdb and gdb_expect by gdb_test.
6248 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6249
6250 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6251
6252 * gdb.linespec/linespec.exp: Compile using {c++}.
6253
6254 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6255
6256 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6257 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6258 (verify GCC PR debug/51668): New test.
6259
6260 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
6261
6262 Introduce gdb.FinishBreakpoint in Python.
6263 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6264 py-finish-breakpoint2
6265 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6266 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6267 instead of line number.
6268 * gdb.python/py-finish-breakpoint.c: New file.
6269 * gdb.python/py-finish-breakpoint.exp: New file.
6270 * gdb.python/py-finish-breakpoint.py: New file.
6271 * gdb.python/py-finish-breakpoint2.cc: New file.
6272 * gdb.python/py-finish-breakpoint2.exp: New file.
6273 * gdb.python/py-finish-breakpoint2.py: New file.
6274
6275 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6276
6277 Partial fix of compatibility with gcc-4.7.
6278 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6279 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6280 Add comment to add a PASS case in the future.
6281
6282 Fix compatibility with gcc-4.7.
6283 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6284
6285 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6286
6287 PR tdep/12797
6288 * gdb.base/callfuncs.exp: Remove KFAIL.
6289
6290 2011-12-21 Joel Brobecker <brobecker@adacore.com>
6291
6292 * gdb.ada/task_bp: New testcase.
6293
6294 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6295
6296 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6297 -DNO_SECTIONS.
6298 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6299
6300 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6301
6302 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6303 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6304 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6305 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6306 conditional for gcc <= 4.5.
6307
6308 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6309
6310 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6311 by XFAIL.
6312 * gdb.cp/static-method.exp (info addr A::func())
6313 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6314 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6315 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6316 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6317 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6318 (test value of F in k3_m): Likewise.
6319 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6320 Likewise.
6321
6322 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6323
6324 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6325 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6326 Remove.
6327 * gdb.threads/attachstop-mt.c: Remove.
6328 * gdb.threads/attachstop-mt.exp: Remove.
6329
6330 2011-12-17 Mark Kettenis <kettenis@gnu.org>
6331
6332 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6333
6334 2011-12-16 Doug Evans <dje@google.com>
6335
6336 * boards/native-stdio-gdbserver.exp: New file.
6337 * boards/native-gdbserver.exp: New file.
6338
6339 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6340 gdbserver output.
6341 (gdbserver_default_get_remote_address): New function.
6342 (gdbserver_start): Call gdb,get_remote_address to compute argument
6343 to "target remote" command.
6344
6345 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6346
6347 * gdb.python/py-function.exp: Change "on" to "full" for
6348 python print-stack. Add set/show python print-stack
6349 off|full|message tests.
6350
6351 2011-12-15 Yao Qi <yao@codesourcery.com>
6352
6353 * gdb.trace/strace.c: New
6354 * gdb.trace/strace.exp: New.
6355
6356 2011-12-14 Tom Tromey <tromey@redhat.com>
6357
6358 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6359
6360 2011-12-14 Doug Evans <dje@google.com>
6361
6362 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6363
6364 2011-12-14 Pedro Alves <pedro@codesourcery.com>
6365
6366 PR threads/10729
6367
6368 * gdb.mi/watch-nonstop.c: New file.
6369 * gdb.mi/mi-watch-nonstop.exp: New file.
6370
6371 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6372 Doug Evans <dje@google.com>
6373
6374 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6375 (clean_restart): Remove references to the gdb_stub target board
6376 variable.
6377 (gdb_step_for_stub): Delete.
6378
6379 * gdb.base/annota1.exp: Remove all references to [target_info
6380 exists gdb_stub], gdb_step_for_stub and usestubs.
6381 * gdb.base/annota3.exp: Ditto.
6382 * gdb.base/async.exp: Ditto.
6383 * gdb.base/break.exp: Ditto.
6384 * gdb.base/code-expr.exp: Ditto.
6385 * gdb.base/commands.exp: Ditto.
6386 * gdb.base/completion.exp: Ditto.
6387 * gdb.base/condbreak.exp: Ditto.
6388 * gdb.base/consecutive.exp: Ditto.
6389 * gdb.base/cvexpr.exp: Ditto.
6390 * gdb.base/define.exp: Ditto.
6391 * gdb.base/display.exp: Ditto.
6392 * gdb.base/ena-dis-br.exp: Ditto.
6393 * gdb.base/environ.exp: Ditto.
6394 * gdb.base/gnu-ifunc.exp: Ditto.
6395 * gdb.base/maint.exp: Ditto.
6396 * gdb.base/pending.exp: Ditto.
6397 * gdb.base/sect-cmd.exp: Ditto.
6398 * gdb.base/sepdebug.exp: Ditto.
6399 * gdb.base/unload.exp: Ditto.
6400 * gdb.base/watchpoint-solib.exp: Ditto.
6401 * gdb.cp/annota2.exp: Ditto.
6402 * gdb.cp/annota3.exp: Ditto.
6403 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6404 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6405 * gdb.mi/mi-pending.exp: Ditto.
6406 * gdb.trace/circ.exp: Ditto.
6407 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6408 * gdb.base/list.exp: Ditto.
6409
6410 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6411 breakpoint function and all references to the usestubs macro.
6412 * gdb.base/exprs.c: Ditto.
6413 * gdb.base/freebpcmd.c: Ditto.
6414 * gdb.base/bitfields.c: Ditto.
6415 * gdb.base/bitfields2.c: Ditto.
6416 * gdb.base/break.c: Ditto.
6417 * gdb.base/call-sc.c: Ditto.
6418 * gdb.base/call-signals.c: Ditto.
6419 * gdb.base/callfuncs.c: Ditto.
6420 * gdb.base/charset.c: Ditto.
6421 * gdb.base/consecutive.c: Ditto.
6422 * gdb.base/constvars.c: Ditto.
6423 * gdb.base/funcargs.c: Ditto.
6424 * gdb.base/int-type.c: Ditto.
6425 * gdb.base/interrupt.c: Ditto.
6426 * gdb.base/langs0.c: Ditto.
6427 * gdb.base/list0.c: Ditto.
6428 * gdb.base/mips_pro.c: Ditto.
6429 * gdb.base/miscexprs.c: Ditto.
6430 * gdb.base/nodebug.c: Ditto.
6431 * gdb.base/opaque0.c: Ditto.
6432 * gdb.base/pointers.c: Ditto.
6433 * gdb.base/printcmds.c: Ditto.
6434 * gdb.base/ptype.c: Ditto.
6435 * gdb.base/recurse.c: Ditto.
6436 * gdb.base/reread1.c: Ditto.
6437 * gdb.base/reread2.c: Ditto.
6438 * gdb.base/restore.c: Ditto.
6439 * gdb.base/return.c: Ditto.
6440 * gdb.base/run.c: Ditto.
6441 * gdb.base/scope0.c: Ditto.
6442 * gdb.base/sepdebug.c: Ditto.
6443 * gdb.base/setshow.c: Ditto.
6444 * gdb.base/setvar.c: Ditto.
6445 * gdb.base/sigall.c: Ditto.
6446 * gdb.base/signals.c: Ditto.
6447 * gdb.base/structs.c: Ditto.
6448 * gdb.base/structs2.c: Ditto.
6449 * gdb.base/testenv.c: Ditto.
6450 * gdb.base/twice.c: Ditto.
6451 * gdb.base/unwindonsignal.c: Ditto.
6452 * gdb.base/watchpoint.c: Ditto.
6453 * gdb.base/watchpoints.c: Ditto.
6454 * gdb.base/whatis.c: Ditto.
6455 * gdb.cp/classes.cc: Ditto.
6456 * gdb.cp/cplusfuncs.cc: Ditto.
6457 * gdb.cp/derivation.cc: Ditto.
6458 * gdb.cp/formatted-ref.cc: Ditto.
6459 * gdb.cp/misc.cc: Ditto.
6460 * gdb.cp/overload.cc: Ditto.
6461 * gdb.cp/ovldbreak.cc: Ditto.
6462 * gdb.cp/ref-params.cc: Ditto.
6463 * gdb.cp/ref-types.cc: Ditto.
6464 * gdb.cp/templates.cc: Ditto.
6465 * gdb.cp/virtfunc.cc: Ditto.
6466 * gdb.hp/gdb.aCC/run.c: Ditto.
6467 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6468 * gdb.hp/gdb.compat/xdb0.c: Ditto.
6469 * gdb.reverse/consecutive-reverse.c: Ditto.
6470 * gdb.reverse/sigall-reverse.c: Ditto.
6471 * gdb.reverse/until-reverse.c: Ditto.
6472 * gdb.reverse/watch-reverse.c: Ditto.
6473 * gdb.trace/actions.c: Ditto.
6474 * gdb.trace/circ.c: Ditto.
6475 * gdb.trace/collection.c: Ditto.
6476
6477 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6478
6479 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6480 (func6, func7): New.
6481 (main): Call func6 and func7.
6482 * gdb.base/watchpoint.exp (test_wide_location_1)
6483 (test_wide_location_2): New.
6484 (top level): Re-enable hardware watchpoints if necessary. Call
6485 test_wide_location_1 and test_wide_location_2.
6486
6487 2011-12-11 Yao Qi <yao@codesourcery.com>
6488
6489 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6490
6491 2011-12-11 Joel Brobecker <brobecker@adacore.com>
6492
6493 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6494 expected output for unsupported case.
6495
6496 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6497
6498 PR testsuite/12649
6499 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6500 Protect gdb_test_multiple by final $gdb_prompt match.
6501
6502 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6503
6504 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6505 New variable, new test.
6506 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6507 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6508 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6509 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6510 them if HAVE_GCC_45682_FIXED is not set.
6511
6512 2011-12-10 Yao Qi <yao@codesourcery.com>
6513
6514 * gdb.trace/status-stop.exp: New.
6515 * gdb.trace/status-stop.c: New.
6516
6517 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6518
6519 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6520 timeout.
6521
6522 2011-12-08 Tom Tromey <tromey@redhat.com>
6523
6524 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6525 condition.
6526
6527 2011-12-07 Stan Shebs <stan@codesourcery.com>
6528
6529 * gdb.trace/tfind.exp: Update for output changes.
6530
6531 2011-12-07 Pedro Alves <pedro@codesourcery.com>
6532
6533 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6534 throws "Cannot insert catchpoints in this configuration".
6535 * gdb.ada/mi_catch_ex.exp: Likewise.
6536
6537 2011-12-06 Pedro Alves <pedro@codesourcery.com>
6538
6539 * gdb.base/break-always.exp: Test changing memory at addresses
6540 with breakpoints inserted.
6541
6542 2011-12-06 Joel Brobecker <brobecker@acacore.com>
6543
6544 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6545 involving a fully qualified function name.
6546
6547 2011-12-06 Tom Tromey <tromey@redhat.com>
6548
6549 * gdb.ada/homonym.exp: Add three breakpoint tests.
6550
6551 2011-12-06 Tom Tromey <tromey@redhat.com>
6552
6553 * gdb.base/solib-weak.exp (do_test): Remove kfail.
6554 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6555 * gdb.objc/objcdecode.exp: Update for output changes.
6556 * gdb.linespec/linespec.exp: New file.
6557 * gdb.linespec/lspec.cc: New file.
6558 * gdb.linespec/lspec.h: New file.
6559 * gdb.linespec/body.h: New file.
6560 * gdb.linespec/base/two/thefile.cc: New file.
6561 * gdb.linespec/base/one/thefile.cc: New file.
6562 * gdb.linespec/Makefile.in: New file.
6563 * gdb.cp/templates.exp (test_template_breakpoints): Update for
6564 output changes.
6565 * gdb.cp/re-set-overloaded.exp: Remove kfail.
6566 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
6567 makes one breakpoint.
6568 * gdb.cp/method2.exp (test_break): Update for output changes.
6569 * gdb.cp/mb-templates.exp: Update for output changes.
6570 * gdb.cp/mb-inline.exp: Update for output changes.
6571 * gdb.cp/mb-ctor.exp: Update for output changes.
6572 * gdb.cp/ovsrch.exp: Use fully-qualified names.
6573 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
6574 has multiple matches.
6575 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
6576 error message change.
6577 * gdb.base/list.exp (test_list_filename_and_number): Update for
6578 error message change.
6579 * gdb.base/break.exp: Disable pending breakpoints. Update for
6580 output changes.
6581 * configure.ac: Add gdb.linespec.
6582 * configure: Rebuild.
6583 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6584
6585 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
6586
6587 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6588 last_break register on s390*-*-* targets.
6589
6590 2011-12-06 Joel Brobecker <brobecker@adacore.com>
6591
6592 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6593 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6594 of parameter X in procedure Foo.
6595
6596 2011-12-05 Stan Shebs <stan@codesourcery.com>
6597
6598 * gdb.trace/tfind.exp: Update help string matches.
6599
6600 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6601
6602 * gdb.server/ext-run.exp (get process list): Accept also systemd
6603 as PID 1.
6604
6605 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6606 Pedro Alves <pedro@codesourcery.com>
6607
6608 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6609 starting GDB.
6610 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6611 $use_gdb_stub.
6612 * gdb.base/display.exp: Likewise.
6613 * gdb.base/ending-run.exp: Likewise.
6614 * gdb.base/list.exp (test_listsize): Likewise.
6615 * gdb.base/setshow.exp: Likewise.
6616 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
6617 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
6618 check by global $use_gdb_stub.
6619 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
6620 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
6621 (default_gdb_init): Unset global $use_gdb_stub.
6622 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
6623 by global $use_gdb_stub.
6624 * lib/gdbserver-support.exp: Extend comments for set_board_info
6625 gdb_protocol and gdb,socketport.
6626 (gdbserver_start_extended): Set global gdbserver_protocol and
6627 gdbserver_gdbport. Clear global use_gdb_stub.
6628 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
6629 from target use_gdb_stub.
6630 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
6631
6632 2011-12-03 Doug Evans <dje@google.com>
6633
6634 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
6635 (gdb_step_for_stub): Add comments.
6636
6637 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
6638
6639 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
6640 to the caller.
6641 (gdb_test_multiple): Likewise.
6642
6643 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6644
6645 Fix gdb.mi/mi-solib.exp without system debug info installed.
6646 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
6647 expect attribute, return 0 for it. Update comments.
6648
6649 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6650
6651 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
6652 (corrupted list): Adjust the expectation.
6653
6654 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6655
6656 PR threads/13448
6657 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
6658 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
6659 * gdb.threads/tls-var-main.c: New file.
6660 * gdb.threads/tls-var.c: New file.
6661 * gdb.threads/tls-var.exp: New file.
6662
6663 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6664
6665 PR testsuite/12649
6666 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
6667 Protect gdb_test_multiple by final $gdb_prompt match.
6668 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
6669 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
6670 (test_tracepoints): Likewise.
6671
6672 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6673
6674 PR breakpoints/13346
6675 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
6676 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
6677 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
6678
6679 2011-12-01 Joel Brobecker <brobecker@adacore.com>
6680
6681 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
6682 * gdb.ada/homonym/homonym.adb: For use of all types defined
6683 locally inside both Get_Value subprograms.
6684
6685 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6686
6687 Fix racy FAILs.
6688 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
6689 of send_gdb.
6690
6691 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6692
6693 * gdb.base/testenv.exp: Skip on remote targets. Unset global
6694 environment variable after test completed.
6695
6696 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6697
6698 * gdb.base/solib-nodir.exp: Skip if remote target.
6699 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
6700 application. Call gdb_load_shlibs.
6701 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
6702
6703 2011-11-29 Joel Brobecker <brobecker@adacore.com>
6704
6705 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
6706
6707 2011-11-28 Joel Brobecker <brobecker@adacore.com>
6708
6709 * gdb.ada/fullname_bp: New testcase.
6710
6711 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6712
6713 PR testsuite/12649
6714 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
6715 Wrap send_gdb into a new gdb_test.
6716
6717 Code cleanup.
6718 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
6719 Convert send_gdb and gdb_expect to gdb_test_multiple.
6720
6721 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6722
6723 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
6724
6725 2011-11-23 Keith Seitz <keiths@redhat.com>
6726
6727 * lib/mi-support.exp (varobj_tree): New namespace and procs.
6728 (mi_varobj_tree_test_children_callback): New proc.
6729 (mi_walk_varobj_tree): New proc.
6730
6731 2011-11-22 Tom Tromey <tromey@redhat.com>
6732
6733 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
6734 Add "use_mi_command" argument.
6735 (mi_run_cmd, mi_run_with_cli): New procs.
6736 * gdb.mi/solib-lib.c: New file.
6737 * gdb.mi/solib-main.c: New file.
6738 * gdb.mi/mi-solib.exp: New file.
6739
6740 2011-11-21 Doug Evans <dje@google.com>
6741
6742 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
6743 _Unwind_DebugHook is missing.
6744
6745 2011-11-20 Stan Shebs <stan@codesourcery.com>
6746
6747 * gdb.trace/tstatus.exp: New.
6748 * gdb.trace/actions.c: Include string.h.
6749
6750 2011-11-18 Yao Qi <yao@codesourcery.com>
6751
6752 * gdb.trace/pending.exp: New.
6753 * gdb.trace/pending.c: New.
6754 * gdb.trace/pendshr1.c: New.
6755 * gdb.trace/pendshr2.c: New.
6756 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
6757 tracepoint location becomes pending.
6758 (tracepoint_change_loc_2): New.
6759
6760 2011-11-16 David S. Miller <davem@davemloft.net>
6761
6762 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
6763 target is sparc*-*-linux*
6764
6765 2011-11-15 Paul Koning <paul_koning@dell.com>
6766
6767 * gdb.python/py-type.exp: New testcases for exceptions on scalar
6768 types.
6769
6770 2011-11-14 Doug Evans <dje@google.com>
6771
6772 * gdb.base/shell.exp: New file.
6773
6774 2011-11-14 Stan Shebs <stan@codesourcery.com>
6775
6776 * gdb.trace/ftrace.c: New.
6777 * gdb.trace/ftrace.exp: New.
6778
6779 2011-11-14 Yao Qi <yao@codesourcery.com>
6780
6781 * gdb.trace/change-loc-1.c: New.
6782 * gdb.trace/change-loc-2.c: New.
6783 * gdb.trace/change-loc.c: New.
6784 * gdb.trace/change-loc.exp: New.
6785 * gdb.trace/change-loc.h: New.
6786 * gdb.trace/trace-break.c (marker): Define new symbol.
6787 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6788 New.
6789 (break_trace_same_addr_6): New.
6790
6791 2011-11-12 Matt Rice <ratmice@gmail.com>
6792
6793 * gdb.base/info-macros.exp: Make tests for info definitions
6794 test info macro. Add tests for info macro argument processing.
6795 Rename a few tests.
6796
6797 2011-11-11 Keith Seitz <keiths@redhat.com>
6798
6799 PR gdb/12843
6800 * gdb.base/linespecs.exp: New file.
6801
6802 2011-11-11 Doug Evans <dje@google.com>
6803
6804 * gdb.threads/print-threads.exp: Extend timeout for slower
6805 tests.
6806
6807 2011-11-10 Doug Evans <dje@google.com>
6808
6809 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
6810 "record to end of main" test.
6811
6812 * gdb.python/py-type.c (TS): New typedef.
6813 (ts): New global.
6814 * gdb.python/py-type.exp: Test field list of typedef.
6815
6816 2011-11-10 Joel Brobecker <brobecker@adacore.com>
6817
6818 * gdb.ada/small_reg_param: New testcase.
6819
6820 2011-11-09 Tom Tromey <tromey@redhat.com>
6821
6822 * gdb.cp/destrprint.exp: New file.
6823 * gdb.cp/destrprint.cc: New file.
6824
6825 2011-11-08 Meador Inge <meadori@codesourcery.com>
6826
6827 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
6828 (switch_stack_to_other): New test function.
6829 * gdb.arch/thumb-prologue.exp: New test cases.
6830
6831 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
6832
6833 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
6834
6835 2011-11-08 Yao Qi <yao@codesourcery.com>
6836
6837 * gdb.exp (supports_process_record): New.
6838 (supports_reverse): New.
6839 * gdb.reverse/break-precsave.exp: Call support_process_record
6840 to run test conditionally.
6841 * gdb.reverse/consecutive-precsave.exp: Likewise.
6842 * gdb.reverse/i386-precsave.exp: Likewise.
6843 * gdb.reverse/machinestate-precsave.exp: Likewise.
6844 * gdb.reverse/solib-precsave.exp: Likewise.
6845 * gdb.reverse/step-precsave.exp: Likewise.
6846 * gdb.reverse/until-precsave.exp: Likewise.
6847 * gdb.reverse/watch-precsave.exp: Likewise.
6848 * gdb.reverse/break-reverse.exp: Call support_reverse to run
6849 test conditionally.
6850 * gdb.reverse/consecutive-reverse.exp: Likewise.
6851 * gdb.reverse/finish-precsave.exp: Likewise.
6852 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6853 * gdb.reverse/finish-reverse.exp: Likewise.
6854 * gdb.reverse/i386-reverse.exp: Likewise.
6855 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6856 * gdb.reverse/machinestate.exp: Likewise.
6857 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6858 * gdb.reverse/sigall-precsave.exp: Likewise.
6859 * gdb.reverse/sigall-reverse.exp: Likewise.
6860 * gdb.reverse/solib-reverse.exp: Likewise.
6861 * gdb.reverse/step-reverse.exp: Likewise.
6862 * gdb.reverse/until-reverse.exp: Likewise.
6863 * gdb.reverse/watch-reverse.exp: Likewise.
6864
6865 2011-11-05 Yao Qi <yao@codesourcery.com>
6866
6867 * gdb.trace/trace-break.exp: Add test on setting two
6868 fast tracepoints at the same address.
6869
6870 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6871
6872 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6873
6874 2011-11-02 Stan Shebs <stan@codesourcery.com>
6875
6876 * gdb.trace/collection.c: Add code using strings.
6877 * gdb.trace/collection.exp: Add tests of string collection.
6878
6879 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6880
6881 * gdb.base/skip-solib.exp (executable_main): New variable.
6882 (binfile_main): Base it on that.
6883 Use $executable_main in clean_restart calls. Drop gdb_exit and
6884 gdb_start calls.
6885
6886 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6887
6888 Fix racy FAILs.
6889 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6890 breakpoint_re globals import by async. Set string_regex to .* for
6891 async. Remove the optional thread_selected_re and breakpoint_re
6892 globals expectations.
6893
6894 2011-11-01 Joseph Myers <joseph@codesourcery.com>
6895
6896 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6897 well as Cygwin.
6898
6899 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
6900
6901 Add tests for skip command.
6902 * gdb.base/skip-solib-lib.c: New
6903 * gdb.base/skip-solib-main.c: New
6904 * gdb.base/skip-solib.exp: New
6905 * gdb.base/skip.c: New
6906 * gdb.base/skip.exp: New
6907 * gdb.base/skip1.c: New
6908 * gdb.base/Makefile.in: Adding new files.
6909
6910 2011-10-31 Yao Qi <yao@codesourcery.com>
6911 Pedro Alves <pedro@codesourcery.com>
6912
6913 * gdb.trace/trace-break.c: New.
6914 * gdb.trace/trace-break.exp: New.
6915
6916 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6917
6918 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6919 break-here-2.
6920
6921 2011-10-28 Pedro Alves <pedro@codesourcery.com>
6922
6923 * gdb.threads/no-unwaited-for-left.c: New.
6924 * gdb.threads/no-unwaited-for-left.exp: New.
6925 * gdb.threads/non-ldr-exc-1.c: New.
6926 * gdb.threads/non-ldr-exc-1.exp: New.
6927 * gdb.threads/non-ldr-exc-2.c: New.
6928 * gdb.threads/non-ldr-exc-2.exp: New.
6929 * gdb.threads/non-ldr-exc-3.c: New.
6930 * gdb.threads/non-ldr-exc-3.exp: New.
6931 * gdb.threads/non-ldr-exc-4.c: New.
6932 * gdb.threads/non-ldr-exc-4.exp: New.
6933
6934 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6935
6936 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6937 * gdb.base/attach-pie-misread.exp: Likewise.
6938 * gdb.base/break-interp.exp: Likewise.
6939 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6940 testcases for use_gdb_stub.
6941 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6942 (continue): New testcase.
6943 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6944 * gdb.threads/attach-into-signal.exp: Likewise.
6945 * gdb.threads/attach-stopped.exp: Likewise.
6946 * gdb.threads/attachstop-mt.exp: Likewise.
6947
6948 2011-10-28 Paul Koning <paul_koning@dell.com>
6949
6950 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6951
6952 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6953
6954 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6955 (mi_gdb_test): Import globals thread_selected_re
6956 and breakpoint_re. Expect them optionally at the regex start.
6957
6958 2011-10-27 Doug Evans <dje@google.com>
6959
6960 * gdb.python/python.exp: Test source -s.
6961
6962 2011-10-26 Paul Koning <paul_koning@dell.com>
6963
6964 * gdb.python/lib-types.cc (struct A): New structure.
6965 * gdb.python/lib-types.exp (deepitems): New tests.
6966
6967 2011-10-25 Paul Koning <paul_koning@dell.com>
6968
6969 PR python/13327
6970
6971 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6972 fetch_lazy method.
6973
6974 2011-10-24 Yao Qi <yao@codesourcery.com>
6975
6976 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6977 target is tic6x-*-*.
6978
6979 2011-10-21 Joel Brobecker <brobecker@adacore.com>
6980
6981 * gdb.ada/mi_task_info/task_switch.adb: New file.
6982 * gdb.ada/mi_task_info.exp: New file.
6983
6984 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6985
6986 * gdb.cp/expand-psymtabs-cxx.exp: New file.
6987 * gdb.cp/expand-psymtabs-cxx.cc: New file.
6988
6989 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
6990
6991 PR python/12656
6992
6993 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6994 global_block tests.
6995
6996 2011-10-18 Tom Tromey <tromey@redhat.com>
6997
6998 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6999
7000 2011-10-18 Tom Tromey <tromey@redhat.com>
7001
7002 * gdb.base/source.exp: Don't include full file name in test name.
7003 * gdb.python/python.exp: Don't include full file name in test
7004 name.
7005
7006 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7007
7008 * gdb.base/attach-pie-noexec.c: New files.
7009 * gdb.base/attach-pie-noexec.exp: New files.
7010
7011 2011-10-17 Joseph Myers <joseph@codesourcery.com>
7012
7013 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
7014 prompt for each extra line in command.
7015
7016 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7017
7018 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
7019 Revert the part of:
7020 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7021 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7022 Change the expected string.
7023
7024 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7025
7026 Fix results with system glibc debug info installed.
7027 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
7028 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
7029 Accept also __libc_ symbol prefix and no prefix.
7030
7031 2011-10-14 Keith Seitz <keiths@redhat.com>
7032
7033 PR c++/13225
7034 * gdb.cp/converts.cc (foo3_1): New function.
7035 (foo3_2): New functions.
7036 * gdb.cp/converts.exp: Add tests for int to pointer conversion
7037 and null pointer conversions of integer constant zero.
7038 Add test to check if all arguments are checked for incompatible
7039 conversion BADNESS.
7040
7041 2011-10-14 Tom Tromey <tromey@redhat.com>
7042
7043 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
7044 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
7045 linespec.
7046
7047 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7048
7049 Fix internal error regression.
7050 * gdb.dwarf2/implptr-optimized-out.S: New file.
7051 * gdb.dwarf2/implptr-optimized-out.exp: New file.
7052
7053 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7054
7055 Fix empty DWARF expressions DATA vs. SIZE conditionals.
7056 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
7057 (loclist): New.
7058 (4): New abbrev.
7059 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
7060 Use prepare_for_testing, remove clean_restart.
7061 (p arraynoloc, p arraycallnoloc): New tests.
7062
7063 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7064
7065 * gdb.cp/namespace-enum.exp (executable): New variable.
7066 (binfile): Use ${objdir}/${subdir}/ prefix.
7067 Use ${executable} for clean_restart.
7068
7069 2011-10-11 Sterling Augustine <saugustine@google.com>
7070
7071 * gdb.cp/Makefile.in: Add namespace-enum test.
7072 * gdb.cp/namespace-enum.exp: New file.
7073 * gdb.cp/namespace-enum.c: New file.
7074 * gdb.cp/namespace-enum-main.c: New file.
7075
7076 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7077
7078 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7079 sysroot.
7080
7081 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7082
7083 Reimplement @entry in input expressions.
7084 * gdb.base/exprs.c (v_int_array_init): New variable.
7085 * gdb.base/exprs.exp (print v_int_array_init)
7086 (print *v_int_array_init@1, print *v_int_array_init@2)
7087 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7088 (print v_int_array_init[1]@1): New tests.
7089
7090 2011-10-10 Joseph Myers <joseph@codesourcery.com>
7091
7092 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7093 expected message.
7094
7095 2011-10-09 Doug Evans <dje@google.com>
7096
7097 * gdb.base/alias.exp: Add tests for alias command.
7098
7099 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7100
7101 * gdb.arch/amd64-entry-value.s: New file.
7102 * gdb.mi/mi2-amd64-entry-value.s: New file.
7103
7104 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7105
7106 Display @entry parameter values even for references.
7107 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7108 functions.
7109 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7110 reference and datap_input.
7111 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7112 breakpoints.
7113 (continue to breakpoint: entry_reference: reference)
7114 (entry_reference: bt at entry)
7115 (continue to breakpoint: entry_reference: breakhere_reference)
7116 (entry_reference: bt, entry_reference: ptype regparam)
7117 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7118 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7119 (entry_reference: p regcopy, entry_reference: p nodataparam)
7120 (entry_reference: p nodataparam@entry): New tests.
7121
7122 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7123
7124 Support @entry in input expressions.
7125 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7126 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7127 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7128 (tailcall: p j@entry): New tests.
7129 * gdb.cp/koenig.cc (A::entry): New function.
7130 (main): Call it.
7131 * gdb.cp/koenig.exp (p entry (c)): New test.
7132
7133 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7134
7135 Display @entry parameter values (without references).
7136 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7137 (different, validity, invalid): New functions.
7138 (main): Call them.
7139 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7140 stacktest, breakhere_stacktest, different, breakhere_different,
7141 breakhere_validity and breakhere_invalid.
7142 (entry: bt): Update for @entry.
7143 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7144 (entry_validity: *, entry_invalid: *): Many new tests.
7145 * gdb.base/break.exp
7146 (run until breakpoint set at small function, optimized file): Accept
7147 also the @entry suffix.
7148 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7149 * gdb.mi/mi2-amd64-entry-value.c: New files.
7150 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7151
7152 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7153
7154 Protect entry values against self tail calls.
7155 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7156 (main): Call self.
7157 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7158 (set debug entry-values 1, self: bt debug entry-values): New tests.
7159
7160 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7161
7162 Recognize virtual tail call frames.
7163 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7164 (amb_b, amb_a): New.
7165 (main): Call a and b.
7166 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7167 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7168 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7169 New tests.
7170
7171 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7172
7173 Implement basic support for DW_TAG_GNU_call_site.
7174 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7175 * gdb.arch/amd64-entry-value.cc: New file.
7176 * gdb.arch/amd64-entry-value.exp: New file.
7177
7178 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7179
7180 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7181 * gdb.dwarf2/implptr-64bit.S: New file.
7182 * gdb.dwarf2/implptr-64bit.exp: New file.
7183
7184 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7185
7186 Fix initial language detection with -readnow.
7187 * gdb.cp/readnow-language.cc: New file.
7188 * gdb.cp/readnow-language.exp: New file.
7189
7190 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7191
7192 Fix printed anonymous struct name.
7193 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7194
7195 2011-10-09 Joseph Myers <joseph@codesourcery.com>
7196
7197 * gdb.base/solib-symbol.exp: Do not include directories in
7198 filenames in expected messages.
7199
7200 2011-10-07 Doug Evans <dje@google.com>
7201
7202 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7203
7204 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
7205
7206 Allow Python notification of new object-file loadings.
7207 * gdb.python/py-events.exp: Test newobjfile event.
7208 * gdb.python/py-events.py: Register newobjfile callback.
7209 * gdb.python/py-events.c: Add call to shared library
7210 * gdb.python/py-events-shlib.c: New file.
7211
7212 2011-10-06 Joseph Myers <joseph@codesourcery.com>
7213
7214 * gdb.base/fixsection.exp: Do not include directories in filename
7215 in expected message.
7216
7217 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7218
7219 Add tests for passing of environment variables to inferior.
7220 * gdb.base/testenv.c: New test source.
7221 * gdb.base/testenv.exp: New expect test.
7222
7223 2011-10-04 Paul Koning <paul_koning@dell.com>
7224
7225 * gdb.python/py-value.c (main): Break before return.
7226
7227 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
7228
7229 PR python/12691: Add the inferior to Python exited event
7230 * gdb.python/py-events.exp: Test the inferior attribute of exited
7231 event with a fork.
7232 * gdb.python/py-events.py: Print inferior number on exit.
7233 * gdb.python/py-events.c: Fork the inferior.
7234
7235 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7236
7237 * gdb.base/jit.exp: Add testcase name to log message
7238
7239 2011-10-03 Paul Koning <paul_koning@dell.com>
7240 Jan Kratochvil <jan.kratochvil@redhat.com>
7241
7242 * gdb.python/py-value.exp
7243 (python inval = gdb.parse_and_eval('*(int*)0'))
7244 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7245 (set argc=2, python print argc_lazy): New tests.
7246
7247 2011-10-02 Joel Brobecker <brobecker@adacore.com>
7248
7249 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7250
7251 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7252 Pedro Alves <pedro@codesourcery.com>
7253
7254 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7255 can_read_0, test for it.
7256 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7257 (parse_and_eval with memory error): ... here, make it untested if
7258 can_read_0.
7259
7260 2011-09-30 Marek Polacek <mpolacek@redhat.com>
7261
7262 * gdb.python/python.exp (verify pagination beforehand)
7263 (verify pagination afterwards): Fix race by splitting the line.
7264
7265 2011-09-29 Joseph Myers <joseph@codesourcery.com>
7266
7267 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7268 for 64-bit multilibs from i?86-* targets.
7269
7270 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7271
7272 * lib/gdb.exp: Fix a typo in one of the comments.
7273
7274 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7275
7276 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7277 matching pattern.
7278
7279 2011-09-28 Paul Koning <paul_koning@dell.com>
7280
7281 * gdb.python/py-type.c (enum E): New.
7282 * gdb.python/py-type.exp (test_fields): Add tests for Python
7283 mapping access to fields.
7284 (test_enums): New test for field access on enums.
7285
7286 2011-09-27 Stan Shebs <stan@codesourcery.com>
7287
7288 * gdb.trace/collection.exp: Test collection of $_ret.
7289
7290 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
7291
7292 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7293 list of compilation switches for <*-*-freebsd*>.
7294
7295 2011-09-19 Stan Shebs <stan@codesourcery.com>
7296
7297 * gdb.trace/tspeed.exp: New file.
7298 * gdb.trace/tspeed.c: New file.
7299
7300 2011-09-18 Yao Qi <yao@codesourcery.com>
7301
7302 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7303 instructions.
7304 (test_adr_32bit, test_pop_pc): Likewise.
7305 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7306 Thumb instructions.
7307 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7308 in gdb_test_multiple.
7309 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7310
7311 2011-09-17 Yao Qi <yao@codesourcery.com>
7312
7313 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7314 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7315 support single step to signal handler.
7316
7317 2011-09-17 Yao Qi <yao@codesourcery.com>
7318
7319 * gdb.base/disp-step-fork.c: New.
7320 * gdb.base/disp-step-syscall.exp: New.
7321 * gdb.base/disp-step-vfork.c: New.
7322
7323 2011-09-16 Joel Brobecker <brobecker@adacore.com>
7324
7325 * gdb.ada/tasks.exp: Make the expected output for
7326 the `info tasks' tests more resilient to spacing
7327 changes.
7328
7329 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7330
7331 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7332 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7333
7334 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
7335
7336 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7337 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7338
7339 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
7340
7341 Handle multiple breakpoint hits in Python interface:
7342 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7343 presence.
7344 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7345 breakpoint hits.
7346
7347 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7348 Jan Kratochvil <jan.kratochvil@redhat.com>
7349
7350 * gdb.python/py-events.exp: Remove pretty printing comment.
7351 * gdb.python/py-evsignal.exp: New file.
7352 * gdb.python/py-evthreads.c: Include signal.h.
7353 (thread3): Remove variable count3. Remove variable bad and use raise
7354 instead.
7355 (thread2): Remove variable count2. Move thread3 pthread_create here,
7356 merge pthread_join to a single line.
7357 (main): Remove variable count1. Merge pthread_join with pthread_create
7358 to a single line.
7359 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7360 KFAIL python/12966 for gdbserver. Test return value of
7361 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7362 gdb_expect by gdb_test and gdb_test_multiple.
7363 (thread 2, thread 3): New tests.
7364
7365 2011-09-12 Matt Rice <ratmice@gmail.com>
7366 Pedro Alves <pedro@codesourcery.com>
7367
7368 PR gdb/13175
7369
7370 * gdb.base/interp.exp: New tests.
7371 * gdb.base/interp.c: New file.
7372
7373 2011-09-12 Doug Evans <dje@google.com>
7374
7375 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7376 * gdb.dwarf2/typeddwarf.exp: Ditto.
7377
7378 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7379
7380 Fix compatibility with x32 arch.
7381 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7382 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7383 is_x86_like_target.
7384 * testsuite/gdb.trace/collection.exp: Likewise.
7385 * testsuite/gdb.trace/report.exp: Likewise.
7386 * testsuite/gdb.trace/unavailable.exp: Likewise.
7387 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7388 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7389 (is_x86_like_target): Check also is_amd64_regs_target.
7390
7391 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7392
7393 PR breakpoints/12435
7394 * gdb.arch/amd64-prologue-xmm.c: New file.
7395 * gdb.arch/amd64-prologue-xmm.exp: New file.
7396 * gdb.arch/amd64-prologue-xmm.s: New file.
7397
7398 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7399
7400 * gdb.dwarf2/dw2-param-error-main.c: New file.
7401 * gdb.dwarf2/dw2-param-error.S: New file.
7402 * gdb.dwarf2/dw2-param-error.exp: New file.
7403
7404 2011-09-08 Pedro Alves <pedro@codesourcery.com>
7405
7406 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7407 inferior's pid and look for a core dump named core.$pid. Use
7408 `remote_file' commands on the host instead of hand coding shell
7409 commands on the build.
7410 * gdb.base/valgrind-db-attach.exp: Kill the program before
7411 finishing the test.
7412
7413 2011-09-02 Matt Rice <ratmice@gmail.com>
7414
7415 * lib/prompt.exp: New file for testing the first prompt.
7416 * gdb.python/py-prompt.exp: Ditto.
7417 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7418
7419 2011-09-02 Pedro Alves <pedro@codesourcery.com>
7420
7421 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7422 0, before testing gcore.
7423
7424 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7425
7426 * dw2-ifort-parameter-debug.S: Update copyright year.
7427 * dw2-ifort-parameter.c: Update copyright year.
7428 * dw2-ifort-parameter.exp: Update copyright year.
7429
7430 * dw2-ifort-parameter-debug.S: New file.
7431 * dw2-ifort-parameter.c: New file.
7432 * dw2-ifort-parameter.exp: New file.
7433
7434 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7435
7436 * gdb.base/commands.exp (error_clears_commands_left): New function.
7437 (): Call it.
7438
7439 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7440
7441 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7442 (C): Initialize `a'.
7443 * gdb.mi/mi-inheritance-syntax-error.exp
7444 (-data-evaluate-expression $path): Expect `a' as 5.
7445
7446 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7447
7448 PR mi/11912
7449 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7450 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7451 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7452 keyword in output of -var-info-path-expression.
7453
7454 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7455
7456 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7457 * gdb.trace/collection.exp: Likewise.
7458 * gdb.trace/report.exp: Likewise.
7459 * gdb.trace/unavailable.exp: Likewise.
7460 * gdb.trace/while-dyn.exp: Likewise.
7461
7462 2011-08-18 Keith Seitz <keiths@redhat.com>
7463
7464 PR c++/12266
7465 * gdb.cp/meth-typedefs.cc: New file.
7466 * gdb.cp/meth-typedefs.exp: New file.
7467
7468 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
7469
7470 * gdb.python/python.exp: Add extended-prompt tests.
7471
7472 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7473
7474 * gdb.arch/i386-dr3-watch.exp
7475 (watchpoint on gap1 does not fit debug registers)
7476 (delete all watchpoints): Fix racy expect strings.
7477
7478 2011-08-14 Yao Qi <yao@codesourcery.com>
7479
7480 * gdb.base/maint.exp: set data_section to ".neardata".
7481 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7482 * gdb.base/savedregs.exp: Handle SIGILL.
7483 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7484 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7485
7486 2011-08-12 Doug Evans <dje@google.com>
7487
7488 * gdb.python/py-symbol.exp: Add test for symbol.type.
7489
7490 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
7491
7492 * gdb.threads/pthreads.exp: Enable on non-native configurations.
7493 * gdb.mi/mi-pthreads.exp: Likewise.
7494 * gdb.mi/mi2-pthreads.exp: Likewise.
7495 * gdb.mi/gdb669.exp.exp: Likewise.
7496
7497 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7498
7499 * lib/mi-support.exp (detect_async): Rename to...
7500 (mi_detect_async): ... this.
7501 * gdb.mi/mi-nonstop-exit.exp: Adjust.
7502 * gdb.mi/mi-nonstop.exp: Adjust.
7503 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7504 * gdb.mi/mi-nsintrall.exp: Adjust.
7505 * gdb.mi/mi-nsmoribund.exp: Adjust.
7506 * gdb.mi/mi-nsthrexec.exp: Adjust.
7507
7508 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7509
7510 * gdb.base/display.c (do_loops): New `p_i' local.
7511 * gdb.base/display.exp: Test displaying a variable that is
7512 temporarily at a bad address.
7513
7514 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7515
7516 * gdb.dwarf2/dw2-op-stack-value.S: New file.
7517 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7518
7519 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7520
7521 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
7522 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7523 (p fuNC_symtab): Permit also ppc64 leading dot.
7524
7525 2011-08-05 Pedro Alves <pedro@codesourcery.com>
7526
7527 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7528 procedure.
7529 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7530
7531 2011-08-05 Yao Qi <yao@codesourcery.com>
7532
7533 * gdb.base/callfuncs.exp: Set language after main.
7534 * gdb.cp/cplusfuncs.exp: Likewise.
7535 * gdb.cp/inherit.exp: Likewise.
7536
7537 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7538
7539 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7540 * gdb.base/watch-vfork.exp: Skip on remote targets.
7541
7542 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7543
7544 * gdb.threads/thread-find.exp: Support remote targets.
7545
7546 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7547
7548 * gdb.base/jit.exp: Download solib_binfile to target.
7549 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
7550 and call dlopen without full path name.
7551 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7552 dlopen without full path name.
7553
7554 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7555
7556 * gdb.base/break-always.exp: Complete the test
7557 with duplicated breakpoints and enabling/disabling them.
7558
7559 2011-08-02 Tom Tromey <tromey@redhat.com>
7560
7561 PR gdb/11289:
7562 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
7563
7564 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7565
7566 PR gdb/13045
7567 * gdb.base/float.exp: Add new test case for PR gdb/13045
7568 * gdb.base/float.c: New file.
7569
7570 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
7571
7572 * gdb.python/py-mi.exp: Test printers returning string hint, and
7573 also not returning a value.
7574 * gdb.python/py-prettyprint.c: Add testcase for above.
7575 * gdb.python/py-prettyprint.py: Add test printer for above.
7576
7577 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7578
7579 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7580 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7581 (.Ldie30) Add as field "data4".
7582 (.Ldie32) Rename field "b" to "shl".
7583 (abbrev4) Change for the "data4" field.
7584 (abbrev5, abbrev6) Remove.
7585 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7586 (p &s.shl): ... here. Add comment.
7587 (p &s.data4): New.
7588
7589 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7590
7591 Fix crash on lval_computed values.
7592 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7593
7594 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7595
7596 * gdb.base/help.exp (help whatis): Update the expected string.
7597
7598 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7599
7600 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7601 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7602 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7603 Change the expected string.
7604
7605 2011-07-26 Pedro Alves <pedro@codesourcery.com>
7606
7607 * gdb.base/watchpoint.exp
7608 (test_disable_enable_software_watchpoint): New procedure.
7609 (top level): Run it.
7610
7611 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
7612
7613 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
7614 executable file "${binfile}", C++ version "${binfile}-cxx".
7615 * gdb.python/py-prettyprint.exp: Likewise.
7616 * gdb.python/py-symbol.exp: Likewise.
7617 * gdb.python/py-type.exp: Likewise.
7618 * gdb.python/py-value.exp: Likewise.
7619 * gdb.python/py-template.exp (test_template_arg): Pass full executable
7620 file name instead of just suffix.
7621
7622 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7623
7624 Fix implicit pointer offsets.
7625 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
7626 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
7627 (continue to breakpoint: continue to baz breakpoint for implptr)
7628 (sanity check element 0, sanity check element 1)
7629 (enter the inlined function, check element 0 for the offset)
7630 (check element 1 for the offset)
7631 (continue to breakpoint: ignore the second baz breakpoint): New tests.
7632 (set foo breakpoint for implptr): Update the breakpoint number.
7633
7634 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7635
7636 * gdb.python/py-mi.exp: Use different file names for different
7637 versions of the executable under test.
7638 * gdb.python/py-prettyprint.exp: Likewise.
7639 * gdb.python/py-symbol.exp: Likewise.
7640 * gdb.python/py-template.exp: Likewise.
7641 * gdb.python/py-type.exp: Likewise.
7642 * gdb.python/py-value.exp: Likewise.
7643
7644 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7645
7646 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
7647 flag after restarting GDB if necessary.
7648
7649 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7650
7651 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
7652
7653 2011-07-22 Pedro Alves <pedro@codesourcery.com>
7654
7655 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
7656 backend doesn't leave used debug registers behind.
7657
7658 2011-07-22 Tom Tromey <tromey@redhat.com>
7659
7660 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
7661 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
7662 argument.
7663 * gdb.dwarf2/typeddwarf-amd64.S: New file.
7664
7665 2011-07-21 Matt Rice <ratmice@gmail.com>
7666
7667 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
7668 in mostlyclean rule. Add files ending in .core.
7669
7670 2011-07-21 Matt Rice <ratmice@gmail.com>
7671
7672 PR macros/12999
7673 * gdb.base/info-macros.c: New test sources.
7674 * gdb.base/info-macros.exp: New tests.
7675
7676 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
7677
7678 * gdb.python/python.exp: Add prompt substitution tests.
7679
7680 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7681
7682 Fix crash if referenced CU is aged out.
7683 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
7684 New.
7685 * gdb.dwarf2/implptr.exp: Likewise.
7686
7687 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7688
7689 * gdb.dwarf2/implptr.S: Rebuilt.
7690 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
7691 (bar): Use them for j, k, l.
7692 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
7693 COMPILE.
7694 (print j in implptr:bar): Update for the intp typedef.
7695 (print p[0].x in implptr:foo): Use more exact regex.
7696
7697 2011-07-18 Tom Tromey <tromey@redhat.com>
7698
7699 * gdb.cp/static-method.exp: Add missing single quote.
7700
7701 2011-07-18 Yao Qi <yao@codesourcery.com>
7702
7703 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
7704 supported.
7705 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7706 * gdb.mi/mi-nonstop.exp: Likewise.
7707 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7708 * gdb.mi/mi-nsintrall.exp: Likewise.
7709 * gdb.mi/mi-nsmoribund.exp: Likewise.
7710 * gdb.mi/mi-nsthrexec.exp: Likewise.
7711 * gdb.python/py-evthreads.exp: Likewise.
7712
7713 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7714
7715 Code cleanup.
7716 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
7717 it. Substitute it instead of test_compiler_info everywhere.
7718
7719 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7720
7721 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
7722 remote targets as well.
7723
7724 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7725
7726 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
7727 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
7728
7729 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7730
7731 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
7732 a remote machine, not the host.
7733 (gdb_compile_shlib): Set soname if target is remote.
7734
7735 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7736
7737 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
7738
7739 2011-07-13 Matt Rice <ratmice@gmail.com>
7740
7741 * gdb.python/py-objfile-script-gdb.py: Renamed to
7742 py-objfile-script-gdb.py.in.
7743 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
7744 py-objfile-script-gdb.py.
7745 * gdb.python/py-objfile-script.exp: Update reference to
7746 py-objfile-script-gdb.py.
7747
7748 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7749
7750 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
7751 reference undefined label.
7752
7753 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7754
7755 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
7756 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
7757 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
7758 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
7759
7760 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
7761
7762 PR python/12438
7763 * gdb.python/python.exp: Add maint set/show python print-stack
7764 deprecated tests. Add set/show python print-backtrace tests.
7765
7766 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7767
7768 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
7769 debug info.
7770
7771 2011-07-06 Matt Rice <ratmice@gmail.com>
7772
7773 * gdb.python/python.exp: Update filename paths.
7774 * gdb.python/py-symtab.exp: Ditto.
7775
7776 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7777
7778 * gdb.python/py-evthreads.exp: Add missing `$'.
7779
7780 2011-07-06 Jie Zhang <jie.zhang@analog.com>
7781
7782 * config/bfin.exp: New file.
7783 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
7784 * gdb.asm/bfin.inc: New file.
7785
7786 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7787
7788 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
7789 the whole output.
7790
7791 2011-07-05 Tom Tromey <tromey@redhat.com>
7792
7793 * gdb.java/jprint.java (jprint.hi): New field.
7794 * gdb.java/jprint.exp: Print string.
7795
7796 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
7797
7798 * gdb.base/call-sc.c: Fix typos.
7799 * gdb.base/ifelse.exp: Likewise.
7800 * gdb.base/structs.c: Likewise.
7801
7802 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7803
7804 * gdb.base/jit-so.exp: New test.
7805 * gdb.base/jit-dlmain.c: New file.
7806 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
7807
7808 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7809
7810 * gdb.cp/m-static.exp: Call get_compiler_info.
7811 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
7812 * gdb.cp/pr9167.exp (p b): Likewise.
7813 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
7814 (test value of P in inner_m, test type of Z in inner_m): Call
7815 setup_xfail for gcc <= 4.5.
7816
7817 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7818
7819 * gdb.cp/paren-type.cc: New files.
7820 * gdb.cp/paren-type.exp: New files.
7821
7822 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7823
7824 Stop on first linespec terminator instead of eating what we can.
7825 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
7826 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
7827 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
7828 (break C::f()): ... this one.
7829 (break C::operator()()): New test.
7830 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
7831 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
7832 test.
7833
7834 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7835
7836 Fall back linespec to minimal symbols.
7837 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
7838 error message.
7839 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7840 * gdb.cp/minsym-fallback-main.cc: New file.
7841 * gdb.cp/minsym-fallback.cc: New file.
7842 * gdb.cp/minsym-fallback.exp: New file.
7843 * gdb.cp/minsym-fallback.h: New file.
7844
7845 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7846
7847 * gdb.cp/no-dmgl-verbose.cc: New file.
7848 * gdb.cp/no-dmgl-verbose.exp: New file.
7849
7850 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7851
7852 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7853 __GI_.
7854 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7855 (f): New function.
7856 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7857 (complete p 'func<short>(): ... here.
7858 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7859 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7860 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7861 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7862 Make them KFAIL gcc/49546.
7863
7864 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7865
7866 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7867
7868 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7869
7870 Test GCC PR debug/49546.
7871 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7872 (test type of F in k3_m, test value of F in k3_m): New.
7873 * gdb.cp/temargs.cc (struct S3, struct K3): New.
7874 (main): New variable k3. Call k3.k3_m.
7875
7876 2011-07-01 Jean-Charles Delay <delay@adacore.com>
7877
7878 * gdb.ada/packed_array.exp: Fix expected outout.
7879
7880 2011-07-01 Jean-Charles Delay <delay@adacore.com>
7881
7882 * gdb.ada/packed_array.exp: fixed expected output.
7883
7884 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7885
7886 * gdb.ada/same_enum: New testcase.
7887
7888 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7889
7890 * gdb.ada/ptr_typedef: New testcase.
7891
7892 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7893
7894 * gdb.ada/arrayptr.exp: Add ptype test.
7895
7896 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7897
7898 * gdb.ada/char_enum: New testcase.
7899
7900 2011-07-01 Yao Qi <yao@codesourcery.com>
7901
7902 * gdb.base/dump.exp (capture_pointer_with_type): New.
7903 Get value from address instead of name.
7904 Start GDB once, and do `dump' and `restore'
7905 tests together.
7906
7907 2011-06-30 Jie Zhang <jie.zhang@analog.com>
7908 Mike Frysinger <vapier@gentoo.org>
7909
7910 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7911 helper functions for getting/setting remotetimeout variable.
7912 * lib/gdb.exp (gdb_load): If the target is remote, set
7913 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7914 with $loadtimeout. Set $load_ok to 0 before doing the load.
7915 Instead of returning, immediately, set $load_ok to 0. Call
7916 set_remotetimeout with $oldremotetimeout, and then return if
7917 $load_ok is 1.
7918
7919 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
7920
7921 * gdb.python/py-template.exp: Don't run this test if the target
7922 does not support c++ tests.
7923
7924 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7925
7926 Fix non-only rename list for Fortran modules import.
7927 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7928 tests.
7929 * gdb.fortran/module.f90 (module moduse): New.
7930 (program module): use moduse, test var_x, var_y and var_z.
7931
7932 2011-06-29 Tom Tromey <tromey@redhat.com>
7933
7934 PR testsuite/12040:
7935 * gdb.fortran/array-element.exp: Use f90, not f77.
7936 * gdb.fortran/complex.exp: Use f90, not f77.
7937 * gdb.fortran/derived-type.exp: Use f90, not f77.
7938 * gdb.fortran/library-module.exp: Use f90, not f77.
7939 * gdb.fortran/logical.exp: Use f90, not f77.
7940 * gdb.fortran/module.exp: Use f90, not f77.
7941 * gdb.fortran/multi-dim.exp: Use f90, not f77.
7942 * gdb.fortran/subarray.exp: Use f90, not f77.
7943
7944 2011-06-29 Tom Tromey <tromey@redhat.com>
7945
7946 * gdb.fortran/charset.exp: New file.
7947 * gdb.fortran/charset.f90: New file.
7948
7949 2011-06-29 Tom Tromey <tromey@redhat.com>
7950
7951 PR testsuite/12040:
7952 * lib/future.exp: New file, mostly extracted from ada.exp.
7953 Rewrote compatibility code to use rename.
7954 (gdb_find_gfortran): New proc.
7955 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7956 gfortran patch.
7957 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7958 Move to future.exp.
7959 * lib/gdb.exp: Always load future.exp.
7960
7961 2011-06-28 Yao Qi <yao@codesourcery.com>
7962
7963 * gdb.cp/exception.cc: Don't include iostream.
7964 (bar): Remove print statement.
7965 (catcher): New.
7966 (main): Remove print statements. Call function catcher.
7967 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7968 Set breakpoint on catcher, and check the value of parameter.
7969
7970 2011-06-23 Yao Qi <yao@codesourcery.com>
7971
7972 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7973 breakpoint 1.2 is disabled. KFAIL for uclinux.
7974
7975 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7976
7977 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7978 mi_gdb_test.
7979
7980 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7981
7982 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7983
7984 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7985
7986 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7987
7988 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7989
7990 * gdb.mi/mi2-basics.exp: Fix races. Honour the
7991 `test_exec_and_symbol_mi_operatons' return value.
7992 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7993 gdb_test_multiple.
7994 (test_exec_and_symbol_mi_operatons): Likewise.
7995 (test_path_specification): Likewise.
7996
7997 2011-06-23 Yao Qi <yao@codesourcery.com>
7998
7999 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
8000 supported.
8001 * lib/gdb.exp (support_displaced_stepping): New.
8002
8003 2011-06-23 Yao Qi <yao@codesourcery.com>
8004
8005 * gdb.threads/execl.exp: Skip on remote target.
8006
8007 2011-06-21 Marek Polacek <mpolacek@redhat.com>
8008
8009 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
8010 mi_gdb_test.
8011
8012 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8013
8014 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
8015
8016 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8017
8018 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
8019 mi_gdb_test.
8020
8021 2011-06-20 Marek Polacek <mpolacek@redhat.com>
8022
8023 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
8024
8025 2011-06-14 Yao Qi <yao@codesourcery.com>
8026
8027 gdb/testsuite/
8028 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
8029
8030 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8031
8032 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
8033
8034 2011-06-10 Tom Tromey <tromey@redhat.com>
8035
8036 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
8037 Add tests for pointer-to-member-function.
8038 * gdb.cp/temargs.cc (S::somefunc): New function.
8039 (K2): New class.
8040 (main): Instantiate K2; call method.
8041
8042 2011-06-08 Joel Brobecker <brobecker@adacore.com>
8043
8044 * gdb.python/py-inferior.c (f2): Make str an array rather
8045 than a pointer.
8046 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
8047
8048 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8049
8050 * gdb.base/async-shell.c: New file.
8051 * gdb.base/async-shell.exp: New file.
8052
8053 2011-06-06 Pedro Alves <pedro@codesourcery.com>
8054
8055 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
8056
8057 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
8058
8059 From Stephen Kitt <steve@sk2.org>
8060 * gdb.base/help.exp: Adjust following some spelling corrections
8061 in GDB.
8062
8063 2011-06-01 Yao Qi <yao@codesourcery.com>
8064
8065 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8066
8067 2010-05-31 Keith Seitz <keiths@redhat.com>
8068
8069 PR c++/12750
8070 * gdb.cp/static-method.cc: New file.
8071 * gdb.cp/static-method.exp: New file.
8072
8073 2010-05-31 Keith Seitz <keiths@redhat.com>
8074
8075 PR symtab/12704
8076 * gdb.cp/anon-ns.cc: New file.
8077 * gdb.cp/anon-ns.exp: New file.
8078
8079 2011-05-31 Pedro Alves <pedro@codesourcery.com>
8080
8081 * gdb.arch/i386-dr3-watch.c: New file.
8082 * gdb.arch/i386-dr3-watch.exp: New file.
8083
8084 2011-05-30 Yao Qi <yao@codesourcery.com>
8085
8086 * gdb.base/callfuncs.c (t_structs_fc): New.
8087 (t_structs_dc, t_structs_ldc): New.
8088 (t_double_many_args):
8089 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8090 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8091 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8092 * gdb.base/callfuncs.exp: Call new functions.
8093
8094 2011-05-30 Yao Qi <yao@codesourcery.com>
8095
8096 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8097 Call rerun_and_prepare for each test to isolate effects.
8098
8099 2011-05-30 Yao Qi <yao@codesourcery.com>
8100
8101 * gdb.base/varargs.c (find_max_float_real): New.
8102 (find_max_double_real, find_max_long_double_real): New.
8103 * gdb.base/varargs.exp: Call these new added functions.
8104 * lib/gdb.exp (setup_kfail_for_target): New.
8105
8106 2011-05-30 Yao Qi <yao@codesourcery.com>
8107
8108 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8109 (callcd, callce, callcf, callc1a, callc1b): New.
8110 (callc2a, callc2b): New.
8111 * gdb.base/funcargs.exp (complex_args): New.
8112 (complex_integral_args, complex_float_integral_args): New.
8113 * lib/gdb.exp (support_complex_tests): New. Determine
8114 whether to run test cases on _Complex types.
8115
8116 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8117
8118 * gdb.threads/leader-exit.c: New file.
8119 * gdb.threads/leader-exit.exp: New file.
8120
8121 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8122
8123 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
8124
8125 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8126
8127 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8128 remove the `supported' variable.
8129 * gdb.mi/mi-nonstop.exp: Likewise.
8130 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8131 * gdb.mi/mi-nsintrall.exp: Likewise.
8132 * gdb.mi/mi-nsmoribund.exp: Likewise.
8133 * gdb.mi/mi-nsthrexec.exp: Likewise.
8134
8135 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8136
8137 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8138
8139 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8140
8141 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8142
8143 2011-05-24 Keith Seitz <keiths@redhat.com>
8144
8145 PR breakpoint/12803
8146 * gdb.cp/cmpd-minsyms.cc (a): New method.
8147 (b): New method.
8148 (c): New method.
8149 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8150
8151 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8152
8153 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8154 watchpoint's command list didn't execute when the watchpoint went
8155 out of scope.
8156
8157 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8158
8159 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8160 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8161 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8162 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8163 * gdb.arch/i386-permbkpt.exp: Likewise.
8164 * gdb.arch/i386-prologue.exp: Likewise.
8165 * gdb.arch/i386-size-overlap.exp: Likewise.
8166 * gdb.arch/i386-size.exp: Likewise.
8167 * gdb.arch/i386-unwind.exp: Likewise.
8168 * gdb.reverse/i386-precsave.exp: Likewise.
8169 * gdb.reverse/i386-reverse.exp: Likewise.
8170 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8171 * gdb.reverse/i387-env-reverse.exp: Likewise.
8172 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8173
8174 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8175
8176 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8177 file doesn't error, using MI.
8178
8179 2011-05-23 Tom Tromey <tromey@redhat.com>
8180
8181 * gdb.base/charset.exp (string_display): Add tests to assign to
8182 arrays.
8183 * gdb.base/charset.c (short_array, int_array, long_array): New.
8184
8185 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8186
8187 Cope with async mode.
8188
8189 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8190 into gdb_test + mi_expect_stop.
8191
8192 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8193
8194 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8195 (callme): Remove printf call.
8196
8197 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8198
8199 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8200 quote pattern to avoid problems with Cygwin/mingw expect versions.
8201 * gdb.base/default.exp (show convenience): Use double
8202 quote pattern for regular expressions.
8203
8204 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8205
8206 Fix -readnow for -gdwarf-4 unused type units.
8207 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8208 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8209
8210 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8211
8212 * gdb.base/kill-after-signal.c: New file.
8213 * gdb.base/kill-after-signal.exp: New file.
8214
8215 2011-05-16 Pedro Alves <pedro@codesourcery.com>
8216
8217 * gdb.ada/start.exp: Call untested with the correct test filename.
8218 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8219 test filename. Make the test's binary unique.
8220 * gdb.arch/i386-signal.exp: Call untested with the correct test
8221 filename.
8222 * gdb.arch/i386-size-overlap.exp: Ditto.
8223 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8224 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8225 * gdb.cp/call-c.exp: Ditto.
8226 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8227 filename. Make the test's binary unique.
8228 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8229 * gdb.python/py-mi.exp: Ditto.
8230 * gdb.python/Makefile.in (EXECUTABLES): Update.
8231 * gdb.reverse/i386-precsave.exp: Ditto.
8232 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8233 test filename.
8234 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8235 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8236 unique.
8237 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8238 test filename.
8239 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8240 * gdb.trace/tfile.exp: Ditto.
8241
8242 2011-05-14 Yao Qi <yao@codesourcery.com>
8243
8244 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8245 type.
8246
8247 2011-05-13 Doug Evans <dje@google.com>
8248
8249 * gdb.python/py-objfile-script.exp: New file.
8250 * gdb.python/py-objfile-script.c: New file.
8251 * gdb.python/py-objfile-script-gdb.py: New file.
8252 * testsuite/gdb.python/py-section-script.exp: Test
8253 "info auto-load-scripts".
8254
8255 2011-05-13 Tom Tromey <tromey@redhat.com>
8256
8257 * gdb.dwarf2/clztest.exp: New file.
8258 * gdb.dwarf2/clztest.c: New file.
8259 * gdb.dwarf2/clztest.S: New file.
8260
8261 2011-05-13 Doug Evans <dje@google.com>
8262
8263 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8264 String16 tests.
8265
8266 2011-05-13 Tom Tromey <tromey@redhat.com>
8267
8268 * lib/gdb.exp (is_x86_like_target): New proc.
8269 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8270 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8271 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8272 -nostdlib to compiler.
8273 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8274 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8275 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8276 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8277 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8278
8279 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8280
8281 * gdb.python/py-function.exp: Test setting a value from a function
8282 which executes a command.
8283
8284 2011-05-12 Tom Tromey <tromey@redhat.com>
8285
8286 * gdb.dwarf2/typeddwarf.S: New file.
8287 * gdb.dwarf2/typeddwarf.c: New file.
8288 * gdb.dwarf2/typeddwarf.exp: New file.
8289
8290 2011-05-12 Marek Polacek <mpolacek@redhat.com>
8291
8292 * gdb.mi/mi-basics.exp: Fix races. Honour the
8293 `test_exec_and_symbol_mi_operatons' return value.
8294 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8295 gdb_test_multiple.
8296 (test_exec_and_symbol_mi_operatons): Likewise.
8297 (test_path_specification): Likewise.
8298
8299 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8300
8301 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8302 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8303 Replace `file copy' and `file rename' by `file mtime'. Twice.
8304
8305 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8306
8307 * gdb.base/readline-ask.c: New file.
8308 * gdb.base/readline-ask.exp: New file.
8309 * gdb.base/readline-ask.inputrc: New file.
8310
8311 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8312
8313 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8314 to avoid race condition.
8315 * gdb.cell/coremaker.c: Use small stack size.
8316 * gdb.cell/ea-standalone.exp: Use file name without path as
8317 argument to c_to.
8318 * gdb.cell/fork.exp: Allow other output when continuing to end.
8319
8320 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8321
8322 * gdb.threads/corethreads.c: New file.
8323 * gdb.threads/corethreads.exp: New file.
8324
8325 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8326
8327 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8328 Try to compile the test using -Wl,-z,norelro first.
8329 (load_core): New variable libthread_db_seen, initialize it.
8330 (zeroed-threads cannot be listed): Protect it by XFAIL on
8331 !$libthread_db_seen.
8332
8333 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8334
8335 PR 12573
8336 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8337 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8338 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8339
8340 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8341
8342 * gdb.cp/psymtab-parameter.cc: New file.
8343 * gdb.cp/psymtab-parameter.exp: New file.
8344
8345 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8346
8347 Fix a race.
8348 * gdb.cp/static-print-quit.exp (print c): Split to ...
8349 (print c - <return>, print c - q <return>, print c - to quit):
8350 ... these. Make the testfile untested on gdb-7.1.
8351
8352 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
8353
8354 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8355 gdb_rename_execfile, gdb_touch_execfile): New.
8356 * gdb.base/reread.exp: Use new procs to handle multiple
8357 exec files.
8358
8359 2011-05-05 Yao Qi <yao@codesourcery.com>
8360
8361 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8362 (test_adr_32bit, test_pop_pc): New.
8363 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8364 (test_adr_32bit, test_pop_pc): New.
8365
8366 2011-05-04 Joseph Myers <joseph@codesourcery.com>
8367
8368 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8369 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8370 targets.
8371 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8372 handle targets.
8373
8374 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8375
8376 * gdb.base/completion.exp (complete help info wat): Rename to ...
8377 (complete 'help info wat'): ... here.
8378 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8379 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8380
8381 2011-05-04 Pedro Alves <pedro@codesourcery.com>
8382
8383 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8384 gdb_test and explicit $gdb_prompt/timeout matches.
8385
8386 2011-05-04 Yao Qi <yao@codesourcery.com>
8387
8388 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8389 and __thumb2__.
8390
8391 2011-05-03 Marek Polacek <mpolacek@redhat.com>
8392
8393 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8394 in place of `gdb_test "delete breakpoints"'. This eliminates two
8395 testcases.
8396
8397 2011-05-02 Pedro Alves <pedro@codesourcery.com>
8398
8399 PR testsuite/12649
8400 Fix races.
8401
8402 * gdb.base/completion.exp: Remove all sleep calls. Remove
8403 unnecessary regexs. Don't explicitly expect anything after the
8404 prompt. Eat the prompt if necessary.
8405
8406 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8407
8408 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8409 accept to show the caller line again as well as the line after.
8410
8411 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8412
8413 PR mi/12531
8414
8415 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8416 compile target.
8417 * gdb.python/py-prettyprint.exp: Add C++ object for
8418 CPLUS_FAKE_CHILD test.
8419
8420 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8421
8422 * gdb.base/signest.exp: New file.
8423 * gdb.base/signest.c: Likewise.
8424
8425 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8426
8427 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8428 thread and breakpoint notifications.
8429
8430 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8431
8432 * gdb.base/fortran-sym-case.c: New file.
8433 * gdb.base/fortran-sym-case.exp: New file.
8434 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8435 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8436 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8437
8438 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8439
8440 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8441 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8442 false #1', `if true else false #2' and `if true else false #3'.
8443
8444 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8445
8446 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8447 while delivering signal.
8448
8449 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
8450
8451 MI breakpoint notifications.
8452
8453 * testsuite/gdb.mi/mi-cli.exp: Adust.
8454 * testsuite/gdb.mi/mi2-cli.exp: Adust.
8455 * testsuite/gdb.mi/mi-watch.exp: Adust.
8456 * testsuite/gdb.mi/mi2-watch.exp: Adust.
8457 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8458 notifications.
8459
8460 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8461
8462 * gdb.base/gdbindex-stabs-dwarf.c: New file.
8463 * gdb.base/gdbindex-stabs.c: New file.
8464 * gdb.base/gdbindex-stabs.exp: New file.
8465
8466 2011-04-25 Yao Qi <yao@codesourcery.com>
8467
8468 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8469 with /*...*/.
8470 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8471
8472 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8473
8474 * gdb.python/py-value.exp (test_objfiles): Name the first test
8475 `py-value in file.filename'.
8476
8477 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8478
8479 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8480 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8481 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8482 !gdbserver_reconnect_p..
8483 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8484
8485 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8486
8487 * gdb.cp/cpcompletion.exp (complete class methods)
8488 (complete class methods beginning with F): Move them above runto. New
8489 comment about the runto delimiter.
8490
8491 2011-04-20 Pedro Alves <pedro@codesourcery.com>
8492
8493 * gdb.base/maint.exp: Test that "maint print registers" works
8494 without a running program.
8495
8496 2011-04-20 Marek Polacek <mpolacek@redhat.com>
8497
8498 * gdb.base/setshow.exp: Fix racy tests.
8499 ($old_gdb_prompt): New variable.
8500
8501 2011-04-19 Tom Tromey <tromey@redhat.com>
8502
8503 * gdb.mi/mi-nsmoribund.exp:
8504 * gdb.hp/gdb.objdbg/objdbg01.exp:
8505 * gdb.base/structs.exp (test_struct_returns):
8506 * gdb.base/call-sc.exp (test_scalar_returns):
8507 * gdb.base/bigcore.exp: Remove duplicate words.
8508
8509 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8510
8511 * gdb.base/break-interp-lib.c (v, vptr): New variables.
8512 * gdb.base/break-interp.exp (test_attach): New comment.
8513
8514 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8515
8516 * gdb.threads/gcore-thread.exp ($core0file): New variable.
8517 (clear __stack_user.next, clear stack_used.next)
8518 (save a zeroed-threads corefile): New test.
8519 Call core_load for $core0file.
8520 (zeroed-threads cannot be listed): New test.
8521
8522 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8523
8524 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8525 filename.
8526 ($srcfile): Preserve the original value.
8527 ($testfile): Match it the .exp filename.
8528 ($corefile): New variable. Substitute it around.
8529 Use clean_restart.
8530 ($prev_timeout): Remove.
8531 (load_core): Move core loading into this proc.
8532 Fix restore of $timeout if load_core fails.
8533
8534 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8535
8536 * gdb.base/eu-strip-infcall.c: New file.
8537 * gdb.base/eu-strip-infcall.exp: New file.
8538
8539 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8540
8541 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8542 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8543
8544 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8545
8546 Fix Python access to inlined frames.
8547 * gdb.python/py-frame-inline.c: New file.
8548 * gdb.python/py-frame-inline.exp: New file.
8549
8550 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
8551
8552 * gdb.base/gdb1090.exp: Change breakpoint location to read the
8553 content of 's24' correctly (avoiding "optimized out").
8554 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8555
8556 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8557
8558 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8559
8560 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8561
8562 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8563 expect a colon in watch -location output.
8564
8565 2011-04-13 Marek Polacek <mpolacek@redhat.com>
8566
8567 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
8568 New testcase `expect response to define backtrace'. Also remove
8569 redundant `default' block.
8570
8571 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8572
8573 * gdb.python/py-prettyprint.c (struct hint_error): New.
8574 (main): New variable hint_error.
8575 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8576 "print hint_error".
8577 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8578 (register_pretty_printers): Register it.
8579
8580 2011-04-04 Tom Tromey <tromey@redhat.com>
8581
8582 * gdb.cp/maint.exp (test_help): Update.
8583 (test_namespace): Likewise.
8584
8585 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8586
8587 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8588 * gdb.ada/arrayptr.exp: Add new tests.
8589
8590 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8591
8592 * gdb.ada/mi_catch_ex: New testcase.
8593
8594 2011-04-01 Pedro Alves <pedro@codesourcery.com>
8595
8596 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8597 base::overload(void) method without specifying "const".
8598
8599 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
8600
8601 * gdb.arch/thumb-singlestep.S: New file.
8602 * gdb.arch/thumb-singlestep.exp: Likewise.
8603
8604 2011-03-31 Tom Tromey <tromey@redhat.com>
8605
8606 * gdb.python/py-prettyprint.py (exception_flag): New global.
8607 (NoStringContainerPrinter._iterator.next): Check it.
8608 * gdb.python/py-prettyprint.c (main): New variable nstype2.
8609 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8610
8611 2011-03-29 Tom Tromey <tromey@redhat.com>
8612
8613 * gdb.cp/anon-struct.cc: New file.
8614 * gdb.cp/anon-struct.exp: New file.
8615
8616 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8617
8618 Test STT_GNU_IFUNC support.
8619 * gdb.base/gnu-ifunc-lib.c: New file.
8620 * gdb.base/gnu-ifunc.c: New file.
8621 * gdb.base/gnu-ifunc.exp: New file.
8622
8623 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8624
8625 Support a ring of related breakpoints.
8626 * gdb.base/watchpoint-delete.c: New file.
8627 * gdb.base/watchpoint-delete.exp: New file.
8628
8629 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8630
8631 * gdb.ada/arrayparam.exp (print first after function call): Use
8632 explicit package name. Add a comment
8633 (print lasta after function call): Rename ...
8634 (print last after function call): ... it and use explicit package
8635 name.
8636 (print length after function call): Use explicit package name.
8637 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
8638 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
8639 (multiple matches for symbol i): Rename ...
8640 (multiple matches for symbol integervar): ... it.
8641 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
8642 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
8643
8644 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
8645
8646 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
8647 environment variable to make grep output more predictable. Move
8648 all the environment setup into gdb_init so it's done once per test
8649 case rather than each time we start gdb.
8650
8651 2011-03-24 Tom Tromey <tromey@redhat.com>
8652
8653 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
8654 test.
8655
8656 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8657
8658 * gdb.dwarf2/dw2-entry-value-main.c: New file.
8659 * gdb.dwarf2/dw2-entry-value.S: New file.
8660 * gdb.dwarf2/dw2-entry-value.exp: New file.
8661
8662 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
8663
8664 PR python/12183
8665
8666 * gdb.python/py-function.exp: Add GdbError tests.
8667
8668 2011-03-18 Pedro Alves <pedro@codesourcery.com>
8669
8670 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
8671 (reglocal_test_func, statlocal_test_func): New functions.
8672 (globals_test_func): Call new functions.
8673 * gdb.trace/unavailable.exp (gdb_collect_args_test)
8674 (gdb_collect_locals_test): New procedure.
8675 (gdb_trace_collection_test): Call new procedures.
8676
8677 2011-03-18 Pedro Alves <pedro@codesourcery.com>
8678
8679 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
8680 (test_register, test_register_unavailable): New procedures.
8681 (gdb_unavailable_registers_test): New procedure.
8682 (gdb_trace_collection_test): Call it.
8683
8684 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
8685
8686 PR python/12149
8687
8688 * gdb.python/python.exp: Add gdb.write tests.
8689
8690 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
8691
8692 * gdb.python/Makefile.in: Add py-objfile.
8693 * gdb.python/py-objfile.exp: New file.
8694 * gdb.python/py-objfile.c: New file.
8695 * gdb.python/py-block.exp: Add is_valid tests.
8696 * gdb.python/py-inferior.exp: Ditto.
8697 * gdb.python/py-infthread.exp: Ditto.
8698 * gdb.python/py-symbol.exp: Ditto.
8699 * gdb.python/py-symtab.exp: Ditto.
8700
8701 2011-03-16 Keith Seitz <keiths@redhat.com>
8702
8703 PR c++/12273
8704 * gdb.cp/cmpd-minsyms.exp: New test.
8705 * gdb.cp/cmpd-minsyms.cc: New file.
8706
8707 PR c++/11734
8708 * gdb.cp/ovsrch.exp: New test.
8709 * gdb.cp/ovsrch.h: New file.
8710 * gdb.cp/ovsrch1.cc: New file.
8711 * gdb.cp/ovsrch2.cc: New file.
8712 * gdb.cp/ovsrch3.cc: New file.
8713 * gdb.cp/ovsrch4.cc: New file.
8714
8715 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8716
8717 PR gdb/12528
8718 * gdb.base/Makefile.in: Adjust EXECUTABLES.
8719 * gdb.base/break-on-linker-gcd-function.exp: New test.
8720 * gdb.base/break-on-linker-gcd-function.cc: New file.
8721
8722 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
8723
8724 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
8725
8726 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
8727
8728 * lib/gdb.exp (gdb_unload): Add another termination case.
8729
8730 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8731
8732 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
8733 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
8734 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
8735 Provide a stub byte there.
8736 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
8737 DW_AT_entry_pc.
8738 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
8739
8740 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
8741
8742 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
8743 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
8744 "generic ABI, auto".
8745 (altivec_abi_tests): Accept vectors returned by reference.
8746
8747 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
8748
8749 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
8750
8751 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
8752
8753 * gdb.python/py-section-script.exp: Skip test if no Python support.
8754
8755 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8756
8757 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
8758
8759 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
8760
8761 * gdb.python/py-parameter.exp: Update tests to the new Python
8762 parameter API. Add "no documentation" test. Add deprecated API
8763 backward compatibility test.
8764
8765 2011-03-09 Tom Tromey <tromey@redhat.com>
8766
8767 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
8768 gdb_continue_to_end.
8769
8770 2011-03-09 Mark Kettenis <kettenis@gnu.org>
8771
8772 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
8773 tabs.
8774
8775 2011-03-09 Tom Tromey <tromey@redhat.com>
8776
8777 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
8778 parentheses.
8779 (gdb_continue_to_end): Add "allow_extra" parameter. Use
8780 $command.
8781 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8782 argument to gdb_continue_to_end.
8783 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
8784 argument to gdb_continue_to_end.
8785 * gdb.cp/annota3.exp: Fix regex.
8786 * gdb.cp/annota2.exp: Fix regex.
8787 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
8788 gdb_continue_to_end.
8789 * gdb.base/call-signal-resume.exp: Revert earlier patch.
8790 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
8791 gdb_continue_to_end.
8792
8793 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8794
8795 * gdb.server/ext-run.exp
8796 (load new file without any gdbserver inferior): New test.
8797
8798 2011-03-07 Tom Tromey <tromey@redhat.com>
8799
8800 * Makefile.in (TAGS): Rewrite.
8801
8802 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8803
8804 * gdb.trace/report.exp (12.1: trace report #1): New match for the
8805 initial commands echo. New match for `Found trace'. Anchor all the
8806 other matches. Anchor and match for `No trace frame found' the final
8807 match.
8808
8809 2011-03-07 Tom Tromey <tromey@redhat.com>
8810
8811 * Makefile.in (TAGS): New target.
8812
8813 2011-03-07 Tom Tromey <tromey@redhat.com>
8814
8815 * lib/opencl.exp (skip_opencl_tests): Update for exit message
8816 change.
8817 * lib/mi-support.exp (mi_gdb_test): Update for exit message
8818 change.
8819 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
8820 exit message change.
8821 (skip_altivec_tests): Update for exit message change.
8822 (skip_vsx_tests): Likewise.
8823 (gdb_continue_to_end): Likewise. Add 'command' argument.
8824 * lib/cell.exp (skip_cell_tests): Update for exit message change.
8825 * gdb.threads/tls.exp: Update for exit message change.
8826 * gdb.threads/thread-unwindonsignal.exp: Use
8827 gdb_continue_to_end.
8828 * gdb.threads/step.exp (step_it): Update for exit message change.
8829 (continue_all): Likewise.
8830 * gdb.threads/print-threads.exp (test_all_threads): Update for
8831 exit message change.
8832 * gdb.threads/interrupted-hand-call.exp: Use
8833 gdb_continue_to_end.
8834 * gdb.threads/execl.exp: Use gdb_continue_to_end.
8835 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
8836 gdb_continue_to_end.
8837 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
8838 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8839 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8840 * gdb.cp/method.exp: Update for exit message change.
8841 * gdb.cp/mb-templates.exp: Update for exit message change.
8842 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8843 * gdb.cp/annota3.exp: Update for exit message change.
8844 * gdb.cp/annota2.exp: Update for exit message change.
8845 * gdb.cell/fork.exp: Use gdb_continue_to_end.
8846 * gdb.base/term.exp: Update for exit message change.
8847 * gdb.base/step-test.exp (test_i): Update for exit message change.
8848 * gdb.base/sigstep.exp (advance): Update for exit message change.
8849 (advancei): Likewise.
8850 * gdb.base/siginfo.exp: Update for exit message change.
8851 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8852 * gdb.base/reread.exp: Use gdb_continue_to_end.
8853 * gdb.base/langs.exp: Use gdb_continue_to_end.
8854 * gdb.base/interrupt.exp: Update for exit message change.
8855 * gdb.base/gdb1555.exp: Update for exit message change.
8856 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8857 * gdb.base/ending-run.exp: Update for exit message change.
8858 * gdb.base/chng-syms.exp: Update for exit message change.
8859 * gdb.base/checkpoint.exp: Update for exit message change.
8860 * gdb.base/catch-syscall.exp (check_for_program_end): Use
8861 gdb_continue_to_end.
8862 (test_catch_syscall_with_wrong_args): Likewise.
8863 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8864 * gdb.base/break-interp.exp (test_ld): Update for exit message
8865 change.
8866 * gdb.base/bang.exp: Update for exit message change.
8867 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8868 (do_call_attach_tests): Likewise.
8869 * gdb.base/a2-run.exp: Update for exit message change.
8870 * gdb.arch/ppc-dfp.exp: Update for exit message change.
8871 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8872 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8873
8874 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8875
8876 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8877
8878 2011-03-03 Tom Tromey <tromey@redhat.com>
8879
8880 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8881 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8882 * gdb.hp/gdb.aCC/configure.ac: Remove.
8883 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8884 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8885 * gdb.hp/gdb.base-hp/configure.ac: Remove.
8886 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8887 * gdb.hp/gdb.compat/configure (Makefile): Remove.
8888 * gdb.hp/gdb.compat/configure.ac: Remove.
8889 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8890 * gdb.hp/gdb.defects/configure (Makefile): Remove.
8891 * gdb.hp/gdb.defects/configure.ac: Remove.
8892 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8893 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8894 * gdb.hp/gdb.objdbg/configure.ac: Remove.
8895 * gdb.hp/configure.ac: Remove.
8896 * gdb.hp/configure: Remove.
8897 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8898 substitution.
8899 (Makefile): Remove rule.
8900 * gdb.cell/configure.ac: Remove.
8901 * gdb.cell/configure: Remove.
8902 * gdb.stabs/Makefile.in (Makefile): Remove.
8903 (distclean): Don't remove config.status or config.log.
8904 * gdb.stabs/configure (Makefile): Remove.
8905 * gdb.stabs/configure.ac: Remove.
8906 * configure: Rebuild.
8907 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8908 Remove stabs- and cell-specific logic. Test for existence of
8909 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
8910 subdirectories, gdb.cell, and and gdb.stabs.
8911 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8912
8913 2011-03-03 Joel Brobecker <brobecker@adacore.com>
8914
8915 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8916 end of buffer.
8917
8918 2011-03-02 Joel Brobecker <brobecker@adacore.com>
8919
8920 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8921 gdb_test when running a test where we expected no output back.
8922
8923 2011-02-28 Michael Snyder <msnyder@vmware.com>
8924
8925 * gdb.cp/overload.cc: Change initializer value to integer.
8926
8927 2011-02-27 Michael Snyder <msnyder@vmware.com>
8928
8929 * gdb.multi/base.exp: Add test for remove-inferiors.
8930
8931 2011-02-26 Joel Brobecker <brobecker@adacore.com>
8932
8933 * gdb.python/py-frame.exp: Simplify the initialization phase
8934 using prepare_for_testing.
8935
8936 2011-02-25 Michael Snyder <msnyder@vmware.com>
8937
8938 * gdb.multi/base.exp: Add tests for info inferiors with args.
8939
8940 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8941
8942 * gdb.dwarf2/dw2-ranges.S: Rename to ...
8943 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8944 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8945 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8946 asmfile3. Comment the STABS (#3) file compilation. Compile
8947 everything through assembler. Provide KFAIL for symtab/12497.
8948 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8949 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8950 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8951 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8952
8953 2011-02-24 Michael Snyder <msnyder@vmware.com>
8954
8955 * gdb.base/break.exp: Add tests for delete breakpoints using
8956 convenience variables and value history references.
8957
8958 2011-02-24 Michael Snyder <msnyder@vmware.com>
8959
8960 * gdb.base/break.exp: Remove debugging 'printf' accidentally
8961 left behind in previous check-in.
8962
8963 2011-02-23 Michael Snyder <msnyder@vmware.com>
8964
8965 * gdb.base/break.exp: Add tests for "info break" with arguments.
8966 * gdb.trace/infotrace.exp: Update patterns for error and help.
8967 * gdb.base/completion.exp: Update pattern.
8968 * gdb.base/ena-dis-br.exp: Update pattern.
8969 * gdb.base/help.exp: Update patterns.
8970
8971 2011-02-23 Michael Snyder <msnyder@vmware.com>
8972
8973 * gdb.base/memattr.exp: New test.
8974 * gdb.base/memattr.c: Test load for memattr.exp.
8975
8976 2011-02-22 Doug Evans <dje@google.com>
8977
8978 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8979
8980 2011-02-22 Michael Snyder <msnyder@vmware.com>
8981
8982 * Makefile.in: Make more clean.
8983 * gdb.ada/Makefile.in: Ditto.
8984 * gdb.arch/Makefile.in: Ditto.
8985 * gdb.asm/Makefile.in: Ditto.
8986 * gdb.base/Makefile.in: Ditto.
8987 * gdb.cp/Makefile.in: Ditto.
8988 * gdb.dwarf2/Makefile.in: Ditto.
8989 * gdb.java/Makefile.in: Ditto.
8990 * gdb.mi/Makefile.in: Ditto.
8991 * gdb.modula2/Makefile.in: Ditto.
8992 * gdb.python/Makefile.in: Ditto.
8993 * gdb.server/Makefile.in: Ditto.
8994 * gdb.stabs/Makefile.in: Ditto.
8995 * gdb.threads/Makefile.in: Ditto.
8996 * gdb.trace/Makefile.in: Ditto.
8997
8998 2011-02-22 Michael Snyder <msnyder@vmware.com>
8999
9000 * gdb.threads/thread-find.exp: Add tests for bad input to
9001 info threads.
9002
9003 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9004
9005 * gdb.python/py-breakpoint.exp: Fix the expected output of
9006 one of the "maint info breakpoints" tests to accept the output
9007 generated on platforms that do not have hardware watchpoints.
9008
9009 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9010
9011 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
9012 clean_restart. Be a little stricter in the expected output
9013 for one of the tests. Fix a typo in one of the comments.
9014
9015 2011-02-22 Joel Brobecker <brobecker@adacore.com>
9016
9017 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
9018 Delete variable binfile, no longer use. Add or modify test
9019 comments to make them unique.
9020
9021 2011-02-21 Michael Snyder <msnyder@vmware.com>
9022
9023 * Makefile.in: Update for make clean.
9024 * gdb.ada/Makefile.in: Ditto.
9025 * gdb.arch/Makefile.in: Ditto.
9026 * gdb.asm/Makefile.in: Ditto.
9027 * gdb.base/Makefile.in: Ditto.
9028 * gdb.cp/Makefile.in: Ditto.
9029 * gdb.dwarf2/Makefile.in: Ditto.
9030 * gdb.java/Makefile.in: Ditto.
9031 * gdb.mi/Makefile.in: Ditto.
9032 * gdb.modula2/Makefile.in: Ditto.
9033 * gdb.python/Makefile.in: Ditto.
9034 * gdb.server/Makefile.in: Ditto.
9035 * gdb.stabs/Makefile.in: Ditto.
9036 * gdb.threads/Makefile.in: Ditto.
9037 * gdb.trace/Makefile.in: Ditto.
9038
9039 2011-02-21 Michael Snyder <msnyder@vmware.com>
9040
9041 * gdb.threads/thread-find.exp: Update patterns for changes in
9042 output of "info threads" command.
9043
9044 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9045 Ulrich Weigand <uweigand@de.ibm.com>
9046
9047 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
9048 (skip_hw_watchpoint_tests): Likewise.
9049 (skip_hw_watchpoint_multi_tests): Likewise.
9050
9051 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
9052
9053 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
9054 (skip_hw_watchpoint_tests): Likewise.
9055 (skip_hw_watchpoint_multi_tests): Likewise.
9056 (skip_hw_watchpoint_access_tests): Likewise.
9057
9058 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9059 * gdb.base/pr11022.exp: Likewise.
9060 * gdb.base/watch-read.exp: Likewise.
9061 * gdb.base/watch_thread_num.exp: Likewise.
9062 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9063 * gdb.base/watchpoint-hw.exp: Likewise.
9064 * gdb.base/watchpoint.exp: Likewise.
9065 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9066 * gdb.threads/watchthreads-reorder.exp: Likewise.
9067 * gdb.threads/watchthreads.exp: Likewise.
9068 * gdb.threads/watchthreads2.exp: Likewise.
9069
9070 2011-02-21 Joel Brobecker <brobecker@adacore.com>
9071
9072 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9073 the debugger is unable to find the array bounds.
9074
9075 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9076
9077 * gdb.cp/typedef-operator.exp: New file.
9078 * gdb.cp/typedef-operator.cc: New file.
9079
9080 2011-02-17 Michael Snyder <msnyder@vmware.com>
9081
9082 * gdb.threads/thread-find.exp: Fix regular expressions.
9083
9084 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9085
9086 * gdb.ada/packed_array: Expand testcase to test printing of
9087 unconstrained packed array.
9088
9089 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9090
9091 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9092
9093 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9094
9095 * gdb.trace/collection.c (globalarr3): New global.
9096 (main): Initialize it before collecting, and and clear it
9097 afterwards.
9098 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9099 collecting with '{type} addr', where the addr expression is not an
9100 rvalue.
9101
9102 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
9103
9104 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9105 a bool variable. Expect correct OpenCL names for vector types. Use the
9106 uc3 variable name instead of referring to the uchar3 built-in type.
9107 Escape the asterisk at the half pointer test.
9108
9109 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9110
9111 * gdb.trace/collection.c (globalarr2): New global.
9112 (main): Initialize it before collecting, and and clear it
9113 afterwards.
9114 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9115 collecting overlapping memory ranges.
9116
9117 2011-02-15 Michael Snyder <msnyder@vmware.com>
9118
9119 * gdb.base/default.exp: Add tests for thread commands.
9120 * gdb.base/help.exp: Add tests for thread commands.
9121 * gdb.threads/thread-find.exp: New test for thread find command.
9122
9123 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
9124
9125 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9126
9127 2011-02-15 Yao Qi <yao@codesourcery.com>
9128
9129 PR tdep/12352
9130 * gdb.arch/arm-disp-step.S : New test for str instruction.
9131 * gdb.arch/arm-disp-step.exp : Likewise.
9132
9133 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9134
9135 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9136 "vector_register2_vr" test strings. Test the extended floating
9137 point registers (F32~F63).
9138 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9139 IBM XL C compiler. Make the test program use a register provided
9140 by the compiler for the lxvd2x instruction.
9141
9142 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9143
9144 * gdb.trace/unavailable.cc (class Base, class Middle, class
9145 Derived): New types.
9146 (derived_unavail, derived_partial, derived_whole): New globals.
9147 (virtual_partial): New global.
9148 (virtualp): Point at virtual_partial.
9149 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9150 related to unavailable vptr.
9151
9152 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9153
9154 * gdb.trace/unavailable.cc (a, b, c): New globals.
9155 (main): Set and clear them.
9156 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9157 `a' and `c', and check that `b' isn't collected, although `a' and
9158 `c' are.
9159
9160 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9161
9162 * gdb.trace/unavailable.cc (struct Virtual): New.
9163 (virtualp): New global pointer.
9164 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9165 printing a pointer to an object whose type has a vtable, with
9166 print object on.
9167
9168 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9169
9170 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9171 value repeat handles unavailableness.
9172
9173 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9174
9175 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9176 tests for building arrays from unavailable values, subscripting
9177 non-memory rvalue unvailable arrays, and accessing fields or
9178 baseclasses of non-lazy unavailable values,
9179 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9180 struct types.
9181 (g_smallstruct, g_smallstruct_b): New globals.
9182
9183 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9184
9185 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9186
9187 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9188
9189 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9190 * gdb.cp/overload-const.exp: New file.
9191 * gdb.cp/overload-const.cc: New file.
9192
9193 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9194
9195 * gdb.opencl/callfuncs.cl: New file.
9196 * gdb.opencl/callfuncs.exp: New test.
9197 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9198
9199 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9200
9201 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9202 when computing result.
9203 * gdb.arch/altivec-abi.exp: Update expected results.
9204
9205 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9206
9207 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9208 * gdb.base/jit.exp: Likewise.
9209 * gdb.base/pie-execl.exp: Likewise.
9210 * gdb.base/solib-nodir.exp: Likewise.
9211 * gdb.base/solib-overlap.exp: Likewise.
9212
9213 2011-02-07 Pedro Alves <pedro@codesourcery.com>
9214
9215 * gdb.trace/collection.c (global_pieces): New.
9216 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9217 New procedure.
9218 (gdb_trace_collection_test): Call it.
9219
9220 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9221
9222 * gdb.python/py-evthreads.c: New file.
9223 * gdb.python/py-evthreads.exp: New file.
9224 * gdb.python/py-events.py: New file.
9225 * gdb.python/py-events.exp: New file.
9226 * gdb.python/py-events.c: New file.
9227
9228 2011-02-04 David Daney <ddaney@caviumnetworks.com>
9229
9230 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9231
9232 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
9233
9234 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9235 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9236 boundary between two compilation units.
9237
9238 2011-02-02 Pedro Alves <pedro@codesourcery.com>
9239
9240 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9241 (Virtual): New structs.
9242 (virtual_o, virtual_middle_b): New globals.
9243 * gdb.cp/virtbase.exp: New tests.
9244
9245 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9246
9247 * gdb.base/jit.exp: New file.
9248 * gdb.base/jit-main.c: New file.
9249 * gdb.base/jit-solib.c: New file.
9250
9251 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9252
9253 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9254 proceed to initial kernel entry point.
9255 * gdb.opencl/datatypes.exp: Likewise.
9256 * gdb.opencl/operators.exp: Likewise.
9257 * gdb.opencl/vec_comps.exp: Likewise.
9258
9259 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9260
9261 * gdb.cp/nsnested.cc: New.
9262 * gdb.cp/nsnested.exp: New.
9263 * gdb.cp/nsnoimports.exp: New.
9264 * gdb.cp/nsnoimports.cc: New.
9265
9266 2011-01-31 Joel Brobecker <brobecker@adacore.com>
9267
9268 * gdb.base/interact.exp: Add extra tests that verify that
9269 the value of the interactive-mode setting does not change
9270 after the script is sourced.
9271
9272 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9273
9274 * gdb.cp/noparam.exp: New file.
9275 * gdb.cp/noparam.cc: New file.
9276
9277 2011-01-28 Pedro Alves <pedro@codesourcery.com>
9278
9279 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9280 there's no stack or registers.
9281
9282 2011-01-26 Tom Tromey <tromey@redhat.com>
9283
9284 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9285 space before string output. Add test for "set print pretty off"
9286 case.
9287
9288 2011-01-25 Pedro Alves <pedro@codesourcery.com>
9289
9290 * gdb.base/frame-args.exp: Adjust.
9291 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9292 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9293 * gdb.dwarf2/pieces.exp: Adjust.
9294 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9295 * gdb.opt/inline-locals.exp: Adjust.
9296 * gdb.threads/fork-child-threads.exp: Adjust.
9297
9298 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
9299
9300 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9301 OpenCL kernel function. Add a comment as marker. Add address space
9302 qualifiers for the remaining program scope variables.
9303 * gdb.opencl/datatypes.cl: Likewise.
9304 * gdb.opencl/operators.cl: Likewise.
9305 * gdb.opencl/vec_comps.cl: Likewise.
9306 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9307 Add breakpoint at the marker comment.
9308 * gdb.opencl/datatypes.exp: Likewise.
9309 * gdb.opencl/operators.exp: Likewise.
9310 * gdb.opencl/vec_comps.exp: Likewise.
9311
9312 2011-01-24 Pedro Alves <pedro@codesourcery.com>
9313
9314 * gdb.base/printcmds.c (some_struct): New struct and instance.
9315 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9316 procedure.
9317 <global scope>: Call it.
9318
9319 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
9320
9321 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9322 argument to the gdb_compile_opencl_hostapp call.
9323
9324 2011-01-19 Yao Qi <yao@codesourcery.com>
9325
9326 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9327 positve list.
9328
9329 2011-01-19 Yao Qi <yao@codesourcery.com>
9330
9331 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9332 canonical form.
9333 Remove "xscale-*-*"
9334 * gdb.xml/tdesc-regs.exp: Likewise.
9335 * gdb.python/py-section-script.exp: Replace ARM target triplet
9336 with canonical form.
9337 Match arm*-*-symbianelf*.
9338 * gdb.base/dup-sect.exp: Likewise.
9339 * lib/dwarf.exp: New.
9340 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9341 dwarf2_support.
9342 * gdb.dwarf2/dup-psym.exp: Likewise.
9343 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9344 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9345 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9346 * gdb.dwarf2/dw2-basic.exp: Likewise.
9347 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9348 * gdb.dwarf2/dw2-const.exp: Likewise.
9349 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9350 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9351 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9352 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9353 * gdb.dwarf2/dw2-filename.exp: Likewise.
9354 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9355 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9356 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9357 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9358 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9359 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9360 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9361 * gdb.dwarf2/dw2-producer.exp: Likewise.
9362 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9363 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9364 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9365 * gdb.dwarf2/dw2-strp.exp: Likewise.
9366 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9367 * gdb.dwarf2/implptr.exp: Likewise.
9368 * gdb.dwarf2/mac-fileno.exp: Likewise.
9369 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9370 * gdb.dwarf2/pieces.exp: Likewise.
9371 * gdb.dwarf2/pr11465.exp: Likewise.
9372 * gdb.dwarf2/valop.exp: Likewise.
9373 * gdb.dwarf2/watch-notconst.exp: Likewise.
9374 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9375
9376 2011-01-19 Tom Tromey <tromey@redhat.com>
9377
9378 * gdb.python/py-infthread.exp: Add thread tests.
9379
9380 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9381
9382 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9383
9384 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9385
9386 * gdb.ada/widewide: New testcase.
9387
9388 2011-01-13 Joel Brobecker <brobecker@adacore.com>
9389
9390 * gdb.base/interact.exp: New testcase.
9391
9392 2011-01-12 Tom Tromey <tromey@redhat.com>
9393
9394 * gdb.mi/gdb2549.exp: Update for error message changes.
9395 * gdb.mi/mi-cli.exp: Likewise.
9396 * gdb.mi/mi-disassemble.exp: Likewise.
9397 * gdb.mi/mi-pthreads.exp: Likewise.
9398 * gdb.mi/mi-regs.exp: Likewise.
9399 * gdb.mi/mi-stack.exp: Likewise.
9400 * gdb.mi/mi-var-block.exp: Likewise.
9401 * gdb.mi/mi-var-cmd.exp: Likewise.
9402 * gdb.mi/mi2-cli.exp: Likewise.
9403 * gdb.mi/mi2-disassemble.exp: Likewise.
9404 * gdb.mi/mi2-pthreads.exp: Likewise.
9405 * gdb.mi/mi2-regs.exp: Likewise.
9406 * gdb.mi/mi2-stack.exp: Likewise.
9407 * gdb.mi/mi2-var-block.exp: Likewise.
9408 * gdb.mi/mi2-var-cmd.exp: Likewise.
9409
9410 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9411 Jan Kratochvil <jan.kratochvil@redhat.com>
9412
9413 PR fortran/11104 and DWARF unbound arrays detection.
9414 * gdb.fortran/multi-dim.exp: New file.
9415 * gdb.fortran/multi-dim.f90: New file.
9416
9417 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9418
9419 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9420 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9421 add new tests for opcode dumping.
9422
9423 2011-01-11 Tom Tromey <tromey@redhat.com>
9424
9425 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9426
9427 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9428
9429 Convert hardware watchpoints to use breakpoint_ops.
9430 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9431 type is not supported.
9432 * gdb.base/foll-fork.exp: Likewise.
9433 * gdb.base/foll-vfork.exp: Likewise.
9434
9435 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9436
9437 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9438 Use load_lib gdb-python.exp.
9439 * gdb.python/python.exp: Ditto.
9440 * gdb.python/py-function.exp: Ditto.
9441
9442 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9443
9444 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9445
9446 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9447
9448 * configure: Regenerate.
9449
9450 2011-01-06 Tom Tromey <tromey@redhat.com>
9451
9452 * gdb.python/py-frame.exp: Test gdb.newest_frame.
9453
9454 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9455
9456 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9457 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9458 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9459 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9460 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9461 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9462 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9463 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9464 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9465 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9466 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9467 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9468 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9469 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9470 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9471 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9472 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9473 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9474 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9475 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9476 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9477 gdb.ada/uninitialized_vars.exp,
9478 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9479 Simplify by using clean_restart.
9480
9481 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9482
9483 Add marker to be used as anchor for inserting breakpoints.
9484 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9485 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9486 Likewise.
9487
9488 Remove uses of gdb_start_cmd.
9489 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9490 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9491
9492 Do not run testcase if testing with GDBserver.
9493 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9494 if testing with GDBserver.
9495
9496 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9497
9498 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9499 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9500 copyright header.
9501
9502 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9503
9504 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9505 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9506 testsuite/gdb.fortran/complex.f,
9507 testsuite/gdb.fortran/derived-type.f90,
9508 testsuite/gdb.fortran/library-module-lib.f90,
9509 testsuite/gdb.fortran/library-module-main.f90,
9510 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9511 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9512 Copyright year update.
9513
9514 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9515
9516 * gdb.base/langs1.f: Add copyright header.
9517
9518 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9519
9520 * gdb.base/morestack.exp: New file.
9521 * gdb.base/morestack.c: New file.
9522
9523 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9524
9525 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9526
9527 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9528
9529 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9530 * gdb.ada/arrayptr.exp: Add test printing that new variable.
9531
9532 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9533
9534 * gdb.ada/lang_switch.exp: Correct expected parameter value.
9535
9536 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
9537
9538 * gdb.threads/tls.exp: Fix typo.
9539
9540 * gdb.threads/thread-specific.exp (get_thread_list): Update.
9541 * gdb.threads/execl.exp: Update.
9542
9543 2010-12-23 Yao Qi <yao@codesourcery.com>
9544
9545 * gdb.arch/arm-disp-step.exp: New.
9546 * gdb.arch/arm-disp-step.S: New.
9547
9548 2010-12-21 Tom Tromey <tromey@redhat.com>
9549
9550 * gdb.threads/execl.exp: Update.
9551 * gdb.threads/linux-dp.exp: Update.
9552 * gdb.threads/manythreads.exp: Update.
9553 * gdb.threads/tls.exp: Update.
9554
9555 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9556
9557 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9558 (NextOverThrowDerivates) <resumebpt>: New.
9559 (resumebpt_test): New.
9560 (main): Call resumebpt_test.
9561 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9562
9563 2010-12-12 Stan Shebs <stan@codesourcery.com>
9564
9565 * gdb.trace/tsv.exp: Test print command on trace state variables.
9566
9567 2010-12-09 Tom Tromey <tromey@redhat.com>
9568
9569 * gdb.base/interp.exp: Add regression test.
9570
9571 2010-12-09 Tom Tromey <tromey@redhat.com>
9572
9573 * gdb.java/jnpe.java: New file.
9574 * gdb.java/jnpe.exp: New file.
9575 * gdb.cp/nextoverthrow.exp: New file.
9576 * gdb.cp/nextoverthrow.cc: New file.
9577
9578 2010-12-07 Doug Evans <dje@google.com>
9579
9580 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9581 of data-directory.
9582 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9583 updated.
9584 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9585
9586 2010-11-29 Michael Snyder <msnyder@vmware.com>
9587
9588 * gdb.base/callfuncs.exp: Test for skip_float_tests.
9589 * gdb.base/call-sc.exp: Ditto.
9590 * gdb.base/finish.exp: Ditto.
9591 * gdb.base/return.exp: Ditto.
9592 * gdb.base/return2.exp: Ditto.
9593
9594 2010-11-30 Doug Evans <dje@google.com>
9595
9596 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9597 (gdb_expect_list): Fix spelling errors in comments.
9598 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9599 send_gdb/gdb_expect_list where applicable.
9600 * gdb.base/call-ar-st.exp: Ditto.
9601 * gdb.base/funcargs.exp: Ditto.
9602 * gdb.base/gcore.exp: Ditto.
9603 * gdb.base/page.exp: Ditto.
9604 * gdb.base/sigaltstack.exp: Ditto.
9605 * gdb.base/siginfo.exp: Ditto.
9606 * gdb.base/sigstep.exp: Ditto.
9607 * gdb.base/trace-commands.exp: Ditto.
9608
9609 2010-11-29 Doug Evans <dje@google.com>
9610
9611 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
9612 printer-name;subprinter-name.
9613
9614 2010-11-29 Tom Tromey <tromey@redhat.com>
9615
9616 * gdb.dwarf2/implptr.exp: New file.
9617 * gdb.dwarf2/implptr.c: New file.
9618 * gdb.dwarf2/implptr.S: New file.
9619
9620 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
9621
9622 PR python/12199
9623
9624 * gdb.python/py-breakpoint.exp: Test the delete method.
9625
9626 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9627
9628 Fix step_resume_breakpoint unsaved during an infcall.
9629 * gdb.base/step-resume-infcall.exp: New file.
9630 * gdb.base/step-resume-infcall.c: New file.
9631
9632 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
9633
9634 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
9635
9636 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
9637
9638 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
9639 on ppc64's symbols; "finish" and "return" commands must accept to
9640 show the caller line again as well as the line after.
9641 * gdb.asm/powerpc64.inc: New file.
9642
9643 2010-11-23 Doug Evans <dje@google.com>
9644
9645 * lib/gdb.exp (gdb_test_sequence): New function.
9646 (gdb_expect_list): Add verbose -log call for each pattern.
9647 * gdb.base/signals.exp (test_handle_all_print): Call it.
9648 Reduce timeout increment from 6 minutes to 1 minute.
9649 * gdb.server/ext-run.exp: Call it.
9650
9651 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
9652
9653 PR python/12212
9654
9655 * gdb.python/python.exp: Check that selected_thread raises an
9656 error when no inferior is loaded.
9657
9658 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9659
9660 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
9661 * gdb.dwarf2/dw2-stack-boundary.S: New file.
9662
9663 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9664
9665 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
9666 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
9667
9668 2010-11-18 Doug Evans <dje@google.com>
9669
9670 * gdb.server/ext-run.exp: Fix intermittent failures.
9671
9672 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9673
9674 * gdb.stabs/gdb11479.exp: Use runto_main.
9675
9676 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9677
9678 * gdb.base/break-entry.exp: Skip if using a stub.
9679
9680 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9681
9682 * gdb.python/py-inferior.exp: Pack values in target endianness.
9683
9684 2010-11-12 Tom Tromey <tromey@redhat.com>
9685
9686 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
9687 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
9688 MemoryError.
9689 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
9690 type.
9691 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
9692 MemoryError.
9693 (test_subscript_regression): Update exception type.
9694
9695 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
9696
9697 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
9698 breakpoint tests.
9699
9700 2010-11-09 Pedro Alves <pedro@codesourcery.com>
9701
9702 * gdb.base/watchpoint.exp: Test "watch -location" with an
9703 innacessible location.
9704
9705 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
9706 Luis Machado <luisgpm@br.ibm.com>
9707
9708 * gdb.base/maint.exp: Expect "." prefix.
9709 * gdb.base/nodebug.exp: Expect "." Likewise.
9710 * gdb.base/sepsymtab.exp: Expect "." Likewise.
9711 * gdb.base/watchpoint-cond-gone.exp: Likewise.
9712 * gdb.base/watchpoint.exp: Expect a software watch to be created for
9713 POWER server processors.
9714
9715 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
9716 Luis Machado <luisgpm@br.ibm.com>
9717
9718 * gdb.base/break-entry.exp: convert entry point for
9719 ppc64 and expect leading `.' on ppc64's symbols
9720
9721 2010-11-05 Doug Evans <dje@google.com>
9722
9723 * gdb.base/help.exp: Update expected output.
9724 * gdb.python/py-param.exp: Delete, contents moved to ...
9725 * gdb.python/py-parameter.exp: ... here. New file.
9726 Add test for gdb.parameter ("directories").
9727
9728 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
9729
9730 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
9731 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
9732 * configure: Regenerate.
9733 * gdb.opencl/Makefile.in: New File.
9734 * gdb.opencl/datatypes.exp: Likewise.
9735 * gdb.opencl/datatypes.cl: Likewise.
9736 * gdb.opencl/operators.exp: Likewise.
9737 * gdb.opencl/operators.cl: Likewise.
9738 * gdb.opencl/vec_comps.exp: Likewise.
9739 * gdb.opencl/vec_comps.cl: Likewise.
9740 * gdb.opencl/convs_casts.exp: Likewise.
9741 * gdb.opencl/convs_casts.cl: Likewise.
9742 * lib/opencl.exp: Likewise.
9743 * lib/opencl_hostapp.c: Likewise.
9744 * lib/opencl_kernel.cl: Likewise.
9745 * lib/cl_util.c: Likewise.
9746 * lib/cl_util.c: Likewise.
9747 * gdb.base/default.exp (set language): Add "opencl" to the list of
9748 languages.
9749
9750 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
9751
9752 * gdb.cp/overload.exp: Added test for inheritance overload.
9753 * gdb.cp/overload.cc: Ditto.
9754 * gdb.cp/oranking.exp: Removed releveant kfails.
9755
9756 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9757 Joel Brobecker <brobecker@adacore.com>
9758
9759 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
9760 check test_compiler_info.
9761
9762 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9763
9764 * gdb.base/gnu_vector.exp: Adjust expect messages.
9765
9766 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9767
9768 * gdb.base/gnu_vector.exp: Add unary operator tests.
9769
9770 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9771
9772 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
9773
9774 2010-11-02 Doug Evans <dje@google.com>
9775
9776 * gdb.python/py-pp-maint.c: New file.
9777 * gdb.python/py-pp-maint.exp: New file.
9778 * gdb.python/py-pp-maint.py: New file.
9779
9780 2010-11-02 Tom Tromey <tromey@redhat.com>
9781
9782 * gdb.base/default.exp: Remove "scheme" from language list.
9783
9784 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9785
9786 Revert:
9787 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9788 * gdb.threads/sigstep-threads.exp: New file.
9789 * gdb.threads/sigstep-threads.c: New file.
9790
9791 2010-10-20 Michael Snyder <msnyder@vmware.com>
9792
9793 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
9794
9795 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9796
9797 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
9798 Skip test completely if gdb,no_hardware_watchpoints.
9799
9800 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9801
9802 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
9803 strict, but do not check for any particular function name within libc.
9804
9805 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9806
9807 * gdb.cp/smartp.exp: New test.
9808 * gdb.cp/smartp.cc : New test.
9809
9810 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9811
9812 * gdb.cp/converts.exp: Test pointer to bool conversion.
9813 Test pointer to long conversion.
9814 * gdb.cp/oranking.exp: Removed relevant kfail.
9815
9816 2010-10-18 Tom Tromey <tromey@redhat.com>
9817
9818 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
9819 argument to lazy_string.
9820 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
9821 (pp_ls.to_string): Use it.
9822 * gdb.python/py-prettyprint.c (main): Move declarations to top.
9823 Add "estring2" local.
9824
9825 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9826
9827 Fix s390x compatibility.
9828 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
9829 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
9830
9831 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9832
9833 * gdb.threads/sigstep-threads.exp: New file.
9834 * gdb.threads/sigstep-threads.c: New file.
9835
9836 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9837
9838 * gdb.base/pie-execl.exp: New file.
9839 * gdb.base/pie-execl.c: New file.
9840
9841 2010-10-13 Doug Evans <dje@google.com>
9842 Jan Kratochvil <jan.kratochvil@redhat.com>
9843
9844 PR exp/12117
9845 * gdb.cp/ptype-cv-cp.cc: New file.
9846 * gdb.cp/ptype-cv-cp.exp: New file.
9847
9848 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
9849
9850 * gdb.cp/converts.cc: New test program.
9851 * gdb.cp/converts.exp: New test.
9852 * gdb.cp/overload.exp: Added test for void* vs int*.
9853 * gdb.cp/overload.exp: Ditto.
9854 * gdb.cp/oranking.exp: Removed related kfail.
9855
9856 2010-10-13 Doug Evans <dje@google.com>
9857
9858 * lib/gdb-python.exp (gdb_check_python_config): New function.
9859 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9860 * gdb.python/lib-types.cc: New file.
9861 * gdb.python/lib-types.exp: New file.
9862
9863 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9864
9865 * gdb.python/py-error.exp: New file.
9866 * gdb.python/py-error.py: New file.
9867
9868 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9869
9870 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9871 gdb_test_multiple.
9872
9873 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9874
9875 * gdb.base/break-interp.exp: Use ldlags for linking flags.
9876 * gdb.base/prelink.exp: Likewise.
9877 * gdb.base/solib-nodir.exp: Likewise.
9878 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9879 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9880 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9881
9882 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
9883
9884 * break-interp.exp (test_ld): Use two separate gdb_expect statements
9885 for the "info files" test to avoid timeouts on slow machines.
9886
9887 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9888
9889 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9890 (main): Make openlib dummy call.
9891
9892 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9893
9894 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9895 * break-interp.exp (reach): Move the core body ...
9896 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
9897 (test_ld): Provide always real argument, even to the linker. Replace
9898 dl_main by _dl_debug_state.
9899
9900 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9901
9902 Fix results of prelinked PIEs on ppc*.
9903 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9904 Accept also DISPLACEMENT "PRESENT".
9905 (main): Replace "ZERO" displacements by "PRESENT".
9906
9907 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
9908
9909 * gdb.cp/oranking.exp: New test.
9910 * gdb.cp/oranking.cc: New test program.
9911
9912 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
9913
9914 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9915 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9916
9917 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
9918
9919 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9920 lush, lynx) New constant.
9921 * gdb.base/constvars.exp: Test const array types.
9922 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9923
9924 2010-10-06 Doug Evans <dje@google.com>
9925
9926 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9927 of syscall staging area.
9928
9929 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
9930
9931 * gdb.base/gnu_vector.c: Add variable c4.
9932 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9933 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9934
9935 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
9936
9937 * gdb.arch/altivec-abi.exp: Fix a typo.
9938
9939 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
9940
9941 * lib/mi-support.exp (thread_selected_re): Correct pattern used
9942 to match a thread ID.
9943
9944 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9945
9946 Fix s390x testcase compatibility.
9947 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9948
9949 2010-10-01 Doug Evans <dje@google.com>
9950
9951 * lib/gdb-python.exp: New file.
9952 * gdb.python/py-block.exp: Use it.
9953 * gdb.python/py-breakpoint.exp: Ditto.
9954 * gdb.python/py-frame.exp: Ditto.
9955 * gdb.python/py-inferior.exp: Ditto.
9956 * gdb.python/py-param.exp: Ditto.
9957 * gdb.python/py-prettyprint.exp: Ditto.
9958 * gdb.python/py-shared.exp: Ditto.
9959 * gdb.python/py-symbol.exp: Ditto.
9960 * gdb.python/py-symtab.exp: Ditto.
9961 * gdb.python/py-type.exp: Ditto.
9962 * gdb.python/py-value.exp: Ditto.
9963 * gdb.python/python.exp: Ditto.
9964
9965 2010-09-30 Tom Tromey <tromey@redhat.com>
9966
9967 * gdb.base/anon.exp: New file.
9968 * gdb.base/anon.c: New file.
9969
9970 2010-09-30 Tom Tromey <tromey@redhat.com>
9971
9972 * gdb.base/completion.exp: Test completion through anonymous
9973 union.
9974 * gdb.base/break1.c (struct some_struct): Add anonymous union.
9975
9976 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9977
9978 Fix printing parameters of inlined functions.
9979 * gdb.dwarf2/dw2-inline-param.exp: New file.
9980 * gdb.dwarf2/dw2-inline-param-main.c: New file.
9981 * gdb.dwarf2/dw2-inline-param.S: New file.
9982
9983 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9984
9985 PR corefiles/12071.
9986 * gdb.base/corefile.exp (quit with a process, no question: load core)
9987 (quit with a core file): New tests.
9988
9989 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9990
9991 Fix GDB crash on inferior calls with self-referencing classes.
9992 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9993 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9994 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9995
9996 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9997
9998 Fix lost siginfo_t for inferior calls.
9999 * gdb.base/siginfo-infcall.exp: New file.
10000 * gdb.base/siginfo-infcall.c: New file.
10001
10002 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10003
10004 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
10005
10006 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10007
10008 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
10009 New test.
10010 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
10011
10012 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10013
10014 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
10015 type of our const type.
10016
10017 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
10018
10019 * gdb.cp/pr12028.cc: New.
10020 * gdb.cp/pr12028.exp: New.
10021
10022 2010-09-22 Joel Brobecker <brobecker@adacore.com>
10023
10024 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
10025
10026 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
10027 Jan Kratochvil <jan.kratochvil@redhat.com>
10028
10029 PR mi/11407
10030 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
10031 * gdb.mi/dw2-ref-missing-frame-main.c New File.
10032 * gdb.mi/dw2-ref-missing-frame.S New File.
10033 * gdb.mi/dw2-ref-missing-frame.exp New File.
10034
10035 2010-09-14 Tom Tromey <tromey@redhat.com>
10036
10037 PR symtab/8399:
10038 * gdb.threads/tls.exp: Remove kfail. Update expected output.
10039
10040 2010-09-14 Tom Tromey <tromey@redhat.com>
10041
10042 PR exp/11803:
10043 * gdb.threads/tls.exp: Use C++.
10044 (check_thread_local): Use K::another_thread_local.
10045 * gdb.threads/tls.c (class K): New.
10046 (another_thread_local): Now a member of K.
10047 (spin): Update. No longer K&R C.
10048
10049 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
10050
10051 * gdb.cp/koenig.cc: created class for testing member lookup.
10052 * gdb.cp/koenig.exp: Added test for member lookup.
10053
10054 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10055
10056 Fix false FAILs on sourcetree topdir directory containing "kill".
10057 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
10058 source line matching regexp.
10059
10060 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10061
10062 * gdb.python/python.exp (set height 0, collect help from uiout)
10063 (verify help to uiout): New tests.
10064
10065 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10066
10067 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10068 is_lp64_target to check 64bit target.
10069
10070 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10071
10072 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10073 (test_ld) <powerpc64-*>: New.
10074
10075 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10076
10077 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10078
10079 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10080
10081 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10082 (FunctionArg::method): New function.
10083 (empty, arg): New variables.
10084 (main): Call arg.method.
10085 * gdb.cp/templates.exp (test_template_args): New function.
10086 (do_tests): Call it.
10087
10088 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10089
10090 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10091 of "next" to proceed over pthread_exit call.
10092
10093 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10094
10095 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10096 "maint print statistics" output to prevent expect timeouts.
10097
10098 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10099
10100 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10101 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10102 (test_float_rejected): ... here.
10103 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10104 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10105 (test_float_rejected): ... here.
10106 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10107 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10108 (test_float_rejected): ... here.
10109 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10110 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10111 (test_float_rejected): ... here.
10112
10113 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10114
10115 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10116 before disabling hardware watchpoints.
10117 (test_inaccessible_watchpoint): Check that hardware watchpoints
10118 are used. Test for watchpoints on a constant address.
10119
10120 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10121
10122 * gdb.base/ui-redirect.exp: New file.
10123
10124 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10125 Joel Brobecker <brobecker@adacore.com>
10126
10127 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10128
10129 2010-08-31 Doug Evans <dje@google.com>
10130
10131 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10132
10133 2010-08-30 Tom Tromey <tromey@redhat.com>
10134
10135 PR python/11792:
10136 * gdb.python/py-value.exp (test_subscript_regression): Add
10137 dynamic_type test.
10138
10139 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10140
10141 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10142 instead of running to main. Do not test the main function.
10143 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10144 Add new main.
10145
10146 2010-08-26 Pedro Alves <pedro@codesourcery.com>
10147
10148 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10149 one test.
10150
10151 2010-08-24 Doug Evans <dje@google.com>
10152
10153 PR symtab/11942
10154 * gdb.dwarf2/dw4-sig-types.cc: New file.
10155 * gdb.dwarf2/dw4-sig-types.h: New file.
10156 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10157 * gdb.dwarf2/dw4-sig-types.exp: New file.
10158
10159 2010-08-23 Tom Tromey <tromey@redhat.com>
10160
10161 PR python/11145:
10162 * gdb.python/py-value.c (Base, Derived): New types.
10163 (base): New global.
10164 * gdb.python/py-value.exp (test_subscript_regression): Add
10165 dynamic_cast test.
10166
10167 2010-08-23 Tom Tromey <tromey@redhat.com>
10168
10169 PR python/10676:
10170 * gdb.python/py-type.exp (test_fields): Add tests for type
10171 equality.
10172
10173 2010-08-23 Tom Tromey <tromey@redhat.com>
10174
10175 PR python/11915:
10176 * gdb.python/py-type.exp (test_fields): Add tests for array.
10177
10178 2010-08-23 Keith Seitz <keiths@redhat.com>
10179
10180 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10181 have any children. Create a new abbrev for it.
10182 Add missing terminal sequence to .debug_abbrev.
10183
10184 2010-08-20 Keith Seitz <keiths@redhat.com>
10185
10186 PR symtab/11465:
10187 * gdb.dwarf2/pr11465.exp: New test.
10188 * gdb.dwarf2/pr11465.S: New file.
10189 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10190 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10191
10192 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10193
10194 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10195 registers. Update data sets with the new v2_double element in the
10196 VSX register union. Add vector_register3_vr data set for the AltiVec
10197 registers. Use gdb_test_no_output instead of send_gdb.
10198
10199 2010-08-19 Pedro Alves <pedro@codesourcery.com>
10200
10201 * gdb.python/py-shared.exp: New file, factored out from
10202 python.exp.
10203 * gdb.python/py-shared.c: New file.
10204 * gdb.python/py-shared-sl.c: New file.
10205 * gdb.python/python-1.c: New file.
10206 * gdb.python/python-sl.c: Delete.
10207 * gdb.python/python.c: Mention python-1.c.
10208 * gdb.python/python.exp: Move shared library tests to
10209 py-shared.exp.
10210 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10211 (MISCELLANEOUS): New.
10212 (clean mostlyclean): Also remove $MISCELLANEOUS.
10213
10214 2010-08-19 Doug Evans <dje@google.com>
10215
10216 PR exp/11926
10217 * gdb.base/printcmds.exp (test_float_accepted): New function.
10218 Move existing float tests there. Add tests for floats with suffixes.
10219 (test_float_rejected): New function.
10220 * gdb.java/jv-print.exp (test_float_accepted): New function.
10221 (test_float_rejected): New function.
10222 * gdb.objc/print.exp: New file.
10223 * gdb.pascal/print.exp: New file.
10224 * lib/objc.exp: New file.
10225
10226 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10227
10228 * gdb.base/default.exp (info set): Avoid full buffer error and force
10229 reading up to final gdb prompt.
10230 (show): Likewise.
10231
10232 2010-08-18 Tom Tromey <tromey@redhat.com>
10233
10234 PR symtab/11919:
10235 * gdb.base/completion.exp: Add test.
10236
10237 2010-08-18 Doug Evans <dje@google.com>
10238
10239 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10240 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10241 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10242 Simplify, early exit if runto_main fails.
10243 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10244 (set_lang_fortran): Moved to lib/fortran.exp.
10245 * gdb.fortran/types.exp: load_lib fortran.exp.
10246 (set_lang_fortran): Moved to lib/fortran.exp.
10247 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10248 * gdb.java/jprint.exp (set_lang_java): Ditto.
10249 * gdb.java/jv-exp.exp: load_lib java.exp.
10250 If set_lang_java fails, issue a warning instead of failure to be
10251 consistent with other set_lang_foo uses.
10252 (set_lang_java): Moved to lib/java.exp.
10253 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10254 If set_lang_java fails, issue a warning instead of failure to be
10255 consistent with other set_lang_foo uses.
10256 * gdb.pascal/types.exp: load_lib pascal.exp.
10257 (set_lang_pascal): Moved to lib/pascal.exp.
10258 * lib/fortran.exp: New file.
10259 * lib/java.exp (set_lang_java): New function.
10260 * lib/pascal.exp (set_lang_pascal): New function.
10261
10262 2010-08-18 Yao Qi <yao@codesourcery.com
10263
10264 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10265 func_nofb_start and func_loopfb_start, so that address of functions
10266 is equal to these labels on Thumb.
10267
10268 2010-08-18 Yao Qi <yao@codesourcery.com>
10269
10270 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10271 to reflect latest c source file.
10272
10273 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10274
10275 * gdb.cp/infcall-dlopen.exp: New file.
10276 * gdb.cp/infcall-dlopen.cc: New file.
10277 * gdb.cp/infcall-dlopen-lib.cc: New file.
10278
10279 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10280 Pedro Alves <pedro@codesourcery.com>
10281
10282 PR breakpoints/11371
10283
10284 * gdb.base/watch-cond-infcall.exp: New file.
10285 * gdb.base/watch-cond-infcall.c: New file.
10286
10287 2010-08-16 Tom Tromey <tromey@redhat.com>
10288
10289 * gdb.base/help.exp: Update.
10290 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10291 watchpoint.
10292 (test_watch_location): New proc.
10293 (test_watchpoint_in_big_blob): Delete watchpoint.
10294 * gdb.base/watchpoint.c (func5): New function.
10295 (main): Call it.
10296
10297 2010-08-16 Doug Evans <dje@google.com>
10298
10299 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10300
10301 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10302
10303 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10304 tests.
10305
10306 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
10307
10308 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10309 * gdb.base/gnu_vector.c: New File.
10310 * gdb.base/gnu_vector.exp: Likewise.
10311
10312 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10313
10314 * gdb.python/python.c: New File.
10315 * gdb.python/python-sl.c: New File.
10316 * gdb.python/python.exp: Test solib_address and decode_line
10317 * functions.
10318
10319 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10320
10321 * gdb.python/python.exp (show height, set height 10)
10322 (verify pagination beforehand, verify pagination beforehand: q)
10323 (gdb.execute does not page, verify pagination afterwards)
10324 (verify pagination afterwards: q): New.
10325
10326 2010-08-02 Doug Evans <dje@google.com>
10327
10328 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10329 because of an older gcc, change test2
10330 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10331 to unsupported.
10332
10333 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
10334
10335 * gdb.base/break-always.exp: Do not expect full paths to file
10336 names.
10337 * gdb.base/commands.exp: Likewise.
10338
10339 2010-07-30 Doug Evans <dje@google.com>
10340
10341 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10342 xfail them when run with older gccs.
10343
10344 * lib/gdb.exp (build_executable): Forward "c++" option to
10345 get_compiler_info.
10346
10347 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10348 "python print ttype.template_argument(1)" and
10349 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10350 if using gcc 4.4 or earlier.
10351
10352 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10353 attach-to-debugger handling.
10354
10355 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10356
10357 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10358 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10359 (main): Use copyreloc.
10360 * gdb.base/prelink.exp (split debug of executable)
10361 (.dynbss vs. .bss address shift): New tests.
10362
10363 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10364
10365 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10366 in gdb_test_multiple.
10367
10368 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10369
10370 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10371 environment.
10372
10373 2010-07-28 Tom Tromey <tromey@redhat.com>
10374
10375 PR python/11060:
10376 * gdb.python/py-type.c (Temargs): New template.
10377 (temvar): New variable.
10378 * gdb.python/py-type.exp (test_template): New proc.
10379
10380 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10381
10382 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10383 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10384
10385 2010-07-28 Tom Tromey <tromey@redhat.com>
10386
10387 PR c++/9946:
10388 * gdb.cp/temargs.exp: New file.
10389 * gdb.cp/temargs.cc: New file.
10390
10391 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10392
10393 * gdb.base/help.exp (help disassemble): Update the content.
10394
10395 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10396
10397 * gdb.threads/ia64-sigill.exp: New file.
10398 * gdb.threads/ia64-sigill.c: New file.
10399
10400 2010-07-27 Tom Tromey <tromey@redhat.com>
10401
10402 * gdb.opt/inline-cmds.c (ATTR): New define.
10403 (func1): Use it.
10404 (func2): Likewise.
10405 (func3): Likewise.
10406 (outer_inline1): Likewise.
10407 (outer_inline2): Likewise.
10408 * gdb.opt/inline-bt.c (ATTR): New define.
10409 (func1): Use it.
10410 (func2): Likewise.
10411 * gdb.opt/inline-locals.c (ATTR): New define.
10412 (func1): Use it.
10413 (func2): Likewise.
10414
10415 2010-07-27 Tom Tromey <tromey@redhat.com>
10416
10417 * gdb.stabs/gdb11479.c (hack): New function.
10418 (test): Use it.
10419 (test2): Use it.
10420 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10421 (int32_search_buf, int64_search_buf): No longer static.
10422 (x): Remove.
10423 * gdb.base/relocate.c (hack): New function.
10424
10425 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10426
10427 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10428 * gdb.python/py-value.c (func1): New function.
10429 (func2): Likewise.
10430
10431 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
10432
10433 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10434 as not to clash with .data section.
10435
10436 2010-07-26 Jerome Guitton <guitton@adacore.com>
10437
10438 * gdb.base/code_elim.exp: New file.
10439 * gdb.base/code_elim1.c: New file.
10440 * gdb.base/code_elim2.c: New file.
10441
10442 2010-07-21 Pedro Alves <pedro@codesourcery.com>
10443
10444 PR symtab/11827
10445
10446 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10447 (some_volatile_enum): New variable.
10448 * gdb.base/printcmds.exp (test_print_enums): New.
10449 <top level>: Call it.
10450
10451 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
10452
10453 * gdb.cp/fpointer.cc: New test.
10454 * gdb.cp/fpointer.exp: New test.
10455
10456 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10457
10458 * gdb.base/solib-nodir.exp: New file.
10459 * lib/gdb.exp (runto): New case for a GDB internal error.
10460
10461 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10462 Ulrich Weigand <uweigand@de.ibm.com>
10463 Tom Tromey <tromey@redhat.com>
10464
10465 * gdb.base/charset-malloc.c: New file.
10466 * gdb.base/charset.c (malloc_stub): New prototype.
10467 (main): Call it instead of malloc itself.
10468 * gdb.base/charset.exp: Use only prepare_for_testing.
10469 (binfile): Remove the variable.
10470
10471 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10472
10473 Make core files the process_stratum.
10474 * gdb.base/corefile.exp (run: load core again)
10475 (run: sanity check we see the core file, run: with core)
10476 (run: core file is cleared, attach: load core again)
10477 (attach: sanity check we see the core file, attach: with core)
10478 (attach: core file is cleared): New tests.
10479 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
10480
10481 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
10482
10483 * gdb.arch/altivec-abi.exp: New tests.
10484
10485 2010-07-13 Tom Tromey <tromey@redhat.com>
10486
10487 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10488 (main): Use it.
10489 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10490
10491 2010-07-13 Tom Tromey <tromey@redhat.com>
10492
10493 * gdb.base/label.exp: New file.
10494 * gdb.base/label.c: New file.
10495
10496 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
10497 H.J. Lu <hongjiu.lu@intel.com>
10498
10499 * lib/gdb.exp (is_ilp32_target): New.
10500 (is_lp64_target): Likewise.
10501
10502 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10503 target.
10504 * gdb.arch/amd64-disp-step.exp: Likewise.
10505 * gdb.arch/amd64-dword.exp: Likewise.
10506 * gdb.arch/amd64-i386-address.exp: Likewise.
10507 * gdb.arch/amd64-word.exp: Likewise.
10508
10509 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10510 target.
10511 * gdb.arch/i386-bp_permanent.exp: Likewise.
10512 * gdb.arch/i386-byte.exp: Likewise.
10513 * gdb.arch/i386-disp-step.exp: Likewise.
10514 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10515 * gdb.arch/i386-prologue.exp: Likewise.
10516 * gdb.arch/i386-size-overlap.exp: Likewise.
10517 * gdb.arch/i386-size.exp: Likewise.
10518 * gdb.arch/i386-sse.exp: Likewise.
10519 * gdb.arch/i386-unwind.exp: Likewise.
10520 * gdb.arch/i386-word.exp: Likewise.
10521
10522 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10523 test only when building 64-bit executables. Do not hard-code
10524 -m64 option.
10525
10526 2010-07-07 Doug Evans <dje@google.com>
10527
10528 * lib/gdb.exp (gdb_test_list_exact): New function.
10529 * gdb.base/default.exp (show convenience): Call it, add tests for
10530 $_sdata = void, $_thread = 0.
10531
10532 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10533 Joel Brobecker <brobecker@adacore.com>
10534
10535 Fix re-run of PIE executable, PR shlibs/11776.
10536 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10537 Remove $displacement_main to match the solib-svr4.c change. New "kill"
10538 and re-"run" of the inferior.
10539
10540 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10541 Joel Brobecker <brobecker@adacore.com>
10542
10543 Cope with missing /usr/sbin/prelink.
10544 * lib/prelink-support.exp (prelink_no):
10545 <result == 1 && $output is "no such file or directory">: New.
10546 (prelink_yes): Likewise. Return on failed prelink_no.
10547
10548 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10549 Joel Brobecker <brobecker@adacore.com>
10550
10551 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
10552 build_executable by build_executable_own_libs. Replace "prelink -R"
10553 execution by a call of prelink_yes. Comment why "prelink -r" needs no
10554 change.
10555 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
10556 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
10557 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10558 Replace build_executable by build_executable_own_libs's function
10559 build_executable_own_libs.
10560 (prelinkNO): Create new stub to call prelink_no.
10561 (prelinkYES): Create new stub to call prelink_yes.
10562 (test_attach): Rename calls of copy to file_copy.
10563 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10564 (copy): Move to ...
10565 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
10566 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10567 * gdb.base/prelink.exp: Disable testcase also for is_remote and
10568 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
10569 special flags by gdb_compile_shlib. Replace second gdb_compile by
10570 build_executable_own_libs. Replace "prelink -R" execution by a call of
10571 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
10572 a second call of prelink_yes. Replace restart commands by
10573 clean_restart.
10574 (prelink): Rename to ...
10575 (seen displacement message): ... this test. Extend its expectation
10576 strictness.
10577
10578 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10579
10580 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10581 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10582 displacement message exactly once.
10583
10584 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10585 Joel Brobecker <brobecker@adacore.com>
10586
10587 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
10588 its restore after the <$relink_args != ""> loop. new comment.
10589
10590 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10591 Joel Brobecker <brobecker@adacore.com>
10592
10593 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10594 code for it. New variable relink_args.
10595 (prelinkYES): Call prelinkNO.
10596 (test_attach): Accept new parameter relink_args. Re-prelink the binary
10597 in such case. Move the core code to ...
10598 (test_attach_gdb): ... a new function. Send GDB command "file".
10599 Extend expected "Attaching to " string.
10600
10601 2010-07-02 Tom Tromey <tromey@redhat.com>
10602
10603 * gdb.base/bitops.exp: Remove extraneous "pass".
10604
10605 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
10606
10607 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10608
10609 2010-07-01 Pedro Alves <pedro@codesourcery.com>
10610
10611 * gdb.base/help.exp: Adjust expected output.
10612
10613 2010-07-01 Pedro Alves <pedro@codesourcery.com>
10614
10615 * gdb.base/help.exp: Adjust expected output.
10616
10617 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10618
10619 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
10620 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
10621 c++/11702.
10622
10623 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10624 Doug Evans <dje@google.com>
10625
10626 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
10627 add .dynamic entry'.
10628
10629 2010-06-29 Doug Evans <dje@google.com>
10630
10631 Test PR c++/11702.
10632 * gdb.cp/m-static.exp: Add testcase.
10633 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
10634
10635 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
10636 Tom Tromey <tromey@redhat.com>
10637 Thiago Jung Bauermann <bauerman@br.ibm.com>
10638
10639 * gdb.python/py-inferior.c: New File.
10640 * gdb.python/py-infthread.c: New File.
10641 * gdb.python/py-inferior.exp: New File.
10642 * gdb.python/py-infthread.exp: New File.
10643
10644 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10645
10646 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
10647 (ptype ::C::OtherFileClass typedefs): New.
10648 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
10649 (C::OtherFileClass::cOtherFileClassVar2): New.
10650 (C::OtherFileClass::cOtherFileClassVar_use): Use also
10651 cOtherFileClassVar2.
10652 (C::cOtherFileType2, C::cOtherFileVar2): New.
10653 (C::cOtherFileVar_use): use also cOtherFileVar2.
10654 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
10655
10656 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10657
10658 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
10659 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
10660 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
10661 (print ::C::cOtherFileVar)
10662 (whatis C::OtherFileClass::cOtherFileClassType)
10663 (whatis ::C::OtherFileClass::cOtherFileClassType)
10664 (print C::OtherFileClass::cOtherFileClassVar)
10665 (print ::cOtherFileClassVar)
10666 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
10667 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
10668 trailing content.
10669 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
10670 (C::OtherFileClass::cOtherFileClassVar)
10671 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
10672 (C::cOtherFileVar, C::cOtherFileVar_use): New.
10673
10674 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10675
10676 Test PR c++/11703 and PR gdb/1448.
10677 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
10678 gdb/1448.
10679
10680 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10681
10682 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
10683 (main) <rtti_data>: New.
10684 * gdb.cp/virtbase.exp (print rtti_data): New.
10685
10686 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10687 Joel Brobecker <brobecker@adacore.com>
10688
10689 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
10690
10691 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10692
10693 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
10694
10695 2010-06-28 Doug Evans <dje@google.com>
10696
10697 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
10698
10699 2010-06-27 Doug Evans <dje@google.com>
10700
10701 * gdb.cp/m-static.exp: Update expected test output.
10702
10703 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
10704
10705 * gdb.gdb/selftest.exp: Adjust expected message for
10706 capturing start-up runtime.
10707
10708 2010-06-25 Tom Tromey <tromey@redhat.com>
10709
10710 PR python/10808:
10711 * gdb.python/python.exp: Add new tests.
10712
10713 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
10714
10715 * gdb.cp/operator.cc: Created an import loop.
10716 * gdb.cp/operator.exp: Added testcase for import loop.
10717
10718 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10719
10720 Test PR python/11407.
10721 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
10722 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
10723 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
10724 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
10725 executable_nofb and executable_fb. New variables srcsfile, objsfile,
10726 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
10727 binfile. Call gdb_compile with clean_restart twice.
10728 (func_nofb print, func_nofb backtrace, func_loopfb print)
10729 (func_loopfb backtrace): New.
10730
10731 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10732
10733 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
10734 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
10735 by a hand made one.
10736 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
10737 i?86 requirement. Remove variables srcfile and binfile. New variable
10738 sources, executable_nofb and executable_fb. Call prepare_for_testing.
10739
10740 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10741
10742 * gdb.cell/dwarfaddr.exp: New file.
10743 * gdb.cell/dwarfaddr.S: New file.
10744
10745 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10746
10747 Test PR 9436.
10748 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
10749
10750 2010-06-24 Hui Zhu <teawater@gmail.com>
10751
10752 * gdb.base/eval.exp: New file.
10753
10754 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10755
10756 * gdb.cell/fork.exp: New file.
10757 * gdb.cell/fork.c: Likewise.
10758 * gdb.cell/fork-spu.c: Likewise.
10759
10760 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
10761
10762 * lib/gdb.exp (banned_variables_traced): New global variable.
10763 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
10764 (gdb_init): Use `trace add variable' instead of obsolete
10765 `trace variable'.
10766
10767 2010-06-21 Doug Evans <dje@google.com>
10768
10769 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
10770
10771 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10772
10773 * gdb.arch/spu-ls.exp: New file.
10774 * gdb.arch/spu-ls.c: Likewise.
10775
10776 2010-06-18 Stan Shebs <stan@codesourcery.com>
10777
10778 * gdb.threads/thread-specific.exp: Add tests of $_thread.
10779
10780 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10781
10782 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
10783 * gdb.base/watch-cond.exp: Likewise.
10784 * gdb.python/py-breakpoint.exp: Likewise.
10785
10786 2010-06-18 Pedro Alves <pedro@codesourcery.com>
10787
10788 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
10789 clean_restart, make sure every test has a distinct message, and
10790 that messages don't include the executable' full path.
10791
10792 2010-06-17 Doug Evans <dje@google.com>
10793
10794 * gdb.arch/i386-size.exp: Updated expected output for
10795 DISASSEMBLY_OMIT_FNAME.
10796
10797 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10798 Sergio Durigan Junior <sergiodj@redhat.com>
10799
10800 * gdb.base/watch-notconst.c: New file.
10801 * gdb.base/watch-notconst.S: New file.
10802 * gdb.base/watch-notconst2.c: New file.
10803 * gdb.base/watch-notconst2.S: New file.
10804 * gdb.base/watch-notconst.exp: New file.
10805 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
10806 (func4): Add operations on `global_ptr_ptr'.
10807 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
10808 routine to test watchpoints created with a constant expression.
10809 (test_inaccessible_watchpoint): Include tests for watchpoints
10810 created with a constant expression.
10811
10812 2010-06-14 Kevin Buettner <kevinb@redhat.com>
10813
10814 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10815 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
10816 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
10817 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
10818 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10819 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10820 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
10821 of `_start'.
10822
10823 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10824
10825 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
10826 not supported on the target.
10827 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10828 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10829 * gdb.mi/mi-nsintrall.exp: Likewise.
10830 * gdb.mi/mi-nsmoribund.exp: Likewise.
10831 * gdb.mi/mi-nsthrexec.exp: Likewise.
10832
10833 2010-06-11 Stan Shebs <stan@codesourcery.com>
10834
10835 * gdb.base/permissions.exp: New file.
10836
10837 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10838
10839 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10840 does not support ELF executable class.
10841
10842 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10843
10844 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10845
10846 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10847
10848 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10849 (runto): Catch "The target does not support running in non-stop mode.".
10850
10851 2010-06-11 Michael Snyder <msnyder@vmware.com>
10852
10853 * gdb.base/setshow.exp (set language asm): Don't use
10854 gdb_test_no_output, fails on some targets.
10855
10856 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10857
10858 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10859 * gdb.cp/pr9167.exp: Likewise.
10860
10861 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10862
10863 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10864
10865 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10866
10867 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10868
10869 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10870
10871 * gdb.base/charset.c (main): Make sure malloc gets linked in.
10872
10873 2010-06-11 Tom Tromey <tromey@redhat.com>
10874
10875 PR gdb/9977, PR exp/11636::
10876 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10877 (pieces_test_f6): Update expected output.
10878
10879 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10880
10881 * gdb.base/moribund-step.exp: New.
10882
10883 2010-06-08 Michael Snyder <msnyder@vmware.com>
10884
10885 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
10886 * gdb.ada/boolean_expr.exp:
10887 * gdb.ada/frame_args.exp: Ditto.
10888 * gdb.ada/lang_switch.exp: Ditto.
10889 * gdb.ada/ptype_arith_binop.exp: Ditto.
10890 * gdb.ada/ref_param.exp: Ditto.
10891 * gdb.ada/type_coercion.exp:Ditto.
10892
10893 * gdb.asm/asm-source.exp: Ditto.
10894
10895 * gdb.base/attach.exp: Ditto.
10896 * gdb.base/bitfields2.exp: Ditto.
10897 * gdb.base/call-signal-resume.exp: Ditto.
10898 * gdb.base/callfuncs.exp: Ditto.
10899 * gdb.base/commands.exp: Ditto.
10900 * gdb.base/dbx.exp: Ditto.
10901 * gdb.base/default.exp: Ditto.
10902 * gdb.base/dump.exp: Ditto.
10903 * gdb.base/exprs.exp: Ditto.
10904 * gdb.base/freebpcmd.exp: Ditto.
10905 * gdb.base/interrupt.exp: Ditto.
10906 * gdb.base/list.exp: Ditto.
10907 * gdb.base/long_long.exp: Ditto.
10908 * gdb.base/maint.exp: Ditto.
10909 * gdb.base/ptype.exp: Ditto.
10910 * gdb.base/return.exp: Ditto.
10911 * gdb.base/setshow.exp: Ditto.
10912 * gdb.base/sigbpt.exp: Ditto.
10913 * gdb.base/sigrepeat.exp: Ditto.
10914
10915 * gdb.cp/classes.exp: Ditto.
10916
10917 * gdb.dwarf2/dw2-restore.exp: Ditto.
10918
10919 * gdb.gdb/selftest.exp: Ditto.
10920
10921 * gdb.multi/base.exp: Ditto.
10922 * gdb.multi/bkpt-multi-exec.exp: Ditto.
10923
10924 * gdb.python/py-block.exp: Ditto.
10925 * gdb.python/py-prettyprint.exp: Ditto.
10926 * gdb.python/py-template.exp: Ditto.
10927
10928 * gdb.server/ext-attach.exp: Ditto.
10929 * gdb.server/ext-run.exp: Ditto.
10930 * gdb.server/server-mon.exp: Ditto.
10931
10932 * gdb.threads/fork-thread-pending.exp: Ditto.
10933 * gdb.threads/hand-call-in-threads.exp: Ditto.
10934 * gdb.threads/interrupted-hand-call.exp: Ditto.
10935 * gdb.threads/linux-dp.exp: Ditto.
10936 * gdb.threads/manythreads.exp: Ditto.
10937 * gdb.threads/print-threads.exp: Ditto.
10938 * gdb.threads/pthreads.exp: Ditto.
10939 * gdb.threads/schedlock.exp: Ditto.
10940 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10941 * gdb.threads/threadapply.exp: Ditto.
10942
10943 2010-06-08 Michael Snyder <msnyder@vmware.com>
10944
10945 * gdb.ada/exec_changed.exp:
10946 Use ".*" instead of "" as wildcard regexp.
10947
10948 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10949 * gdb.base/call-ar-st.exp: Ditto.
10950 * gdb.base/checkpoint.exp: Ditto.
10951 * gdb.base/default.exp: Ditto.
10952 * gdb.base/dump.exp: Ditto.
10953 * gdb.base/ending-run.exp: Ditto.
10954 * gdb.base/fileio.exp: Ditto.
10955 * gdb.base/miscexprs.exp: Ditto.
10956 * gdb.base/pointers.exp: Ditto.
10957 * gdb.base/readline.exp: Ditto.
10958 * gdb.base/reread.exp: Ditto.
10959 * gdb.base/restore.exp: Ditto.
10960 * gdb.base/shlib-call.exp: Ditto.
10961 * gdb.base/valgrind-db-attach.exp: Ditto.
10962 * gdb.base/volatile.exp: Ditto.
10963 * gdb.base/watchpoints.exp: Ditto.
10964
10965 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10966
10967 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10968 * gdb.python/py-value.exp: Ditto.
10969
10970 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10971 * gdb.trace/circ.exp: Ditto.
10972 * gdb.trace/collection.exp: Ditto.
10973 * gdb.trace/packetlen.exp: Ditto.
10974 * gdb.trace/passc-dyn.exp: Ditto.
10975 * gdb.trace/report.exp: Ditto.
10976 * gdb.trace/tfile.exp: Ditto.
10977 * gdb.trace/tfind.exp: Ditto.
10978 * gdb.trace/while-dyn.exp: Ditto.
10979
10980 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10981
10982 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10983
10984 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10985
10986 Test PR 10640.
10987 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10988
10989 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
10990
10991 * gdb.cp/koenig.exp: Test for ADL operators.
10992 * gdb.cp/koenig.cc: Added ADL operators.
10993 * gdb.cp/operator.exp: New test.
10994 * gdb.cp/operator.cc: New test.
10995
10996 2010-06-04 Michael Snyder <msnyder@vmware.com>
10997
10998 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10999 * gdb.base/pending.exp: Ditto.
11000
11001 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
11002
11003 2010-06-04 Doug Evans <dje@google.com>
11004
11005 * gdb.python/py-prettyprint.exp: Add new test for enabled and
11006 disabled printers.
11007 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
11008 (enable_lookup_function): New function.
11009
11010 2010-06-04 Tom Tromey <tromey@redhat.com>
11011
11012 * gdb.python/py-value.exp (test_value_hash): Don't test equality
11013 of hash and id.
11014
11015 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11016
11017 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
11018 newline.
11019 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
11020 (empty verbose non-noisy clear, empty verbose noisy clear)
11021 (empty non-verbose noisy clear): Likewise.
11022
11023 2010-06-03 Michael Snyder <msnyder@vmware.com>
11024
11025 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
11026 * gdb.base/display.exp: Ditto.
11027 * gdb.base/find.exp: Ditto.
11028 * gdb.base/ifelse.exp: Ditto.
11029 * gdb.base/multi-forks.exp: Ditto.
11030 * gdb.base/recurse.exp: Ditto.
11031 * gdb.base/setshow.exp: Ditto.
11032 * gdb.base/value-double-free.exp: Ditto.
11033 * gdb.base/watch-vfork.exp: Ditto.
11034 * gdb.base/watch_thread_num.exp: Ditto.
11035 * gdb.base/watchpoint-solib.exp: Ditto.
11036 * gdb.base/watchpoint.exp: Ditto.
11037 * gdb.base/watchpoints.exp: Ditto.
11038
11039 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
11040 * gdb.cp/overload.exp: Ditto.
11041 * gdb.cp/virtfunc.exp: Ditto.
11042
11043 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
11044
11045 * gdb.reverse/watch-precsave.exp:
11046 Replace gdb_test with gdb_test_no_output.
11047
11048 * gdb.threads/attach-into-signal.exp:
11049 Replace gdb_test with gdb_test_no_output.
11050 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11051 * gdb.threads/watchthreads.exp: Ditto.
11052 * gdb.threads/watchthreads2.exp: Ditto.
11053
11054 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
11055 * gdb.trace/tfind.exp: Ditto.
11056
11057 2010-06-03 Joel Brobecker <brobecker@adacore.com>
11058
11059 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
11060 successful test if message is the empty string.
11061
11062 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11063
11064 * gdb.fortran/module.exp (stopped language detection): New test.
11065
11066 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11067
11068 Support DW_TAG_module as separate namespaces.
11069 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11070 gdb.fortran/library-module-lib.f90: New.
11071 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11072 (print i): Remove.
11073 (continue to breakpoint: i-is-1, print var_i value 1)
11074 (continue to breakpoint: i-is-2, print var_i value 2)
11075 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11076 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11077 (complete `modmany, complete `modmany`, complete `modmany`var)
11078 (show language, setting breakpoint at module): New tests.
11079 * gdb.fortran/module.f90 (module mod): Remove.
11080 (module mod1, module mod2, module modmany, subroutine sub1)
11081 (subroutine sub2, program module): New.
11082
11083 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11084
11085 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11086 (print value of rUC, print value of rI, print value of UI): ... here.
11087 * gdb.cp/anon-union.exp (pass): Rename to ...
11088 (print z 2): ... here.
11089
11090 2010-06-02 Michael Snyder <msnyder@vmware.com>
11091
11092 * gdb.trace/actions.exp: Use gdb_test_no_output.
11093 * gdb.trace/circ.exp: Ditto.
11094 * gdb.trace/packetlen.exp: Ditto.
11095 * gdb.trace/save-trace.exp: Ditto.
11096 * gdb.trace/tracecmd.exp: Ditto.
11097 * gdb.trace/tsv.exp: Ditto.
11098
11099 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11100 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11101 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11102 * gdb.threads/manythreads.exp: Ditto.
11103 * gdb.threads/print-threads.exp: Ditto.
11104 * gdb.threads/pthreads.exp: Ditto.
11105 * gdb.threads/schedlock.exp: Ditto.
11106 * gdb.threads/staticthreads.exp: Ditto.
11107 * gdb.threads/thread-specific.exp: Ditto.
11108 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11109 * gdb.threads/threadapply.exp: Ditto.
11110 * gdb.threads/watchthreads.exp: Ditto.
11111 * gdb.threads/watchthreads2.exp: Ditto.
11112
11113 * gdb.python/py-block.exp: Use gdb_test_no_output.
11114 * gdb.python/py-prettyprint.exp: Ditto.
11115 * gdb.python/py-template.exp: Ditto.
11116 * gdb.python/py-value.exp: Ditto.
11117
11118 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11119 * gdb.reverse/watch-reverse.exp: Ditto.
11120
11121 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11122 * gdb.server/ext-run.exp: Ditto.
11123
11124 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11125 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11126 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11127 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11128 * gdb.dwarf2/dw2-producer.exp: Ditto.
11129 * gdb.dwarf2/mac-fileno.exp: Ditto.
11130
11131 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11132 * gdb.gdb/selftest.exp: Ditto.
11133
11134 * gdb.multi/base.exp: Use gdb_test_no_output.
11135
11136 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11137
11138 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11139
11140 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11141
11142 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11143
11144 * gdb.cp/class2.exp: Use gdb_test_no_output.
11145 * gdb.cp/classes.exp: Ditto.
11146 * gdb.cp/extern-c.exp: Ditto.
11147 * gdb.cp/inherit.exp: Ditto.
11148 * gdb.cp/maint.exp: Ditto.
11149 * gdb.cp/mb-inline.exp: Ditto.
11150 * gdb.cp/mb-templates.exp: Ditto.
11151 * gdb.cp/method2.exp: Ditto.
11152 * gdb.cp/misc.exp: Ditto.
11153 * gdb.cp/ovldbreak.exp: Ditto.
11154 * gdb.cp/punctuator.exp: Ditto.
11155 * gdb.cp/templates.exp: Ditto.
11156 * gdb.cp/virtbase.exp: Ditto.
11157
11158 * gdb.threads/attach-stopped.exp:
11159 Replace uses of send_gdb / gdb_expect.
11160 * gdb.threads/attachstop-mt.exp:
11161 Replace uses of send_gdb / gdb_expect.
11162 * gdb.threads/gcore-thread.exp:
11163 Replace uses of send_gdb / gdb_expect.
11164 * gdb.threads/hand-call-in-threads.exp:
11165 Replace uses of send_gdb / gdb_expect.
11166 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
11167 * gdb.threads/print-threads.exp:
11168 Replace uses of send_gdb / gdb_expect.
11169 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11170 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11171 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11172
11173 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11174 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11175 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11176 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11177 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11178 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11179 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11180 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11181 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11182 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11183 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11184
11185 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11186
11187 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11188
11189 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11190
11191 * gdb.cp/koenig.exp: Added new test case.
11192 * gdb.cp/koenig.cc: Ditto.
11193
11194 2010-06-01 Michael Snyder <msnyder@vmware.com>
11195
11196 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11197 * gdb.base/arrayidx.exp: Ditto.
11198 * gdb.base/attach.exp: Ditto.
11199 * gdb.base/auxv.exp: Ditto.
11200 * gdb.base/bigcre.exp: Ditto.
11201 * gdb.base/break-always.exp: Ditto.
11202 * gdb.base/break-interp.exp: Ditto.
11203 * gdb.base/break.exp: Ditto.
11204 * gdb.base/breakpoint-shadow.exp: Ditto.
11205 * gdb.base/call-ar-st.exp: Ditto.
11206 * gdb.base/call-sc.exp: Ditto.
11207 * gdb.base/call-signal-resume.exp: Ditto.
11208 * gdb.base/callfuncs.exp: Ditto.
11209 * gdb.base/catch-syscall.exp: Ditto.
11210 * gdb.base/charset.exp: Ditto.
11211 * gdb.base/code-expr.exp: Ditto.
11212 * gdb.base/commands.exp: Ditto.
11213 * gdb.base/cond-expr.exp: Ditto.
11214 * gdb.base/condbreak.exp: Ditto.
11215 * gdb.base/cursal.exp: Ditto.
11216 * gdb.base/cvexpr.exp: Ditto.
11217 * gdb.base/default.exp: Ditto.
11218 * gdb.base/del.exp: Ditto.
11219 * gdb.base/detach.exp: Ditto.
11220 * gdb.base/display.exp: Ditto.
11221 * gdb.base/ena-dis-br.exp: Ditto.
11222 * gdb.base/eval-skip.exp: Ditto.
11223 * gdb.base/foll-fork.exp: Ditto.
11224 * gdb.base/foll-vfork.exp: Ditto.
11225 * gdb.base/frame-args.exp: Ditto.
11226 * gdb.base/funcargs.exp: Ditto.
11227 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11228 * gdb.base/gdbvars.exp: Ditto.
11229 * gdb.base/help.exp: Ditto.
11230 * gdb.base/ifelse.exp: Ditto.
11231 * gdb.base/included.exp: Ditto.
11232 * gdb.base/list.exp: Ditto.
11233 * gdb.base/macscp.exp: Ditto.
11234 * gdb.base/maint.exp: Ditto.
11235 * gdb.base/multi-fork.exp: Ditto.
11236 * gdb.base/overlays.exp: Ditto.
11237 * gdb.base/page.exp: Ditto.
11238 * gdb.base/pending.exp: Ditto.
11239 * gdb.base/pointers.exp: Ditto.
11240 * gdb.base/pr11022.exp: Ditto.
11241 * gdb.base/prelink.exp: Ditto.
11242 * gdb.base/printcmds.exp: Ditto.
11243 * gdb.base/psymtab.exp: Ditto.
11244 * gdb.base/randomize.exp: Ditto.
11245 * gdb.base/relational.exp: Ditto.
11246 * gdb.base/relocate.exp: Ditto.
11247 * gdb.base/remote.exp: Ditto.
11248 * gdb.base/sepdebug.exp: Ditto.
11249 * gdb.base/set-lang-auto.exp: Ditto.
11250 * gdb.base/setshow.exp: Ditto.
11251 * gdb.base/setvar.exp: Ditto.
11252 * gdb.base/signals.exp: Ditto.
11253 * gdb.base/signull.exp: Ditto.
11254 * gdb.base/sigstep.exp: Ditto.
11255 * gdb.base/sizeof.exp: Ditto.
11256 * gdb.base/solib-disc.exp: Ditto.
11257 * gdb.base/store.exp: Ditto.
11258 * gdb.base/structs.exp: Ditto.
11259 * gdb.base/structs2.exp: Ditto.
11260 * gdb.base/subst.exp: Ditto.
11261 * gdb.base/term.exp: Ditto.
11262 * gdb.base/trace-commands.exp: Ditto.
11263 * gdb.base/unwindonsignal.exp: Ditto.
11264 * gdb.base/valgrind-db-attach.exp: Ditto.
11265 * gdb.base/varargs.exp: Ditto.
11266 * gdb.base/watch-cond.exp: Ditto.
11267 * gdb.base/watch_thread_num.exp: Ditto.
11268 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11269 * gdb.base/watchpoint.exp: Ditto.
11270 * gdb.base/whatis-exp.exp: Ditto.
11271
11272 2010-06-01 Michael Snyder <msnyder@vmware.com>
11273
11274 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11275 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11276 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11277 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11278 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11279 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11280 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11281 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11282 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11283 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11284 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11285 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11286 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11287 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11288 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11289
11290 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11291
11292 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11293 trailing newline.
11294 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11295 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11296 (p *args): ... here and remove excessive trailing newline.
11297
11298 2010-05-31 Joel Brobecker <brobecker@adacore.com>
11299
11300 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11301
11302 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11303
11304 Accept the new Linux kernel "t (tracing stop)" string.
11305 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11306 Update comment.
11307 (state_wait) <T (tracing stop)>: New.
11308 (main): Update the state_wait expect string.
11309
11310 2010-05-28 Pedro Alves <pedro@codesourcery.com>
11311
11312 * limits.c, limits.exp: Delete files.
11313 * Makefile.in (clean mostlyclean): Adjust.
11314 * tracecmd.exp: Adjust.
11315
11316 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11317
11318 * gdb.base/tui-layout.exp: New.
11319
11320 2010-05-28 Michael Snyder <msnyder@vmware.com>
11321
11322 * gdb.reverse/break-precsave.exp:
11323 Replace uses of send_gdb / gdb_expect.
11324 * gdb.reverse/break-reverse.exp:
11325 Replace uses of send_gdb / gdb_expect.
11326 * gdb.reverse/consecutive-precsave.exp:
11327 Replace uses of send_gdb / gdb_expect.
11328 * gdb.reverse/consecutive-reverse.exp:
11329 Replace uses of send_gdb / gdb_expect.
11330 * gdb.reverse/finish-precsave.exp:
11331 Replace uses of send_gdb / gdb_expect.
11332 * gdb.reverse/finish-reverse.exp:
11333 Replace uses of send_gdb / gdb_expect.
11334 * gdb.reverse/i386-precsave.exp:
11335 Replace uses of send_gdb / gdb_expect.
11336 * gdb.reverse/i386-reverse.exp:
11337 Replace uses of send_gdb / gdb_expect.
11338 * gdb.reverse/i386-sse-reverse.exp:
11339 Replace uses of send_gdb / gdb_expect.
11340 * gdb.reverse/i387-env-reverse.exp:
11341 Replace uses of send_gdb / gdb_expect.
11342 * gdb.reverse/i387-stack-reverse.exp:
11343 Replace uses of send_gdb / gdb_expect.
11344 * gdb.reverse/machinestate-precsave.exp:
11345 Replace uses of send_gdb / gdb_expect.
11346 * gdb.reverse/machinestate.exp:
11347 Replace uses of send_gdb / gdb_expect.
11348 * gdb.reverse/sigall-precsave.exp:
11349 Replace uses of send_gdb / gdb_expect.
11350 * gdb.reverse/sigall-reverse.exp:
11351 Replace uses of send_gdb / gdb_expect.
11352 * gdb.reverse/solib-precsave.exp:
11353 Replace uses of send_gdb / gdb_expect.
11354 * gdb.reverse/solib-reverse.exp:
11355 Replace uses of send_gdb / gdb_expect.
11356 * gdb.reverse/step-precsave.exp:
11357 Replace uses of send_gdb / gdb_expect.
11358 * gdb.reverse/step-reverse.exp:
11359 Replace uses of send_gdb / gdb_expect.
11360 * gdb.reverse/until-precsave.exp:
11361 Replace uses of send_gdb / gdb_expect.
11362 * gdb.reverse/until-reverse.exp:
11363 Replace uses of send_gdb / gdb_expect.
11364 * gdb.reverse/watch-precsave.exp:
11365 Replace uses of send_gdb / gdb_expect.
11366 * gdb.reverse/watch-reverse.exp:
11367 Replace uses of send_gdb / gdb_expect.
11368
11369 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11370
11371 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11372 excessive newline.
11373
11374 2010-05-27 Michael Snyder <msnyder@vmware.com>
11375
11376 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
11377 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11378 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11379 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11380 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11381 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11382 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11383 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11384 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11385 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11386 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11387 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11388 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11389 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11390 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11391 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11392 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11393 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11394 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
11395
11396 2010-05-26 Michael Snyder <msnyder@vmware.com>
11397
11398 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11399 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11400
11401 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11402 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11403 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11404
11405 * gdb.reverse/consecutive-reverse.exp:
11406 Replace uses of send_gdb / gdb_expect.
11407 * gdb.reverse/consecutive-precsave.exp:
11408 Replace uses of send_gdb / gdb_expect.
11409
11410 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11411 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11412 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
11413 * gdb.mi/mi-ns-stale-regcache.exp:
11414 Replace uses of send_gdb / gdb_expect.
11415 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11416 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11417 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11418 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11419 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11420 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11421 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11422 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11423 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
11424
11425 2010-05-26 Michael Snyder <msnyder@vmware.com>
11426
11427 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
11428
11429 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
11430
11431 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11432 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11433 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11434 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11435 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11436 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11437 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11438 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11439 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
11440
11441 2010-05-25 Tom Tromey <tromey@redhat.com>
11442
11443 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11444
11445 2010-05-25 Tom Tromey <tromey@redhat.com>
11446
11447 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11448 argument order.
11449 * gdb.base/macscp.exp: Fix setup_kfail argument order.
11450 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11451 order.
11452 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11453 order.
11454 * gdb.base/call-sc.exp (setup_kfails): Remove.
11455 (setup_compiler_kfails): Remove.
11456 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11457 argument order.
11458 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11459 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11460 (advancei): Fix setup_kfail argument order.
11461 * gdb.base/radix.exp: Fix setup_kfail argument order.
11462 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11463 order.
11464 * gdb.base/structs.exp (setup_kfails): Remove.
11465 (setup_compiler_kfails): Fix setup_kfail argument order.
11466 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11467 order.
11468 * gdb.java/jmain.exp: Fix setup_kfail argument order.
11469 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11470 setup_kfail argument order.
11471 * gdb.cp/overload.exp: Fix setup_kfail argument order.
11472
11473 2010-05-25 Tom Tromey <tromey@redhat.com>
11474
11475 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11476
11477 2010-05-25 Michael Snyder <msnyder@vmware.com>
11478
11479 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11480 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11481 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11482 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11483 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11484 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11485 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11486 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11487 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
11488 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11489 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11490 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11491 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11492 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11493 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11494 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11495 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11496 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11497 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11498 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11499 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11500 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11501 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
11502 * gdb.base/default.exp: Replace send_gdb with gdb_test.
11503 * gdb.base/define.exp: Replace send_gdb with gdb_test.
11504 * gdb.base/display.exp: Replace send_gdb with gdb_test.
11505 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11506 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11507 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11508 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11509 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11510 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11511 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11512 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11513 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11514 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11515 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11516 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11517 * gdb.base/help.exp: Replace send_gdb with gdb_test.
11518 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11519 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11520 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
11521 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11522 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11523 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11524 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11525 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
11526 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
11527
11528 2010-05-25 Doug Evans <dje@google.com>
11529
11530 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11531 gdb.string_to_argv.
11532
11533 2010-05-21 Tom Tromey <tromey@redhat.com>
11534
11535 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11536 Call it.
11537 * gdb.dwarf2/pieces.S: Update.
11538 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11539
11540 2010-05-21 Tom Tromey <tromey@redhat.com>
11541
11542 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11543 Call it.
11544 * gdb.dwarf2/pieces.c (struct C): New.
11545 (f6): New function.
11546 * gdb.dwarf2/pieces.S: Replace.
11547
11548 2010-05-21 Tom Tromey <tromey@redhat.com>
11549
11550 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11551 Call it.
11552
11553 2010-05-21 Tom Tromey <tromey@redhat.com>
11554
11555 * gdb.dwarf2.pieces.exp: New file.
11556 * gdb.dwarf2.pieces.S: New file.
11557 * gdb.dwarf2.pieces.c: New file.
11558
11559 2010-05-20 Pedro Alves <pedro@codesourcery.com>
11560 Joel Brobecker <brobecker@adacore.com>
11561
11562 * lib/gdb.exp (gdb_test_no_output): New function.
11563 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11564 when testing commands that should produce no output.
11565
11566 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11567
11568 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11569 parameter that we want to watch being a constant.
11570
11571 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11572
11573 * gdb.ada/cond_lang: New testcase.
11574
11575 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11576
11577 * lib/gdb.exp (banned_variables): New variable/constant.
11578 (gdb_init): Add write trace on variables listed in banned_variables.
11579 (gdb_finish): Remove write traces on variables listed in
11580 banned_variables.
11581
11582 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11583
11584 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11585 * gdb.cp/koenig.exp: Likewise.
11586
11587 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
11588
11589 PR python/11482
11590
11591 * gdb.python/py-value.exp (test_value_hash): New function.
11592
11593 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
11594
11595 PR exp/11530.
11596 * gdb.base/gdb11530.c: New file.
11597 * gdb.base/gdb11530.exp: New file.
11598
11599 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11600
11601 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11602 * gdb.dwarf2/dw2-modula2-self-type.S: New.
11603
11604 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
11605
11606 * gdb.cp/koenig.exp: New test.
11607 * gdb.cp/koenig.cc: New test program.
11608
11609 2010-05-05 Joel Brobecker <brobecker@adacore.com>
11610
11611 Remove the use of prms_id and bug_id throughout the testsuite.
11612
11613 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
11614
11615 PR exp/11349.
11616 * testsuite/gdb.cp/ref-types.exp: Add test to examine
11617 use a reference local variable.
11618
11619 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11620
11621 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
11622 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
11623 variable different_dir. Move debugfile into a full directory pathname
11624 under DIFFERENT_DIR.
11625 * lib/gdb.exp (separate_debug_filename): Remove.
11626 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
11627 variable debug_dir and mkdir of it. Update function comments.
11628
11629 2010-04-29 Pedro Alves <pedro@codesourcery.com>
11630
11631 PR gdb/11557
11632
11633 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
11634 files.
11635
11636 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
11637
11638 * gdb.python/py-param.exp: New File.
11639
11640 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
11641
11642 * gdb.base/default.exp: Fix "set language" test.
11643
11644 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
11645
11646 PR breakpoints/11531.
11647 * gdb.base/gdb11531.c: New file.
11648 * gdb.base/gdb11531.exp: New file.
11649
11650 2010-04-26 Tom Tromey <tromey@redhat.com>
11651
11652 * gdb.base/completion.exp: Add tests for completion and deprecated
11653 commands.
11654
11655 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11656
11657 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
11658 (print /x char_array): Escape curly brackets.
11659
11660 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11661
11662 Fix deadlock on looped list of loaded shared objects.
11663 * gdb.base/solib-corrupted.exp: New.
11664
11665 2010-04-23 Doug Evans <dje@google.com>
11666
11667 * gdb.python/py-section-script.c: New file.
11668 * gdb.python/py-section-script.exp: New file.
11669 * gdb.python/py-section-script.py: New file.
11670
11671 2010-04-20 Chris Moller <cmoller@redhat.com>
11672
11673 PR 10179
11674
11675 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
11676 * gdb.base/pr10179-a.c:
11677 * gdb.base/pr10179-b.c:
11678 * gdb.base/pr10179.exp: New files.
11679
11680 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11681
11682 Fix crashes on dangling display expressions.
11683 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
11684 is SEP.
11685 (lib_flags): Remove the "debug" keyword.
11686 (libsepdebug): New variable for iterating new loop.
11687 (save_pf_prefix): New variable wrapping the loop.
11688 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
11689 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
11690
11691 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11692
11693 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
11694
11695 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11696
11697 PR stabs/11479.
11698 * gdb.stabs/gdb11479.exp: New file.
11699 * gdb.stabs/gdb11479.c: New file.
11700
11701 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11702
11703 * gdb.base/charset.c (Strin16, String32): New variables.
11704 * gdb.base/charset.exp (gdb_test): Test correct display
11705 of 16 or 32 bit strings.
11706
11707 2010-04-21 Chris Moller <cmoller@redhat.com>
11708
11709 PR 9167
11710 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
11711 * gdb.cp/pr9167.cc: New file.
11712 * gdb.cp/pr9167.exp: New file.
11713
11714
11715 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
11716
11717 PR pascal/11492.
11718 * gdb.pascal/gdb11492.pas: New file.
11719 * gdb.pascal/gdb11492.exp: New file.
11720
11721 2010-04-20 Joel Brobecker <brobecker@adacore.com>
11722
11723 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
11724
11725 2010-04-20 Joel Brobecker <brobecker@adacore.com>
11726
11727 * gdb.ada/dyn_loc: New testcase.
11728
11729 2010-04-20 Chris Moller <cmoller@redhat.com>
11730
11731 PR 10867
11732
11733 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
11734 * gdb.cp/pr10687.cc: New file.
11735 * gdb.cp/pr10687.exp: New file.
11736
11737
11738 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11739 Sergio Durigan Junior <sergiodj@redhat.com>
11740
11741 * gdb.fortran/logical.exp: New testcase.
11742 * gdb.fortran/logical.f90: New file.
11743
11744 2010-04-19 Doug Evans <dje@google.com>
11745
11746 * gdb.base/help.exp (help source): Update expected output.
11747
11748 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11749
11750 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
11751 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
11752 gdb_exit and return.
11753 (executable): New variable.
11754 (binfile): Use it.
11755
11756 2010-04-19 Pedro Alves <pedro@codesourcery.com>
11757
11758 PR breakpoints/8554.
11759
11760 * gdb.trace/save-trace.exp: Adjust.
11761
11762 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
11763
11764 PR corefiles/11511
11765 * gdb.arch/system-gcore.exp: New.
11766 * gdb.arch/gcore.c: Likewise.
11767
11768 2010-04-15 Doug Evans <dje@google.com>
11769
11770 * gdb.python/py-progspace.c: New file.
11771 * gdb.python/py-progspace.exp: New file.
11772
11773 * gdb.base/source.exp: Add tests for "source -s".
11774
11775 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
11776
11777 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
11778 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
11779 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
11780 * gdb.python/py-mi.exp: New test for to_string returning None.
11781
11782 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
11783
11784 * gdb.python/py-breakpoint.c: Make result global.
11785
11786 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11787
11788 Fix non-GNU make compatibility.
11789 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
11790
11791 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
11792
11793 * gdb.python/py-breakpoint.exp: New File.
11794 * gdb.python/py-breakpoint.C: Ditto.
11795
11796 2010-04-08 Stan Shebs <stan@codesourcery.com>
11797
11798 * gdb.trace/actions.exp: Clear default-collect.
11799 * gdb.trace/save-trace.exp: Clear default-collect.
11800
11801 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
11802
11803 * gdb.python/py-value: Add null string variable.
11804 (test_lazy_string): Test zero length, NULL address lazy
11805 strings.
11806
11807 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
11808
11809 * gdb.arch/i386-avx.c: New.
11810 * gdb.arch/i386-avx.exp: Likewise.
11811
11812 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
11813
11814 2010-04-06 Doug Evans <dje@google.com>
11815
11816 * gdb.base/source-test.gdb: New file.
11817 * gdb.base/source.exp: Test source -v.
11818
11819 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11820
11821 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
11822
11823 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
11824
11825 * gdb.stabs/aout.sed: Convert all backslash to double backslash
11826 within one line, unless it is followed by a double quote.
11827 * gdb.stabs/hppa.sed: Idem.
11828 * gdb.stabs/weird.def: Add char and String constants
11829 * gdb.stabs/weird.exp: Check for correct parsing of
11830 char and string constants.
11831 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
11832 in .stabs to .stabx substitution.
11833
11834 2010-04-05 Stan Shebs <stan@codesourcery.com>
11835
11836 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
11837 constant global.
11838 * gdb.trace/tfile.exp: Try to print them.
11839
11840 2010-04-04 Stan Shebs <stan@codesourcery.com>
11841
11842 * gdb.base/completion.exp: Update for new "info watchpoints".
11843 * gdb.base/default.exp: Ditto.
11844 * gdb.base/help.exp: Ditto.
11845 * gdb.base/watchpoint.exp: Ditto.
11846 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
11847
11848 2010-04-04 Stan Shebs <stan@codesourcery.com>
11849
11850 * gdb.trace/tfile.exp: Sharpen tfind test.
11851
11852 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11853
11854 * gdb.base/break-entry.exp: New.
11855
11856 2010-04-02 Hui Zhu <teawater@gmail.com>
11857 Michael Snyder <msnyder@vmware.com>
11858
11859 * gdb.reverse/i386-sse-reverse.exp: New file.
11860 * gdb.reverse/i386-sse-reverse.c: New file.
11861
11862 2010-04-02 Pedro Alves <pedro@codesourcery.com>
11863
11864 * gdb.trace/tfind.exp: Adjust expected disassembly output.
11865
11866 2010-04-01 Stan Shebs <stan@codesourcery.com>
11867
11868 * gdb.trace/actions.exp: Tweak expected output.
11869 * gdb.trace/while-stepping.exp: Tweak expected output.
11870
11871 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
11872
11873 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11874
11875 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11876
11877 * gdb.base/commands.exp: Adjust.
11878 * gdb.cp/extern-c.exp: Adjust.
11879
11880 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11881
11882 * gdb.trace/collection.c (local_test_func): Define a local struct,
11883 and instanciate it.
11884
11885 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11886
11887 * gdb.trace/collection.exp (gdb_collect_args_test)
11888 (gdb_collect_argarray_test): XFAIL the tests that assume the
11889 argarray argument's elements are collected.
11890
11891 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11892
11893 * gdb.dwarf2/dw2-bad-parameter-type.exp,
11894 gdb.dwarf2/dw2-bad-parameter-type.S: New.
11895
11896 2010-03-31 Stan Shebs <stan@codesourcery.com>
11897
11898 * gdb.trace/save-trace.exp: Test save/restore of default-collect
11899 and tracepoint conditionals.
11900 (gdb_verify_tracepoints): Delete unused return.
11901
11902 2010-03-26 Keith Seitz <keiths@redhat.com>
11903
11904 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11905 appear in the output before main.
11906 Remove KFAIL for gdb/2215 aka bz 9320.
11907
11908 2010-03-30 Doug Evans <dje@google.com>
11909
11910 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11911 by dejagnu.
11912 * gdb.arch/amd64-dword.exp: Ditto.
11913
11914 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11915 match.
11916 (break printf): Ditto.
11917
11918 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
11919
11920 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11921 gcc < 4.4.
11922 * gdb.cp/shadow.exp: Ditto.
11923
11924 2010-03-29 Pedro Alves <pedro@codesourcery.com>
11925
11926 * gdb.trace/collection.exp (run_trace_experiment): Make sure
11927 "tstart" is silent.
11928
11929 2010-03-29 Pedro Alves <pedro@codesourcery.com>
11930
11931 * gdb.trace/collection.exp (executable): New.
11932 (binfile): Use it.
11933 (fpreg, spreg, pcreg): New.
11934 (test_register): Use gdb_test_multiple. Pass /x to print.
11935 (prepare_for_trace_test): New.
11936 (run_trace_experiment): Use "continue", not gdb_run_cmd.
11937 (gdb_collect_args_test, gdb_collect_argstruct_test)
11938 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11939 prepare_for_trace_test.
11940 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
11941 fpreg, spreg and pcreg.
11942 (gdb_collect_expression_test, gdb_collect_globals_test): Use
11943 prepare_for_trace_test.
11944 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
11945 try to detect tracing support here. Don't set breakpoints at
11946 `begin' or `end' here.
11947 <global scope>: Use clean_restart. Run to main before checking
11948 for tracing support. Check for for tracing support here.
11949
11950 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11951
11952 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11953 " as $displacement" to "seen displacement message".
11954
11955 2010-03-28 Pedro Alves <pedro@codesourcery.com>
11956
11957 * gdb.trace/while-dyn.exp (executable): New variable.
11958 (binfile): Use it.
11959 (test_while_stepping): New function. Move most tests here. Call
11960 it once for each of the while-stepping, stepping and ws aliases.
11961
11962 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11963
11964 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11965 that do not provide the tagless_struct type name at all.
11966 (test_print_anon_union): Do not check value of uninitialized
11967 union member. Do not use cp_test_ptype_class, so we can accept
11968 "long" as well as "long int".
11969
11970 2010-03-26 Pedro Alves <pedro@codesourcery.com>
11971
11972 * gdb.trace/tfile.c (tohex, bin2hex): New.
11973 (write_error_trace_file): Hexify error description.
11974
11975 2010-03-25 Stan Shebs <stan@codesourcery.com>
11976
11977 * gdb.trace/tfile.c: Generate an additional trace file, improve
11978 portability.
11979 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11980 files in a better way.
11981
11982 2010-03-25 Keith Seitz <keiths@redhat.com>
11983
11984 * gdb.java/jprint.exp: XFAIL printing of static class members
11985 because of GCC debuginfo problem.
11986
11987 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11988
11989 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11990
11991 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11992
11993 * gdb.base/completion.exp: Allow long instead of long int.
11994 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11995 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
11996 variable p.
11997 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11998 * gdb.base/pointers.exp: Allow long instead of long int.
11999 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
12000 * gdb.base/step-line.exp: Allow a directory before the source file name.
12001
12002 2010-03-24 Tom Tromey <tromey@redhat.com>
12003
12004 PR breakpoints/9352:
12005 * gdb.base/default.exp: Update.
12006 * gdb.base/commands.exp: Update.
12007 * gdb.cp/extern-c.exp: Test setting commands on multiple
12008 breakpoints at once.
12009
12010 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12011
12012 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
12013 if gdb,nosignals.
12014 * gdb.base/watchpoints.c: Do not include unnecessary headers.
12015 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
12016 exited".
12017
12018 2010-03-24 Stan Shebs <stan@codesourcery.com>
12019
12020 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
12021
12022 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
12023
12024 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
12025 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
12026 argument. Handle "short" and "long".
12027 (Top level): Pass overprototyped output for old_fptr and xptr.
12028
12029 2010-03-23 Pedro Alves <pedro@codesourcery.com>
12030
12031 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
12032 format strings and add casts to avoid compiler warnings.
12033
12034 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
12035
12036 * lib/trace-support.exp (gdb_trace_setactions):
12037 Don't expect whitespace after ">" prompt.
12038 * gdb.trace/actions.exp: Adjust for output changes.
12039 * gdb.trace/while-stepping.exp: Likewise.
12040
12041 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12042
12043 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
12044 and r157645).
12045
12046 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12047
12048 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
12049 New.
12050
12051 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
12052
12053 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
12054 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
12055
12056 2010-03-19 Stan Shebs <stan@codesourcery.com>
12057
12058 * gdb.trace/ax.exp: New file.
12059
12060 2010-03-19 Doug Evans <dje@google.com>
12061
12062 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
12063 output from gcc.
12064
12065 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12066 named /usr/sbin/prelink<foo>.
12067
12068 2010-03-18 Stan Shebs <stan@codesourcery.com>
12069
12070 * gdb.trace/circ.exp: Test circular-trace-buffer.
12071 * gdb.trace/tfile.exp: Update tstatus test.
12072
12073 2010-03-18 Joel Brobecker <brobecker@adacore.com>
12074
12075 * gdb.dwarf2/dw2-anonymous-func.S: New file.
12076 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12077
12078 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12079
12080 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12081
12082 2010-03-18 Pedro Alves <pedro@codesourcery.com>
12083
12084 * gdb.base/default.exp: Adjust the expected output of the finish
12085 and until commands when the inferior is not being run.
12086
12087 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12088
12089 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12090 * gdb.cp/nsusing.exp: Ditto.
12091
12092 2010-03-15 Tom Tromey <tromey@redhat.com>
12093
12094 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12095 * gdb.cp/userdef.cc (operator==): New function.
12096 (main): New locals mem1, mem2.
12097
12098 2010-03-15 Jie Zhang <jie@codesourcery.com>
12099
12100 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12101 Declare and use new loadtimeout variable.
12102
12103 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12104
12105 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12106 Use gdb_load later.
12107
12108 2010-03-14 Pedro Alves <pedro@codesourcery.com>
12109
12110 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12111 literal. Add missing endlines to prints to stderr.
12112
12113 2010-03-12 Tom Tromey <tromey@redhat.com>
12114
12115 PR c++/9708:
12116 * gdb.cp/m-static.exp: Add regression test.
12117 * gdb.cp/m-static.cc (method): New method.
12118 (main): Call it.
12119
12120 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12121
12122 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12123 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12124
12125 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12126
12127 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12128
12129 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12130
12131 * lib/gdb.exp (skip_stl_tests): New.
12132 (gdb_compile): Symbian needs -ldl.
12133 (shlib_target_file): New.
12134 (shlib_symbol_file): New.
12135 (gdb_load_shlibs): Use shlib_target_file.
12136 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12137 * gdb.cp/exception.exp: Use skip_stl_tests.
12138 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12139 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12140 * gdb.cp/mb-templates.exp: Ditto.
12141 * gdb.base/commands.exp: Relax regexes.
12142 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12143 shlib_target_file and shlib_symbol_file.
12144 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12145 sections.
12146 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12147 * gdb.base/solib-disc.exp: Use
12148 shlib_target_file and shlib_symbol_file.
12149 * gdb.base/unload.exp: Don't skip on symbian. Use
12150 shlib_target_file and shlib_symbol_file.
12151 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12152
12153 2010-03-12 Pedro Alves <pedro@codesourcery.com>
12154
12155 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12156 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12157 Issue a tfind end before looking for a tracepoint frame.
12158 * gdb.trace/tfind.exp: Adjust tstatus output.
12159 Adjust disassembly output.
12160 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12161
12162 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12163
12164 * gdb.base/break-interp.exp: Create new displacement parameter value
12165 for the test_ld calls.
12166 (reach): New parameter displacement, verify its content. New push of
12167 pf_prefix "reach-$func:". Import global expect_out.
12168 (test_core): New parameter displacement, verify its content. New push
12169 of pf_prefix "core:". New command "set verbose on". Import global
12170 expect_out.
12171 (test_attach): New parameter displacement, verify its content. New
12172 push of pf_prefix "attach:". New command "set verbose on". Import
12173 global expect_out.
12174 (test_ld): New parameter displacement, pass it to the reach, test_core
12175 and test_attach calls and verify its content in the "ld.so exit" test.
12176 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12177 (prelink): Update expected text, use gdb_test.
12178
12179 2010-03-10 Doug Evans <dje@google.com>
12180
12181 * gdb.base/checkpoint.exp: Fix comment.
12182 Lengthen timeout while doing >600 checkpoints test.
12183 Rename duplicate "kill all one" test to keep test names unique.
12184
12185 2010-03-10 Pedro Alves <pedro@codesourcery.com>
12186
12187 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12188
12189 2010-03-08 Keith Seitz <keiths@redhat.com>
12190
12191 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12192 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12193 (dm_type_long): New function.
12194 (dm_type_unsigned_short): New function.
12195 (dm_type_unsigned_long): New function.
12196 (myint): New typedef.
12197 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12198 long, unsigned shor and long, operator char*, and typedef.
12199 (test_lookup_operator_functions): Add operator char* test.
12200 (test_paddr_operator_functions): Likewise.
12201 (test_paddr_overloaded_functions): Use probe values for
12202 short, long, and unsigned short and long.
12203 (test_paddr_hairy_functions): If the demangler probe detected
12204 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12205 demangler.
12206 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12207 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12208 and "print null_pmf".
12209 Add test "ptype a.*pmf".
12210 * gdb.cp/overload.exp: Allow optional "int" to appear with
12211 "short" and "long".
12212 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12213 long expect value for men_overload1arg.
12214 Allow "int" to appear with "short" and "long".
12215 When testing "info break", add argument for main (void).
12216 Also allow "int" to appear with "short" and "long".
12217 Ditto with "unsigned" and "long long".
12218 * gdb.java/jmain.exp: Do not enclose methods names in single
12219 quotes.
12220 * gdb.java/jmisc.exp: Likewise.
12221 * gdb.java/jprint.exp: Likewise.
12222 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12223
12224 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12225 * gdb.cp/exception.exp (backtrace after first throw)
12226 (backtrace after second throw): Allow a namespace before __cxa_throw.
12227 (backtrace after first catch, backtrace after second catch): Allow
12228 a namespace before __cxa_begin_catch.
12229
12230 * gdb.cp/cpexprs.exp: New file.
12231 * gdb.cp/cpexprs.cc: New file.
12232
12233 From Daniel Jacobowitz <dan@codesourcery.com>
12234 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12235 to use string_to_regexp.
12236 (ctor, dtor): New functions. Use them to match constructor
12237 and destructor function types.
12238 (Top level): Use runto_main.
12239
12240 2010-03-05 Tom Tromey <tromey@redhat.com>
12241
12242 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12243 gdb.target_charset.
12244 (pp_ns.to_string): Likewise.
12245
12246 2010-03-04 Keith Seitz <keiths@redhat.com>
12247
12248 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12249 can be quoted. Test that both the filename and function/line
12250 portions can be quoted at the same time.
12251
12252 2010-03-04 Pedro Alves <pedro@codesourcery.com>
12253
12254 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12255
12256 2010-03-03 Doug Evans <dje@google.com>
12257
12258 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12259 libc contains libpthread.
12260
12261 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12262 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12263 of gdb_compile. Add another pattern to match android backtrace.
12264
12265 2010-03-03 Tom Tromey <tromey@redhat.com>
12266
12267 PR gdb/11345:
12268 * gdb.base/printcmds.exp (test_printf): Add test.
12269
12270 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12271
12272 * gdb.arch/amd64-byte.exp: New.
12273 * gdb.arch/amd64-dword.exp: Likewise.
12274 * gdb.arch/amd64-pseudo.c: Likewise.
12275 * gdb.arch/amd64-word.exp: Likewise.
12276 * gdb.arch/i386-byte.exp: Likewise.
12277 * gdb.arch/i386-pseudo.c: Likewise.
12278 * gdb.arch/i386-word.exp: Likewise.
12279
12280 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12281
12282 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12283 types. Add structreg, bitfields, and flags registers.
12284 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12285 registers.
12286
12287 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12288
12289 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12290 (load_description): Set architecture if defined.
12291
12292 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12293
12294 * gdb.python/py-frame.exp: Add read_var block tests.
12295 * gdb.python/py-frame.c (block): New function.
12296
12297 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12298 Daniel Jacobowitz <dan@codesourcery.com>
12299
12300 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12301
12302 2010-02-25 David S. Miller <davem@davemloft.net>
12303
12304 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12305 fix logic for setting all_syscalls_numbers.
12306
12307 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12308
12309 * Makefile.in: Add py-block and py-symbol.
12310 * gdb.python/py-symbol.exp: New File.
12311 * gdb.python/py-symtab.exp: New File.
12312 * gdb.python/py-block.exp: New File.
12313 * gdb.python/py-symbol.c: New File.
12314 * gdb.python/py-block.c: New File.
12315
12316 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12317
12318 PR python/11314
12319 * lib/gdb.exp (skip_python_tests): New function.
12320 * gdb.python/py-cmd.exp: Use skip_python_tests.
12321 * gdb.python/py-frame.exp: Likewise.
12322 * gdb.python/py-function.exp: Likewise.
12323 * gdb.python/py-prettyprint.exp: Likewise.
12324 * gdb.python/py-template.exp: Likewise.
12325 * gdb.python/py-type.exp: Likewise.
12326 * gdb.python/py-value.exp: Likewise.
12327
12328 2010-02-22 Pedro Alves <pedro@codesourcery.com>
12329
12330 PR9605
12331
12332 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12333
12334 2010-02-19 Tom Tromey <tromey@redhat.com>
12335
12336 PR c++/8693, PR c++/9496:
12337 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12338 regression tests.
12339
12340 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12341
12342 Fix compatibility with m68k as.
12343 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12344 Use only /* comments */.
12345
12346 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12347
12348 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12349 * configure: Regenerate.
12350
12351 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12352
12353 * gdb.python/py-type.exp: Check for Python support.
12354
12355 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12356
12357 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12358 `regsub' syntax available.
12359
12360 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12361
12362 * gdb.base/shmain.c (main): Remove printf call.
12363 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12364 * gdb.base/unload.c (main): Make format of fprintf a string
12365 literal. Add missing endlines to prints to stderr.
12366 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12367
12368 2010-02-17 Tom Tromey <tromey@redhat.com>
12369
12370 * gdb.java/jprint.java (jprint.props): New field.
12371 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12372
12373 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12374
12375 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12376 available.
12377
12378 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12379
12380 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12381 creation to support remote host testing.
12382
12383 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12384
12385 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12386 Recognize "command not found".
12387
12388 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12389
12390 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12391 single-stepping.
12392
12393 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12394
12395 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12396 if arguments are not supported.
12397
12398 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12399
12400 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12401 be const or non-const.
12402
12403 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12404
12405 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12406 mi_send_resuming_command to send -exec-continue.
12407
12408 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12409
12410 * gdb.base/list.exp (test_list_filename_and_function): Add test
12411 with single quotes.
12412 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12413 matching.
12414 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12415 Add KFAIL'd tests for PR gdb/11289.
12416
12417 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12418
12419 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12420
12421 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12422
12423 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12424 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12425 a temporary directory.
12426
12427 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12428
12429 * gdb.base/charset.exp: Use a single regular expression to match
12430 show host-charset and show target-charset output.
12431
12432 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12433
12434 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12435 "Illegal process-id" expect string more exact.
12436 (attach to digits-starting nonsense is prohibited): New.
12437
12438 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12439
12440 * gdb.base/prelink.exp (set verbose on): New.
12441
12442 2010-02-12 Tomas Holmberg <th@virtutech.com>
12443
12444 * mi-reverse.exp: New file. Test for reverse option to the
12445 following MI commands: exec-continue, exec-finish, exec-next,
12446 exec-step, exec-next-instruction, exec-step-instruction.
12447
12448 2010-02-09 Joel Brobecker <brobecker@adacore.com>
12449
12450 * gdb.ada/ptype_tagged_param: New testcase.
12451
12452 2010-02-08 Tom Tromey <tromey@redhat.com>
12453
12454 PR c++/8017:
12455 * gdb.cp/overload.exp: Add tests.
12456 * gdb.cp/overload.cc (struct K): New.
12457 (namespace N): New.
12458 (main): Call new functions.
12459 (K::staticoverload): Define.
12460
12461 2010-02-08 Chris Moller <moller@mollerware.com>
12462
12463 PR gdb/10728
12464 * gdb.cp/pr10728-x.h: New file.
12465 * gdb.cp/pr10728-x.cc: New file.
12466 * gdb.cp/pr10728-y.cc: New file.
12467 * gdb.cp/pr10728.exp: New file.
12468 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12469
12470 2010-02-08 Chris Moller <moller@mollerware.com>
12471
12472 PR gdb/9067
12473 * gdb.cp/pr9067.exp: New
12474 * gdb.cp/pr9067.cc: New
12475 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12476
12477 2010-02-08 Joel Brobecker <brobecker@adacore.com>
12478
12479 * lib/gdb.exp (gdb_test_timeout): New global variable.
12480 Set it to timeout if not already set.
12481 (gdb_init): Reset the value of timeout to gdb_test_timeout.
12482
12483 2010-02-05 Doug Evans <dje@google.com>
12484
12485 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12486 user.
12487
12488 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
12489
12490 PR c++/7935:
12491 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12492
12493 2010-02-04 Tom Tromey <tromey@redhat.com>
12494
12495 * gdb.cp/virtbase.exp: Make test case names unique.
12496
12497 2010-02-02 Tom Tromey <tromey@redhat.com>
12498
12499 * gdb.cp/virtbase.exp: Add regression tests.
12500 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12501 (main): Instantiate RHC.
12502
12503 2010-02-02 Tom Tromey <tromey@redhat.com>
12504
12505 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12506 type-printing change.
12507
12508 2010-02-02 Tom Tromey <tromey@redhat.com>
12509
12510 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12511 * gdb.cp/virtbase.cc: New file.
12512 * gdb.cp/virtbase.exp: New file.
12513 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12514
12515 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12516
12517 PR libc/11214:
12518 * gdb.threads/current-lwp-dead.c: Include features.h.
12519 (HAS_NOMMU): New.
12520 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12521
12522 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12523
12524 * gdb.base/symbol-without-target_section.exp,
12525 gdb.base/symbol-without-target_section.c: New.
12526
12527 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12528
12529 * gdb.base/bigcore.exp: Reset increased timeout.
12530 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12531
12532 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12533
12534 * gdb.base/gcore.exp (capture_command_output): Use
12535 gdb_test_multiple.
12536
12537 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12538
12539 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12540 * gdb.arch/thumb2-it.exp (test_it_break): New function.
12541 (Top level): Call it.
12542
12543 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12544
12545 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12546
12547 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12548
12549 * gdb.base/call-strs.exp, gdb.base/default.exp,
12550 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12551 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12552 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12553 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12554 gdb.base/watchpoint-solib.exp: Save and restore timeout.
12555 * gdb.base/ending-run.exp: Correct restore of timeout.
12556 * gdb.base/page.exp: Remove unnecessary timeout setting.
12557
12558 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12559
12560 * gdb.ada/rec_return: New testcase.
12561
12562 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12563
12564 * gdb.ada/call_pn: New testcase.
12565
12566 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12567
12568 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12569 (Top level): Use it to resume.
12570 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12571 the Thumb mode displaced stepping error as unsupported.
12572
12573 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
12574
12575 * gdb.cp/nsusing.exp: Added more tests.
12576 * gdb.cp/nsrecurs.exp: Ditto.
12577 * gdb.cp/nsusing.cc: Added test functions.
12578 * gdb.cp/nsrecurs.cc: Ditto.
12579
12580 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12581
12582 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12583 absolute directory pathnames in gdb.sum file.
12584
12585 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
12586
12587 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12588 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12589
12590 2010-01-26 Tom Tromey <tromey@redhat.com>
12591
12592 PR exp/7643:
12593 * gdb.base/printcmds.exp (test_print_string_constants): Remove
12594 setup_kfail.
12595
12596 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
12597
12598 * gdb.cp/nsrecurs.exp: New test.
12599 * gdb.cp/nsrecurs.cc: New test program.
12600 * gdb.cp/nsstress.exp: New test.
12601 * gdb.cp/nsstress.cc: New test program.
12602 * gdb.cp/nsdecl.exp: New test.
12603 * gdb.cp/nsdecl.cc: New test program.
12604
12605 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
12606
12607 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12608 imported into file scope.
12609 Marked test as xfail.
12610 * gdb.cp/namespace-using.cc (marker5): New function.
12611 * gdb.cp/shadow.exp: New test.
12612 * gdb.cp/shadow.cc: New test program.
12613 * gdb.cp/nsimport.exp: New test.
12614 * gdb.cp/nsimport.cc: New test program.
12615
12616 2010-01-25 Tom Tromey <tromey@redhat.com>
12617
12618 PR gdb/11049:
12619 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
12620 with "set print null-stop on".
12621
12622 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12623
12624 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
12625 Adjust it for DISASSEMBLY_OMIT_FNAME.
12626
12627 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12628
12629 PR symtab/11199:
12630 * gdb.dwarf2/member-ptr-forwardref.exp,
12631 gdb.dwarf2/member-ptr-forwardref.S: New.
12632
12633 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12634
12635 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
12636 (thread1_func): Protect thread1_tid with thread1_tid_cond by
12637 thread1_tid_mutex. Remove gdbstop_mutex handling.
12638 (thread2_func): Protect thread2_tid with thread2_tid_cond by
12639 thread2_tid_mutex. Remove gdbstop_mutex handling.
12640 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
12641 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
12642 pthread_cond_wait conditionalizations by while loops.
12643
12644 2010-01-20 Tom Tromey <tromey@redhat.com>
12645
12646 PR backtrace/10770:
12647 * gdb.dwarf2/pr10770.exp: New file.
12648 * gdb.dwarf2/pr10770.c: New file.
12649 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
12650
12651 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
12652
12653 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
12654 that target was removed, and the test always runs native anyway.
12655
12656 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12657
12658 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
12659 gdb.base/watchpoint-cond-gone-stripped.c: New.
12660
12661 2010-01-19 Tom Tromey <tromey@redhat.com>
12662
12663 PR c++/8000:
12664 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
12665 existing tests.
12666 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
12667 (main): Use AAA::SomeEnum.
12668
12669 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12670
12671 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
12672 (test_ignore_count): Declare line_callme_body global.
12673 (run to breakpoint with ignore count): Use line_callme_body.
12674 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
12675 (set line_main_hello, set line_main_return): Reindent.
12676 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
12677 New.
12678 (continue to callee4): Use line_callee4_body.
12679 (check *stopped from CLI command): Use line_callee4_next.
12680 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
12681 (set line_main_hello, set line_main_return): Reindent.
12682 (set line_callee4_head, set line_callee4_body): New.
12683 (continue to callee4): Use line_callee4_body.
12684
12685 2010-01-18 Tom Tromey <tromey@redhat.com>
12686
12687 PR c++/9680:
12688 * gdb.cp/casts.cc: Add new classes and variables.
12689 * gdb.cp/casts.exp: Test new operators.
12690
12691 2010-01-18 Tom Tromey <tromey@redhat.com>
12692 Thiago Jung Bauermann <bauerman@br.ibm.com>
12693
12694 * gdb.python/source2.py: New file.
12695 * gdb.python/source1: New file.
12696 * gdb.python/python.exp: Test "source" command.
12697
12698 2010-01-15 Stan Shebs <stan@codesourcery.com>
12699
12700 * gdb.trace/tfile.c: New file.
12701 * gdb.trace/tfile.exp: New file.
12702
12703 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12704
12705 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
12706
12707 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12708
12709 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
12710
12711 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12712
12713 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
12714 (libfunc): New parameter action. Implement also selectable "sleep".
12715 * gdb.base/break-interp-main.c: Include assert.h.
12716 (libfunc): New parameter action.
12717 (main): New parameters argc and argv. Assert argc. Pass argv.
12718 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
12719 (test_attach): New proc.
12720 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
12721 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
12722
12723 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12724
12725 * gdb.base/break-interp.exp (test_core): New proc.
12726 (test_ld): Call it.
12727
12728 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12729
12730 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
12731 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
12732 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
12733 and gdb_compile_shlib. Use new -Wl compiler options.
12734 (dl bt, main bt): New tests.
12735
12736 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12737
12738 Support PIEs with no symfile_objfile.
12739 * gdb.base/break-interp.exp: New argument at the test_ld calls.
12740 (test_ld): New parameter trynosym.
12741 (test_ld <$trynosym>): New block.
12742
12743 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12744
12745 * gdb.base/break-interp.exp: New file.
12746
12747 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
12748
12749 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
12750 * gdb.python/py-prettyprint.py (pp_ls): New printer.
12751 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
12752 test.
12753 * gdb.python/py-prettyprint.c: Define lazystring test structure.
12754 * gdb.python/py-mi.exp: Add lazy string test.
12755
12756 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
12757
12758 * lib/mi-support.exp (mi_check_thread_states): Handle
12759 core number in thread listing.
12760
12761 2010-01-12 Joel Brobecker <brobecker@adacore.com>
12762
12763 * gdb.base/maint.exp: Adjust the expected output for the
12764 "maint print type" test. Use gdb_test_multiple instead of
12765 gdb_sent/gdb_expect.
12766
12767 2010-01-11 Doug Evans <dje@google.com>
12768
12769 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
12770 from gdbserver_download. All callers updated.
12771
12772 * gdb.server/ext-run.exp: "info os processes" requires xml support.
12773
12774 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12775
12776 Implement binary numbers parsing.
12777 * gdb.base/printcmds.exp (test_integer_literals_accepted)
12778 (test_integer_literals_rejected): New binary tests.
12779
12780 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12781
12782 * gdb.cell/configure: Regenerate.
12783
12784 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12785
12786 * gdb.base/corefile.exp: Move the core finding block out and call it as
12787 core_find, new variable $corefile, replace corefile by $corefile and
12788 [file tail $corefile] for usage vs. test names resp.
12789 * lib/gdb.exp (core_find): Move it as a new function here. New
12790 parameter binfile and deletefiles. New variable $destcore. Pre-delete
12791 $destcore. Return "" on error.
12792
12793 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12794
12795 Workaround PR binutils/10802.
12796 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
12797 (twice).
12798
12799 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12800
12801 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
12802
12803 2010-01-08 Joel Brobecker <brobecker@adacore.com>
12804
12805 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
12806 call, to avoid interruption.
12807
12808 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12809
12810 * gdb.stabs/weird.def (args93): New.
12811
12812 2010-01-07 Doug Evans <dje@google.com>
12813
12814 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
12815
12816 2010-01-07 Tom Tromey <tromey@redhat.com>
12817
12818 * gdb.base/source.exp: Use correct line number.
12819
12820 2010-01-05 Stan Shebs <stan@codesourcery.com>
12821
12822 * gdb.trace/tracecmd.exp: Test ftrace.
12823
12824 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12825
12826 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
12827
12828 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12829
12830 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
12831 "uint_for_mi_testing".
12832
12833 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12834
12835 Test indented comment in file being sourced.
12836 * gdb.base/commands.exp: Test indented comment in file being sourced.
12837
12838 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12839
12840 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12841 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12842 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12843 notice.
12844
12845 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12846
12847 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12848 notice.
12849
12850 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12851
12852 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12853 missing $after_stopped and comma (,) expectation.
12854
12855 2009-12-31 Stan Shebs <stan@codesourcery.com>
12856
12857 * gdb.trace/actions.exp: Test teval action.
12858
12859 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12860
12861 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12862 (top level): Call test_watchpoint_in_big_blob.
12863 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12864 watchpoints.
12865 (func3): Write to buf.
12866
12867 2009-12-29 Stan Shebs <stan@codesourcery.com>
12868
12869 * gdb.trace/actions.exp: Test default-collect.
12870
12871 2009-12-28 Stan Shebs <stan@codesourcery.com>
12872
12873 * gdb.trace/tsv.exp: New file.
12874 * gdb.base/completion.exp: Update ambiguous info output.
12875
12876 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
12877
12878 * gdb.base/find.c (main): Reference search buffers.
12879 * gdb.base/included.c (main): Reference integer.
12880 * gdb.base/ptype.c (charfoo): Declare.
12881 (intfoo): Call charfoo.
12882 * gdb.base/scope0.c (useitp): New function.
12883 (usestatics): Use useitp.
12884 (useit): Add a type for val.
12885 * gdb.base/scope1.c (useit1): Take a pointer argument.
12886 (usestatics1): Update calls to useit1.
12887 * gdb.cp/call-c.cc: Declare foo.
12888 (main): Call foo.
12889 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12890 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12891 (main): Call C::ensureRefs and ensureOtherRefs.
12892 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12893 variables.
12894 (ensureOtherRefs): New function.
12895 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12896 * gdb.cp/templates.cc (main): Call t5i.value.
12897
12898 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12899
12900 Fix compatibility with G++-4.5.
12901 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12902 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12903 (uncaught return): Remove.
12904
12905 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12906 Phil Muldoon <pmuldoon@redhat.com>
12907
12908 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12909 (bp_location13, bp_location14, bp_location17, bp_location18)
12910 (marker3_proto, marker4_proto): New variables.
12911 (breakpoint info): Update output.
12912 (run until breakpoint at marker3, run until breakpoint at marker4): New
12913 tests.
12914
12915 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12916
12917 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12918 Replace the printf call of Y by provided "y-set-1" label. New block
12919 for the second shared library.
12920 * gdb.base/unload.exp: Compile also the second library, call
12921 gdb_load_shlibs also for it. Use now gdb_breakpoint.
12922 (single pending breakpoint info): Rename to ...
12923 (pending breakpoint info before run): ... this extended test.
12924 (libfile2, libname2, libsrcfile2, libsrc2)
12925 (lib_sl2): New variables.
12926 (exec_opts): Set also SHLIB_NAME2.
12927 (pending breakpoint info on first run at shrfunc1)
12928 (pending breakpoint info on second run at shrfunc1)
12929 (pending breakpoint info on second run at shrfunc2)
12930 (print y from libfile, print y from libfile2): New tests.
12931 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12932 * gdb.base/unloadshr2.c: New.
12933
12934 2009-12-22 Hui Zhu <teawater@gmail.com>
12935
12936 * gdb.reverse/sigall-reverse.exp: Adjust.
12937
12938 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
12939
12940 PR gdb/10884
12941
12942 * gdb.mi/var-cmd.c (do_bitfield_tests): New
12943 (main): Call do_bitfield_tests.
12944 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
12945
12946 2009-12-20 Joel Brobecker <brobecker@adacore.com>
12947
12948 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12949 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12950 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12951 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12952 gdb.modula2/unbounded1.c: Update copyright header.
12953
12954 2009-12-10 Chris Moller <moller@mollerware.com>
12955
12956 PR gdb/9399
12957 * gdb.cp/virtfunc2.exp: New tests
12958 * gdb.cp/virtfunc2.cc: New tests
12959 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12960
12961 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
12962
12963 * gdb.reverse/i387-env-reverse.c: New file.
12964 * gdb.reverse/i387-env-reverse.exp: New file.
12965 * gdb.reverse/i387-stack-reverse.c: New file.
12966 * gdb.reverse/i387-stack-reverse.exp: New file.
12967
12968 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
12969
12970 * gdb.python/py-type.exp (test_range): New test.
12971
12972 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
12973
12974 PR python/10805
12975
12976 * gdb.python/py-type.exp: New file.
12977 * gdb.python/py-type.c: New file.
12978 * Makefile.in: Add py-type.
12979
12980 2009-12-03 Tom Tromey <tromey@redhat.com>
12981
12982 * gdb.python/py-value.exp (test_parse_and_eval): New
12983 function.
12984
12985 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12986
12987 PR gdb/11022
12988
12989 * gdb.base/pr11022.exp: New test.
12990 * gdb.base/pr11022.c: New test.
12991
12992 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12993
12994 Fix spurious false FAILs.
12995 * gdb.base/structs.c (chartest): New.
12996 (main): Fill-in chartest.
12997 * gdb.base/structs.exp (anychar_re, first): New.
12998 (start_structs_test): Import global anychar_re and first.
12999 New gdb_test call "set print elements 300; ${testfile}"
13000 (start_structs_test <$first>): New block.
13001 (any): Import global anychar_re. New variable ac. Use ${ac}.
13002
13003 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13004
13005 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
13006
13007 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13008
13009 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
13010 Force $srcfile file.
13011 * gdb.base/foll-fork.c (callee): Comment out the printf call.
13012
13013 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13014
13015 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
13016 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
13017 * gdb.threads/watchthreads-reorder.exp: Likewise.
13018
13019 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
13020
13021 PR gdb/8704
13022
13023 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
13024 "if", and "thread". Correct matching in the previous test.
13025
13026 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
13027
13028 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
13029
13030 2009-11-23 Michael Snyder <msnyder@vmware.com>
13031
13032 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
13033 * gdb.reverse-watch-precsave.exp: Ditto.
13034
13035 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
13036
13037 * gdb.asm/asm-source.exp: Adjust.
13038 * gdb.base/help.exp: Adjust.
13039
13040 2009-11-22 Pedro Alves <pedro@codesourcery.com>
13041
13042 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
13043 (do_syscall_tests_without_xml): Set data-directory to
13044 /the/path/to/nowhere.
13045
13046 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13047
13048 * gdb.threads/local-watch-wrong-thread.c,
13049 gdb.threads/local-watch-wrong-thread.exp: New files.
13050
13051 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13052
13053 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
13054 assume new `regsub' syntax available.
13055
13056 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13057
13058 * gdb.base/watchpoint-hw-hit-once.exp,
13059 gdb.base/watchpoint-hw-hit-once.c: New.
13060
13061 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13062
13063 * gdb.threads/watchthreads-reorder.exp,
13064 gdb.threads/watchthreads-reorder.c: New.
13065
13066 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
13067
13068 * gdb.xml/tdesc-regs.exp: Use for m68k.
13069
13070 2009-11-15 Pedro Alves <pedro@codesourcery.com>
13071
13072 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13073
13074 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13075
13076 * lib/gdb.exp (current_target_name): New procedure.
13077 (gdb_wrapper_target): New variable.
13078 (gdb_wrapper_init): Set gdb_wrapper_target.
13079 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13080 wrapper.
13081
13082 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13083
13084 * gdb.base/remote.exp: Delete the slowest load test.
13085 Do not load with fixed packet sizes.
13086
13087 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13088
13089 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13090
13091 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13092
13093 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13094 srcfile when setting a breakpoint.
13095
13096 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13097
13098 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13099 macros.
13100
13101 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13102
13103 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13104 to be in memory.
13105 * gdb.base/display.c (force_mem): New.
13106 (do_loops): Use it. Add breakpoint comments.
13107 (do_vars): Add a breakpoint comment.
13108 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13109 line numbers.
13110
13111 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13112
13113 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13114 instead of a bare "run".
13115
13116 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13117
13118 * gdb.python/py-prettyprint.exp: Adjust.
13119
13120 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13121
13122 * lib/cell.exp (skip_cell_tests): Clean up test files before
13123 returning.
13124
13125 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13126
13127 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13128 and the breakpoint menu. Do not call perror if a prompt is seen.
13129 Consume the following GDB prompt.
13130 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13131 * gdb.cp/namespace.exp: Use gdb_test.
13132 * gdb.cp/templates.exp: Use gdb_test.
13133 (test_template_breakpoints): Use gdb_test_multiple.
13134
13135 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13136
13137 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13138 (marker4): Reference values.
13139
13140 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13141
13142 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13143 is missing.
13144
13145 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13146
13147 * gdb.base/break.c (need_malloc): New.
13148 * gdb.base/constvars.c (main): Reference crass and crisp.
13149 * gdb.base/gdb1821.c (main): Reference bar.
13150 * gdb.cp/gdb1355.cc (main): Reference s1.
13151 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13152 (main): Call them.
13153 * gdb.cp/hang2.cc (dummy2): Define.
13154 * gdb.cp/hang3.cc (dummy3): Define.
13155 * gdb.cp/m-data.cc (main): Reference shadow.
13156
13157 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13158 Nathan Froyd <froydnj@codesourcery.com>
13159
13160 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13161 remote host.
13162
13163 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13164
13165 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13166 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13167 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13168 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13169 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13170 * gdb.dwarf2/dw2-producer.exp: Likewise.
13171 * gdb.dwarf2/mac-fileno.exp: Likewise.
13172 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13173 py-prettyprint.py to the remote host.
13174 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13175
13176 2009-11-11 Keith Seitz <keiths@redhat.com>
13177
13178 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13179 use it instead of "Foo".
13180 * gdb.cp/classes.exp (do_tests): Add a test to access
13181 a method through a typedef'd class name.
13182
13183 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13184
13185 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13186 exponents.
13187 * gdb.base/pointers.exp: Likewise.
13188 * gdb.cp/ref-types.exp: Likewise.
13189
13190 2009-11-11 Keith Seitz <keiths@redhat.com>
13191
13192 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13193 new[] and delete[].
13194 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13195 "void".
13196 (probe_demangler): Remove all single-quoting of
13197 method and variable names.
13198 (info_func_regexp): Remove the word "void" from any
13199 occurrence of "(void)".
13200 (print_addr_2): Remove all single-quoting of
13201 method names.
13202 (print_addr_2_kfail): Likewise.
13203 (print_addr): Single-quote C function names before
13204 passing to print_addr_2.
13205 (test_paddr_operator_functions): Remove single-quoting
13206 for method names.
13207 Add tests for operator new[] and operator delete[].
13208
13209 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13210
13211 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13212
13213 2009-11-09 Keith Seitz <keiths@redhat.com>
13214
13215 * gdb.cp/overload.exp: Add tests for resolving overloaded
13216 methods in expression parsing/evaluation.
13217
13218 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13219
13220 * lib/gdb.exp (default_gdb_version): Use --version instead of
13221 --command.
13222
13223 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13224
13225 * lib/gdb.exp (gdb_compile_test): New.
13226 (skip_ada_tests, skip_java_tests): New.
13227 (gdb_compile): Use gdb_compile_test for f77.
13228 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13229 * lib/java.exp (compile_java_from_source): Remove runtests check,
13230 use gdb_compile_test to record result.
13231 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13232 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13233 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13234 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13235 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13236 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13237 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13238 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13239 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13240 adjust gdb_compile invocations.
13241
13242 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13243
13244 * Makefile.in (abs_builddir): New.
13245 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13246 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13247 `$(abs_builddir)/site.exp'.
13248
13249 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13250
13251 * config/m68k-emc.exp, lib/emc-support.exp,
13252 gdb.trace/gdb_c_test.c: Delete.
13253 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13254 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13255 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13256 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13257 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13258 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13259 casing for m68k-*-elf.
13260
13261 2009-11-03 Pedro Alves <pedro@codesourcery.com>
13262
13263 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13264 * gdb.arch/i386-prologue.exp: Likewise.
13265 * gdb.arch/i386-unwind.exp: Likewise.
13266
13267 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13268
13269 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13270
13271 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13272
13273 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13274
13275 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13276
13277 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13278
13279 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13280
13281 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13282
13283 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13284
13285 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13286 * gdb.base/sepdebug2.c: New file.
13287
13288 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13289
13290 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13291 the modified warnings for catch syscall. Verify if GDB was compiled
13292 with support for lib expat, and choose which tests to run depending
13293 on this.
13294
13295 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13296
13297 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13298 that composite commands are parsed OK. And also test
13299 that breakpoint commands do work.
13300
13301 2009-10-23 Michael Snyder <msnyder@vmware.com>
13302
13303 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13304 to allow for new disassembly style.
13305
13306 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13307
13308 * gdb.asm/asm-source.exp: Adjust.
13309
13310 2009-10-22 Michael Snyder <msnyder@vmware.com>
13311
13312 * gdb.reverse/break-precsave.exp: New test.
13313 * gdb.reverse/consecutive-precsave.exp: Ditto.
13314 * gdb.reverse/finish-precsave.exp: Ditto.
13315 * gdb.reverse/i386-precsave.exp: Ditto.
13316 * gdb.reverse/machinestate-precsave.exp: Ditto.
13317 * gdb.reverse/sigall-precsave.exp: Ditto.
13318 * gdb.reverse/solilb-precsave.exp: Ditto.
13319 * gdb.reverse/step-precsave.exp: Ditto.
13320 * gdb.reverse/until-precsave.exp: Ditto.
13321 * gdb.reverse/watch-precsave.exp: Ditto.
13322
13323 2009-10-22 Michael Snyder <msnyder@vmware.com>
13324
13325 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13326 for gdb_expect. Adjust one test's expect strings for the new
13327 format of disassemble.
13328 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13329 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13330 gdb_test_multiple.
13331 * gdb.reverse/step-reverse.exp: Delete 'return'.
13332 * gdb.reverse/until-reverse.exp: Delete blank lines.
13333 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13334
13335 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13336
13337 * gdb.base/consecutive.exp: Adjust.
13338 * gdb.base/display.exp: Likewise.
13339 * gdb.base/pc-fp.exp: Likewise.
13340 * gdb.base/sigbpt.exp: Likewise.
13341
13342 2009-10-19 Michael Snyder <msnyder@vmware.com>
13343
13344 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13345 * gdb.reverse/finish-reverse.c: Ditto.
13346 * gdb.reverse/sigall-reverse.c: Ditto.
13347 * gdb.reverse/solib-reverse.c: Ditto.
13348 * gdb.reverse/step-reverse.c: Ditto.
13349 * gdb.reverse/watch-reverse.c: Ditto.
13350
13351 2009-10-19 Pedro Alves <pedro@codesourcery.com>
13352 Stan Shebs <stan@codesourcery.com>
13353
13354 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13355 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13356 "Executing new program".
13357 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13358 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13359 left listed after having been killed.
13360 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13361 * gdb.base/maint.exp: Adjust test.
13362
13363 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13364 * gdb.multi/Makefile.in: New.
13365 * gdb.multi/base.exp: New.
13366 * gdb.multi/goodbye.c: New.
13367 * gdb.multi/hangout.c: New.
13368 * gdb.multi/hello.c: New.
13369 * gdb.multi/bkpt-multi-exec.c: New.
13370 * gdb.multi/bkpt-multi-exec.exp: New.
13371 * gdb.multi/crashme.c: New.
13372
13373 2009-10-13 Tristan Gingold <gingold@adacore.com>
13374
13375 * gdb.base/sepdebug.exp: Check debug info are found.
13376
13377 2009-10-08 Pedro Alves <pedro@codesourcery.com>
13378
13379 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13380 bits.
13381
13382 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13383
13384 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13385
13386 2009-10-07 Joel Brobecker <brobecker@adacore.com>
13387
13388 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13389 of the comments.
13390
13391 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13392
13393 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13394 * gdb.base/annota3.exp: Idem.
13395 * gdb.base/maint.exp: Idem.
13396
13397 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13398
13399 * lib/gdb.exp (default_gdb_init): Set current value of match_max
13400 to default.
13401
13402 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13403
13404 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
13405 mingw and cygwin targets.
13406
13407 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13408 Pedro Alves <pedro@codesourcery.com>
13409
13410 * lib/gdb.exp (gdb_compile): Avoid adding
13411 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13412
13413 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13414
13415 * gdb.base/shr1.c: Use %p in format string.
13416 * gdb.base/unload.c: Avoid warning in fprintf.
13417 * gdb.base/watchpoint-solib.c: Idem.
13418
13419 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13420
13421 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13422 long type.
13423 (test_unlink): Correct printf string.
13424 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13425 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13426
13427 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13428
13429 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13430 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13431 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13432
13433 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13434
13435 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13436 * gdb.objc/nondebug.exp: Likewise.
13437
13438 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13439
13440 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13441 target_info setting.
13442
13443 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13444 that detect new threads during "info threads".
13445
13446 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13447
13448 * gdb.threads/manythreads.c (main): Increase thread stack size
13449 to 2*PTHREAD_STACK_MIN.
13450 * gdb.threads/multi-create.c (main): Likewise.
13451 (create_function): Likewise.
13452
13453 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13454
13455 * gdb.base/dump.exp: Pass difference of pointer types instead
13456 of integer types as offset to restore in intarr3.srec case.
13457
13458 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13459
13460 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13461
13462 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13463
13464 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13465
13466 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
13467
13468 New test for two watchpoints, with disabling of
13469 the first inserted.
13470 * testsuite/gdb.base/watchpoints.c: New file.
13471 * testsuite/gdb.base/watchpoints.exp: New file.
13472
13473 2009-09-25 Tom Tromey <tromey@redhat.com>
13474
13475 * gdb.base/charset.exp: Test utf-16 strings with Python.
13476
13477 2009-09-25 Tom Tromey <tromey@redhat.com>
13478
13479 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13480 UCS-4.
13481 * gdb.base/charset.c (utf_32_string): Rename.
13482 (init_utf32): Rename.
13483 (main): Update.
13484
13485 2009-09-22 Tom Tromey <tromey@redhat.com>
13486
13487 * gdb.python/py-function.exp: Add regression tests.
13488
13489 2009-09-21 Keith Seitz <keiths@redhat.com>
13490
13491 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13492 with invalid operator.
13493
13494 2009-09-21 Keith Seitz <keiths@redhat.com>
13495
13496 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13497 and destructor using typedef name of class.
13498 * gdb.cp/classes.cc (class Base1): Add a destructor.
13499 (base1): New typedef.
13500 (use_methods): Instanitate an object of type base1.
13501 * gdb.cp/templates.exp (test_template_typedef): New procedure.
13502 (do_tests): Call test_template_typedef.
13503 * gdb.cp/templates.cc (Baz::~Baz): New method.
13504 (intBazOne): New typedef.
13505 (main): Instantiate intBazOne.
13506
13507 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13508
13509 PR python/10633
13510
13511 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13512 Function.
13513 (run_lang_tests): Add print elements test.
13514
13515 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13516
13517 * gdb.python/py-value.exp (test_subscript_regression): New
13518 function. Test for invalid subscripts.
13519 * gdb.python/py-value.c (main): Add test array, and pointer to it.
13520 (ptr_ref): New function.
13521
13522 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13523
13524 * gdb.base/default.exp: Fix "show convenience".
13525
13526 2009-09-15 Tom Tromey <tromey@redhat.com>
13527
13528 * lib/mi-support.exp (mi_create_varobj): Update.
13529 (mi_create_floating_varobj): Likewise.
13530 (mi_create_dynamic_varobj): New proc.
13531 (mi_varobj_update): Update.
13532 (mi_varobj_update_with_type_change): Likewise.
13533 (mi_varobj_update_kv_helper): New proc.
13534 (mi_varobj_update_dynamic_helper): Rewrite.
13535 (mi_varobj_update_dynamic): New proc.
13536 (mi_list_varobj_children): Update.
13537 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13538 * gdb.python/python-prettyprint.py (pp_outer): New class.
13539 (pp_nullstr): Likewise.
13540 (lookup_function): Register new printers.
13541 * gdb.python/python-prettyprint.c (struct substruct): New type.
13542 (struct outerstruct): Likewise.
13543 (substruct_test): New function.
13544 (struct nullstr): New type.
13545 (string_1, string_2): New globals.
13546 (main): Add new tests.
13547 * gdb.python/python-mi.exp: Added regression tests.
13548 * gdb.mi/mi2-var-display.exp: Update.
13549 * gdb.mi/mi2-var-cmd.exp: Update.
13550 * gdb.mi/mi2-var-child.exp: Update.
13551 * gdb.mi/mi2-var-block.exp: Update.
13552 * gdb.mi/mi-var-invalidate.exp: Update.
13553 * gdb.mi/mi-var-display.exp: Update.
13554 * gdb.mi/mi-var-cmd.exp: Update.
13555 * gdb.mi/mi-var-child.exp: Update.
13556 * gdb.mi/mi-var-block.exp: Update.
13557 * gdb.mi/mi-break.exp: Update.
13558 * gdb.mi/gdb701.exp: Update.
13559
13560 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13561
13562 * Makefile.in: Inclusion of catch-syscall object.
13563 * gdb.base/catch-syscall.c: New file.
13564 * gdb.base/catch-syscall.exp: New file.
13565
13566 2009-09-12 Michael Snyder <msnyder@vmware.com>
13567
13568 * gdb.reverse/step-reverse.exp: Explicitly check for targets
13569 that can support reverse debuggnig.
13570
13571 2009-09-11 Tom Tromey <tromey@redhat.com>
13572
13573 * gdb.dwarf2/valop.S: New file.
13574 * gdb.dwarf2/valop.exp: New file.
13575
13576 2009-09-11 Mark Kettenis <kettenis@gnu.org>
13577
13578 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13579
13580 2009-09-10 Doug Evans <dje@google.com>
13581
13582 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13583 Add $gdb_prompt to second breakpoint regexp.
13584
13585 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
13586
13587 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13588 names, add missing ones.
13589 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13590 * gdb.python/py-frame.c: Rename from python-frame.c.
13591 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
13592 testfile name.
13593 * gdb.python/py-function.exp: Rename from python-function.exp.
13594 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
13595 testfile name.
13596 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13597 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13598 Adjust testfile name.
13599 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13600 * gdb.python/py-template.cc: Rename from python-template.cc.
13601 * gdb.python/py-template.exp: Rename from python-template.exp.
13602 Adjust testfile name.
13603 * gdb.python/py-value.c: Rename from python-value.c.
13604 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
13605 testfile name.
13606
13607 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13608
13609 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13610 $bpt2address.
13611 (Second breakpoint address is valid on ia64)
13612 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
13613
13614 2009-09-03 Joseph Myers <joseph@codesourcery.com>
13615
13616 * gdb.base/ending-run.exp: Restrict regular expression matching
13617 line number to require closing brace following.
13618
13619 2009-09-03 Doug Evans <dje@google.com>
13620
13621 * gdb.base/store.exp (check_set): Fix typo in expected value message.
13622
13623 2009-09-02 Tom Tromey <tromey@redhat.com>
13624
13625 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
13626
13627 2009-09-02 Tom Tromey <tromey@redhat.com>
13628
13629 * gdb.dwarf2/callframecfa.exp: New file.
13630 * gdb.dwarf2/callframecfa.S: New file.
13631
13632 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13633
13634 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
13635 gdb.base/solib-overlap-main.c: New.
13636
13637 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
13638
13639 PR gdb/10565
13640
13641 * gdb.base/bitfields.c (struct container, container): New.
13642 (main): Initialize it and call break5.
13643 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
13644
13645 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13646
13647 Support constant DW_AT_data_member_location by GCC PR debug/40659.
13648 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
13649
13650 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13651
13652 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
13653
13654 2009-08-26 Michael Snyder <msnyder@vmware.com>
13655
13656 * gdb.base/i386-reverse.c: New file.
13657 * gdb.base/i386-reverse.exp: New file.
13658 * gdb.base/Makefile.in: Add new files to be removed.
13659
13660 2009-08-26 Joseph Myers <joseph@codesourcery.com>
13661
13662 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
13663 environment-pwd for remote host.
13664 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
13665
13666 2009-08-24 Keith Seitz <keiths@redhat.com>
13667
13668 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
13669 Add two new C++ completer tests which limit the output to a
13670 given class.
13671
13672 2009-08-24 Michael Snyder <msnyder@vmware.com>
13673
13674 * gdb.base/del.exp: Fix typo in comment.
13675 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
13676
13677 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13678
13679 * configure: Regenerate.
13680 * gdb.hp/configure: Likewise.
13681 * gdb.hp/gdb.aCC/configure: Likewise.
13682 * gdb.hp/gdb.base-hp/configure: Likewise.
13683 * gdb.hp/gdb.compat/configure: Likewise.
13684 * gdb.hp/gdb.defects/configure: Likewise.
13685 * gdb.hp/gdb.objdbg/configure: Likewise.
13686 * gdb.stabs/configure: Likewise.
13687
13688 2009-08-19 Doug Evans <dje@google.com>
13689
13690 * gdb.base/gdbvars.c: New file.
13691 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
13692
13693 2009-08-14 Pedro Alves <pedro@codesourcery.com>
13694
13695 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13696 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
13697
13698 2009-08-13 Pedro Alves <pedro@codesourcery.com>
13699
13700 * gdb.base/default.exp: Adjust "set language test": it's now an
13701 enum command. Larger help string moved to "help set language".
13702 * gdb.base/help.exp: Adjust "help set language" expected output,
13703 now lists all known languages.
13704
13705 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
13706
13707 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
13708 all frame arguments.
13709 * gdb.arch/altivec-regs.exp: Likewise.
13710
13711 2009-08-07 Tom Tromey <tromey@redhat.com>
13712
13713 * gdb.base/setshow.exp: Add tests for changes to set language, set
13714 check range, and set check type.
13715
13716 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
13717
13718 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
13719 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
13720 Call it.
13721
13722 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13723
13724 * configure.ac: Run gdb.cell tests when appropriate.
13725 * configure: Regenerate.
13726 * lib/cell.exp: New file.
13727 * gdb.cell: New directory.
13728 * gdb.cell/configure.ac: New file.
13729 * gdb.cell/configure: New file.
13730 * gdb.cell/Makefile.in: New file.
13731 * gdb.cell/arch.exp: New file.
13732 * gdb.cell/break.c: New file.
13733 * gdb.cell/break.exp: New file.
13734 * gdb.cell/break-spu.c: New file.
13735 * gdb.cell/bt.c: New file.
13736 * gdb.cell/bt2-spu.c: New file.
13737 * gdb.cell/bt-spu.c: New file.
13738 * gdb.cell/bt.exp: New file.
13739 * gdb.cell/coremaker.c: New file.
13740 * gdb.cell/coremaker-spu.c: New file.
13741 * gdb.cell/core.exp: New file.
13742 * gdb.cell/gcore.exp: New file.
13743 * gdb.cell/data.c: New file.
13744 * gdb.cell/data.exp: New file.
13745 * gdb.cell/data-spu.c: New file.
13746 * gdb.cell/ea-cache.exp: New file.
13747 * gdb.cell/ea-cache.c: New file.
13748 * gdb.cell/ea-cache-spu.c: New file.
13749 * gdb.cell/ea-standalone.c: New file.
13750 * gdb.cell/ea-standalone.exp: New file.
13751 * gdb.cell/ea-test.c: New file.
13752 * gdb.cell/ea-test.exp: New file.
13753 * gdb.cell/f-regs.exp: New file.
13754 * gdb.cell/mem-access.c: New file.
13755 * gdb.cell/mem-access.exp: New file.
13756 * gdb.cell/mem-access-spu.c: New file.
13757 * gdb.cell/ptype.exp: New file.
13758 * gdb.cell/registers.exp: New file.
13759 * gdb.cell/size.c: New file.
13760 * gdb.cell/sizeof.exp: New file.
13761 * gdb.cell/size-spu.c: New file.
13762 * gdb.cell/solib.exp: New file.
13763 * gdb.cell/solib-symbol.exp: New file.
13764
13765 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13766
13767 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
13768
13769 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
13770
13771 * gdb.base/float.exp: Handle VFP registers.
13772
13773 2009-07-14 Michael Snyder <msnyder@vmware.com>
13774
13775 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
13776 to bring gdb to the beginning of the calling line.
13777
13778 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
13779 confusing the i386 epilogue unwinder.
13780
13781 2009-07-14 Stan Shebs <stan@codesourcery.com>
13782
13783 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
13784
13785 2009-07-14 Michael Snyder <msnyder@vmware.com>
13786
13787 * gdb.reverse/step-reverse.exp (stepi into function call):
13788 Call instruction may not be first instruction in the line.
13789 (reverse stepi from a function call): Used wrong line number.
13790
13791 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13792
13793 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
13794
13795 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13796
13797 Fix gdb.base/macscp.exp when using custom inputrc.
13798 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
13799 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
13800 env(TERM) set.
13801 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
13802 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
13803
13804 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13805
13806 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
13807 * gdb.base/annota1.exp (thread_test): Import global $testfile.
13808 Change the compilation target to match the testcase name.
13809 * gdb.base/sect-cmd.exp: Change the compilation target to match the
13810 testcase name.
13811 * a2-run.exp: Use for setup prepare_for_testing. Change the
13812 compilation target to match the testcase name.
13813 * gdb.base/commands.exp: Likewise.
13814 * gdb.base/finish.exp: Likewise.
13815 * gdb.base/float.exp: Likewise.
13816 * gdb.base/info-target.exp: Likewise.
13817 * gdb.base/relational.exp: Likewise.
13818 * gdb.base/term.exp: Likewise.
13819 * gdb.base/until.exp: Likewise.
13820 * gdb.base/volatile.exp: Likewise.
13821 * gdb.base/whatis-exp.exp: Likewise.
13822
13823 2009-07-11 Hui Zhu <teawater@gmail.com>
13824
13825 * gdb.base/help.exp (disassemble): Update expected help text.
13826
13827 2009-07-09 Tom Tromey <tromey@redhat.com>
13828
13829 * lib/gdb.exp: Handle TRANSCRIPT.
13830 (remote_spawn, remote_close, send_gdb): New procs.
13831
13832 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
13833
13834 * gdb.python/python-prettyprint.c: Add counted null string
13835 structure.
13836 * gdb.python/python-prettyprint.exp: Print null string. Test for
13837 embedded nulls.
13838 * gdb.python/python-prettyprint.py (pp_ns): New Function.
13839 * gdb.python/python-value.exp (test_value_in_inferior): Add
13840 variable length string fetch tests.
13841 * gdb.python/python-value.c (main): Add strings for string fetch tests.
13842
13843 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13844
13845 * gdb.base/dump.exp (inaccessible memory is reported): New test.
13846
13847 2009-07-07 Tom Tromey <tromey@redhat.com>
13848
13849 * gdb.base/call-rt-st.exp: Update for change to escape output.
13850 * gdb.base/callfuncs.exp: Likewise.
13851 * gdb.base/charset.exp: Likewise.
13852 * gdb.base/constvars.exp: Likewise.
13853 * gdb.base/long_long.exp: Likewise.
13854 * gdb.base/pointers.exp: Likewise.
13855 * gdb.base/printcmds.exp: Likewise.
13856 * gdb.base/setvar.exp: Likewise.
13857 * gdb.base/store.exp: Likewise.
13858 * gdb.cp/ref-types.exp: Likewise.
13859 * gdb.mi/mi-var-child.exp: Likewise.
13860 * gdb.mi/mi-var-display.exp: Likewise.
13861 * gdb.mi/mi2-var-display.exp: Likewise.
13862 * gdb.base/charset.exp: Test octal escape sequence length.
13863 Update for change to escape output.
13864
13865 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13866
13867 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13868
13869 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
13870
13871 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13872
13873 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13874
13875 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13876 gdbserver increasing $portnum if "Can't bind address" has been seen.
13877
13878 2009-07-05 Pedro Alves <pedro@codesourcery.com>
13879
13880 * gdb.base/ending-run.exp: Add "step out of main" pattern for
13881 mingw32ce.
13882
13883 2009-07-05 Pedro Alves <pedro@codesourcery.com>
13884
13885 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13886 VFP format.
13887
13888 2009-07-02 Pedro Alves <pedro@codesourcery.com>
13889
13890 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13891 linux. Adjust to use "inferior", "info inferiors", "detach
13892 inferior" and "kill inferior" instead of "restart", "info fork",
13893 "detach fork" and "delete fork".
13894 * gdb.base/ending-run.exp: Spell out "info".
13895 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13896 the "kill" command.
13897
13898 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13899
13900 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13901 change to prefix TLS offset in hex with 0x.
13902
13903 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13904
13905 * gdb.base/default.exp: Update test case for "x" changes.
13906
13907 2009-07-01 Tristan Gingold <gingold@adacore.com>
13908
13909 * gdb.base/bigcore.exp: Make darwin untested.
13910
13911 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13912
13913 * gdb.base/completion.exp (directory completion): Create the directory.
13914 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13915 escapeuniquesub.
13916 (directory completion 2): Expect now ${escapeuniquesub}.
13917 (Glob remaining of directory test): Remove one excessive newline.
13918 Expect the real output.
13919
13920 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13921
13922 Fix `make check//%' target after `make check' has been ran.
13923 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
13924 a mkdir call.
13925 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13926 (%/.dir): Remove.
13927
13928 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13929
13930 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13931 the expected result record.
13932
13933 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13934
13935 Remove racy FAILs relying just on the timeouts.
13936 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13937 (annotation_level 2): Remove racy FAILs.
13938
13939 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13940
13941 gdb/10275
13942 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13943
13944 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
13945
13946 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13947
13948 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
13949
13950 * gdb.mi/mi-stack.exp: Testing symbolic options
13951 to -stack-list-locals and -stack-list-arguments.
13952
13953 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13954
13955 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13956
13957 2009-06-29 Tom Tromey <tromey@redhat.com>
13958
13959 * dg-extract-results.sh: New file.
13960 * Makefile.in (FORCE_PARALLEL): New variable.
13961 (CHECK_TARGET): New conditional variable.
13962 (check): Use CHECK_TARGET.
13963 (DO_RUNTEST): New variable.
13964 (check-single): New target.
13965 (TEST_DIRS): New variable.
13966 (TEST_TARGETS): Likewise.
13967 (check-parallel): New target.
13968 (check-gdb.%): New pattern.
13969 (BASE1_FILES): New variable.
13970 (BASE2_FILES): Likewise.
13971 (check-gdb.base%): New pattern.
13972 (%/.dir): New pattern.
13973 * configure: Rebuild.
13974 * aclocal.m4 (AM_CONDITIONAL): New defun.
13975 * configure.ac: Check whether user is using GNU make.
13976 (GMAKE): New conditional.
13977
13978 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
13979
13980 * gdb.cp/namespace-nested-import.cc: New test.
13981 * gdb.cp/namespace-nested-import.exp: New test.
13982
13983 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
13984
13985 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13986 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13987 * gdb.opt/Makefile.in (EXECUTABLES): Update.
13988 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13989 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13990 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13991 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13992 gdb.opt/inline-markers.c: New files.
13993 * lib/gdb.exp (skip_inline_frame_tests): New function.
13994 (skip_inline_var_tests): New function.
13995
13996 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
13997
13998 * gdb.cp/exception.exp: Don't require $hex before inner frame in
13999 backtrace.
14000
14001 2009-06-27 Michael Snyder <msnyder@vmware.com>
14002
14003 * gdb.reverse: New directory.
14004 * gdb.reverse/break-reverse.c: New test.
14005 * gdb.reverse/break-reverse.exp: New test.
14006 * gdb.reverse/consecutive-reverse.c: New test.
14007 * gdb.reverse/consecutive-reverse.exp: New test.
14008 * gdb.reverse/finish-reverse.c: New test.
14009 * gdb.reverse/finish-reverse.exp: New test.
14010 * gdb.reverse/machinestate.c: New test.
14011 * gdb.reverse/ms1.c: New test.
14012 * gdb.reverse/machinestate.exp: New test.
14013 * gdb.reverse/Makefile.in: New file.
14014 * gdb.reverse/shr2.c: New test.
14015 * gdb.reverse/solib-reverse.c: New test.
14016 * gdb.reverse/solib-reverse.exp: New test.
14017 * gdb.reverse/step-reverse.c: New test.
14018 * gdb.reverse/step-reverse.exp: New test.
14019 * gdb.reverse/until-reverse.c: New test.
14020 * gdb.reverse/ur1.c: New test.
14021 * gdb.reverse/until-reverse.exp: New test.
14022 * gdb.reverse/watch-reverse.c: New test.
14023 * gdb.reverse/watch-reverse.exp: New test.
14024 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
14025 * configure: Regenerate.
14026
14027 2009-06-26 Doug Evans <dje@google.com>
14028
14029 * gdb.base/psymtab.exp: Turn off pending breakpoints.
14030
14031 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
14032
14033 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
14034 windows problem for 'file delete $binfile'.
14035
14036 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
14037
14038 * gdb.cp/namespace-using.exp: New test.
14039 * gdb.cp/namespace-using.cc: New test.
14040
14041 2009-05-20 Joel Brobecker <brobecker@adacore.com>
14042
14043 * gdb.ada/variant_record_packed_array: New testcase.
14044
14045 2009-06-23 Tom Tromey <tromey@redhat.com>
14046
14047 * gdb.base/charset.exp (test_combination): Regression test.
14048 * gdb.base/charset.c (my_wchar_t): New typedef.
14049 (myvar): New global.
14050 (main): Set myvar.
14051
14052 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
14053
14054 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
14055 target.
14056
14057 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14058
14059 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
14060
14061 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14062
14063 * gdb.mi/gdb680.exp: Update test for error message.
14064
14065 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14066
14067 * gdb.base/annota1.exp: Allow multiple occurrences of the
14068 frames-invalid annotation.
14069 * gdb.cp/annota2.exp: Likewise.
14070
14071 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
14072
14073 * gdb.cp/gdb2495.cc: New file.
14074 * gdb.cp/gdb2495.exp: New file.
14075
14076 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14077
14078 Report error on GDB crash during runto.
14079 * lib/gdb.exp (runto <eof>): New.
14080
14081 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14082
14083 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14084 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14085 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14086 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14087 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14088 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14089 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14090 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14091 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14092 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14093 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14094 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14095 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14096 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14097 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14098 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14099 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14100 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14101 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14102 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14103 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14104 gdb.trace/passcount.exp, gdb.trace/report.exp,
14105 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14106 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14107 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14108 executable.
14109
14110 2009-06-07 Pedro Alves <pedro@codesourcery.com>
14111
14112 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14113 defined before referencing it.
14114
14115 2009-06-03 Doug Evans <dje@google.com>
14116
14117 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14118 * gdb.arch/i386-see.c: Ditto.
14119
14120 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14121
14122 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14123 (check_macro): Return 1 if undefined.
14124 If first test fails, check if macro debug information is available,
14125 and report unsupported test if no macro information is found.
14126
14127 2009-05-29 Doug Evans <dje@google.com>
14128
14129 * gdb.threads/hand-call-in-threads.exp: New.
14130 * gdb.threads/hand-call-in-threads.c: New.
14131
14132 2009-05-29 Michael Snyder <msnyder@vmware.com>
14133
14134 * gdb.base/break-always.exp: Change "1" to "on".
14135 Add confirmation check.
14136
14137 2009-05-28 Pedro Alves <pedro@codesourcery.com>
14138
14139 * gdb.threads/threxit-hop-specific.c: New.
14140 * gdb.threads/threxit-hop-specific.exp: New.
14141 * gdb.threads/thread-execl.c: New.
14142 * gdb.threads/thread-execl.exp: New.
14143
14144 2009-05-27 Tom Tromey <tromey@redhat.com>
14145 Thiago Jung Bauermann <bauerman@br.ibm.com>
14146
14147 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14148 (mi_child_regexp): Likewise.
14149 (mi_list_varobj_children_range): Likewise.
14150 (mi_get_features): Likewise.
14151 (mi_list_varobj_children): Rewrite.
14152 * gdb.python/python-mi.exp: New file.
14153
14154 2009-05-27 Tom Tromey <tromey@redhat.com>
14155 Thiago Jung Bauermann <bauerman@br.ibm.com>
14156 Phil Muldoon <pmuldoon@redhat.com>
14157 Paul Pluzhnikov <ppluzhnikov@google.com>
14158
14159 * gdb.python/python-prettyprint.exp: New file.
14160 * gdb.python/python-prettyprint.c: New file.
14161 * gdb.python/python-prettyprint.py: New file.
14162 * gdb.base/display.exp: print/r is now valid.
14163
14164 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14165 Tom Tromey <tromey@redhat.com>
14166 Pedro Alves <pedro@codesourcery.com>
14167 Paul Pluzhnikov <ppluzhnikov@google.com>
14168
14169 * gdb.python/python-template.exp: New file.
14170 * gdb.python/python-template.cc: New file.
14171 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14172 tests.
14173 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14174 Call it.
14175 (test_value_after_death): New proc.
14176 * gdb.python/python-value.c (PTR): New typedef.
14177 (main): New variable 'x'.
14178
14179 2009-05-27 Tom Tromey <tromey@redhat.com>
14180
14181 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14182 tests.
14183 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14184 Call it.
14185
14186 2009-05-27 Pedro Alves <pedro@codesourcery.com>
14187
14188 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14189
14190 2009-05-24 Pedro Alves <pedro@codesourcery.com>
14191
14192 * gdb.threads/fork-thread-pending.c: New.
14193 * gdb.threads/fork-thread-pending.exp: New.
14194
14195 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14196
14197 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14198 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14199
14200 2009-05-18 Jon Beniston <jon@beniston.com>
14201
14202 * gdb.asm/asm-source.exp: Add lm32 target.
14203
14204 2009-05-17 Pedro Alves <pedro@codesourcery.com>
14205
14206 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14207 `gdb_get_line_number'. Call `callee' in both parent and child.
14208 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14209 `gdb_get_line_number' instead of hardcoding line numbers.
14210 (catch_fork_unpatch_child): New procedure to test detaching
14211 breakpoints from child fork.
14212 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14213 hardcoding line numbers.
14214 (do_fork_tests): Run `catch_fork_unpatch_child'.
14215
14216 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14217
14218 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14219 of structure type enters or leaves the scope, it
14220 is reported by -var-update.
14221
14222 2009-05-11 Doug Evans <dje@sebabeach.org>
14223
14224 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
14225 * gdb.threads/pending-step.c (main): Fix off-by-one error.
14226 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14227
14228 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14229
14230 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14231
14232 2009-04-30 Doug Evans <dje@google.com>
14233
14234 * gdb.threads/watchthreads2.exp: New testcase.
14235 * gdb.threads/watchthreads2.c: New testcase.
14236
14237 2009-04-29 Doug Evans <dje@google.com>
14238
14239 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14240 * gdb.cp/mb-ctor.cc: Ditto.
14241 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14242 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14243 * gdb.cp/mb-inline1.cc: Call it.
14244 * gdb.cp/mb-inline2.cc: Ditto.
14245 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14246 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14247
14248 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14249
14250 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14251 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14252 Replace all uses of `decimal' by `nonzero'.
14253 (info macro FROM_COMMANDLINE): New test.
14254
14255 2009-04-27 Tom Tromey <tromey@redhat.com>
14256
14257 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14258
14259 2009-04-27 Doug Evans <dje@google.com>
14260
14261 * gdb.threads/watchthreads.c (main): Initialize args before starting
14262 the threads. Plus formatting cleanup.
14263 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14264 biased scheduling of one thread.
14265
14266 2009-04-27 Jerome Guitton <guitton@adacore.com>
14267
14268 * gdb.cp/templates.cc (GetMax): New template.
14269 (main): Declare two instances of GetMax.
14270 * gdb.cp/templates.exp: Add new test.
14271
14272 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14273
14274 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14275
14276 2009-04-22 Joseph Myers <joseph@codesourcery.com>
14277
14278 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14279
14280 2009-04-15 Tom Tromey <tromey@redhat.com>
14281
14282 * gdb.base/charset.exp: Add regression test.
14283
14284 2009-04-14 Joel Brobecker <brobecker@adacore.com>
14285
14286 * gdb.base/exe-lock.exp: New testcase.
14287
14288 2009-04-13 Tom Tromey <tromey@redhat.com>
14289
14290 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14291 operator on Frame.
14292
14293 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14294
14295 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14296 * gdb.server/ext-attach.exp: Likewise.
14297
14298 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14299
14300 Eliminate some sleep usage.
14301
14302 * gdb.mi/basics.c (do_nothing): New.
14303 (main): Use do_nothing instead of printf, so that
14304 not to introduce race condition between output of
14305 inferiour and output of gdb. Do not use sleep as it
14306 is not generally available on embedded targets.
14307
14308 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14309
14310 * gdb.server/ext-attach.exp: Expect an optional process id after
14311 "Detached from remote process".
14312
14313 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14314
14315 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14316 gdb.dwarf2/dw2-unresolved.exp: New.
14317
14318 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14319
14320 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14321 mi_run_to_main.
14322
14323 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14324
14325 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14326 mi_run_to_main. Skip thread exit test on remote targets.
14327 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14328 mi_run_to_main.
14329 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14330 mi_run_to_main.
14331 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14332 when expecting ^connected. Detect when the target doesn't support
14333 non-stop mode.
14334 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14335 supported. Return -1 on error, 0 on success.
14336 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14337 (mi_runto): Return mi_runto_helper's result explicitly.
14338
14339 2009-04-01 Pedro Alves <pedro@codesourcery.com>
14340
14341 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14342
14343 2009-04-01 Tom Tromey <tromey@redhat.com>
14344
14345 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14346 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14347 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14348 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14349
14350 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14351 Jan Kratochvil <jan.kratochvil@redhat.com>
14352
14353 PR gdb/931
14354 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14355 output.
14356 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14357 for gdb/931.
14358 * dw2-strp.S (DW_AT_language): Change to C++.
14359 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14360
14361 2009-03-31 Joel Brobecker <brobecker@adacore.com>
14362
14363 * gdb.ada/tasks: New testcase.
14364
14365 2009-03-30 Stan Shebs <stan@codesourcery.com>
14366
14367 * gdb.trace/actions.exp: Update to match new info trace format.
14368 * gdb.trace/deltrace.exp: Ditto.
14369 * gdb.trace/infotrace.exp: Ditto.
14370 * gdb.trace/passcount.exp: Ditto.
14371 * gdb.trace/save-trace.exp: Ditto.
14372 * gdb.trace/while-stepping.exp: Ditto.
14373 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14374
14375 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14376
14377 * gdb.python/python-frame.c: New file.
14378 * gdb.python/python-frame.exp: New file.
14379
14380 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14381
14382 * gdb.python/python-value.exp: Add tests for the address
14383 attribute.
14384
14385 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14386
14387 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14388
14389 2009-03-26 Doug Evans <dje@google.com>
14390
14391 * gdb.mi/mi-nonstop-exit.exp: New file.
14392 * gdb.mi/non-stop-exit.c: New file.
14393
14394 2009-03-26 Tom Tromey <tromey@redhat.com>
14395
14396 Update for change to prologue skipping:
14397 * gdb.mi/mi2-simplerun.exp: Update.
14398 * gdb.mi/mi2-break.exp: Update.
14399 * gdb.mi/mi-simplerun.exp: Update.
14400 * gdb.mi/mi-break.exp: Update.
14401 * gdb.base/ending-run.exp: Update.
14402
14403 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14404
14405 * gdb.python/python-value.exp (test_value_in_inferior): Test
14406 gdb.Value.is_optimized_out attribute.
14407
14408 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14409
14410 * gdb.dwarf2/dw2-noloc-main.c: New file.
14411 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14412 (.text): Remove.
14413 (.data): New.
14414 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14415 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14416 (DW_TAG_subprogram func_cu1, noloc): Remove.
14417 (main): New.
14418 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14419 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14420 (file_symbols): New procedure.
14421
14422 2009-03-25 Tom Tromey <tromey@redhat.com>
14423
14424 * gdb.base/charset.exp (valid_target_charset): New proc.
14425 Use it to skip tests on invalid charsets.
14426
14427 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14428
14429 * gdb.base/completion.exp: Add a test for directory completion.
14430
14431 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14432
14433 Fix a racy FAIL.
14434 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14435 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14436
14437 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14438
14439 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14440 * gdb.python/python-function.exp: Add test for function returning
14441 a GDB value.
14442
14443 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14444
14445 * gdb.python/python-function.exp: New file.
14446
14447 2009-03-20 Tom Tromey <tromey@redhat.com>
14448
14449 * gdb.base/store.exp: Update for change to escape output.
14450 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14451 to escape output.
14452 * gdb.base/pointers.exp: Update for change to escape output.
14453 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14454 to escape output.
14455 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14456 escape output.
14457 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14458 to escape output.
14459 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14460 escape output.
14461 * gdb.base/setvar.exp: Update for change to escape output.
14462 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14463 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14464 to escape output.
14465 (test_print_string_constants): Likewise.
14466 * gdb.base/charset.exp (valid_host_charset): Check size of
14467 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
14468 cases. Handle "auto"-related output.
14469 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14470 (uvar, Uvar): New globals.
14471
14472 2009-03-19 Jerome Guitton <guitton@adacore.com>
14473
14474 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14475 deltas.
14476 * gdb.ada/fixed_points.exp: Ditto.
14477
14478 2009-03-18 Pedro Alves <pedro@codesourcery.com>
14479
14480 * return-nodebug.c: Don't include stdio.h.
14481 (init): Delete.
14482 (func): Delete definition and provide extern declaration.
14483 (t): New.
14484 (main): Don't call printf. Call func and store its result in t.
14485 * return-nodebug1.c: New.
14486 * return-nodebug.exp: Don't expect stdio output. Instead, print
14487 the global variable t. Drop printf formatters and cast types from
14488 foreach loop. Don't use prepare_for_testing. Compile
14489 return-nodebug.c and return-nodebug1.c in separate steps. Don't
14490 define FORMAT or CAST.
14491
14492 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14493
14494 * gdb.base/solib-display.exp: Disable test for remote targers.
14495
14496 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14497
14498 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14499
14500 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14501
14502 Fix a racy FAIL.
14503 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14504 code from `follow parent, print pids'.
14505 (`follow child, print pids', `follow parent, print pids'): Call it.
14506 Replace `gdb_test "break..."' by gdb_breakpoint.
14507
14508 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
14509
14510 * gdb.mi/mi-cli.exp: Adjust for output difference in
14511 sync and async modes.
14512
14513 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14514
14515 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14516 that was checked in by mistake. Remove loading of ada.exp, since
14517 this is not necessary in this case.
14518
14519 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14520
14521 * gdb.ada/ptype_arith_binop.exp: New testcase.
14522
14523 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14524
14525 * gdb.ada/mod_from_name: New testcase.
14526
14527 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14528
14529 * gdb.ada/tick_last_segv: New testcase.
14530
14531 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14532
14533 * gdb.mi/mi-cli.exp: Remove debug print.
14534
14535 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14536
14537 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14538 include the token in ^running and frame info in *stopped.
14539
14540 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14541
14542 * solib-display.exp: New file.
14543 * solib-display-main.c: New file.
14544 * solib-display-lib.c: New file.
14545
14546 2009-03-05 Pedro Alves <pedro@codesourcery.com>
14547
14548 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14549
14550 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14551
14552 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14553 (list_and_check_macro): Use more specific test name.
14554 (next to definition): Make the test names unique.
14555
14556 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
14557
14558 * gdb.pascal/floats.exp: Accept approximate results everywhere.
14559
14560 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14561
14562 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14563 notifications.
14564 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14565 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14566 * lib/mi-support.exp (library_loaded_re): New.
14567 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14568
14569 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14570
14571 * gdb.gdb/observer.exp: Use test_notification observer, not
14572 normal_stop, everywhere.
14573 (test_normal_stop_notifications): Rename to...
14574 (test_notifications): ...this.
14575 (test_observer_normal_stop): Rename to...
14576 (test_observer): ...this.
14577
14578 2009-02-16 Doug Evans <dje@google.com>
14579
14580 * gdb.arch/amd64-disp-step.S (test_int3): New test.
14581 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14582 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14583 (test_prefixed_syscall,test_int3): New tests.
14584 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14585 (test_prefixed_syscall,test_int3): New tests.
14586
14587 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
14588
14589 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14590 (mi_expect_interrupt): Likewise.
14591 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14592 response.
14593
14594 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14595
14596 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14597 * gdb.base/pc-fp.exp (get_valueofx): Remove.
14598 Replace calls to get_valueofx by get_hexadecimal_valueof.
14599
14600 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14601
14602 * lib/gdb.exp (get_valueof): Accept anything as a return value.
14603 (get_integer_valueof): New procedure.
14604 (get_sizeof): Use new get_integer_value_of.
14605 * gdb.base/sizeof.exp: Replace all uses of get_valueof
14606 by get_integer_valueof.
14607
14608 2009-02-13 Tom Tromey <tromey@redhat.com>
14609
14610 * gdb.base/remote.exp (get_sizeof): Remove.
14611 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
14612 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
14613 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
14614 * lib/gdb.exp (get_valueof): Move from long_long.exp.
14615 (get_sizeof): Likewise.
14616
14617 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14618
14619 PR fortran/9806
14620 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
14621
14622 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14623
14624 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
14625
14626 2009-02-06 Pedro Alves <pedro@codesourcery.com>
14627
14628 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
14629
14630 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14631
14632 * gdb.python/python-cmd.exp: New file.
14633
14634 2009-02-06 Tristan Gingold <gingold@adacore.com>
14635
14636 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
14637
14638 2009-02-05 Tristan Gingold <gingold@adacore.com>
14639
14640 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
14641 pointer is dereferenced and use this signal name in regexp.
14642 * gdb.base/signull.exp: Ditto.
14643 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
14644 * gdb.base/signull.c (main): Ditto.
14645
14646 2009-02-04 Tom Tromey <tromey@redhat.com>
14647 Thiago Jung Bauermann <bauerman@br.ibm.com>
14648
14649 * gdb.python/python-value.exp: Use `gdb.history' instead of
14650 `gdb.value_from_history'.
14651 (test_value_numeric_ops): Add test for conversion of enum constant.
14652 * gdb.python/python-value.c (enum e): New type.
14653 (evalue): New global.
14654 (main): Use argv.
14655
14656 2009-02-04 Jerome Guitton <guitton@adacore.com>
14657
14658 * gdb.ada/uninitialized_vars: New test program.
14659 * gdb.ada/uninitialized_vars.exp: New testcase.
14660
14661 2009-02-02 Tom Tromey <tromey@redhat.com>
14662
14663 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
14664 * gdb.cp/pr2489.cc: Rename...
14665 * gdb.cp/pr9594.cc: ... to this.
14666
14667 2009-02-02 Tom Tromey <tromey@redhat.com>
14668
14669 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
14670 * gdb.cp/pr2489.cc: New file.
14671 * gdb.cp/cpcompletion.exp: New file.
14672
14673 2009-02-02 Tom Tromey <tromey@redhat.com>
14674
14675 PR exp/9059:
14676 * gdb.cp/call-c.exp: Add regression test.
14677 * gdb.cp/call-c.cc (FooHandle): New typedef.
14678 (main): New variable 'handle'.
14679
14680 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14681
14682 * lib/mi-support.exp (et_mi_thread_list)
14683 (check_mi_and_console_threads): Adjust for current thread in
14684 -thread-list-ids output.
14685
14686 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14687
14688 * gdb.mi/mi-break.exp (test_disabled_creation): New.
14689 Call it.
14690
14691 2009-01-28 Doug Evans <dje@google.com>
14692
14693 * gdb.arch/amd64-disp-step.S: New file.
14694 * gdb.arch/amd64-disp-step.exp: New file.
14695 * gdb.arch/i386-disp-step.S: New file.
14696 * gdb.arch/i386-disp-step.exp: New file.
14697
14698 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
14699
14700 * gdb.base/find.exp: Set newline variable
14701 using quotes instead of braces to fix cygwin failures.
14702
14703 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14704
14705 * gdb.base/radix.exp: Add tests to ensure that that set
14706 input-radix 0 and set output-radix 0 are really rejected.
14707
14708 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14709
14710 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
14711 copyright years.
14712
14713 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14714
14715 PR gdb/9664:
14716 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
14717
14718 2009-01-22 Pedro Alves <pedro@codesourcery.com>
14719
14720 PR c++/9631:
14721 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
14722
14723 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
14724
14725 * gdb.server/file-transfer.exp: Use EXEEXT variable for
14726 binfile definition to fix Windows OS failure.
14727
14728 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14729
14730 PR gdb/9346
14731 * gdb.base/interrupt.c (sigint_handler): New.
14732 (main): Install a SIGINT handler if SIGNALS is defined. Exit
14733 on error.
14734 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
14735 Test "signal SIGINT".
14736
14737 2009-01-19 Doug Evans <dje@google.com>
14738
14739 * gdb.base/break.exp: Update expected gdb output.
14740 * gdb.base/sepdebug.exp: Ditto.
14741 * gdb.mi/mi-syn-frame.exp: Ditto.
14742 * gdb.mi/mi2-syn-frame.exp: Ditto.
14743 * gdb.base/call-signal-resume.exp: New file.
14744 * gdb.base/call-signals.c: New file.
14745 * gdb.base/unwindonsignal.exp: New file.
14746 * gdb.base/unwindonsignal.c: New file.
14747 * gdb.threads/interrupted-hand-call.exp: New file.
14748 * gdb.threads/interrupted-hand-call.c: New file.
14749 * gdb.threads/thread-unwindonsignal.exp: New file.
14750
14751 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
14752
14753 * gdb.base/define.exp: Test defining and hooking prefix commands.
14754 * gdb.python/python.exp: Update test for "show user" output.
14755
14756 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14757
14758 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
14759 now the output exactly, using less wildcards. Expect also the output
14760 of gfortran-4.3. Update for the f-valprint.c modification from
14761 2008-04-22.
14762 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
14763 Remove gdb_test test names where matching the command.
14764
14765 2009-01-01 Pedro Alves <pedro@codesourcery.com>
14766
14767 PR breakpoints/9681:
14768 * gdb.base/watchpoint.exp: Add regression test.
14769
14770 2008-12-31 Pedro Alves <pedro@codesourcery.com>
14771
14772 * gdb.threads/attach-into-signal.exp: Don't use
14773 gdb_suppress_entire_file.
14774 * gdb.threads/attach-stopped.exp: Ditto.
14775 * gdb.threads/attachstop-mt.exp: Ditto.
14776
14777 2008-12-31 Pedro Alves <pedro@codesourcery.com>
14778
14779 PR gdb/8812:
14780 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
14781
14782 2008-12-29 Pedro Alves <pedro@codesourcery.com>
14783
14784 PR gdb/7536:
14785 * gdb.base/radix.exp: Add tests to ensure invalid input radices
14786 and unsupported output radices are really rejected.
14787
14788 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14789
14790 * gdb.cp/punctuator.exp: Backslash the '$' signs.
14791
14792 2008-12-22 Tom Tromey <tromey@redhat.com>
14793
14794 * gdb.cp/punctuator.exp: New file.
14795
14796 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14797
14798 * gdb.base/completion.exp (Completing non-existing component): New test.
14799
14800 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14801
14802 Fix for PR gdb/8648.
14803 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
14804 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
14805 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
14806 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
14807
14808 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14809
14810 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
14811
14812 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
14813
14814 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
14815 compiler actually generate code at the expected line number.
14816
14817 2008-12-15 Jie Zhang <jie.zhang@analog.com>
14818
14819 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
14820
14821 2008-12-12 Tom Tromey <tromey@redhat.com>
14822
14823 * gdb.base/commands.exp (redefine_hook_test): New proc.
14824 Call it.
14825
14826 2008-12-11 Tom Tromey <tromey@redhat.com>
14827
14828 * gdb.base/macscp.exp: New regression test.
14829
14830 2008-12-11 Tom Tromey <tromey@redhat.com>
14831
14832 * gdb.base/macscp.exp: Print "address.addr".
14833 * gdb.base/macscp1.c (struct outer): New struct.
14834 (address): New global.
14835
14836 2008-12-09 Tom Tromey <tromey@redhat.com>
14837
14838 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14839 Call it.
14840
14841 2008-12-04 Doug Evans <dje@google.com>
14842
14843 * gdb.server/ext-run.exp: Relax regexp for init program.
14844
14845 2008-12-03 Tristan Gingold <gingold@adacore.com>
14846
14847 * gdb.base/macscp.exp: Generate an object file during compilation
14848 to work around Darwin dsymutil limitations.
14849
14850 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14851
14852 Test resolving external references to TLS variables.
14853 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14854 FILE2_THREAD_LOCAL.
14855 (testfile2, srcfile2): New variables.
14856 * gdb.threads/tls.c (file2_thread_local)
14857 (function_referencing_file2_thread_local): New.
14858 * gdb.threads/tls2.c: New file.
14859
14860 2008-11-28 Joel Brobecker <brobecker@adacore.com>
14861
14862 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
14863 rather than integer, as integer might not be big enough when
14864 on 64bit targets.
14865
14866 2008-11-27 Jerome Guitton <guitton@adacore.com>
14867
14868 * gdb.cp/formatted-ref.exp: Add equality test.
14869 * gdb.ada/formatted_ref.exp: Ditto.
14870
14871 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14872
14873 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14874 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14875
14876 2008-11-20 Andreas Schwab <schwab@suse.de>
14877
14878 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14879 matching syscall entry point.
14880 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14881 (tcatch_vfork_then_child_follow): Likewise. Finish through
14882 vfork even if we stopped at the syscall trampoline.
14883
14884 2008-11-20 Doug Evans <dje@google.com>
14885
14886 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14887
14888 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
14889
14890 * gdb.arch/ppc-dfp.exp: New file.
14891 * gdb.arch/ppc-dfp.c: New file.
14892
14893 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14894
14895 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
14896
14897 2008-11-17 Doug Evans <dje@google.com>
14898
14899 * gdb.mi/mi-syn-frame.exp: Update expected output.
14900 * gdb.mi/mi2-syn-frame.exp: Update expected output.
14901
14902 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14903
14904 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
14905 "thread N" results in =thread-selected.
14906 * lib/mi-support (mi_run_cmd, mi_expect_stop)
14907 (mi_send_resuming_command_raw): Be prepared for
14908 =thread-selected.
14909
14910 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14911
14912 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14913 * lib/mi-support.exp: Likewise.
14914
14915 2008-11-16 Joel Brobecker <brobecker@adacore.com>
14916
14917 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14918 commands from the expected output for "help catch".
14919
14920 2008-11-15 Joel Brobecker <brobecker@adacore.com>
14921
14922 * gdb.ada/int_deref.exp: New testcase.
14923
14924 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
14925
14926 * gdb.mi/gdb2549.exp: New file.
14927
14928 2008-11-11 Doug Evans <dje@google.com>
14929
14930 * gdb.base/callexit.exp: New file.
14931 * gdb.base/callexit.c: New file.
14932
14933 2008-11-10 Doug Evans <dje@google.com>
14934
14935 * lib/gdb.exp (GDBFLAGS): Move -nx ...
14936 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
14937 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14938 (default_gdb_start,default_gdb_exit): Ditto.
14939 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14940 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14941 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14942 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14943 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14944 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14945
14946 2008-11-03 Andreas Schwab <schwab@suse.de>
14947
14948 * gdb.base/hashline2.exp: Fix typo.
14949 * gdb.base/hashline3.exp: Likewise.
14950
14951 2008-10-30 Tom Tromey <tromey@redhat.com>
14952
14953 * gdb.base/pointers.exp: Add test.
14954 * gdb.base/pointers.c (k, S): New typedefs.
14955 (instance): New global.
14956
14957 2008-10-30 Andreas Schwab <schwab@suse.de>
14958
14959 * gdb.base/args.exp: Add tests for newlines.
14960
14961 2008-10-30 Joel Brobecker <brobecker@adacore.com>
14962
14963 gdb.base/foll-exec.exp: Update the expected output of a couple
14964 of "info breakpoints" tests.
14965
14966 2008-10-28 Tom Tromey <tromey@redhat.com>
14967
14968 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14969
14970 2008-10-24 Pedro Alves <pedro@codesourcery.com>
14971
14972 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14973 gdb_start_cmd.
14974 Use runto_main before any test that requires execution.
14975
14976 2008-10-23 Pedro Alves <pedro@codesourcery.com>
14977
14978 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14979 instead of SIGINT.
14980
14981 2008-10-22 Joel Brobecker <brobecker@adacore.com>
14982
14983 * gdb.base/completion.exp: Update expected output following
14984 the addition of the "info tasks" command.
14985
14986 2008-10-22 Tom Tromey <tromey@redhat.com>
14987
14988 * gdb.base/exprs.exp (test_expr): Add test for string
14989 concatenation.
14990
14991 2008-10-19 Pedro Alves <pedro@codesourcery.com>
14992
14993 * configure.ac: Output gdb.python/Makefile.
14994 * configure: Regenerate.
14995 * gdb.python/Makefile.in: New.
14996
14997 2008-10-16 Joel Brobecker <brobecker@adacore.com>
14998
14999 * gdb.base/foll-fork.exp: Adjust the expected output to match
15000 the new description for fork/vfork catchpoints in the "info
15001 breakpoints" output.
15002
15003 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
15004
15005 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
15006
15007 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15008
15009 * gdb.python/python-value.c: New file.
15010 * gdb.python/python-value.exp: New file.
15011
15012 2008-10-15 Pedro Alves <pedro@codesourcery.com>
15013
15014 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
15015
15016 2008-10-15 Denis Pilat <denis.pilat@st.com>
15017
15018 * gdb.cp/mb-ctor.exp: Fix a typo.
15019
15020 2008-10-09 Tom Tromey <tromey@redhat.com>
15021
15022 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
15023 'fprintf' and 'stderr'.
15024
15025 2008-10-07 Joel Brobecker <brobecker@adacore.com>
15026
15027 * gdb.ada/ref_tick_size.exp: New testcase.
15028
15029 2008-10-06 Doug Evans <dje@google.com>
15030
15031 * gdb.dwarf2/dw2-cu-size.exp: New file.
15032 * gdb.dwarf2/dw2-cu-size.S: New file.
15033
15034 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
15035 .Ltype_int for clarity.
15036
15037 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15038
15039 PR gdb/2384:
15040 * gdb.cp/gdb2384.exp: Extended to test more cases.
15041 * gdb.cp/gdb2384.cc: Likewise.
15042 * gdb.cp/gdb2384-base.h: Likewise.
15043 * gdb.cp/gdb2384-base.cc: Likewise.
15044
15045 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15046
15047 * gdb.base/maint.exp (maint print type): Remove printing
15048 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
15049
15050 2008-09-30 Tom Tromey <tromey@redhat.com>
15051
15052 * gdb.base/macscp.exp: Add completion tests.
15053 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
15054 (TWENTY_THREE): Likewise.
15055 (FORTY_EIGHT): Likewise.
15056
15057 2008-09-30 Tom Tromey <tromey@redhat.com>
15058
15059 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
15060 everywhere.
15061 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
15062
15063 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15064
15065 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15066 testcase is derived from. Fix racy dependency on an expected PID
15067 number. No longer support the testcase on Linux kernel 2.4.x.
15068
15069 2008-09-27 Tom Tromey <tromey@redhat.com>
15070
15071 * gdb.base/macscp.exp: Add tests for stringification, splicing,
15072 and varargs.
15073
15074 2008-09-22 Pedro Alves <pedro@codesourcery.com>
15075
15076 * lib/mi-support.exp (mi_expect_interrupt): New.
15077 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15078 from gdb.mi/mi-nonstop.exp.
15079 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15080 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15081 lib/mi-support.exp.
15082 Use mi_check_thread_states throughout. Avoid ".*" and do not
15083 require an anchor after -exec-run.
15084
15085 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15086
15087 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15088 stop is pending. Avoid ".*" when two stops are pending.
15089 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15090 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15091 newlines in fullnames.
15092 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15093 (mi_expect_stop): Update comments. Only anchor in sync mode.
15094 Do not match newlines.
15095 (mi_send_resuming_command_raw): Always return status.
15096 (mi_get_stop_line): Do not match more than one line by accident.
15097 Only anchor in sync mode.
15098 (mi_run_inline_test): If -exec-next fails, give up.
15099
15100 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15101
15102 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15103 on SPU.
15104
15105 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15106
15107 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15108
15109 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15110
15111 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15112 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15113 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15114 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15115 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15116 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15117 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15118 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15119 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15120 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15121 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15122 Include the "= " sequence in the expected output of print tests.
15123
15124 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15125
15126 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15127 description for boolean types.
15128
15129 2008-09-09 Pedro Alves <pedro@codesourcery.com>
15130
15131 * gdb.base/hook-stop-continue.c: New.
15132 * gdb.base/hook-stop-continue.exp: New.
15133
15134 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15135
15136 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15137
15138 2008-09-08 Jerome Guitton <guitton@adacore.com>
15139
15140 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15141 (stack_check_probe_2, stack_check_probe_loop_1)
15142 (stack_check_probe_loop_2): New functions.
15143 (main): Add call to these new functions.
15144 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15145 functions, check that the breakpoint is inserted at the appropriate
15146 location.
15147 (insert_breakpoint): Slightly refine this procedure so that it can
15148 be called several times in the test.
15149
15150 2008-09-08 Jerome Guitton <guitton@adacore.com>
15151
15152 * gdb.base/stack-checking.c: New file.
15153 * gdb.base/stack-checking.exp: New file.
15154
15155 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15156
15157 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15158 * gdb.arch/altivec-regs.exp: Likewise.
15159 * gdb.arch/vsx-regs.exp: Likewise.
15160
15161 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15162
15163 * gdb.arch/ppc-fp.exp: New file.
15164 * gdb.arch/ppc-fp.c: New file.
15165
15166 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15167
15168 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15169 lest gcc-4.3.1 optimizes the whole thing away.
15170
15171 2008-09-04 Michael Snyder <msnyder@vmware.com>
15172
15173 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15174 as "at" (for non-debug functions such as _start).
15175
15176 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15177
15178 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15179 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15180 software watchpoints.
15181 * gdb.base/watch_thread_num.exp: Likewise.
15182
15183 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15184
15185 * gdb.arch/i386-bp_permanent.exp: New test.
15186
15187 2008-08-24 Tom Tromey <tromey@redhat.com>
15188
15189 * gdb.base/maint.exp: Update "maint print type".
15190
15191 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15192
15193 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15194 support. Adjust the order of "*running" notifications.
15195 * gdb.mi/non-stop.c: Don't cast from int to void* and
15196 back.
15197
15198 2008-08-20 Mark Kettenis <kettenis@gnu.org>
15199
15200 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15201 expect to find it in the "info frame" output.
15202
15203 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15204
15205 * gdb.base/interp.exp: Always consume both prompts.
15206
15207 2008-08-20 Pedro Alves <pedro@codesourcery.com>
15208
15209 * gdb.base/pending.exp: Test pending breakpoints without symbols
15210 loaded.
15211
15212 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15213
15214 * lib/mi-support.exp (mi_expect_stop): Produce
15215 more details on failures.
15216 * gdb.mi/mi-nonstop.exp: New.
15217 * gdb.mi/non-stop.c: New.
15218
15219 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15220
15221 * gdb.mi/mi-async.exp: Use 'set target-async'.
15222 * lib/mi-support.exp: Use 'set/show target-async'.
15223
15224 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15225
15226 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15227
15228 2008-08-17 Tom Tromey <tromey@redhat.com>
15229
15230 * gdb.base/help.exp (help catch): Rewrite.
15231
15232 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15233
15234 * gdb.base/define.exp: Test indented command documentation.
15235 * gdb.python/python.exp: Test indented multi-line command.
15236
15237 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
15238
15239 * testsuite/gdb.arch/vsx-regs.c: New source file.
15240 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15241 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15242
15243 2008-08-14 Tom Tromey <tromey@redhat.com>
15244
15245 * gdb.base/macscp.exp: Add regression test for "macro define" or
15246 "macro undef" with no arguments.
15247
15248 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15249
15250 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
15251
15252 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15253
15254 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15255
15256 2008-08-06 Tom Tromey <tromey@redhat.com>
15257
15258 * gdb.python/python.exp: New file.
15259
15260 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15261
15262 Fix for PR gdb/1543.
15263 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15264 $LOCATION.
15265 (location): New variable.
15266 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15267 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15268 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15269 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15270 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15271 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15272 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15273 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15274 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15275 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15276 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15277 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15278 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15279 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15280 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15281 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15282 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15283 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15284 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15285 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15286 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15287 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15288 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15289 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15290 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15291 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15292 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15293 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15294 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15295 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15296 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15297 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15298 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15299 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15300 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15301 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15302 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15303 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15304 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15305 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15306 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15307 gdb.base/type-opaque.exp, gdb.base/until.exp,
15308 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15309 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15310 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15311 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15312 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15313 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15314 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15315 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15316 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15317 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15318 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15319 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15320 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15321 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15322 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15323 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15324 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15325 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15326 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15327 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15328 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15329 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15330 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15331 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15332 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15333 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15334 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15335 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15336 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15337 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15338 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15339 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15340 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15341 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15342 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15343 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15344 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15345 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15346 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15347 to bug-gdb@prep.ai.mit.edu .
15348
15349 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15350
15351 * lib/mi-support.exp (mi_load_shlibs): New.
15352 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15353
15354 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15355
15356 * lib/mi-support.exp (get_mi_thread_list)
15357 (check_mi_and_console_threads): New, moved from ...
15358 * gdb.mi/mi-pthread.exp: ...here.
15359 * gdb.mi/gdb669.exp (get_mi_thread_list)
15360 (check_mi_and_console_threads): Delete.
15361 * gdb.mi/mi2-pthread.exp: Likewise.
15362
15363 2008-07-28 Tom Tromey <tromey@redhat.com>
15364
15365 * Makefile.in (just-check): Remove. Move body to...
15366 (check): ... here.
15367
15368 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15369
15370 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15371 Add a test for duplicated SIGINTs.
15372
15373 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15374
15375 * gdb.threads/schedlock.exp (get_args): Update to work for any
15376 value of NUM.
15377 (Top level): Report the number of threads that did not resume.
15378
15379 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15380
15381 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15382
15383 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15384
15385 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15386 non-MI prompt.
15387
15388 2008-07-26 Tom Tromey <tromey@redhat.com>
15389
15390 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15391 (function_struct, function_struct_ptr): New globals.
15392 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15393 function pointer in a struct.
15394
15395 2008-07-26 Tom Tromey <tromey@redhat.com>
15396
15397 * gdb.base/macscp.exp: Add test for macro lexing bug.
15398
15399 2008-07-18 Tom Tromey <tromey@redhat.com>
15400
15401 * gdb.base/macscp.exp: Add macro tests.
15402
15403 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15404
15405 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15406
15407 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15408
15409 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15410
15411 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15412
15413 * gdb.cp/class2.exp: fix for failure on spu-elf
15414
15415 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15416
15417 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
15418
15419 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15420
15421 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15422
15423 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15424
15425 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15426
15427 2008-07-11 Kevin Buettner <kevinb@redhat.com>
15428
15429 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15430 of regexp to account for changes made to GDB in the printing of
15431 byte vectors.
15432
15433 2008-07-11 Tom Tromey <tromey@redhat.com>
15434
15435 * gdb.base/completion.exp: Add 'help' completion test.
15436
15437 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15438
15439 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15440
15441 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15442
15443 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15444
15445 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15446
15447 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15448
15449 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15450
15451 * gdb.base/fullname.exp: Restore pwd if compiling failed.
15452
15453 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15454
15455 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15456
15457 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15458
15459 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15460 previous commit. Add a comment.
15461
15462 2008-06-28 Pedro Alves <pedro@codesourcery.com>
15463
15464 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15465
15466 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15467
15468 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15469
15470 2008-06-27 Pedro Alves <pedro@codesourcery.com>
15471
15472 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15473 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15474 compiling an executable, link in an object that forces unbuffered
15475 output.
15476 * lib/set_unbuffered_mode.c: New file.
15477
15478 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15479
15480 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15481
15482 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
15483
15484 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15485 mi_expect_stop.
15486 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15487 Demand that *running is output.
15488 (detect_async): Perform checking every time.
15489 (mi_send_resuming_command): Extract everything into...
15490 (mi_send_resuming_command_raw): ...this.
15491 (mi_expect_stop): Don't accept any output before *stopped.
15492
15493 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
15494
15495 Robustify mi-simplerun.
15496 * gdb.mi/basics.c (main): Add a call to sleep.
15497 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15498 * gdb.mi/mi2-cli.exp: Likewise.
15499 * gdb.mi/mi-break.exp: Likewise.
15500
15501 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
15502
15503 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15504
15505 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15506
15507 * gdb.mi/mi-console.exp: Adjust.
15508 * gdb.mi/mi-syn-frame.exp: Adjust.
15509 * gdb.mi/mi2-console.exp: Adjust.
15510 * gdb.mi/mi2-syn-frame.exp: Adjust.
15511 * lib/mi-support.exp (mi_run_cmd): Adjust.
15512 (mi_send_resuming_command): Adjust.
15513
15514 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15515
15516 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
15517 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15518 testing of stopped.
15519 * gdb.mi/mi2-syn-frame.exp: Likewise.
15520 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15521 (async, detect_async): New.
15522 (mi_expect_stop, mi_continue_to_line): Adjust expectation
15523 depending on if we're running in sync or async mode.
15524
15525 2008-06-09 Tom Tromey <tromey@redhat.com>
15526
15527 * gdb.base/completion.exp: New tests for field name completion
15528 with spaces, and field name completion with '->'.
15529
15530 2008-06-06 Tom Tromey <tromey@redhat.com>
15531
15532 * gdb.base/break1.c (struct some_struct): New struct.
15533 (values): New global.
15534 * gdb.base/completion.exp: Add field name completion test.
15535
15536 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15537
15538 * gdb.cp/call-c.exp: Test for incorrect handling of reference
15539 to pointer.
15540 * gdb.cp/call-c.cc: Likewise.
15541
15542 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
15543
15544 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15545 annotation.
15546
15547 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15548 Pedro Alves <pedro@codesourcery.com>
15549
15550 * gdb.threads/execl.c, gdb.threads/execl1.c,
15551 gdb.threads/execl.exp: New tests.
15552
15553 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
15554 Daniel Jacobowitz <dan@codesourcery.com>
15555
15556 * gdb.cp/exception.exp: Activate test, make it work with pending
15557 catchpoints.
15558
15559 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15560
15561 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15562
15563 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
15564
15565 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15566 now printed.
15567 * gdb.mi/mi2-var-cmd.exp: Likewise.
15568
15569 2008-05-27 Andreas Schwab <schwab@suse.de>
15570
15571 * gdb.base/frame-args.exp: Handle arguments that are optimized
15572 out.
15573
15574 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
15575
15576 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15577 quiet for ppc32 and group options into a single variable.
15578
15579 2008-05-23 Joel Brobecker <brobecker@adacore.com>
15580
15581 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15582 of zero-size elements.
15583 * gdb.ada/null_array.exp: Test printing this new array.
15584
15585 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15586
15587 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15588
15589 2008-05-21 Joel Brobecker <brobecker@adacore.com>
15590
15591 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15592 of the "finish" command.
15593
15594 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
15595
15596 * gdb.base/annota1.exp: Test for new annotation.
15597
15598 2008-05-16 Pedro Alves <pedro@codesourcery.com>
15599
15600 * gdb.base/fixsection.exp: New file.
15601 * gdb.base/fixsection0.c: New file.
15602 * gdb.base/fixsection1.c: New file.
15603
15604 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15605
15606 * gdb.base/annota1.exp: Accept printf@... in place of printf.
15607 * gdb.base/annota3.exp: Likewise.
15608
15609 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
15610
15611 * gdb.base/watch_thread_num.exp: Don't run tests that require
15612 watchpoints if the target doesn't support them.
15613
15614 2008-05-12 Doug Evans <dje@google.com>
15615
15616 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
15617
15618 2008-05-09 Joel Brobecker <brobecker@adacore.com>
15619
15620 * gdb.ada/assign_1.exp: New testcase.
15621
15622 2008-05-09 Doug Evans <dje@google.com>
15623
15624 * gdb.base/find.exp: New file.
15625 * gdb.base/find.c: New file.
15626
15627 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
15628
15629 * gdb.base/commands.exp (watchpoint_command_test): Handle
15630 gdb,no_hardware_watchpoints.
15631 * gdb.base/float.exp: Allow ARM targets without floating point.
15632 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
15633
15634 2008-05-06 Jerome Guitton <guitton@adacore.com>
15635 Joel Brobecker <brobecker@adacore.com>
15636
15637 * gdb.ada/lang_switch: New test program.
15638 * gdb.ada/lang_switch.exp: New testcase.
15639
15640 2008-05-05 Doug Evans <dje@google.com>
15641
15642 * gdb.base/help.exp (disassemble): Update expected help text.
15643
15644 2008-05-04 Pedro Alves <pedro@codesourcery.com>
15645
15646 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
15647
15648 2008-05-04 Pedro Alves <pedro@codesourcery.com>
15649
15650 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
15651 different times.
15652
15653 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15654
15655 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
15656 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
15657 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
15658 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
15659
15660 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
15661
15662 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
15663 notification to appear.
15664
15665 2008-05-04 Daniel Jacobowitz <dan@debian.org>
15666
15667 * gdb.base/fullname.c: New file.
15668 * gdb.base/fullname.exp: New file.
15669 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
15670
15671 2008-05-03 Pedro Alves <pedro@codesourcery.com>
15672
15673 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
15674 expressions with macros.
15675
15676 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15677
15678 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
15679
15680 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
15681
15682 * gdb.base/completion.exp: Handle lack of other symbols beginning
15683 with "a".
15684
15685 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
15686
15687 2008-05-02 Jim Blandy <jimb@codesourcery.com>
15688
15689 * gdb.asm/asmsrc1.s: Add scratch space.
15690
15691 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15692 Daniel Jacobowitz <dan@codesourcery.com>
15693
15694 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
15695 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
15696 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
15697
15698 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
15699
15700 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
15701
15702 2008-05-01 Joel Brobecker <brobecker@adacore.com>
15703
15704 * gdb.base/info-target.exp: New testcase.
15705
15706 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15707
15708 * gdb.cp/hang.exp: Use .cc instead of .C.
15709 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
15710 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
15711
15712 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15713
15714 * gdb.base/gdb1250.exp: Remove perror.
15715 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
15716
15717 2008-04-30 Pedro Alves <pedro@codesourcery.com>
15718
15719 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
15720 .2byte.
15721
15722 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
15723
15724 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
15725 (maybe_kfail): New.
15726
15727 2008-04-25 Pedro Alves <pedro@codesourcery.com>
15728
15729 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
15730
15731 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15732
15733 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
15734 * gdb.mi/mi2-syn-frame.exp: Likewise.
15735 * lib/mi-support.exp: Likewise.
15736
15737 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15738
15739 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
15740 to specify regexp for the location to stop at.
15741 * gdb.base/break-always.c: New.
15742 * gdb.base/break-always.exp: New.
15743
15744 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15745
15746 * lib/mi-support.exp (mi_runto_helper): Adjust
15747 for the original-location field.
15748 (mi_create_breakpoint, mi_list_breakpoints): New.
15749 * gdb.mi/mi-break.exp: Adjust.
15750 * gdb.mi/mi2-break.exp: Adjust.
15751 * gdb.mi/mi-pending.exp: Adjust.
15752 * gdb.mi/mi-simplerun.exp: Adjust.
15753 * gdb.mi/mi2-simplerun.exp: Adjust.
15754 * gdb.mi/mi-syn-frame.exp: Adjust.
15755 * gdb.mi/mi2-syn-frame.exp: Adjust.
15756 * gdb.mi/mi-until.exp: Adjust.
15757 * gdb.mi/mi2-until.exp: Adjust.
15758 * gdb.mi/mi-var-display.exp: Adjust.
15759 * gdb.mi/mi2-var-display.exp: Adjust.
15760 * gdb.mi/mi-watch.exp: Adjust.
15761 * gdb.mi/mi2-watch.exp: Adjust.
15762
15763 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
15764
15765 * aclocal.m4: Add override.m4.
15766 * configure: Regenerate.
15767
15768 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
15769
15770 * gdb.mi/var-cmd.c (do_at_tests): Verify that
15771 '-var-update --all-values' reports new value even the type
15772 of a variable object has changed.
15773
15774 2008-04-18 Craig Silverstein <csilvers@google.com>
15775
15776 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
15777 files.
15778
15779 2008-04-18 Joel Brobecker <brobecker@adacore.com>
15780
15781 * gdb.ada/atomic_enum: New test program.
15782 * gdb.ada/atomic_enum.exp: New testcase.
15783
15784 2008-04-17 Doug Evans <dje@google.com>
15785
15786 * gdb.opt/Makefile.in: Fix whitespace.
15787
15788 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
15789
15790 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
15791
15792 2008-04-17 Doug Evans <dje@google.com>
15793
15794 * gdb.base/hashline1.exp: New testcase.
15795 * gdb.base/hashline2.exp: New testcase.
15796 * gdb.base/hashline2.exp: New testcase.
15797
15798 2008-04-17 Pedro Alves <pedro@codesourcery.com>
15799
15800 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
15801
15802 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
15803
15804 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
15805 temporary breakpoint to match "Temporary breakpoint".
15806 * gdb.base/break.exp (delete_breakpoints): Likewise.
15807 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
15808 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
15809 * gdb.base/display.exp: Likewise.
15810 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
15811 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
15812 * gdb.base/restore.exp (restore_tests): Likewise.
15813 * gdb.base/sepdebug.exp: Likewise.
15814 * gdb.base/watchpoint.exp: Likewise.
15815 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
15816 * gdb.mi/mi-pending.exp: Likewise.
15817 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
15818 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
15819 * gdb.mi/mi-var-cmd.exp: Likewise.
15820 * gdb.mi/mi-var-display.exp: Likewise.
15821 * gdb.mi/mi2-cli.exp: Likewise.
15822 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
15823 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
15824 * gdb.mi/mi2-var-display.exp: Likewise.
15825 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
15826 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
15827 new "disp" field.
15828 (mi_expect_stop): Move after_reason argument to be really after
15829 reason. This is to support fix for PR2424.
15830
15831 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15832
15833 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
15834
15835 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
15836
15837 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
15838 field. Add more floating varobj tests.
15839 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
15840 field.
15841 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15842 (main): Call do_at_tests.
15843 * lib/mi-support.exp (mi_create_floating_varobj)
15844 (mi_varobj_update_with_type_change): New.
15845
15846 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
15847
15848 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15849 option of -var-evaluate-expression.
15850 * gdb.mi/mi2-var-display.exp: Likewise.
15851
15852 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
15853
15854 Introduce test setup helpers.
15855 * lib/gdb.exp (build_executable, clean_restart)
15856 (prepare_for_testing): New.
15857 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15858 * gdb.base/return.exp: Likewise.
15859 * gdb.base/ending-run.exp: Likewise.
15860
15861 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
15862
15863 * gdb.mi/mi-async.exp: New test for asynchronous Machine
15864 Interface (MI) responses.
15865
15866 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
15867
15868 * gdb.cp/breakpoint.cc: New code to test conditions involving
15869 member variables.
15870 * gdb.cp/breakpoint.exp: Test condition involving member
15871 variables.
15872
15873 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
15874
15875 * lib/mi-support.exp (mi_expect_stop): New.
15876 (mi_run_cmd): Change the
15877 token. Use mi_send_resuming_command, use
15878 mi_expect_stop.
15879 (mi_execute_to_helper): Rename to mi_execute_to.
15880 (mi_send_resuming_command): Add more error patterns.
15881 (mi_wait_for_stop): Renamed to...
15882 (mi_get_stop_line): ...this.
15883 (mi_run_inline_test): Adjust.
15884
15885 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15886 * gdb.mi/mi-console.exp: Likewise.
15887 * gdb.mi/mi-pending.exp: Likewise.
15888 * gdb.mi/mi-simplerun.exp: Likewise.
15889 * gdb.mi/mi-stack.exp: Likewise.
15890 * gdb.mi/mi-stepi.exp: Likewise.
15891 * gdb.mi/mi-syn-frame.exp: Add comment.
15892 * gdb.mi/mi-until.exp: Likewise.
15893 * gdb.mi/mi-var-display.exp: Likewise.
15894 * gdb.mi/mi-watch.exp: Likewise.
15895 * gdb.mi/mi2-cli.exp: Likewise.
15896 * gdb.mi/mi2-console.exp: Likewise.
15897 * gdb.mi/mi2-simplerun.exp: Likewise.
15898 * gdb.mi/mi2-stack.exp: Likewise.
15899 * gdb.mi/mi2-stepi.exp: Likewise.
15900 * gdb.mi/mi2-until.exp: Likewise.
15901 * gdb.mi/mi2-var-display.exp: Likewise.
15902 * gdb.mi/mi2-watch.exp: Likewise.
15903
15904 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15905
15906 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15907
15908 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15909
15910 2008-04-04 Pedro Alves <pedro@codesourcery.com>
15911
15912 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15913 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15914 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15915 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15916 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15917 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15918 expect an mi error duplicated in stderr.
15919
15920 2008-04-03 Joel Brobecker <brobecker@adacore.com>
15921
15922 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15923 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15924 Add a couple of tests that verify the behavior when the new setting
15925 is set to "cancel" and "all".
15926 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15927 "ask" before we start the testing.
15928
15929 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
15930
15931 * gdb.cp/casts.cc: Add class reference variables.
15932 * gdb.cp/casts.exp: New test cases for up/down casting references.
15933
15934 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
15935
15936 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15937 instead of beginning to make an extra test pass.
15938 * gdb.mi/mi2-var-display.exp: Likewise.
15939
15940 2008-03-31 Maciej W. Rozycki <macro@mips.com>
15941
15942 * gdb.base/break.exp: Mark failures as such. Fix formatting.
15943
15944 2008-03-31 Markus Deuling <deuling@de.ibm.com>
15945 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15946
15947 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15948 value. Add xfail for older kernels.
15949
15950 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
15951
15952 Bring mi-support in line with gdb.exp.
15953 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15954 (mi_gdb_start): New function.
15955
15956 2008-03-28 Maciej W. Rozycki <macro@mips.com>
15957
15958 * gdb.mi/mi-var-cmd.exp: Fix a typo.
15959
15960 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15961
15962 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15963 * gdb.mi/mi2-var-display.exp: Likewise.
15964
15965 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15966
15967 * lib/mi-support.exp (mi_create_varobj_checked): New.
15968 (mi_list_varobj_children): Allow to check for a
15969 value.
15970 (mi_list_array_varobj_children): New.
15971
15972 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15973 and mi_list_varobj_children, as opposed to hardcoding
15974 expected strings.
15975 * gdb.mi/gdb701.exp: Likewise.
15976 * gdb.mi/gdb792.exp: Likewise.
15977 * gdb.mi/mi-var-block.exp: Likewise.
15978 * gdb.mi/mi-var-cmd.exp: Likewise.
15979 * gdb.mi/mi-var-invalidate.exp: Likewise.
15980 * gdb.mi/mi2-var-block.exp: Likewise.
15981 * gdb.mi/mi2-var-child.exp: Likewise.
15982 * gdb.mi/mi2-var-cmd.exp: Likewise.
15983 * gdb.mi/mi2-var-display.exp: Likewise.
15984
15985 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15986
15987 Fix random false FAILs on i386.
15988 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15989
15990 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15991
15992 PR gdb/544
15993 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15994
15995 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15996
15997 PR gdb/544
15998 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15999
16000 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16001
16002 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
16003 fixed PR gdb/544.
16004
16005 2008-03-21 Pedro Alves <pedro@codesourcery.com>
16006
16007 * gdb.threads/fork-child-threads.exp: Test next over fork.
16008
16009 2008-03-21 Chris Demetriou <cgd@google.com>
16010
16011 * gdb.base/break.exp (rbreak junk): New test for rbreak
16012 "Junk at end of arguments" issue.
16013
16014 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16015
16016 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
16017 *& to work on created array elements.
16018 (Top level): Test print $pc with a file. Test string operations
16019 without a target.
16020 * gdb.base/ptype.exp: Do not expect *& to work on created array
16021 elements.
16022
16023 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
16024
16025 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
16026 gdb.threads/staticthreads.exp: Update exit query.
16027
16028 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
16029
16030 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
16031
16032 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
16033
16034 * gdb.base/watchpoint.c (global_ptr, func4): New.
16035 (main): Call func4.
16036 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
16037 (test_inaccessible_watchpoint): New.
16038
16039 2008-02-29 Maciej W. Rozycki <macro@mips.com>
16040
16041 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
16042 select the largest.
16043
16044 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16045
16046 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
16047 frames-invalid annotations.
16048
16049 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
16050
16051 * gdb.base/assign.exp: avoid same output for different tests.
16052
16053 2008-02-27 Doug Evans <dje@google.com>
16054
16055 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
16056 for bug 1738.
16057 (breakpoint_to_handler_entry): Ditto.
16058
16059 2008-02-27 Joel Brobecker <brobecker@adacore.com>
16060
16061 * gdb.base/ending-run.exp: Use the first line of code inside
16062 function body to test breakpoints.
16063 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16064 location where the breakpoint is inserted when using the line
16065 where a function is declared. Fix typo in the description of
16066 one of the tests.
16067 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16068
16069 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16070
16071 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
16072 tests.
16073
16074 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16075
16076 * gdb.base/args.exp: avoid same output for tests
16077 with single quotes.
16078
16079 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16080
16081 * gdb.base/annota1.exp: Adjust for 'info break'
16082 format changes.
16083 * gdb.base/annota3.exp: Likewise.
16084 * gdb.base/break.exp: Likewise.
16085 * gdb.base/condbreak.exp: Likewise.
16086 * gdb.base/pending.exp: Likewise.
16087 * gdb.base/sepdebug.exp: Likewise.
16088 * gdb.base/unload.exp: Likewise.
16089 * gdb.cp/ovldbreak.exp: Likewise.
16090 * gdb.mi/mi-pending.exp: Likewise.
16091
16092 2008-02-07 Doug Evans <dje@google.com>
16093
16094 * gdb.cp/mb-inline.exp: New.
16095 * gdb.cp/mb-inline.h: New.
16096 * gdb.cp/mb-inline1.cc: New.
16097 * gdb.cp/mb-inline2.cc: New.
16098
16099 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16100
16101 * gdb.pascal/floats.pas: New test program.
16102 * gdb.pascal/floats.exp: New testcase.
16103
16104 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16105
16106 * gdb.base/callfuncs.c (t_float_many_args): New function.
16107 (t_double_many_args): New function.
16108 * gdb.base/callfuncs.exp: Add tests for exceeding float
16109 and double parameters passed through the stack.
16110
16111 2008-02-05 Joel Brobecker <brobecker@adacore.com>
16112
16113 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16114 gdb.ada/complete/foo.adb: New files.
16115 * gdb.ada/complete.exp: New testcase.
16116
16117 2008-02-03 Doug Evans <dje@google.com>
16118
16119 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16120
16121 * gdb.cp/gdb2384.exp: New file.
16122 * gdb.cp/gdb2384.cc: New file.
16123 * gdb.cp/gdb2384-base.h: New file.
16124 * gdb.cp/gdb2384-base.cc: New file.
16125
16126 2008-02-02 Doug Evans <dje@google.com>
16127
16128 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16129
16130 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16131
16132 * gdb.ada/sym_print_name: New test program.
16133 * gdb.ada/sym_print_name.exp: New testcase.
16134
16135 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16136
16137 * gdb.ada/nested/hello.adb: New file.
16138 * gdb.ada/nested.exp: New testcase.
16139 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16140
16141 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16142
16143 * gdb.mi/basic.c (return_1): New function.
16144 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16145 don't cause future evaluations of function to report
16146 creation of internal breakpoints.
16147
16148 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16149
16150 * gdb.mi/mi-break.exp (test_error): New.
16151 Call it.
16152
16153 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
16154
16155 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16156 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16157
16158 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16159
16160 * gdb.pascal/integers.pas: New test program.
16161 * gdb.pascal/integers.exp: New testcase.
16162
16163 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16164
16165 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16166
16167 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
16168
16169 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16170 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16171
16172 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16173
16174 * gdb.ada/formatted_ref: New test program.
16175 * gdb.ada/formatted_ref.exp: New testcase.
16176
16177 * gdb.cp/formatted-ref.cc: New file.
16178 * gdb.cp/formatted-ref.exp: New testcase.
16179
16180 2008-01-30 Joel Brobecker <brobecker@adacore.com>
16181
16182 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16183
16184 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
16185
16186 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16187 (test_file_list_exec_source_file): Update to new macro-info field.
16188
16189 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16190
16191 * gdb.ada/exprs: New test program.
16192 * gdb.ada/exprs.exp: New testcase.
16193
16194 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16195
16196 * dfp-test.c (DELTA, DELTA_B): New definitions.
16197 (double_val1, double_val2, double_val3, double_val4, double_val5,
16198 double_val6, double_val7, double_val8, double_val9, double_val10,
16199 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16200 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16201 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16202 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16203 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16204 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16205 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16206 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16207 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16208 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16209 dec128_val16): New global variables.
16210 (decimal_dec128_align): New function.
16211 (decimal_mixed): Likewise.
16212 (decimal_many_args_dec32): Likewise.
16213 (decimal_many_args_dec64): Likewise.
16214 (decimal_many_args_dec128): Likewise.
16215 (decimal_many_args_mixed): Likewise.
16216 * dfp-test.exp: Add tests calling new inferior functions.
16217
16218 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16219
16220 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16221 gdb.server/ext-run.exp: New files.
16222 * lib/gdbserver-support.exp (gdbserver_download): New.
16223 (gdbserver_start): New. Update gdbserver expected
16224 output.
16225 (gdbserver_spawn): Use them.
16226 (gdbserver_start_extended): New.
16227
16228 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16229
16230 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16231 Run on GNU/Linux.
16232 (do_exec_tests): Check for systems which do not support catchpoints.
16233 Do not match START.
16234 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16235 Run on GNU/Linux. Enable verbose output.
16236 (check_fork_catchpoints): New.
16237 (explicit_fork_child_follow, catch_fork_child_follow)
16238 (tcatch_fork_parent_follow): Update expected messages.
16239 (do_fork_tests): Use check_fork_catchpoints.
16240 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16241 Run on GNU/Linux. Enable verbose output.
16242 (check_vfork_catchpoints): New.
16243 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16244 expected messages.
16245 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16246
16247 2008-01-29 Jim Blandy <jimb@red-bean.com>
16248
16249 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16250 host' errors.
16251 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16252
16253 2008-01-29 Jim Blandy <jimb@red-bean.com>
16254
16255 * gdb.threads/sigthread.c: Use barriers to ensure that
16256 child_thread and child_thread_two are always initialized before we
16257 start to use them.
16258
16259 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16260
16261 * gdb.base/watchpoint-solib.exp: New.
16262 * gdb.base/watchpoint-solib.c: New.
16263 * gdb.base/watchpoint-solib-shr.c: New.
16264
16265 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16266
16267 * gdb.base/gdb1056.exp: Add unsigned integer test.
16268
16269 2008-01-28 Doug Evans <dje@google.com>
16270
16271 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16272
16273 2008-01-27 Jim Blandy <jimb@codesourcery.com>
16274
16275 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16276
16277 * gdb.base/expand-psymtabs.exp: Doc fix.
16278
16279 2008-01-26 Mark Kettenis <kettenis@gnu.org>
16280
16281 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16282
16283 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
16284
16285 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
16286 -var-set-format.
16287
16288 2008-01-23 Chris Demetriou <cgd@google.com>
16289
16290 * gdb.threads/thread_events.c: New testcase source file.
16291 * gdb.threads/thread_events.exp: New testcase expect file.
16292
16293 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
16294
16295 * lib/gdb.exp: Add the variable octal.
16296
16297 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
16298 -var-set-format.
16299
16300 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16301 Vladimir Prus <vladimir@codesourcery.com>
16302
16303 * gdb.base/float.exp: Allow missing floating point for m68k and
16304 PowerPC.
16305
16306 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16307
16308 * gdb.mi/basics.c: Setup for testing breakpoints
16309 ignore count.
16310 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16311 * gdb.mi/mi-cli.exp: Adjust.
16312 * gdb.mi/mi2-cli.exp: Adjust.
16313
16314 2008-01-17 Pedro Alves <pedro@codesourcery.com>
16315
16316 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16317 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16318 with dummy_ptr's address.
16319 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16320 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16321 all targets.
16322 * gdb.mi/mi2-var-child.exp: Likewise.
16323
16324 2008-01-09 Joel Brobecker <brobecker@adacore.com>
16325
16326 * gdb.ada/null_array: New test program.
16327 * gdb.ada/null_array.exp: New testcase.
16328
16329 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
16330
16331 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16332 with required float modifiers.
16333
16334 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16335
16336 * gdb.ada/funcall_param: New test program.
16337 * gdb.ada/funcall_param.exp: New testcase.
16338
16339 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16340
16341 * gdb.ada/arrayparam: New test program.
16342 * gdb.ada/arrayparam.exp: New testcase.
16343
16344 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16345
16346 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16347 landed. Should also fix random failures in the test following it.
16348
16349 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16350
16351 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16352 for expressions with decimal float values.
16353 (test_dfp_conversions): New function to test casts to and from
16354 decimal float types.
16355 Call test_dfp_conversions.
16356 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16357 elements.
16358 (main): Initialize ds.float4 and ds.double8 elements.
16359 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16360 string to new error message.
16361 (d64_set_tests): Likewise.
16362 (d128_set_tests): Likewise.
16363 Add tests for expressions with decimal float variables. Add tests for
16364 conversions to and from decimal float types.
16365
16366 2008-01-05 Joel Brobecker <brobecker@adacore.com>
16367
16368 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16369 * gdb.ada/packed_tagged.exp: New testcase.
16370
16371 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16372
16373 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16374 gdb.ada/homonym/homonym_main.adb: New files.
16375 * gdb.ada/homonym.exp: New testcase.
16376
16377 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16378
16379 * gdb.ada/packed_array.exp: Add testing of references to
16380 a packed array.
16381
16382 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16383
16384 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16385 New files.
16386 * gdb.ada/type_coercion.exp: New testcase.
16387
16388 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16389
16390 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16391 gdb.ada/tagged/foo.adb: New file.
16392 * gdb.ada/tagged.exp: New testcase.
16393
16394 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16395
16396 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16397 gdb.ada/ptype_field/foo.adb: New files.
16398 * gdb.ada/ptype_field.exp: New testcase.
16399
16400 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16401
16402 * gdb.ada/print_pc.exp: New testcase.
16403
16404 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16405
16406 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16407 gdb.ada/taft_type/p.adb: New files.
16408 * gdb.ada/taft_type.exp: New testcase.
16409
16410 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16411
16412 * gdb.ada/array_bounds/bar.adb: New file.
16413 * gdb.ada/array_bounds.exp: New testcase.
16414
16415 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16416
16417 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16418 gdb.ada/arrayptr/foo.adb: New files.
16419 * gdb.ada/arrayptr.exp: New testcase.
16420
16421 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16422
16423 * gdb.base/set-lang-auto.exp: New testcase.
16424
16425 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16426
16427 * gdb.ada/fun_addr/foo.adb: New file.
16428 * gdb.ada/fun_addr.exp: New testcase.
16429
16430 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16431
16432 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16433 New files
16434
16435 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16436
16437 * array_subscript_addr/p.adb: New file.
16438 * array_subscript_addr.exp: New testcase.
16439
16440 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16441
16442 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
16443 New files.
16444 * gdb.ada/str_cmp_ref.exp: New testcase.
16445
16446 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16447
16448 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16449 gdb.ada/fun_in_declare/foo.adb: New files.
16450 * gdb.ada/fun_in_declare.exp: New testcase.
16451
16452 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16453
16454 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16455 gdb.ada/ref_param/pck.ads: New files.
16456 * gdb.ada/ref_param.exp: New testcase.
16457
16458 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16459
16460 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16461 gdb.ada/interface/foo.adb: New files.
16462 * gdb.ada/interface.exp: New testcase.
16463
16464 2007-12-31 Jim Blandy <jimb@codesourcery.com>
16465
16466 * gdb.base/multi-forks.exp: Consume all output from child
16467 processes before proceeding to next test.
16468
16469 2007-12-29 Jim Blandy <jimb@codesourcery.com>
16470
16471 * configure: Regenerated.
16472
16473 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16474
16475 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16476 gdb.ada/fixed_cmp/fixed.adb: New files.
16477 * gdb.ada/fixed_cmp.exp: New testcase.
16478
16479 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16480
16481 * gdb.ada/boolean_expr.exp: New testcase.
16482
16483 2007-12-26 Jim Blandy <jimb@codesourcery.com>
16484
16485 * gdb.base/multi-forks.exp: Doc fix.
16486
16487 2007-12-26 Joel Brobecker <brobecker@adacore.com>
16488
16489 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16490 * gdb.ada/char_param.exp: Do not compile our test program with
16491 -gnata, this is unnecessary.
16492 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16493
16494 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16495
16496 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16497 gdb.ada/print_chars/foo.adb: New files.
16498 * gdb.ada/print_chars.exp: New testcase.
16499
16500 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16501
16502 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16503 gdb.ada/char_param/foo.adb: New files.
16504 * gdb.ada/char_param.exp: New testcase.
16505
16506 2007-12-22 Jim Blandy <jimb@codesourcery.com>
16507
16508 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16509 hard-coding source line numbers into the test.
16510 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16511 gdb_get_line_number to find.
16512
16513 2007-12-22 Joel Brobecker <brobecker@adacore.com>
16514
16515 * gdb.base/ptype.c (highest): New struct type.
16516 (the_highest): New variable of that type.
16517 (main): Add dummy assignment to a field of variable the_highest.
16518 * gdb.base/ptype.exp: Test type printing of our new variable.
16519
16520 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
16521
16522 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
16523 and record first explicitly generated thread number.
16524 Use that thread number for thread specific watchpoint test.
16525 Add iteration number to repetitive tests.
16526
16527 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16528 Jim Blandy <jimb@codesourcery.com>
16529
16530 * gdb.base/expand-psymtabs.c: New testcase
16531 source file.
16532 * gdb.base/expand-psymtabs.exp: New testcase
16533 expect file.
16534
16535 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
16536
16537 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16538 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16539
16540 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16541
16542 * gdb.ada/frame_args/foo.adb: New file.
16543 * gdb.ada/frame_args/pck.ads: New file.
16544 * gdb.ada/frame_args/pck.adb: New file.
16545 * gdb.ada/frame_args.exp: New testcase.
16546
16547 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16548
16549 * gdb.base/frame-args.c: New file.
16550 * gdb.base/frame-args.exp: New testcase.
16551
16552 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
16553 Joseph Myers <joseph@codesourcery.com>
16554
16555 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16556
16557 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
16558
16559 * gdb.mi/mi-pending.exp: New.
16560 * gdb.mi/mi-pending.c: New.
16561 * gdb.mi/mi-pendshr.c: New.
16562
16563 2007-12-06 Jim Blandy <jimb@codesourcery.com>
16564
16565 * gdb.base/default.exp: Update expected output for 'info catch'.
16566
16567 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16568
16569 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16570 must be set to binary.
16571
16572 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
16573
16574 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16575
16576 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
16577
16578 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16579 gdb.mi/mi-file-transfer.exp: New.
16580
16581 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16582
16583 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16584
16585 2007-11-22 Maciej W. Rozycki <macro@mips.com>
16586
16587 * gdb.trace/backtrace.exp: Fix a typo.
16588 * gdb.trace/circ.exp: Likewise.
16589 * gdb.trace/collection.exp: Likewise.
16590 * gdb.trace/limits.exp: Likewise.
16591 * gdb.trace/report.exp: Likewise.
16592 * gdb.trace/tfind.exp: Likewise.
16593 * gdb.trace/while-dyn.exp: Likewise.
16594
16595 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
16596
16597 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16598 objects of pointers that can't be dereferenced are now
16599 "noneditable".
16600
16601 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16602
16603 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16604 (target_cpu): Remove.
16605
16606 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
16607
16608 * gdb.base/ending-run.exp: Expect the list of cleared
16609 breakpoint to come in natural order, not the reversed one.
16610
16611 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
16612
16613 * gdb.mi/mi-var-child.c (do_child_deletion): New.
16614 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
16615
16616 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
16617
16618 * gdb.base/printcmds.exp: New function
16619 test_printf_with_dfp.
16620
16621 2007-11-02 Doug Evans <dje@google.com>
16622
16623 * gdb.disasm/t01_mov.s: Remove carriage returns.
16624 * gdb.disasm/t02_mova.s: Ditto.
16625 * gdb.disasm/t03_add.s: Ditto.
16626 * gdb.disasm/t04_sub.s: Ditto.
16627 * gdb.disasm/t05_cmp.s: Ditto.
16628 * gdb.disasm/t06_ari2.s: Ditto.
16629 * gdb.disasm/t07_ari3.s: Ditto.
16630 * gdb.disasm/t08_or.s: Ditto.
16631 * gdb.disasm/t09_xor.s: Ditto.
16632 * gdb.disasm/t10_and.s: Ditto.
16633 * gdb.disasm/t11_logs.s: Ditto.
16634 * gdb.disasm/t12_bit.s: Ditto.
16635 * gdb.disasm/t13_otr.s: Ditto.
16636
16637 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16638
16639 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
16640
16641 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16642
16643 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
16644 provide DFP support.
16645
16646 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
16647
16648 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
16649 Test "set powerpc vector-abi". Skip auto-detection tests for old
16650 toolchains.
16651
16652 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16653
16654 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
16655 with [string compare].
16656
16657 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16658
16659 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
16660 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
16661
16662 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
16663
16664 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
16665 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
16666 * gdb.opt/Makefile.in: New makefile.
16667 * Makefile.in: Create new directory "gdb.opt".
16668 * configure.ac: Add "gdb.opt" directory.
16669 * configure: Regenerated.
16670
16671 2007-10-25 Doug Evans <dje@google.com>
16672
16673 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
16674 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
16675
16676 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
16677 Thiago Jung Bauermann <bauerman@br.ibm.com>
16678
16679 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
16680 Floating Point expressions.
16681 * gdb.base/dfp-test.exp: new file adding tests for Decimal
16682 Floating Point variables.
16683 * gdb.base/dfp-test.c: new file containing program with Decimal
16684 Floating variables, used by gdb.base/dfp-test.exp.
16685
16686 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
16687
16688 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
16689
16690 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16691
16692 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
16693 compiling test case with GCC.
16694 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
16695
16696 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16697
16698 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16699 format changes.
16700
16701 2007-10-18 Michael Snyder <msnyder@specifix.com>
16702
16703 * gdb.base/dbx.exp: Add missing "-re " operator.
16704
16705 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
16706
16707 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
16708 * configure.ac: Removed trailing spaces after backslash.
16709 * gdb.modula2: New directory.
16710 * gdb.modula2/Makefile.in: New file.
16711 * gdb.modula2/unbounded-array.exp: New file.
16712 * gdb.modula2/unbounded1.c: New file.
16713
16714 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
16715
16716 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
16717
16718 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
16719
16720 * gdb.base/sigstep.c (main): Add checks for
16721 return values for setitimer call.
16722 Call setitimer again with itimer = ITIMER_REAL
16723 if first call to setitimer fails.
16724
16725 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
16726
16727 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
16728 of $timeout.
16729
16730 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16731
16732 * gdb.server/server-run.exp: Test for dynamic linker symbols.
16733
16734 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
16735
16736 * lib/gdb.exp (gdb_run_cmd): Move comment outside
16737 of gdb_expect call, to avoid interruption.
16738
16739 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
16740
16741 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
16742 (v_unsigned_long_long, v_long_long_array)
16743 (v_signed_long_long_array, v_unsigned_long_long_array)
16744 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
16745 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
16746 [!NO_LONG_LONG]: New.
16747 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
16748 v_long_long_member.
16749
16750 (v_long_long_func, v_signed_long_long_func)
16751 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
16752 (main) [!NO_LONG_LONG]: Initialize long long variants.
16753
16754 * gdb.base/whatis.exp: If board file requests no_long_long, build
16755 test with NO_LONG_LONG defined. Test long long, signed long long,
16756 and unsigned long long variants but only if board file doesn't
16757 disable it.
16758
16759 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
16760 Daniel Jacobowitz <dan@codesourcery.com>
16761
16762 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
16763 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
16764 * configure: Regenerated.
16765 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
16766 gdb.pascal/types.exp, lib/pascal.exp: New files.
16767
16768 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
16769
16770 * gdb.cp/classes.exp (do_tests): Always step to the line after the
16771 call.
16772 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
16773 to return to the call.
16774 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
16775 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
16776 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
16777 * gdb.mi/mi-until.exp (test_until): Likewise.
16778 * gdb.mi/mi2-until.exp (test_until): Likewise.
16779
16780 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
16781
16782 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
16783 two-char array.
16784 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
16785
16786 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
16787
16788 * gdb.threads/watchthreads.c (thread_function): Sleep between
16789 iterations.
16790 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
16791 at once for S/390. Generate matching fails and passes.
16792
16793 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
16794
16795 * gdb.mi/var-cmd.c (do_children_tests): Initialize
16796 the 'struct_declarations' variable to zeros.
16797
16798 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
16799
16800 * gdb.cp/mb-ctor.cc: New.
16801 * gdb.cp/mb-ctor.exp: New.
16802 * gdb.cp/mb-templates.cc: New.
16803 * gdb.cp/mb-templates.exp: New.
16804
16805 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
16806
16807 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
16808
16809 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
16810
16811 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
16812 targets.
16813 * configure: Regenerate.
16814
16815 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
16816
16817 * gdb.base/annota1.exp: Adjust for 'info break'
16818 format changes.
16819 * gdb.base/annota3.exp: Likewise.
16820 * gdb.base/break.exp: Likewise.
16821 * gdb.base/condbreak.exp: Likewise.
16822 * gdb.base/pending.exp: Likewise.
16823 * gdb.base/sepdebug.exp: Likewise.
16824 * gdb.base/unload.exp: Likewise.
16825 * gdb.base/ovldbreak.exp: Likewise.
16826
16827 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
16828
16829 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
16830 messages.
16831 * gdb.base/chng-syms.exp: Likewise.
16832 * gdb.base/unload.exp: Likewise.
16833
16834 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
16835
16836 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
16837
16838 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
16839
16840 * schedlock.c (NUM): Change to 1.
16841 (main): Use args[0] for the main thread.
16842 * schedlock.exp: Only expect two threads. Only issue one pass or fail
16843 regardless of the number of threads.
16844
16845 2007-09-14 Maciej W. Rozycki <macro@mips.com>
16846
16847 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16848 type down.
16849 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16850 test.
16851 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16852 watchpoint type down.
16853 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16854 test.
16855
16856 2007-09-14 Maciej W. Rozycki <macro@mips.com>
16857
16858 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16859 Move all the tests here and run them twice, once using software
16860 watchpoints and once using hardware watchpoints.
16861 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16862
16863 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
16864
16865 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16866 test.
16867
16868 2007-09-10 Mark Kettenis <kettenis@gnu.org>
16869
16870 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16871 build-id.
16872
16873 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16874 know about $ORIGIN. Calculate output dir from $dest instead of
16875 using ${objdir}/{$subdir}.
16876
16877 2007-09-09 Mark Kettenis <kettenis@gnu.org>
16878
16879 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16880 gcore, before continuing with the test.
16881
16882 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
16883
16884 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16885 * gdb.mi/mi-watch.exp: Likewise.
16886
16887 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16888 Jim Blandy <jimb@codesourcery.com>
16889
16890 * gdb.arch/i386-sse.exp: Do not expect character constants.
16891 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16892 * gdb.base/display.exp: Allow print/s.
16893 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16894 and unsigned char array changes.
16895
16896 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16897
16898 * gdb.base/display.exp: Add tests for printf %p.
16899
16900 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
16901
16902 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16903 the dll name to unicode.
16904
16905 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16906
16907 * gdb.base/default.exp (show version): Update the version text.
16908 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16909
16910 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16911
16912 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16913 New files.
16914
16915 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16916
16917 * lib/gdb.exp (build_id_debug_filename_get): New function.
16918 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16919 Remove the generate DEBUG file for the future testcase runs.
16920 New testcase for the NT_GNU_BUILD_ID retrieval.
16921 Move the final testing step to ...
16922 (test_different_dir): ... a new function.
16923 New parameter XFAIL to XFAIL all the tests performed.
16924 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16925 New parameter TYPE to PF_PREFIX all the tests performed.
16926
16927 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
16928
16929 * gdb.mi/mi-var-cp.cc (path_expression): New
16930 function.
16931 * gdb.mi/mi-var-cp.exp: Run path exression tests.
16932
16933 2007-08-27 Markus Deuling <deuling@de.ibm.com>
16934
16935 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16936 to fit into SPU Local Store memory.
16937
16938 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16939
16940 * gdb.base/default.exp: Adjust the expected output of "info
16941 warranty" after the switch to GPLv3.
16942
16943 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16944
16945 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16946 to 30000 (from 20000).
16947
16948 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16949
16950 Switch the license of all .exp files to GPLv3.
16951 Switch the license of all .f and .f90 files to GPLv3.
16952 Switch the license of all .s and .S files to GPLv3.
16953
16954 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16955
16956 * configure.ac: Switch license to GPLv3.
16957
16958 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16959
16960 Switch the licensing to GPLv3 for all .ads and .adb files.
16961
16962 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
16963
16964 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16965 and t_int_double.
16966 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16967
16968 2007-08-17 Joel Brobecker <brobecker@adacore.com>
16969
16970 * gdb.base/step-line.c: Switch license to GPL version 3, and
16971 update copyright year.
16972 * gdb.base/step-line.inp: Likewise.
16973
16974 2007-08-17 Joel Brobecker <brobecker@adacore.com>
16975
16976 * gdb.base/gdb1555.exp: Make expected output immune to formatting
16977 changes inside gdb1555.c.
16978 * gdb.base/pending.exp: Likewise.
16979
16980 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
16981
16982 * config/default.exp: New file.
16983
16984 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16985
16986 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16987 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16988
16989 2007-07-30 Maciej W. Rozycki <macro@mips.com>
16990
16991 * gdb.base/dump.exp: Force the correct endianness for binary
16992 formats not carrying this information.
16993
16994 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16995
16996 * gdb.threads/staticthreads.exp: Match .*sem_post.
16997
16998 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16999
17000 * gdb.base/readline.exp (operate_and_get_next): Match the final
17001 prompt.
17002
17003 2007-07-23 Kevin Buettner <kevinb@redhat.com>
17004
17005 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
17006 to restarting SID.
17007
17008 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17009
17010 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
17011 prior to `gdb_start'.
17012
17013 2007-07-18 Kevin Buettner <kevinb@redhat.com>
17014
17015 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
17016 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
17017 Remove call to gdb_unload.
17018
17019 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
17020 Daniel Jacobowitz <dan@codesourcery.com>
17021
17022 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
17023 for __WIN32__.
17024 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
17025 * gdb.base/unload.exp: Use shared library test routines.
17026
17027 2007-07-03 Markus Deuling <deuling@de.ibm.com>
17028
17029 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
17030 * gdb.base/solib-symbol-lib.c: Likewise.
17031 * gdb.base/solib-symbol-main.c: Likewise.
17032
17033 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
17034
17035 * config/gdbserver.exp (gdb_reconnect): New.
17036 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
17037 gdb.base/solib-disc.exp: New files.
17038 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
17039 remote debugging".
17040 (gdb_compile): Add shlib_load flag.
17041 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
17042 port.
17043 (gdbserver_reconnect): New.
17044
17045 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
17046 Daniel Jacobowitz <dan@codesourcery.com>
17047
17048 * gdb.base/annota3.exp: Test for if construct.
17049
17050 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
17051
17052 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
17053
17054 2007-06-21 Chris Dearman <chris@mips.com>
17055 Maciej W. Rozycki <macro@mips.com>
17056
17057 * gdb.base/display.exp: Allow a newline after display/i.
17058 * gdb.base/pc-fp.exp: Likewise.
17059 * gdb.base/sigbpt.exp: Likewise.
17060
17061 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17062
17063 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
17064 required features to be included.
17065
17066 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17067
17068 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17069 in info threads output.
17070
17071 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17072 Markus Deuling <deuling@de.ibm.com>
17073
17074 * gdb.arch/spu-info.exp: New testcase.
17075 * gdb.arch/spu-info.c: New file.
17076
17077 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17078
17079 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17080 tpcs_offset. Restore lr after the call.
17081 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17082
17083 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17084
17085 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17086 (gdbserver_run): Kill any running gdbserver.
17087 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17088
17089 2007-05-17 Maciej W. Rozycki <macro@mips.com>
17090
17091 * gdb.base/sigbpt.exp: Preset segv_addr.
17092
17093 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17094
17095 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17096 (gdb_compile_shlib): Likewise.
17097 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17098 (default_gdb_init): Clear cleanfiles.
17099 (gdb_finish): Delete recorded cleanfiles.
17100 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17101
17102 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17103 Do not use isnative.
17104 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17105 gdb.base/so-impl-ld.exp: Likewise.
17106 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17107 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17108 gdb_compile.
17109
17110 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17111
17112 * config/unknown.exp: Remove.
17113
17114 2007-05-15 Markus Deuling <deuling@de.ibm.com>
17115
17116 * gdb.base/info-proc.exp: Check is_remote.
17117
17118 2007-05-14 Markus Deuling <deuling@de.ibm.com>
17119
17120 * gdb.base/gcore.exp: Initialize variable core_supported.
17121
17122 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17123
17124 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17125
17126 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17127
17128 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17129 * gdb.threads/print-threads.exp (test_all_threads): Allow
17130 negative and hexadecimal thread IDs.
17131
17132 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17133
17134 * gdb.java/jprint.java (public): Avoid invalid call to static
17135 method.
17136
17137 2007-05-14 Denis Pilat <denis.pilat@st.com>
17138
17139 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17140 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17141 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17142 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17143 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17144
17145 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17146
17147 * gdb.base/overlays.exp: Add support for targets with only code
17148 overlay support, not data overlay. Support spu-*-* target in
17149 this mode.
17150 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17151 * gdb.base/spu.ld: New file.
17152
17153 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17154
17155 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17156
17157 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17158
17159 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17160
17161 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17162
17163 * gdb.java/jmain.exp: Handle demangled names with and without method
17164 signatures.
17165
17166 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17167
17168 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17169 (have_a_very_merry_interrupt): Remove calls to puts.
17170 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17171 inferior output.
17172 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17173 test names.
17174
17175 2007-04-29 Markus Deuling <deuling@de.ibm.com>
17176 Daniel Jacobowitz <dan@codesourcery.com>
17177
17178 * gdb.base/auxv.exp (core_works): Also check is_remote.
17179 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17180
17181 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
17182
17183 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17184 message, not the undefined 'module' variable.
17185 * gdb.base/siginfo.exp: Likewise.
17186 * gdb.base/sigstep.exp: Likewise.
17187 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17188 serialport.
17189 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17190
17191 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
17192
17193 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17194 target sim fails. Return 0 otherwise.
17195 (gdb_load): Return prematurely if gdb_target_sim fails.
17196
17197 2007-04-16 Denis Pilat <denis.pilat@st.com>
17198
17199 * gdb.base/setshow.exp: Reset height after having set it to 100.
17200
17201 2007-04-16 Denis Pilat <denis.pilat@st.com>
17202
17203 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17204
17205 2007-04-16 Denis Pilat <denis.pilat@st.com>
17206
17207 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17208
17209 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17210
17211 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17212 tests. Run the frozen varobjs test.
17213 * gdb.mi/var-cmd.c (do_frozen_tests): New.
17214 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
17215
17216 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17217
17218 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17219 gdb.base/type-opaque.exp: New files.
17220
17221 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
17222
17223 * gdb.mi/mi-var-child.c
17224 (do_children_tests): User char[2] instead of
17225 char so that automatic printing of pointers to char
17226 don't give unpredicable result.
17227 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17228 local variables.
17229 * gdb.mi/mi-var-child.exp: Step to right line
17230 of do_children_tests.
17231 * gdb.mi/mi2-var-child.exp: Likewise.
17232 * gdb.mi/mi-var-cmd.exp: Step to right line of
17233 do_locals_tests.
17234 (do_children_tests): User char[2] instead of
17235 char so that automatic printing of pointers to char
17236 don't give unpredicable result.
17237 * gdb.mi/mi2-var-cmd.exp: Likewise.
17238 * lib/mi-support.exp (mi_continue_to_line):
17239 Pass test name to mi_wait_for_stop.
17240
17241 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17242
17243 * gdb.asm/asm-source.exp: Remove d10v case.
17244 * lib/gdb.exp (skip_cplus_tests): Likewise.
17245 * gdb.asm/d10v.inc: Deleted.
17246
17247 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17248
17249 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17250
17251 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17252
17253 * config/netware.exp: Delete file.
17254
17255 2007-03-29 Joel Brobecker <brobecker@adacore.com>
17256
17257 * gdb.dwarf2/dw2-noloc.S: New file.
17258 * gdb.dwarf2/dw2-noloc.exp: New file.
17259
17260 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17261
17262 * gdb.cp/method2.cc: New test.
17263 * gdb.cp/method2.exp: New test.
17264 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17265
17266 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17267
17268 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17269
17270 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17271
17272 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17273
17274 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17275
17276 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17277 (gdb_load): Delete, replace with...
17278 (gdb_reload): ...this.
17279 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17280 * gdb.server/server-mon.exp: Likewise.
17281 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17282 (gdb_start_cmd): New.
17283 (gdb_file_cmd): Save the last loaded file.
17284 (gdb_reload): New.
17285 (gdb_gnu_strip_debug): Use transform.
17286 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17287 support here. Use new $last_loaded_file. Check mtime.
17288 (gdb_target_cmd): Handle ObjC failure case.
17289 (infer_host_exec): Delete.
17290 (gdbserver_load): Rename to...
17291 (gdbserver_run): ...this. Simplify.
17292 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17293 (mi_gdb_load): Move most contents to a new function...
17294 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17295 (mi_run_cmd): Use mi_gdb_target_load.
17296 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17297 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17298 Use gdb_run_cmd.
17299 * gdb.base/charsign.exp: Remove incorrect comment.
17300 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17301 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17302 gdb.base/start.exp: Use gdb_start_cmd.
17303
17304 2007-03-23 Nigel Stephens <nigel@mips.com>
17305 Maciej W. Rozycki <macro@mips.com>
17306
17307 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17308 * gdb.base/signull.exp: Similarly.
17309
17310 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17311
17312 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17313 messages available to test cases (like chng-sym.exp).
17314
17315 2007-03-14 Andreas Schwab <schwab@suse.de>
17316
17317 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17318 format changes.
17319
17320 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17321
17322 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17323 (optimized_1): New.
17324 (main): Call optimized_1.
17325 (gdb2029): Correct typos. Call gdb2029_marker.
17326 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17327 for gdb2029.
17328
17329 2007-03-12 Mark Kettenis <kettenis@gnu.org>
17330
17331 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17332 as tabs. Remove redundant test pattern.
17333
17334 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17335
17336 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17337 for /a format output.
17338
17339 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17340
17341 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17342 collect output incrementally.
17343
17344 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17345
17346 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17347 for -var-create lpcharacter test.
17348 * gdb.mi/mi2-var-cmd.exp: Likewise.
17349
17350 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17351
17352 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17353 pass on targets where address zero is readable.
17354
17355 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17356
17357 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17358 just a single architecture.
17359
17360 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17361
17362 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17363 (fetch_all_registers): New function, uses gdb_test_multiple and
17364 exp_continue to fetch inferior output line-by-line.
17365 Replace all uses of do_get_all_registers by fetch_all_registers.
17366
17367 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17368
17369 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17370 in target_info.
17371
17372 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17373
17374 * gdb.threads/manythreads.exp: Use $message string for
17375 consistancy; add a default (timeout) case.
17376
17377 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17378
17379 * gdb.base/watchpoint.exp: Fix truncated comment.
17380
17381 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17382
17383 * Makefile.in: Remove spurious single-quotes from sed command.
17384
17385 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17386
17387 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17388 func.
17389 * gdb.mi/mi2-var-cmd.exp: Likewise.
17390
17391 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17392
17393 * gdb.dwarf2/dw2-producer.S: New file.
17394 * gdb.dwarf2/dw2-producer.exp: New testcase.
17395
17396 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
17397
17398 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17399 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17400 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17401 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17402 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17403 Revert tests to use mi_gdb_test and include value field in output
17404 of -var-create.
17405
17406 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17407
17408 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17409
17410 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17411
17412 * gdb.base/maint.exp: Remove full paths from test names.
17413 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17414 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17415
17416 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17417
17418 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17419
17420 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17421
17422 * gdb.server/server-mon.exp: New test.
17423
17424 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17425
17426 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17427
17428 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17429
17430 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17431 register capitalization.
17432
17433 2007-02-13 Denis Pilat <denis.pilat@st.com>
17434
17435 * gdb.mi/mi-var-invalidate.exp: New file.
17436
17437 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17438
17439 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17440
17441 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17442
17443 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17444
17445 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17446
17447 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17448 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17449
17450 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
17451
17452 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17453 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17454 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17455 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17456 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17457 * gdb.mi/gdb792.exp, lib/mi-support.exp:
17458 Update tests to include value field in output of -var-create.
17459
17460 2007-02-08 Andreas Schwab <schwab@suse.de>
17461
17462 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17463
17464 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
17465
17466 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17467 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17468
17469 2007-02-02 Denis Pilat <denis.pilat@st.com>
17470
17471 * gdb.threads/threadapply.exp: check that frame is not changed by
17472 the thread apply all command.
17473
17474 2007-01-31 Andreas Schwab <schwab@suse.de>
17475
17476 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17477
17478 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17479 in the dwarf sections.
17480 * gdb.dwarf2/mac-fileno.S: Likewise.
17481
17482 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17483 bspstore register on ia64.
17484
17485 2007-01-29 Andreas Schwab <schwab@suse.de>
17486
17487 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17488 "frame-begin" annotation.
17489
17490 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17491 number of "frames-invalid" annotations.
17492
17493 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17494
17495 * gdb.base/commands.exp: Call if_commands_test.
17496 (gdb_test_no_prompt, if_commands_test): New.
17497
17498 2007-01-28 Mark Kettenis <kettenis@gnu.org>
17499
17500 * gdb.threads/sigthread.c (NSIGS): Make bigger.
17501
17502 2007-01-27 Andreas Schwab <schwab@suse.de>
17503
17504 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17505 .short/.int/.quad in the dwarf sections.
17506 * gdb.dwarf2/dw2-intercu.S: Likewise.
17507 * gdb.dwarf2/dw2-intermix.S: Likewise.
17508
17509 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17510
17511 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
17512 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17513 array.
17514 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17515 * gdb.base/setvar.exp: Likewise.
17516
17517 2007-01-26 Andreas Schwab <schwab@suse.de>
17518
17519 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17520 test.
17521
17522 * gdb.base/multi-forks.exp ("restart $i"): Also match
17523 __kernel_syscall_via_break.
17524
17525 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
17526
17527 * lib/mi-support.exp (mi_delete_varobj): New.
17528 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17529 testcase.
17530 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17531 (main): Call the above.
17532 (reference_update_test, base_in_reference_test)
17533 (reference_to_pointer): Delete the created varobjs.
17534
17535 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
17536
17537 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17538 * configure: Regenerated.
17539 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17540 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17541 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17542 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17543 * lib/gdb.exp (gdb_skip_xml_test): New function.
17544
17545 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
17546
17547 * gdb.base/sigrepeat.exp: Correct error message.
17548
17549 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17550 Daniel Jacobowitz <dan@codesourcery.com>
17551
17552 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17553 gdb.arch/i386-gnu-cfi-asm.S: New files.
17554
17555 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17556
17557 * lib/gdb.exp: Abort on missing `site.exp'.
17558
17559 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17560 Daniel Jacobowitz <dan@codesourcery.com>
17561
17562 * gdb.base/included.c, gdb.base/included.exp,
17563 gdb.base/included.h: New files.
17564
17565 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17566
17567 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17568 (maximize_rlimit): Reduce limits on 64-bit systems.
17569
17570 2007-01-19 Mark Kettenis <kettenis@gnu.org>
17571
17572 From Marcus Deuling <deuling@de.ibm.com>:
17573 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17574 every case.
17575
17576 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
17577
17578 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17579 (test_path_specification): Use objdir instead of srcdir to always
17580 get an absolute filename.
17581
17582 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
17583
17584 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17585
17586 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
17587
17588 * gdb.mi/mi-var-cp.cc (reference_update_tests):
17589 Make sure the variable we're using is in scope.
17590 (reference_to_pointer): Likewise.
17591
17592 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17593
17594 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17595 has no debug information.
17596
17597 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17598
17599 * gdb.base/annota1.exp: Remove extra send_gdb.
17600
17601 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17602
17603 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17604
17605 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17606
17607 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17608
17609 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
17610 Daniel Jacobowitz <dan@codesourcery.com>
17611
17612 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
17613 lcharacter or linteger change. Correct duplicated test name.
17614 * gdb.mi/mi2-var-cmd.exp: Likewise.
17615
17616 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
17617
17618 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
17619
17620 2007-01-05 Joel Brobecker <brobecker@adacore.com>
17621
17622 * gdb.base/nofield.c: New file.
17623 * gdb.base/nofield.exp: New testcase.
17624
17625 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
17626
17627 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
17628
17629 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
17630 test.
17631
17632 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17633
17634 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
17635
17636 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17637
17638 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
17639 when continuing.
17640
17641 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17642
17643 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
17644 Expect ".exe" extension.
17645
17646 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17647
17648 * gdb.base/charset.exp: Add explicit filename to break.
17649 * gdb.base/dbx.exp: Add explicit filename to breaks.
17650
17651 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17652
17653 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
17654 * gdb.mi/mi2-file.exp: Likewise.
17655
17656 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17657
17658 Implement specification of MI tests as comments
17659 in C and C++ sources.
17660 * lib/mi-support.exp (mi_autotest_data): New variable.
17661 (mi_autotest_source): New variable.
17662 (count_newlines, mi_prepare_inline_tests)
17663 (mi_get_inline_test, mi_continue_to_line)
17664 (mi_run_inline_test, mi_tbreak)
17665 (mi_send_resuming_command, mi_wait_for_stop): New functions.
17666 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
17667 Run inline tests.
17668 * gdb.mi/mi-var-cp.cc: Define tests here.
17669
17670 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17671
17672 Simplify usage of mi_continue_to.
17673 * lib/mi-support.exp (mi_runto_helper): Renamed
17674 from mi_runto, added new parameter 'run_or_continue'.
17675 (mi_runto): Use mi_runto_helper.
17676 (mi_continue_to): Accept just function name as parameter.
17677 Use mi_runto_helper.
17678 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
17679 * gdb.mi/mi2-var-cmd.exp: Likewise.
17680
17681 2006-01-04 Joel Brobecker <brobecker@adacore.com>
17682
17683 Make this testcase a bit more realistic. The current code
17684 is too simplistic, and allows the compiler to optimize out
17685 some of the entities we need for this testcase.
17686 * gdb.ada/null_record/bar.ads (Void_Star): New type.
17687 (Do_Nothing): Add extra parameter.
17688 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
17689 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
17690 by using a variable of type Void_Star.
17691
17692 2006-01-04 Joel Brobecker <brobecker@adacore.com>
17693
17694 * gdb.ada/catch_ex/foo.adb: New file.
17695 * gdb.ada/catch_ex.exp: New testcase.
17696
17697 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
17698
17699 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
17700 pass --image-base to linker.
17701
17702 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17703 Daniel Jacobowitz <dan@codesourcery.com>
17704
17705 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
17706 secondary prompts.
17707
17708 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17709
17710 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
17711 output. Test the types of members and member pointers.
17712 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
17713 gdb/2092.
17714 * gdb.cp/member-ptr.exp: Search for a comment instead of a
17715 statement. Enable for GCC. Update expected output for some tests
17716 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
17717 layout.
17718 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
17719 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
17720 (Diamond::vget_base): New.
17721 (main): Add new tests.
17722 * gdb.cp/printmethod.exp: Update expected output for member functions.
17723 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
17724 print pEe->D::vg().
17725
17726 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17727
17728 * gdb.threads/tls.exp: Allow stops in sem_post.
17729
17730 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
17731
17732 * gdb.base/annota1.exp: Allow .*printf in backtraces.
17733 * gdb.base/annota3.exp: Likewise.
17734 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
17735 again (instead of timing out).
17736 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
17737 GCC bug 26475.
17738 * gdb.java/jmisc.exp: Adjust to work with method signatures including
17739 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
17740 test from jmisc1.exp.
17741 * gdb.java/jmisc1.exp: Delete.
17742 * gdb.java/jprint.exp: Adjust to work with method signatures including
17743 return types.
17744 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
17745 * gdb.threads/linux-dp.exp: Don't be confused by program output.
17746 * lib/java.exp (compile_java_from_source): Pass the correct type
17747 to target_compile.
17748
17749 2006-12-31 Joel Brobecker <brobecker@adacore.com>
17750
17751 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
17752 (stack_align_edx): New function.
17753 (stack_align_eax): New function.
17754 (main): Add calls to stack_align_edx and stack_align_eax.
17755 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
17756 Add testing for the cases where the register used during a stack
17757 realignment is edx. Same for eax.
17758
17759 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
17760
17761 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
17762 and generic PE targets.
17763
17764 2006-12-29 Joel Brobecker <brobecker@adacore.com>
17765
17766 * gdb.ada/array_return.exp: Update copyright date list.
17767
17768 2006-12-27 Joel Brobecker <brobecker@adacore.com>
17769
17770 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
17771 (Create_Small_Float_Vector): New function.
17772 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
17773 function body.
17774 * gdb.ada/array_return/p.adb: Use new type and function from
17775 package Pck.
17776 * gdb.ada/array_return.exp: Add a test verifying that GDB is
17777 able to print the value returned by a function returning an
17778 array of float.
17779
17780 2006-12-20 Joel Brobecker <brobecker@adacore.com>
17781
17782 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
17783 The associated tests should be PASSing.
17784
17785 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17786
17787 Test for base in references.
17788 * gdb.mi/mi-var-cp.cc: Add test code.
17789 * gdb.mi/mi-var-cp.exp: Test for bases in references.
17790 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
17791 * gdb.mi/mi2-watch.exp: Likewise.
17792 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
17793 (mi_list_varobj_children): New function.
17794
17795 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17796
17797 * lib/mi-support.exp
17798 (mi_runto): Accept "()" after function name.
17799 (mi_create_varobj): New function.
17800 (mi_varobj_update): New function.
17801 (mi_Check_varobj_value): New function.
17802 * gdb.mi/mi-var-cp.exp: New file.
17803 * gdb.mi/mi-var-cp.cc: New file.
17804
17805 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
17806
17807 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
17808 gdb.base/weaklib2.c: New files.
17809
17810 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
17811
17812 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
17813 info. Adjust test names.
17814
17815 * gdb.base/break.c (main): Move position of malloc.
17816 * gdb.base/break.exp: Revert mistaken checkin.
17817
17818 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
17819
17820 * gdb.mi/mi-var-cmd.exp: Check -var-update after
17821 assignement of arrays and function pointers.
17822 * gdb.mi/var-cmd.c: Add declaration necessary for above
17823 tests.
17824
17825 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17826
17827 * gdb.base/break.c (main): Call malloc.
17828
17829 * gdb.threads/linux-dp.exp: Read thread table before and after
17830 creating each philosopher and verify it.
17831
17832 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17833 Paul Brook <paul@codesourcery.com>
17834 Daniel Jacobowitz <dan@codesourcery.com>
17835
17836 * gdb.base/ending-run.exp: Flatten expect script stepping out of
17837 main to remove duplication. Add start function of the form
17838 '_*start[1-9]*'. Add RVDS start function.
17839
17840 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17841
17842 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17843
17844 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17845
17846 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17847 * gdb.asm/spu.inc: New file.
17848 * gdb.base/term.exp: Disable if [target_info exists noargs].
17849 * gdb.gdb/complaints.exp: Disable if ![isnative].
17850 * gdb.gdb/selftest.exp: Likewise.
17851 * gdb.gdb/observer.exp: Likewise.
17852 * gdb.gdb/xfullpath.exp: Likewise.
17853 * gdb.base/attach.exp: Disable on SPU target.
17854 * gdb.cp/bs145503.exp: Likewise.
17855 * gdb.cp/exception.exp: Likewise.
17856 * gdb.cp/userdef.exp: Likewise.
17857
17858 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17859
17860 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17861
17862 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
17863
17864 * gdb.base/completion.exp: Fix completion tests for
17865 'info' and 'info '.
17866 * gdb.base/help.exp (help_test_raw, test_class_help)
17867 (test_prefix_command_help): Move...
17868 * lib/gdb.exp: Here.
17869 * gdb.base/main.exp: Adjust.
17870 * gdb.cp/maint.exp: Adjust.
17871 * gdb.trace/tracecmd.exp: Use test_help_class.
17872
17873 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17874
17875 * gdb.stabs/weird.exp (print_weird_var): Use
17876 gdb_test_multiple instead of gdb_expect.
17877
17878 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17879
17880 * gdb.base/help.exp (help_test_raw): New.
17881 (test_class_help): New.
17882 (test_prefix_command_help): New.
17883 Adjust testcases.
17884
17885 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
17886
17887 * gdb.base/constvars.c (main): Write to crass and crips, so that
17888 they are allocated by the compiler.
17889
17890 2006-10-27 Andreas Schwab <schwab@suse.de>
17891
17892 * gdb.base/multi-forks.exp: Use "detach fork" instead of
17893 "detach-fork".
17894
17895 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
17896
17897 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17898 of patterns.
17899
17900 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17901
17902 * gdb.base/sepdebug.exp: Remove debug format test.
17903 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17904 Handle no-symtab.
17905 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17906
17907 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17908
17909 * gdb.threads/manythreads.c (thread_function, main): Don't cast
17910 int to pointer or pointer to int.
17911 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17912
17913 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
17914
17915 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17916
17917 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17918
17919 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17920
17921 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17922
17923 PR c++/2116
17924 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17925
17926 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17927
17928 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17929 the corresponding bug has been fixed in GDB (PR/2018).
17930
17931 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17932
17933 * gdb.base/subst.exp: New testcase.
17934
17935 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17936
17937 * gdb.ada/array_return/pck.ads: Add copyright notice.
17938 * gdb.ada/array_return/pck.adb: Likewise.
17939 * gdb.ada/array_return/p.adb: Likewise.
17940 * gdb.ada/exec_changed/first.adb: Likewise.
17941 * gdb.ada/exec_changed/second.adb: Likewise.
17942
17943 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17944
17945 * gdb.ada/watch_arg/watch.adb: New file.
17946 * gdb.ada/watch_arg.exp: New testcase.
17947
17948 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
17949
17950 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
17951 via string_to_regexp.
17952 * gdb.mi/mi2-basics.exp: Likewise.
17953
17954 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
17955
17956 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17957 Remove unused / obsolete files.
17958
17959 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
17960
17961 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17962
17963 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
17964
17965 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17966 HIGH_FRAME argument to -stack-list-arguments can be larger than
17967 the number of frames.
17968
17969 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
17970
17971 * gdb.base/args.c (main): Add breakpoint marker.
17972 * gdb.base/args.exp: Use args_test for tests. Add new tests which
17973 really test empty arguments.
17974 (args_load): Delete.
17975 (args_test): New.
17976
17977 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
17978
17979 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
17980 check for one file.
17981
17982 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
17983
17984 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17985 HIGH_FRAME argument to -stack-list-locals can be larger than
17986 the number of frames.
17987
17988 2006-08-18 Fred Fish <fnf@specifix.com>
17989
17990 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17991 '$' in front of skip_vmx_tests_saved when setting that.
17992
17993 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
17994
17995 * gdb.base/trace-commands.exp: New file.
17996
17997 2006-08-10 Joel Brobecker <brobecker@adacore.com>
17998 Daniel Jacobowitz <dan@codesourcery.com>
17999
18000 * gdb.base/step-bt.exp: Make hexadecimal address optional in
18001 expected output of the backtrace commands.
18002
18003 2006-08-09 Joel Brobecker <brobecker@adacore.com>
18004
18005 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
18006 untested followed by return combination.
18007 * gdb.arch/altivec-regs.exp: Likewise.
18008 * gdb.arch/e500-abi.exp: Likewise.
18009 * gdb.arch/e500-regs.exp: Likewise.
18010 * gdb.arch/gdb1291.exp: Likewise.
18011 * gdb.arch/gdb1431.exp: Likewise.
18012 * gdb.arch/gdb1558.exp: Likewise.
18013 * gdb.arch/i386-prologue.exp: Likewise.
18014 * gdb.arch/i386-unwind.exp: Likewise.
18015 * gdb.asm/asm-source.exp: Likewise.
18016 * gdb.base/a2-run.exp: Likewise.
18017 * gdb.base/advance.exp: Likewise.
18018 * gdb.base/all-bin.exp: Likewise.
18019 * gdb.base/annota1.exp: Likewise.
18020 * gdb.base/annota3.exp: Likewise.
18021 * gdb.base/args.exp: Likewise.
18022 * gdb.base/arithmet.exp: Likewise.
18023 * gdb.base/assign.exp: Likewise.
18024 * gdb.base/async.exp: Likewise.
18025 * gdb.base/attach.exp: Likewise.
18026 * gdb.base/bang.exp: Likewise.
18027 * gdb.base/bigcore.exp: Likewise.
18028 * gdb.base/bitfields.exp: Likewise.
18029 * gdb.base/bitfields2.exp: Likewise.
18030 * gdb.base/break.exp: Likewise.
18031 * gdb.base/call-sc.exp: Likewise.
18032 * gdb.base/call-strs.exp: Likewise.
18033 * gdb.base/callfuncs.exp: Likewise.
18034 * gdb.base/checkpoint.exp: Likewise.
18035 * gdb.base/chng-syms.exp: Likewise.
18036 * gdb.base/code-expr.exp: Likewise.
18037 * gdb.base/commands.exp: Likewise.
18038 * gdb.base/completion.exp: Likewise.
18039 * gdb.base/cond-expr.exp: Likewise.
18040 * gdb.base/condbreak.exp: Likewise.
18041 * gdb.base/consecutive.exp: Likewise.
18042 * gdb.base/constvars.exp: Likewise.
18043 * gdb.base/corefile.exp: Likewise.
18044 * gdb.base/cvexpr.exp: Likewise.
18045 * gdb.base/dbx.exp: Likewise.
18046 * gdb.base/define.exp: Likewise.
18047 * gdb.base/detach.exp: Likewise.
18048 * gdb.base/display.exp: Likewise.
18049 * gdb.base/dump.exp: Likewise.
18050 * gdb.base/ena-dis-br.exp: Likewise.
18051 * gdb.base/ending-run.exp: Likewise.
18052 * gdb.base/environ.exp: Likewise.
18053 * gdb.base/eval-skip.exp: Likewise.
18054 * gdb.base/exprs.exp: Likewise.
18055 * gdb.base/fileio.exp: Likewise.
18056 * gdb.base/finish.exp: Likewise.
18057 * gdb.base/float.exp: Likewise.
18058 * gdb.base/foll-exec.exp: Likewise.
18059 * gdb.base/foll-fork.exp: Likewise.
18060 * gdb.base/foll-vfork.exp: Likewise.
18061 * gdb.base/freebpcmd.exp: Likewise.
18062 * gdb.base/funcargs.exp: Likewise.
18063 * gdb.base/gcore.exp: Likewise.
18064 * gdb.base/gdb1090.exp: Likewise.
18065 * gdb.base/gdb1250.exp: Likewise.
18066 * gdb.base/huge.exp: Likewise.
18067 * gdb.base/info-proc.exp: Likewise.
18068 * gdb.base/interrupt.exp: Likewise.
18069 * gdb.base/jump.exp: Likewise.
18070 * gdb.base/langs.exp: Likewise.
18071 * gdb.base/lineinc.exp: Likewise.
18072 * gdb.base/list.exp: Likewise.
18073 * gdb.base/logical.exp: Likewise.
18074 * gdb.base/long_long.exp: Likewise.
18075 * gdb.base/macscp.exp: Likewise.
18076 * gdb.base/maint.exp: Likewise.
18077 * gdb.base/mips_pro.exp: Likewise.
18078 * gdb.base/miscexprs.exp: Likewise.
18079 * gdb.base/multi-forks.exp: Likewise.
18080 * gdb.base/opaque.exp: Likewise.
18081 * gdb.base/overlays.exp: Likewise.
18082 * gdb.base/pc-fp.exp: Likewise.
18083 * gdb.base/pointers.exp: Likewise.
18084 * gdb.base/printcmds.exp: Likewise.
18085 * gdb.base/psymtab.exp: Likewise.
18086 * gdb.base/ptype.exp: Likewise.
18087 * gdb.base/recurse.exp: Likewise.
18088 * gdb.base/relational.exp: Likewise.
18089 * gdb.base/relocate.exp: Likewise.
18090 * gdb.base/remote.exp: Likewise.
18091 * gdb.base/reread.exp: Likewise.
18092 * gdb.base/restore.exp: Likewise.
18093 * gdb.base/return.exp: Likewise.
18094 * gdb.base/return2.exp: Likewise.
18095 * gdb.base/scope.exp: Likewise.
18096 * gdb.base/sect-cmd.exp: Likewise.
18097 * gdb.base/sep.exp: Likewise.
18098 * gdb.base/sepdebug.exp: Likewise.
18099 * gdb.base/setshow.exp: Likewise.
18100 * gdb.base/setvar.exp: Likewise.
18101 * gdb.base/sigall.exp: Likewise.
18102 * gdb.base/sigbpt.exp: Likewise.
18103 * gdb.base/signals.exp: Likewise.
18104 * gdb.base/signull.exp: Likewise.
18105 * gdb.base/sizeof.exp: Likewise.
18106 * gdb.base/solib.exp: Likewise.
18107 * gdb.base/step-line.exp: Likewise.
18108 * gdb.base/step-test.exp: Likewise.
18109 * gdb.base/structs.exp: Likewise.
18110 * gdb.base/structs2.exp: Likewise.
18111 * gdb.base/term.exp: Likewise.
18112 * gdb.base/twice.exp: Likewise.
18113 * gdb.base/until.exp: Likewise.
18114 * gdb.base/varargs.exp: Likewise.
18115 * gdb.base/volatile.exp: Likewise.
18116 * gdb.base/watchpoint.exp: Likewise.
18117 * gdb.base/whatis-exp.exp: Likewise.
18118 * gdb.base/whatis.exp: Likewise.
18119 * gdb.cp/ambiguous.exp: Likewise.
18120 * gdb.cp/annota2.exp: Likewise.
18121 * gdb.cp/annota3.exp: Likewise.
18122 * gdb.cp/bool.exp: Likewise.
18123 * gdb.cp/breakpoint.exp: Likewise.
18124 * gdb.cp/casts.exp: Likewise.
18125 * gdb.cp/class2.exp: Likewise.
18126 * gdb.cp/classes.exp: Likewise.
18127 * gdb.cp/cplusfuncs.exp: Likewise.
18128 * gdb.cp/ctti.exp: Likewise.
18129 * gdb.cp/derivation.exp: Likewise.
18130 * gdb.cp/exception.exp: Likewise.
18131 * gdb.cp/gdb1355.exp: Likewise.
18132 * gdb.cp/hang.exp: Likewise.
18133 * gdb.cp/inherit.exp: Likewise.
18134 * gdb.cp/local.exp: Likewise.
18135 * gdb.cp/m-data.exp: Likewise.
18136 * gdb.cp/m-static.exp: Likewise.
18137 * gdb.cp/member-ptr.exp: Likewise.
18138 * gdb.cp/method.exp: Likewise.
18139 * gdb.cp/misc.exp: Likewise.
18140 * gdb.cp/namespace.exp: Likewise.
18141 * gdb.cp/overload.exp: Likewise.
18142 * gdb.cp/ovldbreak.exp: Likewise.
18143 * gdb.cp/pr-1023.exp: Likewise.
18144 * gdb.cp/pr-1210.exp: Likewise.
18145 * gdb.cp/pr-574.exp: Likewise.
18146 * gdb.cp/printmethod.exp: Likewise.
18147 * gdb.cp/psmang.exp: Likewise.
18148 * gdb.cp/ref-params.exp: Likewise.
18149 * gdb.cp/ref-types.exp: Likewise.
18150 * gdb.cp/rtti.exp: Likewise.
18151 * gdb.cp/templates.exp: Likewise.
18152 * gdb.cp/try_catch.exp: Likewise.
18153 * gdb.cp/userdef.exp: Likewise.
18154 * gdb.cp/virtfunc.exp: Likewise.
18155 * gdb.disasm/am33.exp: Likewise.
18156 * gdb.disasm/h8300s.exp: Likewise.
18157 * gdb.disasm/mn10300.exp: Likewise.
18158 * gdb.disasm/sh3.exp: Likewise.
18159 * gdb.disasm/t01_mov.exp: Likewise.
18160 * gdb.disasm/t02_mova.exp: Likewise.
18161 * gdb.disasm/t03_add.exp: Likewise.
18162 * gdb.disasm/t04_sub.exp: Likewise.
18163 * gdb.disasm/t05_cmp.exp: Likewise.
18164 * gdb.disasm/t06_ari2.exp: Likewise.
18165 * gdb.disasm/t07_ari3.exp: Likewise.
18166 * gdb.disasm/t08_or.exp: Likewise.
18167 * gdb.disasm/t09_xor.exp: Likewise.
18168 * gdb.disasm/t10_and.exp: Likewise.
18169 * gdb.disasm/t11_logs.exp: Likewise.
18170 * gdb.disasm/t12_bit.exp: Likewise.
18171 * gdb.disasm/t13_otr.exp: Likewise.
18172 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18173 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18174 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18175 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18176 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18177 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18178 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18179 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18180 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18181 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18182 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18183 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18184 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18185 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18186 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18187 * gdb.mi/gdb701.exp: Likewise.
18188 * gdb.mi/gdb792.exp: Likewise.
18189 * gdb.mi/mi-basics.exp: Likewise.
18190 * gdb.mi/mi-break.exp: Likewise.
18191 * gdb.mi/mi-cli.exp: Likewise.
18192 * gdb.mi/mi-console.exp: Likewise.
18193 * gdb.mi/mi-disassemble.exp: Likewise.
18194 * gdb.mi/mi-eval.exp: Likewise.
18195 * gdb.mi/mi-file.exp: Likewise.
18196 * gdb.mi/mi-read-memory.exp: Likewise.
18197 * gdb.mi/mi-regs.exp: Likewise.
18198 * gdb.mi/mi-return.exp: Likewise.
18199 * gdb.mi/mi-simplerun.exp: Likewise.
18200 * gdb.mi/mi-stack.exp: Likewise.
18201 * gdb.mi/mi-stepi.exp: Likewise.
18202 * gdb.mi/mi-syn-frame.exp: Likewise.
18203 * gdb.mi/mi-until.exp: Likewise.
18204 * gdb.mi/mi-var-block.exp: Likewise.
18205 * gdb.mi/mi-var-child.exp: Likewise.
18206 * gdb.mi/mi-var-cmd.exp: Likewise.
18207 * gdb.mi/mi-var-display.exp: Likewise.
18208 * gdb.mi/mi-watch.exp: Likewise.
18209 * gdb.mi/mi2-basics.exp: Likewise.
18210 * gdb.mi/mi2-break.exp: Likewise.
18211 * gdb.mi/mi2-cli.exp: Likewise.
18212 * gdb.mi/mi2-console.exp: Likewise.
18213 * gdb.mi/mi2-disassemble.exp: Likewise.
18214 * gdb.mi/mi2-eval.exp: Likewise.
18215 * gdb.mi/mi2-file.exp: Likewise.
18216 * gdb.mi/mi2-read-memory.exp: Likewise.
18217 * gdb.mi/mi2-regs.exp: Likewise.
18218 * gdb.mi/mi2-return.exp: Likewise.
18219 * gdb.mi/mi2-simplerun.exp: Likewise.
18220 * gdb.mi/mi2-stack.exp: Likewise.
18221 * gdb.mi/mi2-stepi.exp: Likewise.
18222 * gdb.mi/mi2-syn-frame.exp: Likewise.
18223 * gdb.mi/mi2-until.exp: Likewise.
18224 * gdb.mi/mi2-var-block.exp: Likewise.
18225 * gdb.mi/mi2-var-child.exp: Likewise.
18226 * gdb.mi/mi2-var-cmd.exp: Likewise.
18227 * gdb.mi/mi2-var-display.exp: Likewise.
18228 * gdb.mi/mi2-watch.exp: Likewise.
18229 * gdb.stabs/exclfwd.exp: Likewise.
18230 * gdb.stabs/weird.exp: Likewise.
18231 * gdb.threads/gcore-thread.exp: Likewise.
18232 * gdb.trace/actions.exp: Likewise.
18233 * gdb.trace/backtrace.exp: Likewise.
18234 * gdb.trace/circ.exp: Likewise.
18235 * gdb.trace/collection.exp: Likewise.
18236 * gdb.trace/deltrace.exp: Likewise.
18237 * gdb.trace/infotrace.exp: Likewise.
18238 * gdb.trace/limits.exp: Likewise.
18239 * gdb.trace/packetlen.exp: Likewise.
18240 * gdb.trace/passc-dyn.exp: Likewise.
18241 * gdb.trace/passcount.exp: Likewise.
18242 * gdb.trace/report.exp: Likewise.
18243 * gdb.trace/save-trace.exp: Likewise.
18244 * gdb.trace/tfind.exp: Likewise.
18245 * gdb.trace/tracecmd.exp: Likewise.
18246 * gdb.trace/while-dyn.exp: Likewise.
18247 * gdb.trace/while-stepping.exp: Likewise.
18248
18249 2006-08-08 Joel Brobecker <brobecker@adacore.com>
18250
18251 * gdb.base/step-bt.c: New file.
18252 * gdb.base/step-bt.exp: New testcase.
18253
18254 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18255
18256 * config/monitor.exp (gdb_load): Remove support for obsolete
18257 download-write-size.
18258 * gdb.base/remote.exp: Likewise. Update all callers of
18259 gdb_timed_load.
18260
18261 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18262
18263 * cursal.exp: Pass binfile to gdb_load.
18264
18265 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18266
18267 * gdb.base/cursal.exp: Add "" to gdb_load call.
18268
18269 2006-07-29 Mark Kettenis <kettenis@gnu.org>
18270
18271 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18272 NetBSD/ELF targets.
18273
18274 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18275
18276 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18277 operator*.
18278
18279 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18280
18281 * gdb.base/completion.exp: Update for change in "file" behavior.
18282 * gdb.stabs/weird.exp: Likewise.
18283 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18284 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18285
18286 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18287
18288 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18289 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18290
18291 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18292
18293 * gdb.base/default.exp: Update source command error message.
18294 * gdb.base/help.exp: Update 'help source' message.
18295
18296 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18297
18298 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18299 test.
18300
18301 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18302
18303 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18304
18305 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18306
18307 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18308
18309 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18310
18311 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18312
18313 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18314
18315 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18316 *-*-openbsd* from targets for wich we expect ARM FPA floating
18317 point format.
18318
18319 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
18320
18321 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18322
18323 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18324
18325 * gdb.base/annota3.exp: Expect frame-begin annotation.
18326
18327 2006-07-14 Joel Brobecker <brobecker@adacore.com>
18328
18329 * gdb.base/help.exp: Adjust "help unset" test to accept
18330 any list of unset commands.
18331
18332 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18333 Daniel Jacobowitz <dan@codesourcery.com>
18334
18335 * gdb.cp/ref-params.exp: New test.
18336 * gdb.cp/ref-params.cc: New source file.
18337 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18338
18339 2006-07-08 Mark Kettenis <kettenis@gnu.org>
18340
18341 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18342 spaces/tabs in regular expressions since they might not be there.
18343
18344 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18345
18346 * gdb.base/ifelse.exp: New file.
18347
18348 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18349
18350 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18351 line.
18352 * gdb.base/huge.exp: Loop over compilation to find a size that
18353 is acceptable.
18354 * gdb.base/remote.exp: Correct expected strings.
18355 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18356
18357 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18358
18359 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18360
18361 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18362
18363 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18364 native.
18365
18366 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18367
18368 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18369 enable stabs testing.
18370
18371 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18372
18373 * gdb.base/auxv.exp: Intercept undefined command messages before
18374 gdb_test_multiple does.
18375
18376 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18377
18378 * Makefile.in (host_alias): Remove.
18379 (target_alias): Use @target_noncanonical@.
18380 (site.exp): Don't set host_alias.
18381 * aclocal.m4: Remove contents. Include acx.m4.
18382 * configure: Regenerated.
18383 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18384
18385 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18386
18387 * lib/gdb.exp (gdb_load_cmd): New.
18388
18389 * gdb.base/fileio.c: Add system(NULL) test.
18390 * gdb.base/fileio.exp: Check it.
18391
18392 * gdb.base/break.c: Add 10a breakpoint at }
18393 * gdb.base/break.exp: Add test for breakpoint at }
18394 * gdb.cp/anon-union.cc: Add code at end of function.
18395 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18396 * gdb.mi/var-cmd.c: Add code at end of function.
18397 * gdb.mi/mi-var-display.exp: Adjust end of next.
18398 * gdb.mi/mi2-var-display.exp: Likewise.
18399 * gdb.base/fileio.c: Add stop function and insert calls at
18400 stopping places.
18401 * gdb.base/fileio.exp: Breakpoint stop function and remove
18402 explicit line number references.
18403
18404 2006-05-19 Joel Brobecker <brobecker@adacore.com>
18405
18406 * gdb.base/del.exp (test_delete_alias): New function.
18407 Now check that both "del" and "d" work as aliases for "delete".
18408
18409 2006-05-18 Fred Fish <fnf@specifix.com>
18410
18411 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18412 required. Check for spurious output after program exits normally.
18413
18414 2006-05-17 Fred Fish <fnf@specifix.com>
18415
18416 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18417 gdb_load, so it works in the simulator.
18418
18419 2006-05-11 Fred Fish <fnf@specifix.com>
18420
18421 * gdb.base/bang.exp: Ignore unexpected output between the
18422 "program exited normally" and the gdb prompt, as many other
18423 tests do.
18424
18425 2006-05-07 Mark Kettenis <kettenis@gnu.org>
18426
18427 * gdb.base/help.exp: Make "delete checkpoint" part option for
18428 "help d" and "help delete" tests.
18429
18430 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18431
18432 * gdb.mi/mi-basics.exp: Add missing serial number to
18433 expected output in some mi_gdb_test statements.
18434 * gdb.mi/mi2-basics.exp: Likewise.
18435
18436 2006-05-05 Joel Brobecker <brobecker@adacore.com>
18437
18438 * gdb.base/del.c: New file.
18439 * gdb.base/del.exp: New testcase.
18440
18441 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
18442
18443 * gdb.base/break.exp: Do not assume a breakpoint on
18444 main will actually be in $srcfile when optimizing.
18445 * gdb.base/savedregs.exp: Do not require that the dummy
18446 frame location match up to a symbol and source file location.
18447 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18448 will get printed without a mi_cmd_data_list_register_values prefix.
18449 (*-data-list-register-*): Correct regular expressions to expect the new
18450 pseudo d? floating point registers.
18451 * gdb.mi/mi2-regs.exp: Likewise.
18452
18453 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
18454
18455 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18456 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18457 is allocated by the compiler.
18458 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18459 anons, e, anone to force their allocation by the compiler.
18460
18461 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
18462
18463 * gdb.base/help.exp: Update expected text for help d and
18464 help delete.
18465
18466 2006-05-02 Mark Kettenis <kettenis@gnu.org>
18467
18468 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18469 NetBSD/ELF targets.
18470
18471 2006-04-30 Mark Kettenis <kettenis@gnu.org>
18472
18473 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18474 single-step breakpoint fails; make this a KFAIL on
18475 sparc*-*-openbsd*.
18476 * gdb.base/siginfo.exp: Likewise.
18477 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18478
18479 2006-04-26 Michael Snyder <msnyder@redhat.com>
18480
18481 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18482 which may have to consume output from other forks.
18483 Add tests to make sure that "delete fork" succeeded.
18484
18485 2006-04-20 Michael Snyder <msnyder@redhat.com>
18486
18487 * 2006-03-22 Jim Blandy <jimb@redhat.com>
18488 Add support for the Renesas M32C and M16C.
18489
18490 * gdb.asm/asm-source.exp: Add m32c target.
18491 * gdb.asm/m32c.inc: Support for m32c target.
18492
18493 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
18494
18495 * gdb.base/commands.exp (recursive_source_test): New test.
18496
18497 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
18498
18499 * gdb.base/float.exp: Add pattern for sparc targets.
18500
18501 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18502
18503 * gdb.base/commands.exp (stray_arg0_test): New test.
18504
18505 2006-03-30 Paul Brook <paul@codesourcery.com>
18506
18507 * gdb.mi/mi-until.exp: kfail broken until command.
18508 * gdb.mi/mi2-until.exp: Ditto.
18509
18510 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
18511
18512 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18513
18514 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
18515
18516 * gdb.base/prelink.exp: Anchor tested-for regular expression
18517 on gdb prompt.
18518
18519 2006-03-07 Paul Brook <paul@codesourcery.com>
18520
18521 * gdb.base/assign.exp: Correct fail message.
18522
18523 2006-03-07 Paul Brook <paul@codesourcery.com>
18524
18525 * lib/compiler.c: Extract armcc version number.
18526 * lib/compiler.cc: Ditto.
18527
18528 2006-03-07 Paul Brook <paul@codesourcery.com>
18529
18530 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18531 additional_flags=-w.
18532 * gdb.arch/altivec-regs.exp: Ditto.
18533 * gdb.arch/e500-abi.exp: Ditto.
18534 * gdb.arch/e500-regs.exp: Ditto.
18535 * gdb.base/all-bin.exp: Ditto.
18536 * gdb.base/annota1.exp: Ditto.
18537 * gdb.base/annota3.exp: Ditto.
18538 * gdb.base/args.exp: Ditto.
18539 * gdb.base/arithmet.exp: Ditto.
18540 * gdb.base/assign.exp: Ditto.
18541 * gdb.base/async.exp: Ditto.
18542 * gdb.base/bang.exp: Ditto.
18543 * gdb.base/break.exp: Ditto.
18544 * gdb.base/call-rt-st.exp: Ditto.
18545 * gdb.base/completion.exp: Ditto.
18546 * gdb.base/cond-expr.exp: Ditto.
18547 * gdb.base/condbreak.exp: Ditto.
18548 * gdb.base/consecutive.exp: Ditto.
18549 * gdb.base/define.exp: Ditto.
18550 * gdb.base/display.exp: Ditto.
18551 * gdb.base/ena-dis-br.exp: Ditto.
18552 * gdb.base/environ.exp: Ditto.
18553 * gdb.base/eval-skip.exp: Ditto.
18554 * gdb.base/info-proc.exp: Ditto.
18555 * gdb.base/jump.exp: Ditto.
18556 * gdb.base/logical.exp: Ditto.
18557 * gdb.base/long_long.exp: Ditto.
18558 * gdb.base/maint.exp: Ditto.
18559 * gdb.base/miscexprs.exp: Ditto.
18560 * gdb.base/pc-fp.exp: Ditto.
18561 * gdb.base/pointers.exp: Ditto.
18562 * gdb.base/relational.exp: Ditto.
18563 * gdb.base/reread.exp: Ditto.
18564 * gdb.base/sect-cmd.exp: Ditto.
18565 * gdb.base/sep.exp: Ditto.
18566 * gdb.base/sepdebug.exp: Ditto.
18567 * gdb.base/until.exp: Ditto.
18568 * gdb.base/whatis-exp.exp: Ditto.
18569 * gdb.cp/annota2.exp: Ditto.
18570 * gdb.cp/annota3.exp: Ditto.
18571 * gdb.trace/actions.exp: Ditto.
18572 * gdb.trace/backtrace.exp: Ditto.
18573 * gdb.trace/circ.exp: Ditto.
18574 * gdb.trace/collection.exp: Ditto.
18575 * gdb.trace/deltrace.exp: Ditto.
18576 * gdb.trace/infotrace.exp: Ditto.
18577 * gdb.trace/limits.exp: Ditto.
18578 * gdb.trace/packetlen.exp: Ditto.
18579 * gdb.trace/passc-dyn.exp: Ditto.
18580 * gdb.trace/passcount.exp: Ditto.
18581 * gdb.trace/report.exp: Ditto.
18582 * gdb.trace/save-trace.exp: Ditto.
18583 * gdb.trace/tfind.exp: Ditto.
18584 * gdb.trace/tracecmd.exp: Ditto.
18585 * gdb.trace/while-dyn.exp: Ditto.
18586 * gdb.trace/while-stepping.exp: Ditto.
18587 * lib/gdb.exp: Ditto.
18588 (gdb_compile): Handle nowarning option.
18589
18590 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
18591
18592 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18593 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
18594 Rename executable to prelinkt. Don't re-prelink if we didn't
18595 get a core file. Test prelink -u exit status to tell whether
18596 prelinking failed. Use gdb_test_multiple.
18597
18598 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
18599
18600 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18601 (do_tests): Call it.
18602
18603 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
18604
18605 * gdb.base/prelink.exp: New test.
18606 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18607
18608 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
18609
18610 * gdb.fortran/derived-type.f90: New file.
18611 * gdb.fortran/derived-type.exp: New testcase.
18612
18613 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
18614
18615 * gdb.base/default.exp: Allow ';' as a directory separator.
18616
18617 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18618
18619 * gdb.base/help.exp (help add-symbol-file): Update.
18620
18621 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18622
18623 * gdb.base/help.exp (help load): Update expected results.
18624
18625 2006-02-19 Fred Fish <fnf@specifix.com>
18626
18627 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
18628 specifix hex value as part of results.
18629 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
18630
18631 2006-02-16 Fred Fish <fnf@specifix.com>
18632
18633 * gdb.base/whatis.c: Define variables using typedefs char_addr,
18634 ushort_addr, and slong_addr, so the typedefs are not optimized
18635 away.
18636 * gdb.base/whatis.exp: Add tests using type name for struct type,
18637 union type, enum type, and typedef.
18638
18639 2006-02-13 Mark Kettenis <kettenis@gnu.org>
18640
18641 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
18642
18643 2006-02-13 Jim Blandy <jimb@redhat.com>
18644
18645 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
18646 case where it takes two "next" commands to skip past the init
18647 call.
18648
18649 2006-02-12 Fred Fish <fnf@specifix.com>
18650
18651 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
18652 to handle cases where it takes two "next" commands to skip
18653 past the init call.
18654
18655 2006-02-07 Joel Brobecker <brobecker@adacore.com>
18656
18657 * gdb.ada/array_return.exp: Mark the last test as expected to fail
18658 on hppa32 targets.
18659
18660 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
18661
18662 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
18663 field.
18664
18665 2006-01-29 Mark Kettenis <kettenis@gnu.org>
18666
18667 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
18668
18669 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
18670
18671 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
18672 files.
18673
18674 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18675
18676 * gdb.cp/maint.exp: Set complaints to a positive value.
18677
18678 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18679
18680 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
18681 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
18682 function name.
18683
18684 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18685
18686 * gdb.base/checkpoint.c: Update copyright notice. Include
18687 <stdlib.h>.
18688
18689 2006-01-04 Jim Blandy <jimb@redhat.com>
18690
18691 * gdb.asm/asm-source.exp: Independently provide default values for
18692 asm-flags and debug-flags. Use 'string equal' to do the
18693 comparison, not the implicit expr's '==' operator. Remove
18694 now-unneeded assignments to asm-flags. In h8300 case, place
18695 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
18696
18697 2006-01-04 Michael Snyder <msnyder@redhat.com>
18698
18699 * gdb.base/checkpoint.c: New file.
18700 * gdb.base/checkpoint.exp: New file.
18701 * gdb.base/multi-fork.c: New file.
18702 * gdb.base/multi-fork.exp: New file.
18703 * gdb.base/pi.txt: New file (data for checkpoint.c test).
18704
18705 2006-01-04 Fred Fish <fnf@specifix.com>
18706
18707 * gdb.base/ptype.c (foo): Add typedef.
18708 (intfoo): Add function.
18709 * gdb.base/ptype1.c: New file.
18710 * gdb.base/ptype.exp: Handle compilation and linking with two
18711 source files. Test that proper type for "foo" is found based
18712 on source context rather than first match found in symtabs.
18713
18714 2005-12-28 Mark Kettenis <kettenis@gnu.org>
18715
18716 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
18717 * gdb.asm/openbsd.inc: Indent commands.
18718
18719 2005-12-26 Mark Kettenis <kettenis@gnu.org>
18720
18721 * gdb.base/freebpcmd.exp: Increase timeout.
18722
18723 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
18724
18725 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
18726
18727 * gdb.base/default.exp: Update check for "show version".
18728
18729 2005-12-09 Randolph Chung <tausq@debian.org>
18730
18731 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
18732 * gdb.asm/pa64.inc: New file.
18733
18734 2005-12-09 Randolph Chung <tausq@debian.org>
18735
18736 * gdb.asm/common.inc: Indent commands.
18737 * gdb.asm/asmsrc1.s: Likewise.
18738 * gdb.asm/asmsrc2.s: Likewise.
18739
18740 2005-12-09 Randolph Chung <tausq@debian.org>
18741
18742 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
18743 (get_addr_of_sym): Remove duplicate print.
18744 (gen_core): xfail hppa*-*-hpux*, update expected output.
18745 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
18746 * gdb.arch/pa64-nullify.s: New file.
18747
18748 2005-12-09 Randolph Chung <tausq@debian.org>
18749
18750 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
18751
18752 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
18753
18754 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
18755 code generation for these functions.
18756 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
18757 error message.
18758
18759 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
18760
18761 * gdb.base/help.exp (help b, help br, help bre, help brea)
18762 (help break): Update the expected message.
18763
18764 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
18765
18766 * gdb.asm/m68hc11.inc: Setup the data section.
18767 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
18768 script for this test.
18769 (m6812-*-*): Likewise.
18770
18771 2005-11-09 Randolph Chung <tausq@debian.org>
18772
18773 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
18774
18775 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
18776
18777 * gdb.base/break.exp: Fix a comment typo.
18778
18779 2005-11-03 Jim Blandy <jimb@redhat.com>
18780
18781 Checked in by Elena Zannoni <ezannoni@redhat.com>
18782
18783 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
18784
18785 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
18786
18787 * gdb.arch/gdb1558.c: Include stdio.h.
18788
18789 2005-10-31 Mark Kettenis <kettenis@gnu.org>
18790
18791 * gdb.asm/asm-source.exp: Use -e instead of --entry.
18792
18793 2005-10-31 Mark Kettenis <kettenis@gnu.org>
18794
18795 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
18796
18797 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
18798
18799 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18800 vscr" tests to better match output.
18801
18802 2005-10-12 Jim Blandy <jimb@redhat.com>
18803
18804 * gdb.base/structs.exp (any): New function.
18805 (test_struct_returns): Don't make any assumptions at all about
18806 what value the function returns when GDB can't set the return
18807 value.
18808
18809 2005-10-09 Joel Brobecker <brobecker@adacore.com>
18810
18811 * gdb.ada/arrayidx/p.adb: New file.
18812 * gdb.ada/arrayidx.exp: New testcase
18813
18814 2005-10-09 Joel Brobecker <brobecker@adacore.com>
18815
18816 * gdb.ada/array_return/pck.ads: New file.
18817 * gdb.ada/array_return/pck.adb: New file.
18818 * gdb.ada/array_return/p.adb: New file.
18819 * gdb.ada/array_return.exp: New testcase.
18820
18821 2005-10-03 Joel Brobecker <brobecker@adacore.com>
18822
18823 * gdb.base/arrayidx.c: New file.
18824 * gdb.base/arrayidx.exp: New testcase.
18825
18826 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
18827
18828 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
18829 frames-invalid and breakpoints-invalid are no longer generated
18830 with level 3 so don't expect them in the output.
18831
18832 2005-09-27 Bob Rossi <bob@brasko.net>
18833
18834 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
18835 from test. Escape the | in mi_gdb_test call.
18836 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
18837 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
18838 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18839 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18840 expected regex's in mi_gdb_test calls.
18841 * lib/mi-support.exp: Remove arbitrary .* from tests.
18842 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18843 Fully anchor GDB/MI expected results in mi_gdb_test.
18844 * lib/gdb.exp (string_to_regexp): Escape the ] character.
18845 * gdb.base/sizeof.exp: Remove escape character. Correct test.
18846
18847 2005-09-26 Paul Brook <paul@codesourcery.com>
18848
18849 * long_long.exp: Exclude eabi targets from arm FPA float format test.
18850
18851 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18852
18853 * bfp-test.c: New file.
18854 * bfp-test.exp: New testcase.
18855
18856 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18857
18858 * gdb.fortran/subarray.exp: New testcase to test the evaluation
18859 of subarray and substring variable.
18860 * gdb.fortran/subarray.f: New source file for the test of subarray
18861 and substring variable evaluation.
18862 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18863 of string constant.
18864
18865 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
18866
18867 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18868 copyright dates.
18869
18870 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
18871
18872 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18873 powerpc altivec' test with an almost identical 'info vector' test.
18874
18875 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18876
18877 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18878 vscr" tests to match output.
18879
18880 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18881
18882 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18883 output.
18884
18885 2005-09-11 Bob Rossi <bob@brasko.net>
18886
18887 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18888 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18889 commands that return an MI output command and an asyncronous MI output
18890 command.
18891 * gdb.mi/mi-console.exp: Ditto.
18892
18893 2005-09-11 Bob Rossi <bob@brasko.net>
18894
18895 * gdb.mi/mi-var-child.c: Include <string.h>.
18896
18897 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
18898
18899 * killed.exp: Correct gdb_expect syntax.
18900
18901 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
18902
18903 * lib/mi-support.exp (mi_gdb_load): Fix typo.
18904
18905 2005-08-02 Bob Rossi <bob@brasko.net>
18906
18907 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18908 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18909 Change tests to inferior-tty-set/show.
18910 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18911 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18912 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18913 inferior. Use mi_gdb_test to get GDB and Inferior output.
18914 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18915 descriptor.
18916 (mi_inferior_tty_name): Add inferior PTY file name.
18917 (mi_gdb_start): Add INFERIOR_PTY parameter.
18918 (mi_gdb_test): Add IPATTERN parameter.
18919
18920 2005-08-02 Bob Rossi <bob@brasko.net>
18921
18922 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18923 parameter to mi_gdb_test.
18924 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18925
18926 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18927
18928 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18929 struct_declarations.
18930 * gdb.mi/mi-var-child.exp: Step over the initialization of
18931 struct_declarations.
18932
18933 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18934
18935 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18936 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18937 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18938 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18939 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18940 file.
18941
18942 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
18943
18944 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18945 (do_children_tests): Assign values to the extra elements.
18946
18947 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18948 them for tests for "-var-update --no-values" and
18949 "-var-update --all-values".
18950 Add test for "-var-list-children --simple-values".
18951
18952 * gdb.mi/basics.c (callee4): Add integer array D[3]...
18953
18954 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18955 "-stack-list-locals --simple-values" Improve doc strings and
18956 comments.
18957
18958 2005-07-18 Mark Kettenis <kettenis@gnu.org>
18959
18960 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18961 *-*-openbsd*.
18962 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18963
18964 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18965 sigaltsatck'.
18966
18967 2005-07-14 Bob Rossi <bob@brasko.net>
18968
18969 * gdb.base/default.exp (tty): Changed output of command.
18970 * gdb.base/help.exp (help tty): Ditto.
18971
18972 2005-07-12 Mark Kettenis <kettenis@gnu.org>
18973
18974 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18975
18976 2005-07-10 Mark Kettenis <kettenis@gnu.org>
18977
18978 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18979 -stack-select-frame without arguments.
18980 (test_stack_frame_listing): Add test for newly implemented command
18981 -stack-info-frame.
18982
18983 2005-07-06 Bob Rossi <bob@brasko.net>
18984
18985 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18986 command.
18987 (Copyright): Update copyright.
18988
18989 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
18990
18991 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18992 tests to evaluate exponentiation expression.
18993
18994 2005-06-29 Andreas Schwab <schwab@suse.de>
18995
18996 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18997 main to avoid warnings.
18998
18999 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
19000
19001 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
19002
19003 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
19004 -stack-select-frame without arguments.
19005 (test_stack_frame_listing): Add test for newly implemented command
19006 -stack-info-frame.
19007
19008 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
19009
19010 * gdb.fortran/array-element.f: New file.
19011 * gdb.fortran/array-element.exp: New testcase.
19012
19013 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19014
19015 * gdb.base/bigcore.exp: Correct checks for systems which can
19016 not dump a large core file.
19017
19018 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
19019
19020 * gdb.base/relocate.c: Add a copyright notice.
19021 (dummy): Remove.
19022 * gdb.base/relocate.exp: Test printing the values of variables
19023 from a relocatable file.
19024
19025 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
19026
19027 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
19028 excess MI output after an error.
19029
19030 2005-05-29 Joel Brobecker <brobecker@adacore.com>
19031
19032 * gdb.arch/alpha-step.c: New file.
19033 * gdb.arch/alpha-step.exp: New testcase.
19034
19035 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
19036 Dennis Brueni <dennis@slickedit.com>
19037
19038 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
19039 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
19040 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
19041 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
19042 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
19043 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
19044 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
19045
19046 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
19047 Wu Zhou <woodzltc@cn.ibm.com>
19048
19049 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
19050 IBM's xlc compiler.
19051 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
19052 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
19053
19054 2005-05-13 Jim Blandy <jimb@redhat.com>
19055
19056 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
19057 calling gdb_suppress_entire_file.
19058 * gdb.base/charset.exp: Same.
19059 * gdb.base/call-rt-st.exp: Same.
19060
19061 2005-05-05 Bob Rossi <bob_rossi@cox.net>
19062
19063 * lib/gdb.exp (fullname_syntax): Added global regex.
19064 (fullname_syntax_POSIX): Ditto.
19065 (fullname_syntax_UNC): Ditto.
19066 (fullname_syntax_DOS_CASE): Ditto.
19067 (fullname_syntax_DOS): Ditto.
19068 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19069 fullname_syntax variable to scope and use it.
19070 (test_file_list_exec_source_files): Ditto.
19071 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19072
19073 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
19074
19075 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19076
19077 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19078
19079 * lib/gdb.exp (skip_altivec_tests): New function, based on
19080 check_vmx_hw_available from the GCC testsuite.
19081 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19082 * lib/gdb.arch/altivec-regs.exp: Likewise.
19083
19084 2005-05-02 Jim Blandy <jimb@redhat.com>
19085
19086 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19087 calling gdb_suppress_entire_file.
19088
19089 2005-04-30 Randolph Chung <tausq@debian.org>
19090
19091 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19092 Slightly relax "sem_post" name checking.
19093
19094 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19095
19096 * gdb.base/unload.exp: Use new shared library infrastructure.
19097
19098 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19099
19100 * gdb.base/so-impl-ld.exp: Use new shared library
19101 infrastructure.
19102
19103 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
19104
19105 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19106 * gdb.asm/h8300.inc: New file.
19107
19108 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19109
19110 * gdb.base/shlib-call.exp: Change to use new shared library
19111 infrastructure.
19112
19113 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19114
19115 * gdb.base/pending.exp: Change to use new shared library
19116 infrastructure.
19117
19118 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19119
19120 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19121 use test_compiler_info instead of gcc_compiled, and update copyright.
19122
19123 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19124
19125 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19126 shared objects being adjusted and update copyright years.
19127
19128 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19129
19130 * ChangeLog: Correct some 2003-01-13 dates.
19131 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19132 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19133 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19134 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19135 gdb.trace/tfind.exp: Update copyright years.
19136
19137 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19138 Daniel Jacobowitz <dan@codesourcery.com>
19139
19140 * lib/gdb.exp (gdb_compile): Handle shlib=.
19141 (gdb_compile_shlib): New function.
19142
19143 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19144
19145 * lib/gdb.exp (test_compiler_info): Give argument a default value.
19146
19147 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19148
19149 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19150 gdb.server.
19151 * configure.ac: Likewise.
19152 * configure: Regenerated.
19153 * gdb.gdbserver/Makefile.in: Moved to...
19154 * gdb.server/Makefile.in: ... here.
19155 * gdb.gdbserver/server.c: Moved to...
19156 * gdb.server/server.c: ... here.
19157 * gdb.gdbserver/server-run.exp: Moved to...
19158 * gdb.server/server-run.exp: ... here.
19159
19160 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19161
19162 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19163 * configure.ac: Create gdb.gdbserver/Makefile.
19164 * configure: Regenerated.
19165 * lib/gdbserver-support.exp: New file, derived from
19166 config/gdbserver.exp.
19167 * config/gdbserver.exp: Use gdbserver-support.exp.
19168 * gdb.gdbserver/Makefile.in: New file.
19169 * gdb.gdbserver/server.c: New file.
19170 * gdb.gdbserver/server-run.exp: New file.
19171
19172 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19173
19174 * lib/gdb.exp (test_compiler_info): Return compiler_info
19175 if no arguments are given.
19176
19177 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19178
19179 * gdb.arch/altivec-abi.exp: Check for compiler and set
19180 use altivec' flag accordingly.
19181 * gdb.arch/altivec-regs.exp: Likewise.
19182
19183 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19184
19185 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19186
19187 2005-03-27 Andreas Schwab <schwab@suse.de>
19188
19189 * gdb.base/bigcore.c (main): Add missing mode argument in open
19190 call.
19191
19192 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19193
19194 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19195 downloads.
19196 * config/gdbserver.exp (gdb_load): Likewise.
19197
19198 2005-03-14 Paul Brook <paul@codesourcery.com>
19199
19200 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19201 targets.
19202
19203 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19204
19205 * gdb.dwarf2/dup-psym.S: New file.
19206 * gdb.dwarf2/dup-psym.exp: New testcase.
19207
19208 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19209
19210 * gdb.ada/exec_changed/first.adb: New file.
19211 * gdb.ada/exec_changed/second.adb: New file.
19212 * gdb.ada/exec_changed.exp: New testcase.
19213
19214 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19215
19216 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19217 (A2): New class.
19218 (main): Test operator+.
19219 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19220 breakpoint test.
19221
19222 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19223 * gdb.base/signull.exp: Disable if gdb,nosignals.
19224 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19225 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19226 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19227 * gdb.mi/mi2-console.exp: Likewise.
19228 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19229 continue output at start.
19230 (gdb_collect_locals_test): Robustify regexp.
19231 * gdb.trace/passc-dyn.exp: Fix comment typo.
19232 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19233
19234 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
19235
19236 * gdb.asm/asm-source.exp: Add iq2000 case.
19237 * gdb.asm/iq2000.inc: New file.
19238
19239 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
19240
19241 * gdb.base/command.exp: Change hardcoded value to regular expression.
19242 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19243
19244 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19245
19246 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19247 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19248 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19249 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19250 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19251
19252 2005-03-05 Mark Kettenis <kettenis@gnu.org>
19253
19254 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19255 changes.
19256
19257 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19258
19259 * lib/compiler.c: Add test for IBM's xlc compiler.
19260 * lib/compiler.cc: Likewise.
19261
19262 2004-02-24 Joel Brobecker <brobecker@adacore.com>
19263
19264 * gdb.ada/fixed_points.exp: Create compilation object directory
19265 before running the test.
19266 * gdb.ada/null_record.exp: Likewise.
19267 * gdb.ada/packed_array.exp: Likewise.
19268 * gdb.ada/start.exp: Likewise.
19269
19270 2005-02-15 Joel Brobecker <brobecker@adacore.com>
19271
19272 * gdb.ada/packed_array/pa.adb: New file.
19273 * gdb.ada/packed_array.exp: New testcase.
19274
19275 2005-02-10 Mark Kettenis <kettenis@gnu.org>
19276
19277 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19278 files.
19279
19280 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19281 on *-*-openbsd*. Correctly match whitespace in regukar
19282 expressions.
19283
19284 2005-02-10 Daniel Jacobowitz <dan@debian.org>
19285
19286 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19287 PR exp/1821
19288 * gdb.base/gdb1821.c: New test file.
19289 * gdb.base/gdb1821.exp: New test file.
19290
19291 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19292
19293 * gdb.base/start.c: New file.
19294 * gdb.base/start.exp: New testcase.
19295
19296 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19297
19298 * gdb.ada/start/dummy.adb: New file.
19299 * gdb.ada/start.exp: New testcase.
19300
19301 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
19302
19303 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19304 for printing symbols and statistics.
19305 Add test for using relative pathnames in "maint print msymbols" test.
19306 Mark "maint info sections DATA" XFAIL on Cygwin.
19307 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19308 tests.
19309
19310 2005-02-09 Andreas Schwab <schwab@suse.de>
19311
19312 Committed by Andrew Cagney <cagney@gnu.org>
19313 * gdb.base/remotetimeout.exp: New file.
19314
19315 2005-02-07 Mark Kettenis <kettenis@gnu.org>
19316
19317 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19318
19319 2005-02-03 Joel Brobecker <brobecker@adacore.com>
19320
19321 * gdb.ada/gnat_ada.gpr: New file.
19322 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19323 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19324 * configure.ac: No longer generate gnat_ada.gpr.
19325 * configure: Regenerate.
19326 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19327 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19328 * gdb.ada/null_record/bar.ads: Likewise.
19329 * gdb.ada/null_record/bar.adb: Likewise.
19330 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19331 * gdb.ada/null_record.exp (testdir): New variable.
19332 (testfile): executable is now in testdir subdirectory.
19333 (srcfile): Use full path to the main compilation unit.
19334 * gdb.ada/fixed_points.exp: Same changes as above.
19335
19336 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
19337
19338 * gdb.base/interp.exp: New test.
19339
19340 2005-01-24 Andrew Cagney <cagney@gnu.org>
19341
19342 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19343
19344 2005-01-19 Andrew Cagney <cagney@gnu.org>
19345
19346 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19347 configure.ac not configure.in.
19348
19349 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19350 of powerpc*-*-*.
19351 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
19352 * gdb.base/list.exp (test_list_function)
19353 (test_list_filename_and_function): Ditto.
19354 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19355
19356 2005-01-16 Andrew Cagney <cagney@gnu.org>
19357
19358 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19359
19360 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19361
19362 2005-01-14 Andrew Cagney <cagney@gnu.org>
19363
19364 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19365 * gdb.mi/mi2-var-cmd.exp: Ditto.
19366
19367 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
19368
19369 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19370
19371 2005-01-07 Andrew Cagney <cagney@gnu.org>
19372
19373 * configure.ac: Rename configure.in, require autoconf 2.59.
19374 * configure: Re-generate.
19375 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19376 * gdb.stabs/configure: Re-generate.
19377 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19378 * gdb.hp/configure: Re-generate.
19379 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19380 autoconf 2.59.
19381 * gdb.hp/gdb.objdbg/configure: Re-generate.
19382 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19383 autoconf 2.59.
19384 * gdb.hp/gdb.defects/configure: Re-generate.
19385 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19386 autoconf 2.59.
19387 * gdb.hp/gdb.compat/configure: Re-generate.
19388 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19389 autoconf 2.59.
19390 * gdb.hp/gdb.base-hp/configure: Re-generate.
19391 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19392 autoconf 2.59.
19393 * gdb.hp/gdb.aCC/configure: Re-generate.
19394
19395 2004-12-15 Jim Blandy <jimb@redhat.com>
19396
19397 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19398 under NPTL when there is debugging info available for libpthread.
19399
19400 2004-12-13 Jerome Guitton <guitton@gnat.com>
19401
19402 * gdb.ada/fixed_points.c: New file.
19403 * gdb.ada/fixed_points.exp: New file.
19404
19405 2004-12-03 Randolph Chung <tausq@debian.org>
19406
19407 * gdb.arch/pa-nullify.exp: New file.
19408 * gdb.arch/pa-nullify.s: New file.
19409
19410 2004-11-30 Randolph Chung <tausq@debian.org>
19411
19412 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19413 instead of "tbug". Fix regexp to work properly with gdb_test.
19414
19415 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19416
19417 * gdb.base/bitfields2.exp: New test.
19418 * gdb.base/bitfields2.c: New file.
19419
19420 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
19421
19422 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19423
19424 2004-11-16 Randolph Chung <tausq@debian.org>
19425
19426 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19427
19428 2004-11-14 Daniel Jacobowitz <dan@debian.org>
19429
19430 * gdb.threads/threadapply.exp: Correct "macro details" test.
19431
19432 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19433
19434 * gdb.threads/threadapply.exp: New test.
19435 * gdb.threads/threadapply.c: New file.
19436
19437 2004-11-07 Mark Kettenis <kettenis@gnu.org>
19438
19439 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19440 frames.
19441
19442 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
19443
19444 * gdb.base/cursal.exp: New file.
19445 * gdb.base/cursal.c: New file.
19446
19447 2004-11-03 Andrew Cagney <cagney@gnu.org>
19448
19449 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19450
19451 2004-10-30 Mark Kettenis <kettenis@gnu.org>
19452
19453 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19454 NetBSD/ELF targets.
19455
19456 2004-10-29 Joel Brobecker <brobecker@gnat.com>
19457
19458 * gdb.threads/bp_in_thread.c: New file, copied from
19459 pthread_cond_wait.c.
19460 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19461 file, rather than reusing the .c file from another testcase.
19462
19463 2004-10-20 Joel Brobecker <brobecker@gnat.com>
19464
19465 * gdb.ada/null_record.exp: Check where we stopped after
19466 sending the start command, instead of where the associated
19467 temporary breakpoint was inserted.
19468
19469 2004-10-14 Andrew Cagney <cagney@gnu.org>
19470
19471 * gdb.mi/gdb701.c (main): Return 0.
19472
19473 2004-10-13 Daniel Jacobowitz <dan@debian.org>
19474
19475 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
19476
19477 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
19478
19479 * gdb.threads/schedlock.c: Add comment markers to use to find
19480 line numbers.
19481 * gdb.threads/schedlock.exp: Adjust regex to handle the new
19482 comments.
19483 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19484 breakpoint lines.
19485
19486 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19487
19488 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19489
19490 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19491
19492 * configure.in: Add gdb.dwarf2.
19493 * configure: Regenerated.
19494 * Makefile.in: Add gdb.dwarf2.
19495 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19496 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19497 gdb.dwarf2/file1.txt: New files.
19498
19499 2004-10-11 Orjan Friberg <orjanf@axis.com>
19500
19501 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
19502 of "run", since the latter doesn't work with remote targets. Adjust
19503 the breakpoint numbering accordingly.
19504 * gdb.threads/pthread_cond_wait.exp: Ditto.
19505
19506 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
19507
19508 * gdb.base/overlays.exp: Update copyright years.
19509
19510 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
19511
19512 * gdb.base/overlays.exp: Disable if target is Linux.
19513
19514 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
19515
19516 * config/gdbserver.exp (gdb_load): Use right filename on remote.
19517
19518 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
19519
19520 * gdb.asm/asm-source.exp: Add m32r-linux target.
19521 * gdb.asm/m32r-linux.inc: New file.
19522
19523 2004-09-24 Andrew Cagney <cagney@redhat.com>
19524 David Anderson <anderson@redhat.com>
19525
19526 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19527 command fails, assume things will work.
19528 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19529 (_GNU_SOURCE): Define.
19530 (print_unsigned, print_hex): Change parameter to "long long".
19531 (print_byte_count): New function, use to print byte counts.
19532 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19533 O_LARGEFILE.
19534 (main): Compute an upper bound on a corefile in max_core_size.
19535 Limit memory chunk size to max_core_size. Limit total memory
19536 allocated to max_core_size.
19537
19538 2004-09-23 Andrew Cagney <cagney@gnu.org>
19539
19540 * gdb.base/bigcore.exp: Replace the code that creates a corefile
19541 from a separate process with code that creates a corefile by
19542 making the inferior dump core.
19543
19544 2004-09-23 Mark Kettenis <kettenis@gnu.org>
19545
19546 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19547 block.
19548
19549 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
19550
19551 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19552 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
19553 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19554 Likewise.
19555
19556 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
19557
19558 * gdb.java/jprint.exp: New test case for java inferior call.
19559 * gdb.java/jprint.java: Ditto.
19560
19561 2004-09-15 Joel Brobecker <brobecker@gnat.com>
19562
19563 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19564
19565 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19566
19567 * gdb.threads/killed.c: Include <stdlib.h>.
19568 * gdb.threads/pthreads.c: Likewise.
19569
19570 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19571
19572 * gdb.threads/killed.c: Add copyright notice.
19573
19574 2004-09-10 Jason Molenda (jmolenda@apple.com)
19575
19576 * gdb.base/define.exp: Two new tests to verify zero space chars
19577 after 'if' and 'while' commands in a user-defined command is correctly
19578 parsed.
19579
19580 2004-09-08 Andrew Cagney <cagney@gnu.org>
19581
19582 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
19583 delivery test with duplicate at end of file.
19584
19585 2004-09-06 Mark Kettenis <kettenis@jive.nl>
19586
19587 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19588
19589 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19590
19591 * config/hppro.exp: Removed.
19592
19593 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19594
19595 * config/sparclet.exp: Removed.
19596
19597 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19598
19599 * config/udi.exp: Removed.
19600
19601 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
19602
19603 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19604 of "exp_continue".
19605 (advancei): Likewise.
19606
19607 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19608
19609 * gdb.base/unload.exp: Fix so messages aren't duplicated.
19610
19611 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
19612
19613 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
19614 to check for nodebug in executable.
19615 * gdb.gdb/observer.exp (setup_test): Likewise.
19616 * gdb.gdb/selftest.exp (test_with_self): Likewise.
19617 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
19618
19619 2004-09-01 Andrew Cagney <cagney@gnu.org>
19620
19621 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19622 files.
19623
19624 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19625
19626 * gdb.base/unload.exp: Fix expected warning message to match
19627 latest format.
19628
19629 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
19630
19631 * gdb.base/call-rt-st.exp: Fix typos.
19632
19633 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
19634
19635 * gdb.threads/thread_check.exp: New testcase.
19636 * gdb.threads/thread_check.c: New testcase.
19637
19638 2004-08-31 Andrew Cagney <cagney@gnu.org>
19639
19640 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
19641 (skip_to_handler_entry): New procedures. Test stepping into a
19642 handler when the breakpoint is at the handler's entry point.
19643
19644 2004-08-30 Andrew Cagney <cagney@gnu.org>
19645
19646 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
19647 gdb/1757.
19648
19649 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19650
19651 With code from Manoj Iyer <manjo@austin.ibm.com>:
19652 * lib/gdb.exp (gdb_file_cmd): Return more information in the
19653 return value. Add an arm for "no debugging symbols found".
19654 Change a stray "error" to "perror".
19655 (gdb_run_cmd): Adapt to new return value.
19656 * gdb.base/remote.exp: Adapt to new return value.
19657 * gdb.gdb/complaints.exp: Likewise.
19658 * gdb.gdb/observer.exp: Likewise.
19659 * gdb.gdb/selftest.exp: Likewise.
19660 * gdb.gdb/xfullpath.exp: Likewise.
19661
19662 2004-08-27 Joel Brobecker <brobecker@gnat.com>
19663
19664 * gdb.threads/bp_in_thread.exp: New testcase.
19665
19666 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19667
19668 Fix PR testsuite/1735.
19669 * gdb.threads/schedlock.c (thread_function): Add a cast
19670 to suppress a gcc warning.
19671 * gdb.threads/thread-specific.c (thread_function): Likewise.
19672
19673 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19674
19675 * gdb.base/unload.c: Include <stdlib.h>.
19676
19677 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19678
19679 From Paul Gilliam <pgilliam@us.ibm.com>:
19680 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
19681 synchronized after the "return".
19682
19683 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19684
19685 * gdb.mi/basics.c: Include <stdio.h>.
19686 * gdb.mi/pthreads.c: Include <stdlib.h>.
19687 * gdb.mi/var-cmd.c: Include <stdlib.h>.
19688
19689 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19690
19691 * gdb.threads/schedlock.c: Add copyright notice.
19692
19693 2004-08-25 Andrew Cagney <cagney@gnu.org>
19694
19695 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
19696 (skip_over_handler, breakpoint_over_hander): New test procedures.
19697 (advance, advancei): Add a proper prefix, do not use
19698 rerun_to_main.
19699 * gdb.base/sigstep.c (main): Change to use an infinite loop.
19700
19701 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
19702
19703 * gdb.mi/basics.c: Add copyright notice.
19704 * gdb.mi/var-cmd.c: Add copyright notice.
19705
19706 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19707
19708 * lib/gdb.exp: Remove signed_keyword_not_used.
19709 * lib/compiler.c: Likewise.
19710 * lib/compiler.cc: Likewise.
19711
19712 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19713
19714 * gdb.base/whatis.c: Remove conditional disabling of "signed".
19715 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
19716
19717 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19718
19719 * gdb.base/whatis.c: Add copyright notice.
19720
19721 2004-08-20 Mark Kettenis <kettenis@gnu.org>
19722
19723 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
19724 it to skip the breakpoints encoded in the inline assembly.
19725
19726 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19727
19728 * Makefile.in: Add gdb.fortran.
19729
19730 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19731
19732 * gdb.base/call-sc.exp (test_scalar_returns):
19733 Fix cut-and-paste glitch in "Make fun return now".
19734
19735 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19736
19737 * configure.in: Add gdb.fortran.
19738 * configure: Regenerate.
19739 * gdb.fortran/Makefile.in: New file.
19740 * lib/gdb.exp (skip_fortran_tests): New procedure.
19741
19742 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19743
19744 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
19745 reference to bug-gnu@prep.ai.mit.edu.
19746 * gdb.mi/mi-var-child.exp: Likewise.
19747 * gdb.mi/mi-var-cmd.exp: Likewise.
19748 * gdb.mi/mi-var-display.exp: Likewise.
19749 * gdb.mi/mi2-var-block.exp: Likewise.
19750 * gdb.mi/mi2-var-child.exp: Likewise.
19751 * gdb.mi/mi2-var-cmd.exp: Likewise.
19752 * gdb.mi/mi2-var-display.exp: Likewise.
19753
19754 2004-08-15 Mark Kettenis <kettenis@gnu.org>
19755
19756 * gdb.base/unload.c (main): Make local variable msg const.
19757
19758 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19759
19760 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
19761 to bug-gnu@prep.ai.mit.edu.
19762 * gdb.mi/mi-disassemble.exp: Likewise.
19763 * gdb.mi/mi-eval.exp: Likewise.
19764 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
19765 default line number.
19766 * gdb.mi/mi-return.exp: Likewise.
19767 * gdb.mi/mi-simplerun.exp: Likewise.
19768 * gdb.mi/mi-stack.exp: Likewise.
19769 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
19770 number with explicit range test.
19771 * gdb.mi/mi-watch.exp: Likewise.
19772 * gdb.mi/mi2-break.exp: Likewise.
19773 * gdb.mi/mi2-cli.exp: Likewise.
19774 * gdb.mi/mi2-disassemble.exp: Likewise.
19775 * gdb.mi/mi2-eval.exp: Likewise.
19776 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
19777 default line number.
19778 * gdb.mi/mi2-return.exp: Likewise.
19779 * gdb.mi/mi2-simplerun.exp: Likewise.
19780 * gdb.mi/mi2-stack.exp: Likewise.
19781 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
19782 number with explicit range test.
19783 * gdb.mi/mi2-watch.exp: Likewise.
19784
19785 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19786
19787 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
19788 * gdb.cp/m-static.exp: Likewise.
19789 * gdb.cp/rtti.exp: Likewise.
19790
19791 2004-08-14 Mark Kettenis <kettenis@gnu.org>
19792
19793 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
19794
19795 2004-08-14 Eli Zaretskii <eliz@gnu.org>
19796
19797 * ChangeLog: Prefix Local Variables with semi-colons and indent
19798 the reference to older ChangeLog files, to fix fontification in
19799 Emacs.
19800
19801 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19802
19803 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
19804 * gdb.mi/mi2-break.exp: Likewise.
19805
19806 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19807
19808 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
19809
19810 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19811
19812 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
19813
19814 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19815
19816 * gdb.cp/classes.exp: Remove unused declarations. Just let
19817 test names default instead of providing special names. Remove
19818 extraneous demangler test.
19819
19820 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
19821
19822 * gdb.base/unload.exp: New test for breakpoints in dynamically
19823 loaded libraries.
19824 * gdb.base/unload.c: Ditto.
19825 * gdb.base/unloadshr.c: Ditto.
19826
19827 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
19828
19829 * gdb.cp/classes.exp (test_ptype_class_objects): Call
19830 cp_test_ptype_class.
19831 (test_enums): Likewise.
19832
19833 2004-08-10 Andrew Cagney <cagney@gnu.org>
19834
19835 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19836 files.
19837
19838 2004-08-10 Andrew Cagney <cagney@gnu.org>
19839
19840 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19841 init_malloc call.
19842
19843 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
19844
19845 * ChangeLog: Add copyright notice. The notice is copied
19846 from emacs 21.3 top level ChangeLog.
19847
19848 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19849
19850 * lib/cp-support.exp: New file.
19851 * lib/cp-support.exp (cp_test_type_class): New function.
19852 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19853 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19854 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19855 cp_test_ptype_class.
19856
19857 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19858
19859 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19860 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19861 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19862 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19863 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19864 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19865 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19866 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19867 gdb.mi/mi2-watch.exp: Update copyright years.
19868
19869 2004-08-09 Mark Kettenis <kettenis@gnu.org>
19870
19871 * gdb.base/sigaltstack.exp: Provide proper anchoring.
19872
19873 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19874
19875 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19876 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19877 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19878 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19879 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19880 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19881 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19882 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19883 gdb.mi/mi-watch.exp: Update copyright years.
19884
19885 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19886
19887 PR gdb/1738
19888 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19889 from a breakpoint with a pending signal.
19890
19891 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19892
19893 PR gdb/1736
19894 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19895 * gdb.base/sigaltstack.exp (finish_test): Consume output until
19896 the prompt.
19897 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19898
19899 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19900
19901 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19902
19903 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19904
19905 PR gdb/1736
19906 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
19907 for i?86-*-linux*.
19908
19909 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19910
19911 * gdb.arch/i386-prologue.exp: Compile without debug information.
19912
19913 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
19914
19915 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19916 rather than asking gdb to search.
19917
19918 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19919
19920 * gdb.base/gcore.c: Include <string.h>.
19921
19922 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19923
19924 * gdb.base/gcore.c: Add copyright notice.
19925
19926 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19927
19928 * gdb.base/freebpcmd.c: Include <stdio.h>.
19929 * gdb.base/long_long.c: Include <string.h>.
19930 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19931 * gdb.base/siginfo.c: Include <string.h>.
19932 * gdb.base/sigstep.c: Include <string.h>.
19933
19934 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19935
19936 * gdb.base/complex.c: Include <stdlib.h>.
19937
19938 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19939
19940 * gdb.base/complex.c: Add copyright notice.
19941
19942 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19943
19944 * gdb.base/charset.c: Include <stdlib.h>.
19945
19946 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19947
19948 * gdb.base/auxv.c: Include <stdlib.h>.
19949
19950 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19951
19952 * gdb.base/auxv.c: Add copyright notice.
19953
19954 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19955
19956 * gdb.base/coremaker.c: Add copyright notice.
19957 * gdb.base/coremaker2.c: Add copyright notice.
19958
19959 2004-08-04 Andrew Cagney <cagney@gnu.org>
19960
19961 * gdb.base/store.exp: Update copyright.
19962 (check_set, up_set, check_struct, up_struct): Add a prefix to test
19963 names, do not import gdb_prompt.
19964
19965 2004-08-01 Andrew Cagney <cagney@gnu.org>
19966
19967 Fix PR testsuite/1729.
19968 * gdb.base/dump.exp: Add test name to callers of capture_value, do
19969 not use capture_value with value 4.
19970 (capture_value): Add optional test name parameter.
19971 (test_reload_saved_value, test_restore_saved_value): Use $msg as
19972 the prefix, pass to capture_value.
19973
19974 2004-08-01 Mark Kettenis <kettenis@gnu.org>
19975
19976 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19977 * gdb.arch/i386-prologue.c (standard): New prototype and function.
19978 (main): Call new function.
19979
19980 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19981
19982 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19983
19984 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19985
19986 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19987
19988 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19989
19990 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
19991 Accept more values of vtbl pointer. Remove some messages
19992 about "obsolete gcc or gdb".
19993
19994 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19995
19996 * gdb.cp/classes.exp: Accept more varieties of ptype output.
19997
19998 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19999
20000 * gdb.base/asm-source.exp: Properly convert target board
20001 debug flags from gcc format to binutils format.
20002
20003 2004-07-28 Mark Kettenis <kettenis@gnu.org>
20004
20005 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
20006 gdb1718". PR backtrace/1718 partially fixed.
20007
20008 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
20009
20010 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
20011
20012 2004-07-26 Nick Clifton <nickc@redhat.com>
20013
20014 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
20015 good default value for a specific architecture is available then
20016 set it to that value. Otherwise default to the -gstabs switch.
20017 Remove the -g... switches from the asm-flags variable. Allow the
20018 target board info to override the value if it wants to. Pass the
20019 switch on the assembler command line.
20020
20021 2004-07-23 Mark Kettenis <kettenis@gnu.org>
20022
20023 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
20024 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
20025 (main): Call new function.
20026
20027 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
20028
20029 Test for PR exp/1715.
20030 * gdb.base/radix.exp: Refactor common procedures. Make all
20031 test names unique. Change XFAIL to KFAIL.
20032
20033 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
20034
20035 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
20036 * gdb.ada/gnat_ada.gin: ... to here.
20037 * configure.in: Use gnat_ada.gin.
20038 * configure: Regenerate.
20039
20040 2004-07-20 Andrew Cagney <cagney@gnu.org>
20041
20042 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
20043 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
20044 XFAILs. Clean up test messages and comments. Check backtraces.
20045 Delete re-sync code.
20046
20047 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20048
20049 Fix PR cli/740.
20050 * gdb.base/annota1.exp: Honor gdb,nosignals.
20051 * gdb.base/annota3.exp: Likewise.
20052
20053 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20054
20055 * lib/java.exp: Update copyright notice.
20056
20057 2004-07-19 Andrew Cagney <cagney@gnu.org>
20058
20059 * gdb.base/selftest.exp: Copy file from here ...
20060 * gdb.gdb/selftest.exp: ... to here.
20061
20062 2004-07-16 Andrew Cagney <cagney@redhat.com>
20063
20064 * lib/insight-support.exp: Delete file.
20065 * lib/java.exp (java_init): Fix copyright.
20066
20067 2004-07-16 Andrew Cagney <cagney@gnu.org>
20068
20069 * gdb.base/restore.c: Append "prologue" to comments marking the a
20070 function's prologue.
20071 * gdb.base/restore.exp: Update copyright, re-indent.
20072 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
20073 callerN" prefix where needed. Update patterns that match a
20074 function's prologue.
20075
20076 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20077
20078 * gdb.base/restore.c: Add copyright notice.
20079
20080 2004-07-16 Andrew Cagney <cagney@gnu.org>
20081
20082 * gdb.base/logical.exp: Update copyright.
20083 (evaluate): New procedure. Use to re-implement tests using
20084 several tables.
20085
20086 2004-07-14 Martin Hunt <hunt@redhat.com>
20087
20088 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20089 which fixes some problems where init.tcl was not found.
20090
20091 2004-07-13 Andrew Cagney <cagney@gnu.org>
20092
20093 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20094 (check_sizeof, check_valueof): Do not include the output in the
20095 test name. Use gdb_test.
20096 (get_valueof): Use gdb_test_multiple.
20097
20098 * gdb.base/step-test.exp: Update copyright. Use
20099 gdb_test_multiple. Ensure that test names do not include
20100 architecture dependent output.
20101
20102 * gdb.gdb/observer.exp: Update copyright.
20103 (setup_test): Use gdb_test_multiple.
20104 (attach_first_observer, attach_second_observer)
20105 (attach_third_observer, detach_first_observer)
20106 (detach_second_observer, detach_third_observer)
20107 (reset_counters, check_counters): Make $message a prefix.
20108 (test_normal_stop_notifications): Add "args" parameter - a list of
20109 init functions to be called. Make $message a prefix,
20110 (test_observer_normal_stop): Change the message prefixes so that
20111 they are unique, pass the attach / detach procedures to
20112 test_normal_stop_notifications.
20113
20114 * gdb.base/signull.exp (test_segv): Prefix all tests with
20115 "${name}". Clean up test messages.
20116
20117 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20118
20119 * gdb.base/ena-dis-br.exp: Update copyright.
20120 (break_at): New function. Replace send_gdb with gdb_test,
20121 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20122 ignore count, not stopped at bpt", with KFAIL.
20123
20124 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
20125
20126 * gdb.base/attach.exp: Remove cleanupfile handling.
20127
20128 2004-07-12 Andrew Cagney <cagney@gnu.org>
20129
20130 * gdb.base/annota1.exp: Cleanup corefile test name.
20131 * gdb.base/annota3.exp: Ditto.
20132
20133 2004-07-12 Andrew Cagney <cagney@gnu.org>
20134
20135 * gdb.base/signals.exp: Clean up copyright, re-indent.
20136
20137 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20138 gdb_test and gdb_test_multiple.
20139
20140 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20141
20142 * gdb.java/jmain.exp: Fix expected line number for main to
20143 break at. Set XFAIL for break at main test since gcj does not
20144 provide line number info for first statement in main.
20145
20146 2004-07-08 Andrew Cagney <cagney@gnu.org>
20147
20148 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20149
20150 * gdb.base/sigbpt.exp: Make the common part of each test name a
20151 prefix instead of suffix.
20152
20153 2004-07-07 Bob Rossi <bob_rossi@cox.net>
20154
20155 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20156 test from test_tbreak_creation_and_listing to
20157 test_file_list_exec_source_file
20158 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20159 Changed name of test from test_tbreak_creation_and_listing to
20160 test_file_list_exec_source_file
20161
20162 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20163
20164 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20165 the jmisc() constructor instead of <init>.
20166 * gdb.java/jmisc1.exp: Ditto.
20167
20168 2004-07-07 Andrew Cagney <cagney@gnu.org>
20169
20170 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20171 corrupting the PC.
20172
20173 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20174
20175 * gdb.cp/templates.exp: Accept whitespace change in demangler
20176 output.
20177
20178 2004-07-06 Andrew Cagney <cagney@gnu.org>
20179
20180 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20181
20182 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20183
20184 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20185 * lib/compiler.cc: Likewise.
20186
20187 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20188
20189 * lib/compiler.cc: Work around string preprocessing problem
20190 with old hp c++ compiler.
20191 * lib/compiler.c: Likewise.
20192
20193 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20194
20195 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20196 directives to conditionalize symbol prefixing.
20197 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20198 additional_flags handling. Add underscore prefix for Cygwin.
20199 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20200 conditionalize symbol prefixing.
20201 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20202 additional_flags handling. Add underscore prefix for Cygwin.
20203
20204 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20205
20206 * gdb.base/bigcore.exp: Skip test on Cygwin.
20207
20208 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20209
20210 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20211 formats for "info register". Use gdb_test_multiple. Fix
20212 the "invalid register" test.
20213
20214 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
20215
20216 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20217 PID for Cygwin. Add Cygwin specific strings to check for in some
20218 tests.
20219 (do_attach_tests): Add a test for user interaction when attaching
20220 to a process with no matching symbol table already loaded.
20221
20222 2004-06-26 Andrew Cagney <cagney@gnu.org>
20223
20224 Test PR java/1567 and PR java/1565.
20225 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20226 * gdb.java/jmisc2.exp: Delete file.
20227
20228 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20229
20230 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20231
20232 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
20233
20234 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20235 attach process.
20236
20237 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20238
20239 * gdb.cp/pr-1553.exp: Remove.
20240
20241 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20242
20243 * gdb.cp/pr-1553.cc: Remove.
20244 * gdb.cp/pr-1553.exp: Disable this test.
20245
20246 2004-06-20 Jim Blandy <jimb@redhat.com>
20247
20248 Fix PR testsuite/1680.
20249 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20250 regular expressions.
20251
20252 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20253
20254 Fix PR testsuite/1679.
20255 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20256 Issue an UNSUPPORTED result instead.
20257
20258 2004-06-18 Jim Blandy <jimb@redhat.com>
20259
20260 * gdb.base/charset.exp: Only send a control-C if we see a new
20261 prompt and incomplete command.
20262
20263 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20264
20265 * gdb.cp/pr-574.cc: Add copyright notice.
20266
20267 2004-06-17 Jim Blandy <jimb@redhat.com>
20268
20269 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20270 cases where the regexp has no groups; this grabs random text from
20271 the previous test suite, whatever that was.
20272
20273 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20274
20275 * gdb.cp/printmethod.cc: Add copyright notice.
20276
20277 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20278
20279 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20280
20281 2004-06-16 Andrew Cagney <cagney@gnu.org>
20282
20283 * gdb.base/signull.c: Update copyright. Include <string.h>.
20284 (bowler): Replace data_pointer with data_read
20285 and data_write cases. Add code_descriptor case.
20286 (zero, desc): New array and pointer.
20287 (data, code): Change to simple pointers.
20288 * gdb.base/signull.exp: Fix probe pattern matching a function
20289 descriptor SIGSEGV. Replace data_pointer with data_read and
20290 data_write tests.
20291
20292 2004-06-16 Andrew Cagney <cagney@gnu.org>
20293
20294 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20295
20296 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20297
20298 * gdb.base/long_long.c: Add copyright notice.
20299
20300 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20301
20302 * gdb.base/long_long.exp: Remove reference to
20303 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20304 to gdb_breakpoint and gdb_continue_to_breakpoint.
20305
20306 2004-06-14 Jim Blandy <jimb@redhat.com>
20307
20308 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20309 endian case.
20310
20311 2004-06-14 Andrew Cagney <cagney@gnu.org>
20312
20313 * gdb.base/gcore.exp (capture_command_output): Delete the always
20314 passing tests containing inferior values.
20315 * gdb.base/ending-run.exp: Do not include the breakpoint address
20316 in the test message. Update copyright.
20317 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20318 size in the test name, use gdb_test_multiple. Update copyright.
20319
20320 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20321
20322 * gdb.cp/ref-types.cc: Add copyright notice.
20323
20324 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20325
20326 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20327 hp_aCC_compiler.
20328 * lib/compiler.cc: Likewise.
20329 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20330 'set' commands. Log diagnostics for other lines. Set
20331 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20332
20333 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20334
20335 * gdb.cp/try_catch.cc: Add copyright notice.
20336
20337 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20338
20339 * gdb.cp/userdef.cc: Add copyright notice.
20340
20341 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20342
20343 * gdb.cp/virtfunc.cc: Add copyright notice.
20344
20345 2004-06-11 Randolph Chung <tausq@debian.org>
20346
20347 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20348 problem.
20349
20350 2004-06-10 Andrew Cagney <cagney@gnu.org>
20351
20352 * lib/compiler.cc, lib/compiler.c: Append either
20353 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20354 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20355 instead of gcc-3-3.
20356
20357 2004-06-09 Andrew Cagney <cagney@gnu.org>
20358
20359 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20360 gdb/1455, bug is specific to "long long" and "double".
20361
20362 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20363 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20364 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20365 fixed.
20366
20367 2004-06-09 Andrew Cagney <cagney@gnu.org>
20368
20369 * gdb.base/structs.exp (test_struct_returns): Replace
20370 "return_value_unknown" and "finish_value_unknown" by
20371 "return_value_known" and "finish_value_known". Instead of
20372 "return_value_unknown" iff "finish_value_unknown", check
20373 "return_value_known" implies "finish_value_known".
20374
20375 2004-06-08 Martin Hunt <hunt@redhat.com>
20376
20377 * gdb.base/float.exp: Add pattern for mips targets.
20378
20379 2004-06-08 Randolph Chung <tausq@debian.org>
20380
20381 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20382 message for unknown architectures more clear.
20383
20384 2004-06-08 Joel Brobecker <brobecker@gnat.com>
20385
20386 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20387 start the execution of the program.
20388
20389 2004-06-07 Jim Blandy <jimb@redhat.com>
20390
20391 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20392 * gdb.arch/i386-cpuid.h: New helper file.
20393
20394 2004-06-07 Randolph Chung <tausq@debian.org>
20395
20396 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20397 has started.
20398
20399 2004-06-04 Roland McGrath <roland@redhat.com>
20400
20401 Fix PR gdb/1647.
20402 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20403 differently to be robust to output buffering differences.
20404
20405 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20406
20407 * gdb.threads/pthreads.exp: Update copyright years.
20408 (check_control_c): Change asynchronous 'after' to synchronous.
20409
20410 2004-06-04 Roland McGrath <roland@redhat.com>
20411
20412 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20413 next gdb prompt.
20414
20415 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20416
20417 Fix PR gdb/1636.
20418 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20419 calls to synchronous.
20420
20421 2004-05-26 Jim Blandy <jimb@redhat.com>
20422
20423 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20424
20425 2004-05-24 Randolph Chung <tausq@debian.org>
20426
20427 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20428 * gdb.asm/pa.inc: New file.
20429
20430 2004-05-22 Mark Kettenis <kettenis@gnu.org>
20431
20432 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20433
20434 2004-05-21 Joel Brobecker <brobecker@gnat.com>
20435 Daniel Jacobowitz <drow@mvista.com>
20436
20437 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20438 GDB prompt.
20439
20440 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20441
20442 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
20443 setjmp/longjmp. Use sigaction instead of signal.
20444
20445 2004-05-19 J. Brobecker <brobecker@gnat.com>
20446 Michael Snyder <msnyder@redhat.com>
20447
20448 * gdb.threads/pthread_cond_wait.c: New file.
20449 * gdb.threads/pthread_cond_wait.exp: New testcase.
20450
20451 2004-05-13 Andrew Cagney <cagney@redhat.com>
20452
20453 * gdb.base/signull.exp, gdb.base/signull.c: New files.
20454 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20455
20456 2004-05-11 Andrew Cagney <cagney@redhat.com>
20457
20458 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
20459 fixed but revealed gdb/1639.
20460
20461 2004-05-10 Andrew Cagney <cagney@redhat.com>
20462
20463 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20464 func1" and "next to 2nd alarm", kernel bug avoided.
20465
20466 2004-05-10 Daniel Jacobowitz <dan@debian.org>
20467
20468 PR external/1568
20469 * gdb.base/bigcore.exp: Check the size of the dumped core file.
20470 XFAIL if it is smaller than bytes_allocated.
20471 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20472 (main): Make chunks_allocated unsigned. Correct comment.
20473
20474 2004-05-07 Joel Brobecker <brobecker@gnat.com>
20475
20476 * gdb.arch/powerpc-aix-prologue.c: New file.
20477 * gdb.arch/powerpc-aix-prologue.exp: New file.
20478
20479 2004-05-07 Jim Blandy <jimb@redhat.com>
20480
20481 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20482 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20483
20484 2004-05-06 Joel Brobecker <brobecker@gnat.com>
20485
20486 * gdb.base/sep.exp: No longer setup_kfail when the program was
20487 built with dwarf2.
20488
20489 2004-05-05 Jim Ingham <jingham@apple.com>
20490
20491 * gdb.base/pending.exp: Make sure pending breakpoints
20492 preserve the ignore count.
20493
20494 2004-04-27 Jerome Guitton <guitton@gnat.com>
20495
20496 * i386-prologue.exp: Add testcase for jump instruction as first
20497 instruction of the real code.
20498 * i386-prologue.c (jump_at_beginning): New function.
20499
20500 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20501
20502 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20503 x86_64-*-*.
20504
20505 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20506
20507 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20508 i*86-*-*.
20509
20510 2004-04-25 Mark Kettenis <kettenis@gnu.org>
20511
20512 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20513 expression that checks the return type.
20514
20515 2004-04-23 Andrew Cagney <cagney@redhat.com>
20516
20517 * gdb.base/call-sc.exp: New test of scalar call/return values.
20518 * gdb.base/call-sc.c: Ditto.
20519
20520 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20521
20522 * gdb.threads/manythreads.c: Reduce thread stack size.
20523
20524 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
20525
20526 * gdb.threads/manythreads.c: Add copyright notice.
20527
20528 2004-04-23 Andrew Cagney <cagney@redhat.com>
20529
20530 * gdb.base/siginfo.exp: Better handle step out of signal.
20531 * gdb.base/sigstep.exp: Ditto.
20532
20533 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
20534 Daniel Jacobowitz <drow@mvista.com>
20535
20536 * gdb.threads/manythreads.c: New testcase.
20537 * gdb.threads/manythreads.exp: Ditto.
20538
20539 2004-04-22 Jim Blandy <jimb@redhat.com>
20540
20541 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20542 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20543
20544 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
20545
20546 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20547
20548 2004-04-21 Andrew Cagney <cagney@redhat.com>
20549
20550 * gdb.base/sigstep.c: New file.
20551 * gdb.base/sigstep.exp: New file.
20552
20553 2004-04-16 Joel Brobecker <brobecker@gnat.com>
20554
20555 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20556 call to observer_notify_normal_stop.
20557
20558 2004-04-15 Andrew Cagney <cagney@redhat.com>
20559
20560 * gdb.base/siginfo.c: New file.
20561 * gdb.base/siginfo.exp: New file.
20562
20563 2004-04-12 J. Brobecker <brobecker@gnat.com>
20564
20565 * gdb.base/sep.exp: Fix typo in comment.
20566
20567 2004-04-12 J. Brobecker <brobecker@gnat.com>
20568
20569 * gdb.base/sep.c: New file.
20570 * gdb.base/sep-proc.c: New file.
20571 * gdb.base/sep.exp: New testcase.
20572
20573 2004-04-09 Mark Kettenis <kettenis@gnu.org>
20574
20575 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20576 support.
20577
20578 2004-04-05 Andrew Cagney <cagney@redhat.com>
20579
20580 * gdb.base/sigaltstack.c: New file.
20581 * gdb.base/sigaltstack.exp: New file.
20582
20583 2004-04-04 Joel Brobecker <brobecker@gnat.com>
20584
20585 * gdb.base/foll-fork.exp: Update the expected output for
20586 "help set follow-fork-mode", to match a change that was made
20587 to the help of this variable on 2004-01-13.
20588
20589 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20590
20591 * lib/ada.exp: Add copyright notice.
20592 * bar.ads: Likewise.
20593 * bar.adb: Likewise.
20594 * null_record.adb: Likewise.
20595 * null_record.exp: Likewise.
20596 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20597
20598 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20599
20600 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20601 * configure: Regenerate.
20602
20603 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20604
20605 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20606 to build the application. Remove the message printed when in
20607 verbose mode, redundant with the UNSUPPORTED message above.
20608
20609 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20610
20611 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
20612 * gdb.ada (null_record.exp): New testcase.
20613
20614 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20615
20616 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20617
20618 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20619
20620 * gdb.ada: New subdirectory.
20621 * gdb.ada/Makefile.in: New file.
20622 * gdb.ada/gnat_ada.gpr.in: New file.
20623
20624 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20625
20626 * lib/ada.exp: New file.
20627
20628 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
20629
20630 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
20631 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
20632
20633 2004-03-22 Andrew Cagney <cagney@redhat.com>
20634
20635 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
20636 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20637 Problem identified by Ulrich Weigand.
20638
20639 2004-03-17 David Carlton <carlton@kealia.com>
20640
20641 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
20642 PR c++/826.
20643
20644 2004-03-16 Roland McGrath <roland@redhat.com>
20645
20646 * gdb.base/auxv.exp: New file.
20647 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
20648
20649 2004-03-12 David Carlton <carlton@kealia.com>
20650
20651 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
20652 * gdb.cp/pr-1553.cc: Ditto.
20653 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
20654 pass branch.
20655
20656 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
20657
20658 * gdb.cp/templates.exp: Accept more template types.
20659
20660 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20661
20662 From Corinna Vinschen with modifications.
20663 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
20664 local variable obj_with_enum.
20665 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
20666 results with obj_with_enum.
20667
20668 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20669
20670 * gdb.cp/classes.cc: New file, copied from misc.cc.
20671 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
20672
20673 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20674
20675 * gdb.cp/misc.cc: Add copyright notice.
20676
20677 2004-03-05 David Carlton <carlton@kealia.com>
20678
20679 * gdb.cp/rtti.exp: Add 'print *obj3' test.
20680 * gdb.cp/rtti.h: Update copyright.
20681 (namespace n2::n3): New.
20682 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
20683 (n2::n3::func3): New.
20684 (main): Call n2::n3::func3.
20685 * gdb.cp/rtti2.cc: Update copyright.
20686 (n2::create3): New.
20687
20688 2004-03-04 Mark Kettenis <kettenis@gnu.org>
20689
20690 * gdb.asm/openbsd.inc: Fix typo.
20691
20692 2004-03-03 Fred Fish <fnf@redhat.com>
20693
20694 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
20695 "val" instead of unused "size". Update copyright year.
20696
20697 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
20698
20699 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
20700 to use unsigned char.
20701 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
20702 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
20703
20704 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
20705
20706 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
20707 line of output.
20708
20709 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
20710
20711 * gdb.base/relocate.c (dummy): Initialize.
20712
20713 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
20714
20715 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
20716 a breakpoint at exit.
20717
20718 2004-02-27 Fred Fish <fnf@redhat.com>
20719
20720 * gdb.base/chng-syms.exp: Add expect condition to match failing
20721 case that isn't a timeout.
20722
20723 2004-02-27 Andrew Cagney <cagney@redhat.com>
20724
20725 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
20726 support.
20727
20728 2004-02-26 Fred Fish <fnf@redhat.com>
20729
20730 * gdb.arch/gdb1431.c: Remove.
20731 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
20732 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
20733 of "until" incorrectly.
20734
20735 2004-02-26 J. Brobecker <brobecker@gnat.com>
20736
20737 * gdb.cp/class2.cc (empty): New class.
20738 (refer): New function.
20739 (main): Declare an object of type empty and use it.
20740 * gdb.cp/class2.exp: Print the value of an object of type empty.
20741
20742 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
20743
20744 * gdb.base/langs.exp: Update query string to match the
20745 new nquery format used for pending breakpoints.
20746
20747 2004-02-26 Andrew Cagney <cagney@redhat.com>
20748
20749 Fix PR i18n/1570.
20750 * gdb.base/charset.c: Update copyright notice.
20751 (main, init_string): Remove the escape character '\e' tests.
20752 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
20753 * gdb.base/charset.exp (valid_host_charset): Ditto.
20754 * gdb.base/setvar.exp: Ditto.
20755
20756 2004-02-24 Andrew Cagney <cagney@redhat.com>
20757
20758 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
20759 mmapped data in core file" PASS and FAIL messages consistent.
20760
20761 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
20762 setting a breakpoint. Work around PR java/1565.
20763
20764 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
20765
20766 * lib/gdb.exp (gdb_breakpoint): Update query string to match
20767 new nquery format.
20768 * gdb.base/pending.exp: Ditto.
20769
20770 2004-02-22 Mark Kettenis <kettenis@gnu.org>
20771
20772 * configure.in: Run stabs tests on *BSD.
20773 * configure: Regenerated.
20774
20775 2004-02-21 Mark Kettenis <kettenis@gnu.org>
20776
20777 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
20778
20779 2004-02-20 Fred Fish <fnf@redhat.com>
20780
20781 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
20782 blank in test for "returns short", for consistency with other
20783 "returns xxx" tests. Update copyright year.
20784
20785 2004-02-19 Fred Fish <fnf@redhat.com>
20786
20787 New testcase for PR breakpoint/1558.
20788 * gdb.arch/gdb1558.exp: New file.
20789 * gdb.arch/gdb1558.c: New file.
20790
20791 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
20792
20793 * gdb.base/nodebug.exp: Fix typo.
20794
20795 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20796
20797 Committed by Jim Blandy <jimb@redhat.com>.
20798
20799 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
20800
20801 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
20802
20803 * gdb.base/float.exp: Support s390*-*-* targets.
20804
20805 2004-02-17 Adam Fedor <fedor@gnu.org>
20806
20807 * gdb.base/gdb1555.exp: New file.
20808 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
20809
20810 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
20811
20812 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
20813
20814 2004-02-16 Fred Fish <fnf@redhat.com>
20815
20816 * gdb.arch/gdb1291.c: Remove
20817 * gdb.arch/gdb1291.s: New test input file.
20818 * gdb.arch/gdb1291.exp: Expand test to check case that should not
20819 fail. Test for correct result, known incorrect result, other
20820 failures and timeouts.
20821
20822 2004-02-16 Andrew Cagney <cagney@redhat.com>
20823
20824 * gdb.base/bigcore.exp: New file.
20825 * gdb.base/bigcore.c: New file.
20826
20827 2004-02-13 Andrew Cagney <cagney@redhat.com>
20828
20829 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
20830 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
20831 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
20832 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
20833 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
20834 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
20835 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
20836 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
20837 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
20838 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20839
20840 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
20841
20842 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20843 executed is an alloc instruction.
20844
20845 2004-02-11 David Carlton <carlton@kealia.com>
20846
20847 * gdb.cp/breakpoint.exp: New.
20848 * gdb.cp/breakpoint.cc: New.
20849
20850 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
20851
20852 Partial fix for PR gdb/1543.
20853 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20854 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20855 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20856 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20857 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20858 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20859 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20860 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20861 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20862 to bug-gdb@prep.ai.mit.edu .
20863 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20864 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20865 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20866 Likewise.
20867
20868 2004-02-10 Andrew Cagney <cagney@redhat.com>
20869
20870 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20871 using gdb_internal_error_resync.
20872
20873 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
20874
20875 * gdb.threads/thread-specific.exp: Stop early if no threads are
20876 found.
20877
20878 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
20879
20880 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20881
20882 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
20883
20884 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20885 breakpoints.
20886
20887 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
20888
20889 * config/sim.exp (gdb_load): Handle $arg == "".
20890 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20891 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20892
20893 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
20894
20895 * gdb.base/maint.exp: Update test to reflect
20896 obstack changes.
20897
20898 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
20899
20900 * gdb.base/pendshr.c (pendfunc): New function that calls
20901 pendfunc1.
20902 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20903
20904 2004-02-04 Fred Fish <fnf@redhat.com>
20905
20906 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20907 function symbols and update copyright years.
20908 * gdb.arch/gdb1291.c: Ditto.
20909
20910 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20911
20912 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20913
20914 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20915
20916 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20917
20918 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20919
20920 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20921
20922 2004-02-02 Fred Fish <fnf@redhat.com>
20923
20924 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20925 remote targets. Update copyright years.
20926
20927 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
20928
20929 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20930 support.
20931 * gdb.base/langs.exp: Fix test which attempts to create
20932 breakpoint on non-existent function to handle new pending
20933 support.
20934 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20935 a breakpoint.
20936 * gdb.base/pending.exp: New test.
20937 * gdb.base/pending.c: New file.
20938 * gdb.base/pendshr.c: Ditto.
20939
20940 2004-02-02 David Carlton <carlton@kealia.com>
20941
20942 * gdb.cp/overload.exp: Add overloadNamespace tests.
20943 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20944 (overloadNamespace, XXX): New.
20945 (main): Call XXX::marker2.
20946
20947 2004-02-01 Fred Fish <fnf@redhat.com>
20948
20949 * gdb.base/dump.exp: Use runto_main instead of "runto main".
20950 * gdb.base/finish.exp: Ditto.
20951 * gdb.base/gcore.exp: Ditto.
20952 * gdb.base/huge.exp: Ditto.
20953 * gdb.base/info-proc.exp: Ditto.
20954 * gdb.base/return2.exp: Ditto.
20955 * gdb.threads/gcore-thread.exp: Ditto.
20956
20957 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20958
20959 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20960
20961 2004-02-01 Mark Kettenis <kettenis@gnu.org>
20962
20963 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20964 that opening the file succeeds on OpenBSD.
20965
20966 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20967
20968 * gdb.threads/thread-specific.c: New file.
20969 * gdb.threads/threads-specific.exp: New test script.
20970 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20971 to expect_out.
20972
20973 2004-02-01 Mark Kettenis <kettenis@gnu.org>
20974
20975 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
20976 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20977 only on the "print_small_structs from print_long_arg_list" test.
20978
20979 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20980
20981 * gdb.base/completion.exp: Kill a stray backslash.
20982
20983 From Jim Ingham <jingham@apple.com>:
20984 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20985 agrees with the result from sending a tab.
20986
20987 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
20988
20989 * gdb.base/chng-syms.exp: Remove stray newline.
20990
20991 2004-01-31 Mark Kettenis <kettenis@gnu.org>
20992
20993 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20994 *-*-openbsd*.
20995 * gdb.asm/openbsd.inc: New file.
20996
20997 2004-01-30 Mark Kettenis <kettenis@gnu.org>
20998
20999 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
21000 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
21001 *-*solaris2*. Remove commented out default settings for
21002 asm-flags. Replace gdb_compile with target_link.
21003
21004 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
21005
21006 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
21007 for all tests. Remove old hp-ux and cygnus xfail cases.
21008
21009 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
21010
21011 * gdb.base/chng-syms.exp: New file.
21012 * gdb.base/chng-syms.c: New file.
21013
21014 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21015
21016 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
21017 Provide arms for current output in all my configurations.
21018
21019 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
21020
21021 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
21022 * lib/compiler.cc: Likewise.
21023 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
21024 get the right preprocessor. Eval the output directly. Remove
21025 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
21026 hp_f77_compiler and hp_f90_compiler completely.
21027 (gdb_preprocess): Delete.
21028 (get_compiler): Delete.
21029
21030 2004-01-24 Mark Kettenis <kettenis@gnu.org>
21031
21032 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
21033 <string.h>.
21034
21035 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
21036
21037 * gdb.mi/mi-stack.exp: Update copyright.
21038
21039 2004-01-23 David Carlton <carlton@kealia.com>
21040
21041 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
21042 test for cp_lookup_transparent_type.
21043 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
21044 call them.
21045
21046 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
21047
21048 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
21049 after -var-update.
21050
21051 2004-01-23 David Carlton <carlton@kealia.com>
21052
21053 * gdb.cp/namespace.cc (C::ensureRefs): New.
21054 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
21055
21056 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
21057
21058 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
21059 case "-stack-list-locals 2".
21060 * gdb.mi/mi-var-child.exp: Test for case
21061 "-var-list-children --all-values NAME".
21062
21063 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
21064
21065 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21066
21067 2004-01-18 Mark Kettenis <kettenis@gnu.org>
21068
21069 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21070 used with gdb_test_multiple.
21071
21072 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21073 read at address 0. This fixes PR testsuite/1504.
21074
21075 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
21076
21077 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21078 Remove downloading, guessing the host executable, the calls to
21079 gdb_file_cmd and gdb_target_cmd, and "load" support.
21080 (infer_host_exec): New function broken out from gdb_load.
21081 (gdb_load): New wrapper for gdbserver_gdb_load.
21082 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21083 gdb_target_cmd. Use -target-select.
21084 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21085 Download binaries to the host. Clear last_mi_remote_file when
21086 we load a new binary.
21087 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21088 call gdbserver_gdb_load and mi_gdb_target_cmd.
21089
21090 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21091
21092 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21093 type patterns.
21094
21095 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21096
21097 * gdb.cp/templates.exp: Fix typo in test name of
21098 "print Foo<volatile char*>::foo".
21099
21100 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21101
21102 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21103
21104 2004-01-16 Ben Elliston <bje@wasabisystems.com>
21105
21106 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21107 (clean mostlyclean): Remove empty rm.
21108
21109 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21110
21111 * gdb.base/setvar.exp: Add copyright years.
21112
21113 2004-01-14 David Carlton <carlton@bactrian.org>
21114
21115 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21116 PR c++/1511 and update coment.
21117 * gdb.cp/templates.exp: Update patterns to match current output.
21118 If changes involve something other than whitespace, KFAIL
21119 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21120
21121 2004-01-14 David Carlton <carlton@kealia.com>
21122
21123 * gdb.cp/namespace.exp: Add tests involving classes defined within
21124 namespaces.
21125 * gdb.cp/namespace.cc (C::CClass): New.
21126 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21127
21128 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
21129
21130 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21131 what debug info we have. Print a better message if something goes
21132 wrong while producing the separate debug info file.
21133
21134 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21135
21136 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21137
21138 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21139
21140 * gdb.base/callfuncs.c: Add copyright notice.
21141
21142 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21143
21144 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21145 inheritance. PR gdb/1498, PR gcc/13539.
21146
21147 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
21148
21149 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21150 test specific name.
21151 * gdb.mi/gdb669.exp: Ditto.
21152 * gdb.mi/mi-pthreads.exp: Ditto.
21153 * gdb.mi/mi1-pthreads.exp: Ditto.
21154 * gdb.mi/mi2-pthreads.exp: Ditto.
21155
21156 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21157
21158 * gdb.cp/member-ptr.cc: Add copyright notice.
21159
21160 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21161
21162 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21163 some patterns for recent versions of gcc and hpacc. Delete
21164 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21165 Delete tests that access a NULL pointer-to-member-data. This
21166 script is still disabled for gcc.
21167
21168 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21169
21170 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
21171 escaped correctly.
21172
21173 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21174
21175 * gdb.base/sepdebug.exp: New file.
21176 * gdb.base/sepdebug.c: New file.
21177 * lib/gdb.exp (separate_debug_filename): New procedure.
21178 (gdb_gnu_strip_debug): New procedure.
21179
21180 2004-01-12 Andrew Cagney <cagney@redhat.com>
21181
21182 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21183 * gdb.mi/ChangeLog-1999-2003: New file.
21184
21185 2004-01-12 Andrew Cagney <cagney@redhat.com>
21186
21187 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21188 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21189 or EEXIST", treat EBUSY as an XFAIL.
21190
21191 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21192
21193 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21194 hp_cc_compiler.
21195
21196 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21197
21198 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21199 decorations.
21200
21201 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21202
21203 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21204 and "(aCC)" decorations. Remove obsolete doco about old
21205 test results.
21206
21207 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21208
21209 * gdb.cp/exception.exp: Fix typo in doco.
21210
21211 2004-01-09 Mark Kettenis <kettenis@gnu.org>
21212
21213 * gdb.base/gdb1476.exp: Fix typo.
21214
21215 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21216
21217 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21218 file.
21219
21220 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21221
21222 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21223 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21224 Use gdb_compile. Remove restriction on gcc. Add some patterns
21225 for recent version of gdb. Delete second half, which was a copy
21226 of the first half with different build flags. This test is
21227 still disabled because it is still not ready for production.
21228
21229 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21230
21231 * gdb.cp/exception.cc: Add copyright notice.
21232 * gdb.cp/exception.exp: Add a notice that this file is broken
21233 because of line number changes caused by addition of copyright
21234 notice.
21235
21236 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21237
21238 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21239 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21240
21241 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21242
21243 * gdb.cp/classes.exp: Accept gnu abi 2.
21244 * gdb.cp/derivation.exp: Likewise.
21245 * gdb.cp/overload.exp: Likewise.
21246 * gdb.cp/virtfunc.exp: Likewise.
21247
21248 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21249
21250 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21251 semicolon after end of function.
21252
21253 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21254
21255 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21256 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21257 boilerplate code for compiling and running the program under
21258 test. Add some string method tests.
21259
21260 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21261
21262 * gdb.cp/bs15503.cc: Add copyright notice.
21263 * gdb.cp/bs15503.exp: Adjust line number.
21264
21265 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21266
21267 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21268 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21269
21270 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21271
21272 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21273 hp_cc_compiler.
21274
21275 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21276
21277 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21278 * gdb.cp/ctti.exp: Use the marker instead of "next".
21279 With gcc, run further before bailing.
21280
21281 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21282
21283 * gdb.cp/cttiadd.cc: Add copyright notice.
21284 * gdb.cp/cttiadd1.cc: Likewise.
21285 * gdb.cp/cttiadd2.cc: Likewise.
21286 * gdb.cp/cttiadd3.cc: Likewise.
21287
21288 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21289
21290 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21291 Use gdb_test, gdb_test_multiple. Use floating-point values that
21292 have exact representations in IEEE-ish formats.
21293
21294 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21295
21296 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21297 compilers. Delete duplicate call to get_compiler_info.
21298 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21299 * gdb.base/volatile.exp: Likewise.
21300
21301 2004-01-07 Mark Kettenis <kettenis@gnu.org>
21302
21303 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21304 memory at address 0.
21305
21306 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21307
21308 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21309 to test for hp-ux assembler. Fix copyright years.
21310
21311 2004-01-07 Andrew Cagney <cagney@redhat.com>
21312
21313 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21314
21315 2004-01-07 Andrew Cagney <cagney@redhat.com>
21316
21317 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21318 when creating the read-only file. From analysis by Roland McGrath
21319 and Elena Zannoni.
21320
21321 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21322
21323 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21324
21325 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21326
21327 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21328 data pointers.
21329
21330 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21331
21332 * gdb.cp/m-static.exp: Compile one source file at a time.
21333 Delete unused call to get_compiler_info.
21334
21335 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21336
21337 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21338 * gdb.base/call-rt-st.exp: Likewise.
21339 * gdb.base/nodebug.exp: Likewise.
21340 * gdb.base/volatile.exp: Likewise.
21341 * gdb.cp/ref-types.exp: Likewise.
21342 * gdb.cp/templates.exp: Likewise.
21343
21344 2004-01-05 Mark Kettenis <kettenis@gnu.org>
21345
21346 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21347
21348 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21349
21350 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21351 hppa*-hp-hpux*.
21352
21353 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21354
21355 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21356 x86_64-*-*.
21357
21358 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21359 sparc64-*-* and sparc*-solaris2*.
21360
21361 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21362
21363 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21364 return ${tests}" test. The ${tests} already mentions the
21365 filename.
21366
21367 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21368
21369 * gdb.cp/local.exp: Accept gcc abi 2.
21370
21371 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21372
21373 * gdb.cp/templates.exp: Accept gcc abi 2.
21374
21375 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21376
21377 * lib/compiler.cc: Remove supports_template_debugging.
21378 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21379
21380 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21381
21382 * gdb.cp/namespace.exp: Accept gcc abi 2.
21383
21384 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21385
21386 * gdb.cp/method.exp: Accept gcc abi 2.
21387
21388 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21389
21390 * gdb.cp/classes.exp: Generate identical results as old version.
21391 * gdb.cp/derivation.exp: Likewise.
21392 * gdb.cp/overload.exp: Likewise.
21393 * gdb.cp/virtfunc.exp: Likewise.
21394
21395 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21396
21397 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21398 mysterious bug with sourceware version of expect.
21399
21400 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21401
21402 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21403 current versions of gcc, including gcc abi 2. Remove gratuitous
21404 restart of test program. Use gdb_test_multiple and gdb_test for
21405 all tests. Add patterns to xfail missing "const" in "const char *"
21406 and kfail PR gdb/1155.
21407
21408 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21409
21410 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21411 current versions of gcc, including gcc abi 2. Remove gratuitous
21412 restart of test program. Use gdb_test_multiple and gdb_test for
21413 all tests. Add patterns to kfail PR gdb/1498.
21414
21415 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21416
21417 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21418 current versions of gcc, including gcc abi 2. Use "breakpoint"
21419 and "continue" instead of restarting the target program. Use
21420 gdb_test_multiple and gdb_test for all tests.
21421
21422 2004-01-01 Mark Kettenis <kettenis@gnu.org>
21423
21424 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21425 for *-*-solaris2*.
21426
21427 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21428
21429 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21430 current versions of gcc, including gcc abi 2. Use "breakpoint"
21431 and "continue" instead of restarting the target program several
21432 times. Use gdb_test_multiple and gdb_test for all tests.
21433
21434 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21435
21436 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21437 source files.
21438
21439 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21440
21441 * gdb.base/environ.exp: Handle compiling test case from multiple
21442 source files.
21443
21444 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21445
21446 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21447
21448 2003-12-17 Jim Blandy <jimb@redhat.com>
21449
21450 * gdb.base/freebpcmd.c: Add copyright notice.
21451
21452 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21453
21454 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21455
21456 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21457
21458 2003-12-13 Jim Blandy <jimb@redhat.com>
21459
21460 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21461
21462 2003-12-12 Kevin Buettner <kevinb@redhat.com>
21463
21464 * gdb.asm/frv.inc: New file.
21465 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21466
21467 2003-12-09 Fred Fish <fnf@redhat.com>
21468
21469 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21470 functions to break1.c and leave prototypes behind. Add more
21471 "set breakpoint NN here" comments.
21472 * gdb.base/break1.c: New file.
21473
21474 * gdb.base/break.exp: Handle compiling test case from multiple
21475 source files and change source file references as needed.
21476 * gdb.base/completion.exp: Ditto.
21477 * gdb.base/condbreak.exp: Ditto.
21478 * gdb.base/define.exp: Ditto.
21479 * gdb.base/ena-dis-br.exp: Ditto.
21480 * gdb.base/info-proc.exp: Ditto.
21481 * gdb.base/maint.exp: Ditto.
21482 * gdb.base/until.exp: Ditto.
21483
21484 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21485 hardcoded line numbers.
21486 * gdb.base/define.exp: Ditto.
21487 * gdb.base/ena-dis-br.exp: Ditto.
21488 * gdb.base/maint.exp: Ditto.
21489 * gdb.base/until.exp: Ditto.
21490
21491 * gdb.base/completion.exp: Use "break1" for completion tests since
21492 "break" is no longer a unique prefix.
21493
21494 2003-12-06 Andrew Cagney <cagney@redhat.com>
21495
21496 * gdb.base/structs.exp (test_struct_returns): When applicable, set
21497 "return_value_unimplemented". When an unimplemented struct return
21498 architecture, report incorrect values as a KFAIL
21499
21500 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21501
21502 * gdb.cp/rtti.exp: Accept new wording of warning from
21503 cp_lookup_rtti_type.
21504
21505 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21506
21507 Partial fix for PR testsuite/1456.
21508 * gdb.base/scope.exp (test_at_main): Replace references to
21509 gcc_compiled with calls to test_compiler_info.
21510 (test_at_foo): Likewise.
21511 (test_at_bar): Likewise.
21512
21513 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
21514
21515 Partial fix for PR testsuite/1456.
21516 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21517 to test_compiler_info.
21518
21519 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
21520
21521 * gdb.base/so-impl-ld.exp: Update copyright notice.
21522
21523 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
21524
21525 Partial fix for PR testsuite/1456.
21526 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21527 to test_compiler_info.
21528
21529 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21530
21531 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21532 from current versions of gdb. Clean up regular expressions.
21533 Delete redundant timeout case.
21534
21535 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21536
21537 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21538 from current versions of gdb. Clean up regular expressions.
21539 Delete redundant timeout case.
21540
21541 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
21542
21543 Partial fix for PR testsuite/1456.
21544 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21545 gcc_compiled with call to test_compiler_info.
21546
21547 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
21548
21549 Partial fix for PR testsuite/1456.
21550 * gdb.base/list.exp (test_list_function): Delete unused declaration
21551 of gcc_compiled.
21552
21553 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
21554
21555 Partial fix for PR testsuite/1456.
21556 * gdb.base/complex.exp: Replace reference to gcc_compiled with
21557 call to test_compiler_info.
21558
21559 2003-11-29 Mark Kettenis <kettenis@gnu.org>
21560
21561 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
21562 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
21563 it to create the appropriate note.inc.
21564 * gdb.asm/asmsrc1.s: Include "note.inc".
21565 * gdb.asm/netbsd.inc: New file.
21566 * gdb.asm/empty.inc: New file.
21567
21568 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21569
21570 Partial fix for PR testsuite/1456.
21571 * gdb.base/constvars.exp: Replace references to gcc_compiled with
21572 calls to test_compiler_info.
21573
21574 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
21575
21576 Partial fix for PR testsuite/1456.
21577 * gdb.base/volatile.exp: Replace references to gcc_compiled with
21578 calls to test_compiler_info.
21579
21580 2003-11-27 Mark Kettenis <kettenis@gnu.org>
21581
21582 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21583 pattern for the KFAILs.
21584
21585 2003-11-25 Adam Fedor <fedor@gnu.org>
21586
21587 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21588 * gdb.objc/objcdecode.m: New file.
21589
21590 2003-11-25 Adam Fedor <fedor@gnu.org>
21591
21592 * gdb.objc/nondebug.exp: Test for PR objc/1236.
21593 * gdb.objc/nondebug.m: New file.
21594
21595 2003-11-26 Ben Elliston <bje@wasabisystems.com>
21596
21597 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21598 NetBSD as it does on FreeBSD. Modelled on a similar change by
21599 Mark Kettenis on 2003-05-30.
21600 (link-flags): Set to "--entry _start" regardless of target.
21601 Special linker flags are to be appended to $link-flags.
21602 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21603
21604 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21605
21606 * gdb.cp/method.exp: Accept output of new demangler.
21607
21608 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21609
21610 * gdb/class2.exp: New file.
21611 * gdb/class2.cc: New file.
21612
21613 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21614
21615 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
21616 of new demangler.
21617
21618 2003-11-23 Mark Kettenis <kettenis@gnu.org>
21619
21620 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
21621 of gdb_test "run".
21622
21623 2003-11-23 Mark Kettenis <kettenis@gnu.org>
21624
21625 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
21626 "continue" into "run".
21627
21628 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21629
21630 Partial fix for PR testsuite/1456.
21631 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
21632 call to test_compiler_info.
21633 * gdb.cp/ctti.exp: Likewise.
21634 * gdb.cp/derivation.exp: Likewise.
21635 * gdb.cp/member-ptr.exp: Likewise.
21636 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
21637 reference to gcc_compiled.
21638
21639 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21640
21641 Fix PR testsuite/1463.
21642 * gdb.base/structs.exp (start_structs_test): Call
21643 get_debug_format before using the debug format.
21644
21645 2003-11-22 Andrew Cagney <cagney@redhat.com>
21646
21647 * lib/gdb.exp (gdb_test_multiple): Add simple example.
21648 * gdb.base/structs.exp: Use gdb_test_multiple.
21649
21650 2003-11-20 Andrew Cagney <cagney@redhat.com>
21651
21652 * gdb.base/structs.exp: Handle and recover from internal errors.
21653 Replace "foo${n}" with "foo<n>" in test messages.
21654
21655 * gdb.base/structs.exp: Update copyright. Rewrite.
21656 * gdb.base/structs.c: Update copyright. Rewrite.
21657
21658 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
21659 resync count exceeded.
21660
21661 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
21662 from the internal error.
21663 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
21664 Original from Jim Blandy.
21665 (gdb_test_multiple): Use gdb_internal_error_resync.
21666
21667 2003-11-19 Andrew Cagney <cagney@redhat.com>
21668
21669 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
21670 KFAIL.
21671
21672 2003-11-17 Mark Kettenis <kettenis@gnu.org>
21673
21674 New testcase for PR backtrace/1435.
21675 * gdb.arch/i386-unwind.exp: New file.
21676 * gdb.arch/i386-unwind.c: New file.
21677
21678 2003-11-17 Andrew Cagney <cagney@redhat.com>
21679
21680 * lib/gdb.exp (compiler_info): New global.
21681 (test_compiler_info): New function.
21682 (get_compiler_info): Set compiler_info.
21683 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
21684 "compiler_info" to gcc-<major>-<minor>.
21685
21686 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
21687
21688 * gdb.trace/configure: Remove.
21689
21690 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
21691
21692 * gdb.base/break.c: Add comments to aid finding line numbers for
21693 breakpoints.
21694 * gdb.base/break.exp: Remove all references to explicit line
21695 numbers.
21696
21697 2003-11-11 Nick Clifton <nickc@redhat.com>
21698
21699 * gdb.base/shreloc.exp: Do not run for targets which do not
21700 support shared objects.
21701
21702 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
21703
21704 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
21705 Don't run tests if nofileio flag is given.
21706
21707 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
21708
21709 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
21710 as well as 'Watchpoint'.
21711
21712 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
21713
21714 Reported by Jim Ingham <jingham@apple.com>:
21715 * gdb.base/annota1.exp: Match at least one occurrence of the
21716 signal handler annotation.
21717
21718 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
21719
21720 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
21721 as well as 'Watchpoint'.
21722
21723 2003-11-05 Michael Chastain <mec@shout.net>
21724
21725 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
21726
21727 2003-11-03 Kris Warkentin <kewarken@qnx.com>
21728
21729 * gdb.arch/gdb1291.c: New test file.
21730 * gdb.arch/gdb1291.exp: New test script.
21731 * gdb.arch/gdb1431.c: New test file.
21732 * gdb.arch/gdb1431.exp: New test script.
21733
21734 2003-10-22 Michael Chastain <mec@shout.net>
21735
21736 * gdb.mi/pthreads.c: Add copyright notice.
21737
21738 2003-10-22 Michael Chastain <mec@shout.net>
21739
21740 * gdb.threads/pthreads.c: Add copyright notice.
21741
21742 2003-10-20 Michael Chastain <mec@shout.net>
21743
21744 * gdb.base/gdb1056.exp: New test script.
21745
21746 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
21747
21748 * gdb.threads/killed.exp: Use gdb_run_cmd.
21749
21750 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
21751
21752 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
21753 create a core file.
21754 * gdb.threads/gcore-thread.exp: Likewise.
21755
21756 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
21757
21758 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
21759 type, based on char type.
21760 (struct bit_flags_short_t): New bitfield type, based on short type.
21761 (init_bit_flags_char): New fuction.
21762 (init_bit_flags_short): Ditto.
21763 (print_bit_flags_char): Ditto.
21764 (print_bit_flags_short): Ditto.
21765 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
21766
21767 2003-10-11 Michael Chastain <mec@shout.net>
21768
21769 * gdb.base/call-rt-st.exp: Update copyright year.
21770
21771 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
21772
21773 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
21774 * gdb.disasm/sh3.s: Ditto.
21775
21776 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
21777
21778 * gdb.threads/switch-threads.exp: New test.
21779 * gdb.threads/switch-threads.c: New source file.
21780
21781 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
21782
21783 * gdb.base/ending-run.exp: Add sh specific case.
21784
21785 2003-10-06 Andrew Cagney <cagney@redhat.com>
21786
21787 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
21788 * gdb.disasm/mn10200.exp: Delete obsolete file.
21789
21790 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
21791
21792 * ChangeLog: Correct an entry command.exp -> commands.exp.
21793 * gdb.base/commands.exp (bp_deleted_in_command_test)
21794 (temporary_breakpoint_commands): Check noargs.
21795
21796 2003-09-25 David Carlton <carlton@kealia.com>
21797
21798 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
21799 of some print tests, where appropriate. Add tests for C::D::cd,
21800 E::ce, F::cXfX, G::XgX.
21801 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
21802
21803 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
21804
21805 * lib/java.exp (java_init): Import target_alias before using it.
21806
21807 2003-09-25 David Carlton <carlton@kealia.com>
21808
21809 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
21810
21811 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
21812
21813 * gdb.base/selftest.exp: Accomodate more instruction reordering
21814 weirdness.
21815
21816 2003-09-17 Michael Chastain <mec@shout.net>
21817
21818 * gdb.cp/gdb1355.exp: New file.
21819 * gdb.cp/gdb1355.c: New file.
21820
21821 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
21822
21823 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
21824 * gdb.asm/sh.inc: New file.
21825
21826 2003-09-11 David Carlton <carlton@kealia.com>
21827
21828 * gdb.cp/namespace.exp: Add tests for namespace types.
21829 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
21830 (test_namespace): New.
21831
21832 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
21833
21834 * gdb.base/relocate.exp: Handle new gdb output at startup.
21835 * gdb.stabs/weird.exp: Ditto.
21836
21837 2003-09-08 Michael Chastain <mec@shout.net>
21838
21839 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21840
21841 2003-09-07 Michael Chastain <mec@shout.net>
21842
21843 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21844 'parse error'.
21845
21846 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
21847
21848 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21849
21850 2003-08-30 Michael Chastain <mec@shout.net>
21851
21852 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21853 * gdb.gdb/observer.exp: Ditto.
21854 * gdb.gdb/xfullpath.exp: Ditto.
21855
21856 2003-08-29 Mark Kettenis <kettenis@gnu.org>
21857
21858 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21859 *-*-*bsd*.
21860
21861 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
21862
21863 * gdb.base/dump.exp: Skip for ia64.
21864
21865 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
21866
21867 * gdb.asm/asm-source.exp: Add ia64 support.
21868 * gdb.asm/ia64.inc: New file.
21869
21870 2003-08-22 Michael Chastain <mec@shout.net>
21871
21872 * gdb.cp: New directory.
21873 * gdb.cp/*: Copy from gdb.c++/*.
21874 * gdb.c++/*: Remove.
21875 * Makefile.in: Change gdb.c++ to gdb.cp.
21876 * configure.in: Ditto.
21877 * configure: Regnerate.
21878
21879 2003-08-18 Mark Kettenis <kettenis@gnu.org>
21880
21881 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21882 * gdb.arch/i386-prologue.c (gdb1338): Add function.
21883
21884 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
21885
21886 * mi-var-display.exp (-var-list-children weird): Accept function
21887 pointers with argument types.
21888 * mi1-var-display.exp (-var-list-children weird): Likewise.
21889 * mi2-var-display.exp (-var-list-children weird): Likewise.
21890
21891 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
21892
21893 * gdb.base/annota3.exp: Add missing newline.
21894
21895 2003-08-06 Michael Chastain <mec@shout.net>
21896
21897 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21898
21899 2003-08-12 Michael Snyder <msnyder@redhat.com>
21900
21901 * gdb.base/float.exp: Add test for SH.
21902
21903 2003-08-10 Mark Kettenis <kettenis@gnu.org>
21904
21905 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21906
21907 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21908
21909 * gdb.base/completion.exp: Remove reduntant completion test
21910 on filename.
21911
21912 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21913
21914 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21915 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21916 gdb.trace/save-trace.exp: Make sure that full pathnames are
21917 escaped correctly.
21918
21919 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21920
21921 * configure.in: Don't generate config.h from config.hin.
21922 * configure: Regenerate.
21923 * config.hin: Remove file.
21924 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21925 * gdb.threads/pthreads.c: Ditto.
21926
21927 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
21928
21929 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21930 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21931 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21932 Replace ld24 with seth/add3.
21933
21934 2003-08-02 Andrew Cagney <cagney@redhat.com>
21935
21936 * gdb.base/annota3.exp: New file.
21937 * gdb.base/annota3.c: New file.
21938 * gdb.c++/annota3.exp: New file.
21939 * gdb.c++/annota3.cc: New file.
21940
21941 2003-07-29 Michael Chastain <mec@shout.net>
21942
21943 * gdb.threads/tls.c (spin): Check errno only if sem_wait
21944 actually failed.
21945 (do_pass): Likewise.
21946 * gdb.threads/tls.exp: Always initialize no_of_threads.
21947
21948 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
21949
21950 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21951 pattern.
21952 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21953 * gdb.threads/tls.exp: Recognize one case of the host library not
21954 supporting TLS.
21955
21956 2003-07-27 Andrew Cagney <cagney@redhat.com>
21957
21958 * gdb.base/fileio.exp: Use SH when running commands using
21959 remote_exec.
21960
21961 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
21962
21963 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21964 * gdb.base/relocate.c (dummy): New padding array.
21965
21966 2003-07-22 Michael Snyder <msnyder@redhat.com>
21967
21968 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
21969
21970 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21971 patterns to be more general, accepting old and new output.
21972 Some output chars (such as '+') also must be quoted.
21973 Some addresses are displayed numerically instead of
21974 symbolically.
21975
21976 2003-07-23 Michael Snyder <msnyder@redhat.com>
21977
21978 * gdb.base/return2.exp: Don't test long-long return.
21979
21980 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21981 * gdb.disasm/t01_mov.exp: Ditto.
21982 * gdb.disasm/t02_mova.s: Ditto.
21983 * gdb.disasm/t02_mova.exp: Ditto.
21984 * gdb.disasm/t03_add.s: Ditto.
21985 * gdb.disasm/t03_add.exp: Ditto.
21986 * gdb.disasm/t04_sub.s: Ditto.
21987 * gdb.disasm/t04_sub.exp: Ditto.
21988 * gdb.disasm/t05_cmp.s: Ditto.
21989 * gdb.disasm/t05_cmp.exp: Ditto.
21990 * gdb.disasm/t06_ari2.s: Ditto.
21991 * gdb.disasm/t06_ari2.exp: Ditto.
21992 * gdb.disasm/t07_ari3.s: Ditto.
21993 * gdb.disasm/t07_ari3.exp: Ditto.
21994 * gdb.disasm/t08_or.s: Ditto.
21995 * gdb.disasm/t08_or.exp: Ditto.
21996 * gdb.disasm/t09_xor.s: Ditto.
21997 * gdb.disasm/t09_xor.exp: Ditto.
21998 * gdb.disasm/t10_and.s: Ditto.
21999 * gdb.disasm/t10_and.exp: Ditto.
22000 * gdb.disasm/t11_logs.s: Ditto.
22001 * gdb.disasm/t11_logs.exp: Ditto.
22002 * gdb.disasm/t12_bit.s: Ditto.
22003 * gdb.disasm/t12_bit.exp: Ditto.
22004 * gdb.disasm/t13_otr.s: Ditto.
22005 * gdb.disasm/t13_otr.exp: Ditto.
22006
22007 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22008
22009 * gdb.threads/tls.exp :Add kfail for 'info address' case.
22010
22011 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
22012
22013 * gdb.threads/tls.c : New file.
22014 * gdb.threads/tls.exp : New file.
22015 * gdb.threads/tls-main.c : New file.
22016 * gdb.threads/tls-shared.c : New file.
22017 * gdb.threads/tls-shared.exp : New file.
22018
22019 2003-07-22 Andreas Schwab <schwab@suse.de>
22020
22021 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
22022
22023 2003-07-20 Andreas Schwab <schwab@suse.de>
22024
22025 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
22026 due to insn reordering.
22027
22028 2003-07-15 Andrew Cagney <cagney@redhat.com>
22029
22030 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
22031
22032 2003-07-15 Michael Chastain <mec@shout.net>
22033
22034 * gdb.base/gdb1250.exp: New file.
22035 * gdb.base/gdb1250.c: New file.
22036
22037 2003-07-09 Michal Ludvig <mludvig@suse.cz>
22038
22039 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
22040 expansion of size_t to 'unsigned long', not only to 'unsigned'.
22041
22042 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22043
22044 * gdb.threads/tls.c: New file.
22045 * gdb.threads/tls.exp: New file.
22046 * gdb.threads/tls-main.c: New file.
22047 * gdb.threads/tls-shared.c: New file.
22048 * gdb.threads/tls-shared.exp: New file.
22049
22050 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22051
22052 * gdb.base/annota1.exp: Make sure that we properly escape the
22053 full path of the source file. Xfail more permissive patterns,
22054 due to a compiler debug info problem.
22055
22056 2003-07-07 Andreas Schwab <schwab@suse.de>
22057
22058 * gdb.asm/m68k.inc: New file.
22059 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
22060
22061 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
22062 arguments"): Also match negative number.
22063
22064 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
22065
22066 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
22067
22068 * gdb.base/store.c (charest): New typedef.
22069 (add_char): Rename to add_charest, update.
22070 (wack_char): Rename to wack_charest, update types. Return l + r
22071 to keep r live across the call.
22072 (wack_short, wack_int, wack_long, wack_longest, wack_float)
22073 (wack_double, wack_doublest): Return l + r to keep r live across
22074 the call.
22075 * gdb.base/store.exp: Accomodate store.c changes.
22076
22077 2003-06-30 David Carlton <carlton@kealia.com>
22078
22079 * gdb.c++/maint.exp (test_invalid_name): New.
22080 (test_first_component): Add tests for invalid names.
22081
22082 2003-06-29 Michael Chastain <mec@shout.net>
22083
22084 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22085 output of '<VTT for class>' for virtual base classes.
22086
22087 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22088
22089 * gdb.base/completion.exp: Tab-complete "complet" instead of
22090 "compl".
22091 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22092
22093 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22094
22095 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22096 * gdb.base/volatile.exp: Likewise.
22097
22098 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22099
22100 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22101 gdb/1265.
22102
22103 2003-06-28 Michael Chastain <mec@shout.net>
22104 Daniel Jacobowitz <drow@mvista.com>
22105
22106 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22107 initial line count of 'captured_main' from 26 to 32.
22108 (test_with_self): Allow xmalloc call to be interleaved with the
22109 preceding two lines.
22110
22111 2003-06-24 Joel Brobecker <brobecker@gnat.com>
22112
22113 * gdb.base/bang.exp: New testcase.
22114
22115 2003-06-23 Joel Brobecker <brobecker@gnat.com>
22116
22117 * gdb.base/langs.exp: Add some tests for the "minimal" language
22118 support.
22119
22120 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
22121
22122 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22123 the testcase.
22124
22125 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22126
22127 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22128 offset.
22129
22130 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22131
22132 * gdb.c++/pr-1210.cc: New file.
22133 * gdb.c++/pr-1210.exp: New file.
22134
22135 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
22136
22137 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22138 000-exec-continue.
22139
22140 2003-06-15 Mark Kettenis <kettenis@gnu.org>
22141
22142 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22143 on *-*-*bsd* instead of *-*-freebsd*.
22144
22145 2003-06-14 Andrew Cagney <cagney@redhat.com>
22146
22147 * gdb.base/store.exp: Test longest and doublest. Test all
22148 parameters. Weaken return statement match.
22149 * gdb.base/store.c: Add longest and doublest - aka long long and
22150 long double functions. Put all parameters into local register
22151 variables. Use negative values.
22152
22153 2003-06-14 Andrew Cagney <cagney@redhat.com>
22154
22155 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22156 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22157 exit status.
22158 * gdb.base/fileio.exp: Disable target when nointerrupts and
22159 noinferiorio, instead of limiting it to remote. Use remote_exec
22160 instead of system.
22161
22162 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22163
22164 * gdb.base/float.exp: Add ia64 support.
22165
22166 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
22167
22168 * gdb.base/fileio.exp: Run only on remote targets.
22169
22170 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
22171
22172 * gdb.base/fileio.c: New file, testing File-I/O.
22173 * gdb.base/fileio.exp: Ditto.
22174
22175 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22176
22177 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22178 shared objects after relocation at load time (gdb PR/1132).
22179 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
22180 as above, part of the shared object relocation test.
22181
22182 2003-06-08 Mark Kettenis <kettenis@gnu.org>
22183
22184 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22185 fully filled history list.
22186 * gdb.base/gdb_history: New file.
22187
22188 * gdb.base/signals.exp: XFAIL "continue to func1" on
22189 i*86-*-freebsd*.
22190
22191 * gdb.base/attach.exp: When trying to attach to a nonexistent
22192 process, make it possible to specify the PID based on the target,
22193 and do so for *-*-freebsd*.
22194
22195 2003-06-02 Richard Henderson <rth@redhat.com>
22196
22197 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22198
22199 2003-06-02 Richard Henderson <rth@redhat.com>
22200
22201 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22202
22203 2003-06-02 Richard Henderson <rth@redhat.com>
22204
22205 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22206
22207 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
22208
22209 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22210 of globalvar.
22211
22212 2003-06-01 Mark Kettenis <kettenis@gnu.org>
22213
22214 * gdb.asm/asm-source.exp: Check for memory read errors in
22215 disassembler test on *BSD too.
22216
22217 2003-06-01 Richard Henderson <rth@redhat.com>
22218
22219 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22220 for .frame.
22221 (gdbasm_call): Lose ldgp.
22222 (gdbasm_startup): Add frame information.
22223 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22224
22225 2003-05-31 Mark Kettenis <kettenis@gnu.org>
22226
22227 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22228 i?86-*-*.
22229
22230 2003-05-30 Mark Kettenis <kettenis@gnu.org>
22231
22232 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22233 FreeBSD.
22234
22235 2003-05-29 Richard Henderson <rth@redhat.com>
22236
22237 * gdb.asm/alpha.inc: New file.
22238 * gdb.asm/asm-source.exp: Use it.
22239
22240 2003-05-29 Jim Blandy <jimb@redhat.com>
22241
22242 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22243 'core.PID'.
22244
22245 2003-05-22 Jim Blandy <jimb@redhat.com>
22246
22247 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22248 backtrace.
22249
22250 2003-05-20 David Carlton <carlton@math.stanford.edu>
22251
22252 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22253 this time.
22254
22255 2003-05-19 David Carlton <carlton@bactrian.org>
22256
22257 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22258 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22259
22260 2003-05-19 David Carlton <carlton@bactrian.org>
22261
22262 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22263 namespace tests.
22264 Bump copyright date.
22265 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22266 (main): Call C::D::marker2.
22267 * gdb.c++/namespace1.cc: New file.
22268
22269 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22270
22271 Roland McGrath <roland@redhat.com>
22272 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
22273 there is no manager thread.
22274
22275 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22276
22277 * gdb.threads/schedlock.exp: Remove assumption that all threads
22278 will run in a particular small time slice. Also ensure we break
22279 in one of the child threads rather than the main thread.
22280
22281 2003-05-07 Jim Blandy <jimb@redhat.com>
22282
22283 Add support for assembly source testing on the s390x.
22284 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22285 architecture.
22286 * gdb.asm/s390x.inc: New file.
22287
22288 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22289 succession of 'if' statements.
22290
22291 2003-05-05 Andrew Cagney <cagney@redhat.com>
22292
22293 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22294
22295 2003-05-05 Andrew Cagney <cagney@redhat.com>
22296
22297 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22298 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22299
22300 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
22301
22302 * gdb.base/charset.exp: Update based on new behavior of set/show
22303 charset commands.
22304
22305 2003-05-01 Andrew Cagney <cagney@redhat.com>
22306
22307 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22308 variable do not give memory errors.
22309
22310 2003-04-30 Adam Fedor <fedor@gnu.org>
22311
22312 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22313 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22314 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22315 gdb.objc/basicclass.m: : New files
22316
22317 * lib/gdb.exp (gdb_compile_objc): New procedure.
22318
22319 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
22320
22321 * gdb.base/signals.exp: Make backtrace tests more specific.
22322
22323 2003-04-23 David Carlton <carlton@bactrian.org>
22324
22325 * gdb.c++/maint.exp (test_first_component): Add tests for
22326 'operator' in more locations.
22327
22328 2003-04-16 Kevin Buettner <kevinb@redhat.com>
22329
22330 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22331
22332 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
22333
22334 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
22335 func marke' instead. Update test name.
22336
22337 2003-04-15 David Carlton <carlton@math.stanford.edu>
22338
22339 * gdb.c++/maint.exp: New file.
22340
22341 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22342
22343 * gdb.threads/schedlock.c: Change type of thread function argument
22344 to long, to avoid warnings on 64-bit platforms.
22345
22346 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22347
22348 * gdb.base/attach.exp: Add new message from ptrace in case of
22349 attaching to nonexistent process.
22350
22351 2003-04-11 Jim Blandy <jimb@redhat.com>
22352
22353 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22354 gdb.c++/userdef.cc: Place comments on the lines to which the
22355 marker function might return.
22356 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22357 gdb.c++/userdef.exp: Look for those comments to check that we've
22358 returned to the right place, instead of checking line numbers.
22359
22360 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
22361
22362 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22363 match on sourcefile name, instead of directory name.
22364
22365 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
22366
22367 * gdb.base/completion.exp: Use string_to_regexp to match the
22368 working directory name.
22369
22370 2003-04-09 Jim Blandy <jimb@redhat.com>
22371
22372 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22373 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22374 after an inferior function call, report the failure, but allow the
22375 test to continue.
22376
22377 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22378
22379 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22380 with -DPROTOTYPES.
22381
22382 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22383
22384 * gdb.base/break.exp: Revert last patch.
22385
22386 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22387
22388 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22389 with -DPROTOTYPES.
22390
22391 2003-04-02 Andrew Cagney <cagney@redhat.com>
22392
22393 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22394 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22395 matching directories by the name breakpoint.
22396 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22397 Make "continue to marker1" consistent.
22398 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22399 message consistent.
22400 * lib/gdb.exp: Put "the program is no longer running", and "the
22401 program exited" in parenthesis.
22402 * lib/mi-support.exp: Ditto.
22403
22404 2003-04-02 Bob Rossi <bob_rossi@cox.net>
22405
22406 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22407
22408 2003-03-29 Andrew Cagney <cagney@redhat.com>
22409
22410 * gdb.base/sizeof.c (main): Print the value of '\377'.
22411 * gdb.base/sizeof.exp: Check the sign of '\377'.
22412
22413 2003-03-27 Michael Chastain <mec@shout.net>
22414
22415 * gdb.base/gdb1090.exp: New file.
22416 * gdb.base/gdb1090.cc: New file.
22417
22418 2003-03-27 J. Brobecker <brobecker@gnat.com>
22419
22420 * gdb.gdb/observer.exp: New regression test.
22421
22422 2003-03-27 Michael Chastain <mec@shout.net>
22423
22424 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22425 * gdb.base/ptype.exp: Likewise.
22426
22427 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
22428
22429 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22430
22431 2003-03-26 Michael Chastain <mec@shout.net>
22432
22433 * gdb.base/ptype.exp: Actually use some typedef'd types.
22434
22435 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22436
22437 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22438 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22439
22440 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22441
22442 * gdb.base/default.exp: Fix regular expression.
22443
22444 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22445
22446 * gdb.base/args.exp: Fix regular expression.
22447
22448 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22449
22450 * gdb.base/help.exp: Allow Win32 child process.
22451
22452 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22453
22454 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22455 when stepping out of main().
22456
22457 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22458
22459 * gdb.base/default.exp: Check for win32 specific message when calling
22460 "run" without executable.
22461
22462 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22463
22464 * gdb.base/args.exp: Expect .exe in output.
22465
22466 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22467
22468 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22469 Cygwin native.
22470
22471 2003-03-17 Andrew Cagney <cagney@redhat.com>
22472
22473 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
22474 vector registes.
22475 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22476 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22477
22478 2003-03-17 David Carlton <carlton@math.stanford.edu>
22479
22480 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22481 test, for PR breakpoints/38.
22482 Call test_watchpoint_and_breakpoint.
22483 * gdb.base/watchpoint.c (func3): New function.
22484 (main): Call func3.
22485
22486 2003-03-04 David Carlton <carlton@math.stanford.edu>
22487
22488 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22489 Garply<Garply<char> >:: garply".
22490 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22491 with respect to PR c++/1111; note also PR c++/1113.
22492 (test_template_breakpoints): KFAIL "constructor breakpoint" with
22493 respect to PR c++/1062.
22494 KFAIL "destructor breakpoint" with respect to PR c++/1112.
22495
22496 2003-03-03 David Carlton <carlton@math.stanford.edu>
22497
22498 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22499 with respect to PR c++/57.
22500 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22501 c++/826.
22502 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22503 respect to PR c++/57.
22504
22505 2003-03-03 David Carlton <carlton@math.stanford.edu>
22506
22507 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22508 respect to PR c++/33 into FAILs.
22509
22510 2003-03-03 Michael Chastain <mec@shout.net>
22511
22512 * configure.in: Update copyright years.
22513
22514 2003-03-03 Michael Chastain <mec@shout.net>
22515
22516 * Makefile.in: Update copyright years.
22517
22518 2003-02-28 David Carlton <carlton@math.stanford.edu>
22519
22520 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22521 print class instead of struct and/or superfluous protection
22522 specifiers, as long as the resulting output is equivalent to the
22523 source code.
22524 Delete FIXME from end of messages on tests that don't need
22525 fixing.
22526
22527 2003-02-28 David Carlton <carlton@math.stanford.edu>
22528
22529 * gdb.c++/templates.exp (do_tests): Allow const in the two
22530 Foo<volatile char *>::foo tests.
22531
22532 2003-02-27 Michael Snyder <msnyder@redhat.com>
22533
22534 * gdb.base/restore.c (main): Return zero, so exit code
22535 will be consistant.
22536
22537 2003-02-26 David Carlton <carlton@math.stanford.edu>
22538
22539 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22540 char *>::foo" test with respect to PR c++/33. Create a new test
22541 which is identical to that one except that it doesn't put the
22542 space between the "char" and the "*"; KFAIL it, too.
22543
22544 2003-02-26 David Carlton <carlton@math.stanford.edu>
22545
22546 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22547 template types into either PASSes or KFAILs (corresponding to PR
22548 c++/57). Tweak indentation. Update copyright.
22549
22550 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
22551
22552 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22553
22554 2003-02-13 Michael Chastain <mec@shout.net>
22555
22556 * gdb.base/exprs.exp: Remove i960 remnants.
22557 * gdb.base/funcargs.exp: Likewise.
22558 * gdb.base/list.exp: Likewise.
22559 * gdb.base/ptype.exp: Likewise.
22560
22561 2003-02-14 David Carlton <carlton@math.stanford.edu>
22562
22563 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22564 pEe->D::vg()" from XFAIL to KFAIL.
22565
22566 2003-02-13 Jason Molenda (jmolenda@apple.com)
22567
22568 * gdb.base/maint.exp: Update maint print statistics regexp to include
22569 new entries.
22570
22571 2003-02-13 Michael Chastain <mec@shout.net>
22572
22573 * gdb.c++/inherit.exp: Remove call to get_debug_format.
22574
22575 2003-02-12 Michael Chastain <mec@shout.net>
22576
22577 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22578 * gdb.c++/inherit.exp: Likewise.
22579 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22580 * gdb.c++/templates.exp: Likewise.
22581 * gdb.c++/virtfunc.exp: Likewise.
22582
22583 2003-02-06 Jason Molenda (jason-cl@molenda.com)
22584
22585 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22586 why the code is written that way.
22587
22588 2003-02-05 Michael Chastain <mec@shout.net>
22589
22590 * gdb.base/dump.exp: Add missing copyright line.
22591
22592 2003-02-05 Jason Molenda (jason-cl@molenda.com)
22593
22594 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
22595 at the beginning so the breakpoint doesn't get set on the loop.
22596
22597 2003-02-05 Michael Chastain <mec@shout.net>
22598
22599 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22600 output for configurations with gcc 2.95.3.
22601
22602 2003-02-05 Keith Seitz <keiths@redhat.com>
22603 Andrew Cagney <ac131313@redhat.com>
22604
22605 * gdb.mi/mi-cli.exp: New file.
22606
22607 2003-02-04 Michael Chastain <mec@shout.net>
22608
22609 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22610 Call perror and then continue.
22611
22612 2003-02-03 Michael Chastain <mec@shout.net>
22613
22614 * gdb.c++/pr-1023.cc: New file.
22615 * gdb.c++/pr-1023.exp: New file.
22616
22617 2003-02-05 Jim Blandy <jimb@redhat.com>
22618
22619 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
22620 it's local to foobar. Check for it there, and check that it's not
22621 present in main.
22622 * gdb.c++/local.cc (marker2): New function.
22623 (foobar): Call marker1.
22624 (main): Call marker2 instead of marker1.
22625
22626 2003-02-04 Andrew Cagney <ac131313@redhat.com>
22627
22628 * gdb.disasm/mn10200.exp: Obsolete file.
22629 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
22630 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
22631 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
22632
22633 2003-02-04 David Carlton <carlton@math.stanford.edu>
22634
22635 * gdb.c++/overload.exp: Test intToChar(1).
22636 * gdb.c++/overload.cc (intToChar): New.
22637 (main): Call intToChar.
22638
22639 2003-02-03 David Carlton <carlton@math.stanford.edu>
22640
22641 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
22642 'might_kfail' arg.
22643 KFAIL some of the continue_to_bp_overloaded calls, according to
22644 PR c++/1025.
22645
22646 2003-02-01 Michael Chastain <mec@shout.net>
22647
22648 * gdb.base/advance.c (marker1): New marker function.
22649 * gdb.base/advance.exp: When the 'advance' command lands on the
22650 return breakpoint, it can legitimately stop on either the
22651 current line or the next line. Accommodate both outcomes.
22652 * gdb.base/until.exp: Likewise.
22653
22654 2003-02-02 Andrew Cagney <ac131313@redhat.com>
22655
22656 2002-11-10 Jason Molenda (jason-cl@molenda.com):
22657 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
22658 now a list, not a tuple.
22659 * gdb.mi/mi-var-display.exp: Ditto.
22660 * gdb.mi/gdb792.exp: Ditto.
22661
22662 2003-02-01 Andrew Cagney <ac131313@redhat.com>
22663
22664 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
22665 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
22666 stack backtraces.
22667 * gdb.mi/mi-syn-frame.c: Part of same.
22668
22669 2003-02-01 Mark Kettenis <kettenis@gnu.org>
22670
22671 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22672 gdb.mi/mi1-pthreads.exp: Return instead of calling
22673 gdb_suppress_entire_file.
22674
22675 2003-02-01 Mark Salter <msalter@redhat.com>
22676
22677 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
22678
22679 2003-01-31 Mark Salter <msalter@redhat.com>
22680
22681 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
22682 Support empty arg.
22683
22684 2003-01-30 Michael Chastain <mec@shout.net>
22685
22686 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
22687 This was a workaround for a UTF-8 bug in readline 4.3. The bug
22688 has been fixed in gdb/readline on 2003-01-09.
22689
22690 2003-01-29 Michael Snyder <msnyder@redhat.com>
22691
22692 * gdb.base/maint.exp: Allow for leading underscore in symbol.
22693 * gdb.base/display.exp: Allow for leading underscore in symbol.
22694 * gdb.base/args.exp: Skip if target does not support args passing.
22695
22696 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
22697
22698 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
22699 gdb_test. Accept a list of expect arguments as the third
22700 parameter.
22701 (gdb_test): Use it.
22702
22703 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
22704
22705 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
22706 allow for different test tree configurations. Update some
22707 tescases accordingly.
22708 * gdb.arch/altivec-regs.exp: Ditto.
22709 * gdb.asm/asm-source.exp: Ditto.
22710 * gdb.base/advance.exp: Ditto.
22711 * gdb.base/display.exp: Ditto.
22712 * gdb.base/long_long.exp: Ditto.
22713 * gdb.base/mips_pro.exp: Ditto.
22714 * gdb.base/overlays.exp: Ditto.
22715 * gdb.base/relocate.exp: Ditto.
22716 * gdb.base/setshow.exp: Ditto.
22717 * gdb.base/step-line.exp: Ditto.
22718 * gdb.base/step-test.exp: Ditto.
22719 * gdb.base/until.exp: Ditto.
22720 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
22721
22722 2003-01-17 David Carlton <carlton@math.stanford.edu>
22723
22724 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
22725 corresponding to PR c++/945.
22726 Update copyright.
22727
22728 2003-01-17 David Carlton <carlton@math.stanford.edu>
22729
22730 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
22731 corresponding to PR c++/68.
22732
22733 2003-01-17 David Carlton <carlton@math.stanford.edu>
22734
22735 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
22736 (test_paddr_hairy_functions): Call print_addr_2_kfail for
22737 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
22738
22739 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
22740
22741 * gdb.base/break.exp: Fix change of default location, because of
22742 removal of until tests.
22743 * gdb.base/help.exp: Update test for new 'until' help message.
22744 Add test for help on 'advance'.
22745 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
22746
22747 2003-01-15 Mark Kettenis <kettenis@gnu.org>
22748
22749 * gdb.base/default.exp: Adapt "info float" test for recent changes
22750 to that command. Add test for "info vector".
22751 * gdb.base/float.exp: New file. Add test for "info float" that
22752 resembles the old test in gdb.base/default.exp.
22753
22754 2003-01-15 David Carlton <carlton@math.stanford.edu>
22755
22756 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
22757
22758 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
22759
22760 * gdb.base/break.exp: Move the tests of until command from here...
22761 * gdb.base/until.exp: ... to here. New file. Add other tests.
22762 * gdb.base/advance.c: New file.
22763 * gdb.base/advance.exp: New file.
22764
22765 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
22766
22767 * gdb.base/args.c: New file.
22768 * gdb.base/args.exp: New file.
22769
22770 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22771
22772 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
22773
22774 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22775
22776 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
22777
22778 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22779
22780 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
22781 dates.
22782
22783 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22784
22785 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
22786
22787 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22788
22789 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
22790 (ptype &*"foo").
22791 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
22792
22793 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22794
22795 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
22796 * gdb.mi/mi1-console.exp: Likewise.
22797
22798 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22799
22800 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
22801 * gdb.mi/mi1-console.exp: Likewise.
22802
22803 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22804
22805 * gdb.c++/overload.exp: Remove some fixed XFAILs.
22806
22807 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
22808
22809 * gdb.base/detach.exp: New test.
22810
22811 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
22812
22813 * Makefile.in (ALL_SUBDIRS): New variable.
22814 (subdirs, clean, distclean): Use it.
22815 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
22816 regenerating Makefile, since it is generated from the top level.
22817 * gdb.asm/Makefile.in: Likewise.
22818 * gdb.base/Makefile.in: Likewise.
22819 * gdb.c++/Makefile.in: Likewise.
22820 * gdb.disasm/Makefile.in: Likewise.
22821 * gdb.java/Makefile.in: Likewise.
22822 * gdb.mi/Makefile.in: Likewise.
22823 * gdb.threads/Makefile.in: Likewise.
22824 * gdb.trace/Makefile.in: Likewise.
22825
22826 2003-01-09 David Carlton <carlton@math.stanford.edu>
22827
22828 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
22829 Add copyright year 2003.
22830
22831 2003-01-06 Michael Chastain <mec@shout.net>
22832
22833 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
22834 When selecting a thread, 'line' and 'file' are optional.
22835 * gdb.mi/mi1-pthreads.exp: Likewise.
22836
22837 2003-01-06 Andreas Schwab <schwab@suse.de>
22838
22839 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22840 failures.
22841
22842 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22843
22844 Fix PR gdb/844
22845 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22846 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22847
22848 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
22849 instead of calling gdb_suppress_entire_file.
22850 * gdb.threads/print-threads.exp: Likewise.
22851 * gdb.threads/schedlock.exp: Likewise.
22852
22853 * gdb.threads/killed.exp: Return instead of calling
22854 gdb_suppress_entire_file.
22855 * gdb.threads/linux-dp.exp: Likewise.
22856 * gdb.threads/pthreads.exp: Likewise.
22857
22858 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22859
22860 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22861 stabs.
22862 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22863 * gdb.base/whatis.exp: Always allow (void) after function names.
22864
22865 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22866
22867 * gdb.c++/casts.exp: Correct regexp.
22868
22869 2003-01-04 Mark Kettenis <kettenis@gnu.org>
22870
22871 * configure.in: Call AC_CONFIG_HEADER. Don't call
22872 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22873 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
22874 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
22875 aforementioned directories in the AC_OUPUT call.
22876 * config.hin: New file.
22877 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22878 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22879 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22880 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22881 pass -I$objdir instead of -I$objdir/$subdir in compilation.
22882 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22883 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22884 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22885 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22886 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22887 gdb.threads/configure.in, gdb.threads/configure,
22888 gdb.threads/config.in, gdb.trace/configure.in,
22889 gdb.trace/configure: Removed.
22890
22891 2003-01-03 Michael Chastain <mec@shout.net>
22892
22893 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22894 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22895
22896 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
22897
22898 * gdb.base/store.exp: Fix regular expressions.
22899
22900 2002-12-28 Mark Kettenis <kettenis@gnu.org>
22901
22902 * configure.in: Rewrite.
22903 * configure: Regenerated.
22904
22905 2003-01-03 David Carlton <carlton@math.stanford.edu>
22906
22907 * gdb.base/psymtab.exp: New file.
22908 * gdb.base/psymtab1.c: Ditto.
22909 * gdb.base/psymtab2.c: Ditto.
22910
22911 2002-12-23 Adam Fedor <fedor@gnu.org>
22912
22913 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22914
22915 2002-12-23 David Carlton <carlton@math.stanford.edu>
22916
22917 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22918 and current_directory initialization.
22919
22920 2002-12-22 Jim Blandy <jimb@redhat.com>
22921
22922 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22923 rather than as part of the output file name.
22924
22925 * gdb.base/attach.exp: There's no need to copy the test program to
22926 /tmp; that was only ever necessary on HP/UX, and this test is
22927 entirely disabled there anyway.
22928
22929 2002-12-21 Jim Blandy <jimb@redhat.com>
22930
22931 * gdb.c++/psmang.exp: Doc fix.
22932
22933 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22934 test.
22935
22936 2002-12-20 David Carlton <carlton@math.stanford.edu>
22937
22938 * gdb.c++/annota2.exp: KFAIL annotate-quit.
22939
22940 2002-12-18 Michael Chastain <mec@shout.net>
22941
22942 * gdb.c++/annota2.exp: Add copyright year 2002.
22943
22944 2002-12-17 David Carlton <carlton@math.stanford.edu>
22945
22946 * gdb.c++/try_catch.cc: Add marker comments.
22947 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22948 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22949 * gdb.c++/m-static.cc: Ditto.
22950 * gdb.c++/m-static1.cc: Ditto.
22951 * gdb.c++/try_catch.cc: Ditto.
22952
22953 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
22954
22955 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22956 to see whether we are using the new -environment-directory
22957 command which resets via -r or the old version of the command
22958 which may prompt the user. Part of fix for gdb/741.
22959
22960 2002-12-13 Andrew Cagney <ac131313@redhat.com>
22961
22962 * gdb.fortran/types.exp: Update obsolete comment.
22963 * gdb.fortran/exprs.exp: Ditto.
22964 * lib/gdb.exp: Delete obsolete code.
22965 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22966 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22967 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22968 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22969 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22970 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22971 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22972 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22973 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22974 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22975 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22976 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22977 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22978 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22979 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22980 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22981 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22982 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22983 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22984 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22985 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22986 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22987 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22988 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22989 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22990 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22991 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22992 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22993 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22994 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22995 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22996 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22997 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22998 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22999 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
23000 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
23001 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
23002
23003 2002-12-11 David Carlton <carlton@math.stanford.edu>
23004
23005 * gdb.c++/m-data.exp: Add test for members that shadow global
23006 variables: see PR gdb/804.
23007 * gdb.c++/m-data.cc: Ditto.
23008
23009 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
23010
23011 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
23012
23013 2002-12-06 David Carlton <carlton@math.stanford.edu>
23014
23015 * gdb.base/store.c: Don't declare functions static.
23016
23017 2002-12-04 Andrew Cagney <ac131313@redhat.com>
23018
23019 * gdb.base/store.exp, gdb.base/store.c: New files.
23020
23021 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23022
23023 * gdb.base/selftest.exp: Update for current gdb.
23024
23025 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23026
23027 * gdb.base/maint.exp: Only dump symbols from one source file
23028 or objfile.
23029
23030 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23031
23032 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
23033 function call.
23034
23035 2002-11-25 Jim Blandy <jimb@redhat.com>
23036
23037 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
23038 function appearing in error message.
23039
23040 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
23041
23042 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23043
23044 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
23045
23046 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
23047 for mi1 and current mi is in correct format. New mi startup message
23048 should be in mi console format. This is part of fix for PR gdb/604.
23049
23050 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23051
23052 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
23053 which explicitly prints the zero offset as "+0".
23054
23055 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
23056
23057 * gdb.threads/schedlock.c (args): Make unsigned.
23058
23059 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
23060
23061 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
23062 numbers. Allow "foo2|selected stack frame".
23063 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
23064 * gdb.asm/asmsrc2.s: Likewise.
23065 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
23066 comments.
23067 * gdb.asm/mips.inc: New file.
23068
23069 2002-10-18 Adam Fedor <fedor@gnu.org>
23070
23071 * gdb.base/default.exp: Update expected output to include 'ObjC'.
23072 * gdb.base/help.exp: Likewise.
23073
23074 2002-10-17 Kevin Buettner <kevinb@redhat.com>
23075
23076 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23077 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23078
23079 2002-10-02 Jim Blandy <jimb@redhat.com>
23080
23081 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23082
23083 2002-10-01 Andrew Cagney <ac131313@redhat.com>
23084
23085 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23086 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23087 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23088 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23089 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23090 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23091 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23092
23093 2002-09-29 Andrew Cagney <ac131313@redhat.com>
23094
23095 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23096 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23097 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23098 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23099 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23100 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23101 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
23102
23103 2002-09-27 Kevin Buettner <kevinb@redhat.com>
23104
23105 * gdb.base/annota1.exp (info break): Make directory components of
23106 path optional since not all compilers emit this debug information.
23107
23108 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23109 step ends up stepping out of the function instead of stopping on
23110 the epilogue.
23111
23112 2002-09-26 Keith Seitz <keiths@redhat.com>
23113
23114 * lib/insight-support.exp (gdbtk_start): Figure out where
23115 the insight executable is based on where gdb is. Use this
23116 executable to start insight instead of gdb.
23117
23118 2002-09-25 Andrew Cagney <cagney@redhat.com>
23119
23120 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23121
23122 2002-09-24 Andrew Cagney <ac131313@redhat.com>
23123
23124 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23125 test_isolated_complaints.
23126 (test_empty_complaint): New function.
23127 (test_empty_complaints): New function. Check no output when no
23128 complaints.
23129
23130 2002-09-19 Jim Blandy <jimb@redhat.com>
23131
23132 * gdb.base/charset.exp, gdb.base/charset.c: New files.
23133
23134 2002-09-19 Andrew Cagney <ac131313@redhat.com>
23135
23136 * gdb.gdb/complaints.exp: New file.
23137
23138 2002-09-18 Andrew Cagney <ac131313@redhat.com>
23139
23140 * gdb.base/maint.exp: Check `help maint internal-warning'.
23141
23142 2002-09-18 David Carlton <carlton@math.stanford.edu>
23143
23144 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23145 numbers, and replace them by a single breakpoint after the
23146 constructors are all finished.
23147 Add test 4.
23148 * gdb.c++/m-static.cc: Add test 4.
23149 * gdb.c++/m-static.h: New file.
23150 * gdb.c++/m-static1.cc: New file.
23151
23152 * gdb.c++/printmethod.exp: New file.
23153 * gdb.c++/printmethod.cc: New file.
23154
23155 * gdb.c++/pr-574.exp: New file.
23156 * gdb.c++/pr-574.cc: New file.
23157
23158 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23159
23160 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23161 embedded targets which never actually exit.
23162
23163 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23164
23165 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23166 "don't step after run" as unresolved or unsupported, instead of xfail.
23167
23168 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23169
23170 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23171 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23172 Add newline to expected string in "step out of main (status wrapper)"
23173 case.
23174
23175 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23176
23177 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23178 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23179
23180 2002-09-17 Tom Tromey <tromey@redhat.com>
23181
23182 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23183 \000, not \0, in double-quoted string.
23184
23185 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
23186
23187 * gdb.base/commands.exp: Don't expect a "Program exited normally"
23188 string after running the commands execution on breakpoint tests.
23189
23190 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
23191
23192 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23193
23194 2002-09-12 Joel Brobecker <brobecker@gnat.com>
23195
23196 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23197
23198 2002-09-10 Keith Seitz <keiths@redhat.com>
23199
23200 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23201 runto proc.
23202 (mi_run_to_main): Use mi_runto.
23203 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23204
23205 2002-09-10 Keith Seitz <keiths@redhat.com>
23206
23207 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23208 regexp for stopping at main. Could have multiple event notifications.
23209 Don't assume that main was declared with no parameters.
23210 (mi_next): Use mi_step_to.
23211 (mi_step): Use mi_next_to.
23212
23213 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
23214
23215 * gdb.base/default.exp: Fix expected string in `info float' test.
23216
23217 2002-09-09 Ben Elliston <bje@redhat.com>
23218
23219 * config/mips.exp: Update comments.
23220 * config/mips-idt.exp: Likewise.
23221 * config/nind.exp: Likewise.
23222 * config/slite.exp: Likewise.
23223 * config/sparclet.exp: Likewise.
23224 * config/udi.exp: Likewise.
23225 * config/vx.exp: Likewise.
23226 * config/vxworks29k.exp: Likewise.
23227
23228 2002-09-05 Jim Blandy <jimb@redhat.com>
23229
23230 * gdb.threads/killed.exp: Fix test failure message.
23231
23232 2002-09-04 Keith Seitz <keiths@redhat.com>
23233
23234 * lib/mi-support.exp: Update copyright.
23235 (mi_gdb_test): Increase the priority of the expected pattern
23236 so that it matches gdb_test.
23237
23238 2002-09-03 Keith Seitz <keiths@redhat.com>
23239
23240 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23241 Use integer comparison instead of string comparison for testing
23242 whether binary was built.
23243
23244 2002-09-03 Jim Blandy <jimb@redhat.com>
23245
23246 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23247
23248 2002-08-29 Jim Blandy <jimb@redhat.com>
23249
23250 * gdb.threads/pthreads.exp: Move the portable thread compilation
23251 code into a function in lib/gdb.exp, and call that from here.
23252 * lib/gdb.exp (gdb_compile_pthreads): New function.
23253
23254 2002-08-29 Keith Seitz <keiths@redhat.com>
23255
23256 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23257 expect_out so that callers can get at it.
23258
23259 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
23260
23261 * gdb.threads/print-threads.c: New file.
23262 * gdb.threads/print-threads.exp: New file.
23263 * gdb.threads/schedlock.c: New file.
23264 * gdb.threads/schedlock.exp: New file.
23265
23266 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
23267
23268 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23269 not altivec.c.
23270
23271 2002-08-17 Mark Kettenis <kettenis@gnu.org>
23272
23273 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23274 targets. The problem should be fixed now.
23275
23276 2002-08-15 Mark Kettenis <kettenis@gnu.org>
23277
23278 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23279 2002-07-24 change that removes final dots from error messages.
23280
23281 2002-08-13 Tom Tromey <tromey@redhat.com>
23282
23283 * gdb.base/readline.exp: New file.
23284
23285 2002-08-01 Andrew Cagney <ac131313@redhat.com>
23286
23287 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23288 supress message.
23289
23290 2002-08-01 Andrew Cagney <cagney@redhat.com>
23291
23292 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23293 CHILL_FOR_TARGET and CHILL_LIB.
23294 * configure.in (configdirs): Remove gdb.chill.
23295 * configure: Regenerate.
23296 * lib/gdb.exp: Obsolete references to chill.
23297 * gdb.fortran/types.exp: Ditto.
23298 * gdb.fortran/exprs.exp: Ditto.
23299
23300 2002-07-30 Kevin Buettner <kevinb@redhat.com>
23301
23302 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23303 set Irix-specific compile and link flags.
23304
23305 2002-07-29 Kevin Buettner <kevinb@redhat.com>
23306
23307 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23308 source files. The ``-o'' option doesn't work with the ``-E'' option
23309 when using the Irix compiler.
23310
23311 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
23312
23313 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23314 Improve support for reusing an exec file. Copy exec file
23315 to target, and run gdbserver on the target instead of on the host.
23316
23317 2002-07-18 Jim Blandy <jimb@redhat.com>
23318
23319 * gdb.base/ending-run.exp: Don't expect to see the program end in
23320 some orderly fashion when we're running on a real stand-alone
23321 board.
23322
23323 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23324 targets that don't support interrupts.
23325
23326 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23327
23328 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23329 systems.
23330 Move comments in expect statements to inside the actions, so that they
23331 don't get matched against.
23332
23333 2002-07-10 Mark Kettenis <kettenis@gnu.org>
23334
23335 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23336 function when asleep" test.
23337
23338 2002-07-10 Andrew Cagney <ac131313@redhat.com>
23339
23340 * gdb.base/page.exp: Rewrite to handle problems with very long
23341 `info set' output. Update copyright.
23342
23343 2002-06-26 Andrew Cagney <ac131313@redhat.com>
23344
23345 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23346 gdb.threads-hp.
23347 * gdb.hp/configure: Regenerate.
23348 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23349 * gdb.hp/gdb.threads-hp/configure: Delete file.
23350 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23351
23352 2002-06-22 Andrew Cagney <ac131313@redhat.com>
23353
23354 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23355 setlocale, bindtextdomain and textdomain.
23356
23357 2002-06-11 Jim Blandy <jimb@redhat.com>
23358
23359 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23360 preprocessor macro information is present.
23361
23362 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23363 tests.
23364
23365 2002-06-06 Michael Snyder <msnyder@redhat.com>
23366
23367 * gdb.base/overlays.exp: Record addresses of overlay
23368 functions in TCL variables rather than in GDB variables,
23369 to avoid having GDB convert them to pointers (with loss
23370 of information).
23371
23372 * gdb.base/d10v.ld: Merge in several years worth of
23373 default linker script changes.
23374 * gdb.base/long_long.exp: Add check for sizeof (long double).
23375
23376 2002-06-06 Michal Ludvig <mludvig@suse.cz>
23377
23378 * gdb.asm/asm-source.exp: Add x86-64 target.
23379 * gdb.asm/x86_64.inc: New.
23380
23381 2002-05-30 Michael Chastain <mec@shout.net>
23382
23383 From Benjamin Kosnik <bkoz@redhat.com>:
23384 * gdb.c++/m-static.cc: New file.
23385 * gdb.c++/m-static.exp: New file.
23386
23387 2002-05-28 Michael Snyder <msnyder@redhat.com>
23388
23389 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23390 precision.
23391
23392 2002-05-27 Michael Chastain <mec@shout.net>
23393
23394 From Benjamin Kosnik <bkoz@redhat.com>:
23395 * gdb.c++/m-data.cc: New file.
23396 * gdb.c++/m-data.exp: New file.
23397
23398 2002-05-27 Michael Chastain <mec@shout.net>
23399
23400 From Benjamin Kosnik <bkoz@redhat.com>:
23401 * gdb.c++/try_catch.cc: New file.
23402 * gdb.c++/try_catch.exp: New file.
23403
23404 2002-05-27 Michael Chastain <mec@shout.net>
23405
23406 * gdb.c++/local.exp: Accept more nested types in output.
23407
23408 2002-05-26 Michael Chastain <mec@shout.net>
23409
23410 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23411
23412 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23413
23414 * lib/gdb.exp (gdb_wrapper_init): Just because
23415 gdb_wrapper_file exists, this does not mean that the file
23416 should not be rebuilt. That is what gdb_wrapper_initialized
23417 is for.
23418 (default_gdb_init): Reset gdb_wrapper_initialized.
23419
23420 2002-05-23 Michael Snyder <msnyder@redhat.com>
23421
23422 * gdb.base/all-bin.exp: Revise previous patch by just reducing
23423 the precision of the floating point test results.
23424 * gdb.base/call-rt-st.exp: Ditto.
23425
23426 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23427 * gdb.base/call-rt-st.exp: Ditto.
23428
23429 2002-05-19 Michael Chastain <mec@shout.net>
23430
23431 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23432
23433 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
23434
23435 * configure.in (configdirs): Add gdb.arch.
23436 * configure: Regenerate.
23437
23438 2002-05-17 Jim Blandy <jimb@redhat.com>
23439
23440 * gdb.base/completion.exp: Recognize the more detailed error
23441 messages produced by the macro expander's lexical analyzer.
23442
23443 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23444
23445 * gdb.arch/altivec-abi.c: New file.
23446 * gdb.arch/altivec-abi.exp: New file.
23447 * gdb.arch/altivec-regs.c: New file.
23448 * gdb.arch/altivec-regs.exp: New file.
23449
23450 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
23451
23452 * gdb.base/maint.exp (maint print type): Update for new type
23453 structure.
23454
23455 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23456
23457 * gdb.arch: New directory.
23458 * gdb.arch/configure.in: New file.
23459 * gdb.arch/configure: New file.
23460 * gdb.arch/Makefile.in: New file.
23461
23462 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
23463
23464 * gdb.asm/asm-source.exp: Add v850 as supported target.
23465 * gdb.asm/v850.inc: New file.
23466
23467 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
23468
23469 * gdb.c++/annota2.exp (annotate-quit): Add comment.
23470
23471 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
23472
23473 * gdb.base/break.exp: Check 'break "marker2"'.
23474
23475 2002-05-10 Michael Snyder <msnyder@redhat.com>
23476
23477 * gdb.base/long_long.exp: Fix typo.
23478
23479 2002-05-10 Jim Blandy <jimb@redhat.com>
23480
23481 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
23482 a bug.
23483
23484 * gdb.base/printcmds.exp (test_integer_literals_rejected):
23485 Recognize more detailed error message produced by the macro
23486 expander's lexical analyzer.
23487 * lib/gdb.exp (test_print_reject): Same.
23488
23489 2002-05-09 Mark Kettenis <kettenis@gnu.org>
23490
23491 * gdb.c++/method.exp: Fix typo.
23492
23493 2002-05-08 Michael Snyder <msnyder@redhat.com>
23494
23495 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23496 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
23497 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
23498 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23499 Add iftarget clause for strongarm.
23500
23501 2002-05-06 Michael Snyder <msnyder@redhat.com>
23502
23503 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23504 (gdb_continue_to_end): Accept output from status wrapper.
23505 * gdb.base/ending-run.exp: Add case for output from status wrapper.
23506 Clean up fail messages to match pass messages.
23507
23508 Enable the "needs_status_wrapper" testsuite feature.
23509 * lib/gdb.exp (gdb_wrapper_init): New procedure.
23510 (gdb_compile): Conditionally call gdb_wrapper_init.
23511 * gdb.base/a2-run.exp: Recognize output from status wrapper.
23512 * gdb.c++/method.exp: Recognize output from status wrapper.
23513
23514 2002-05-06 Ben Elliston <bje@redhat.com>
23515 From Graydon Hoare <graydon@redhat.com>
23516
23517 * config/sid.exp: Include support for "rawsid" protocol.
23518
23519 2002-05-03 Jim Blandy <jimb@redhat.com>
23520
23521 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23522 * gdb.c++/hang3.C: New file.
23523
23524 2002-05-04 Andrew Cagney <ac131313@redhat.com>
23525
23526 * gdb.base/default.exp: Remove obsolete code.
23527 * gdb.c++/misc.exp: Ditto. Update copyright.
23528 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
23529 * gdb.base/whatis.exp: Ditto. Update copyright.
23530 * gdb.base/scope.exp: Ditto. Update copyright.
23531 * gdb.base/ptype.exp: Ditto. Update copyright.
23532 * gdb.base/printcmds.exp: Ditto. Update copyright.
23533 * gdb.base/opaque.exp: Ditto. Update copyright.
23534 * gdb.base/list.exp: Ditto.
23535 * gdb.base/funcargs.exp: Ditto. Update copyright.
23536 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23537 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23538 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23539 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23540 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23541 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23542
23543 2002-05-02 Michael Snyder <msnyder@redhat.com>
23544
23545 * gdb.base/watchpoint.exp: Add xscale target.
23546 * gdb.base/long_long.exp: Add xscale target.
23547 * gdb.base/default.exp: Add xscale target.
23548
23549 2002-05-01 Jim Blandy <jimb@redhat.com>
23550
23551 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23552 gdb.c++/hang.exp: New test.
23553
23554 2002-05-01 Fred Fish <fnf@redhat.com>
23555
23556 * gdb.base/completion.exp: Handle completions of "./Make" for
23557 more than one completion possibility, as is the case when we
23558 build and test in the source tree.
23559
23560 2002-04-29 Anthony Green <green@redhat.com>
23561
23562 * gdb.java/jmisc1.exp: New file.
23563 * gdb.java/jmisc2.exp: New file.
23564
23565 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
23566
23567 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23568
23569 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
23570
23571 * gdb.base/help.exp: Change 'help status' to allow for target
23572 dependent output differences.
23573
23574 2002-04-22 Michael Chastain <mec@shout.net>
23575
23576 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23577
23578 2002-04-22 Michael Chastain <mec@shout.net>
23579
23580 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23581
23582 2002-04-17 David S. Miller <davem@redhat.com>
23583
23584 * gdb.asm/sparc64.inc: New file.
23585 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23586
23587 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
23588
23589 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23590 instruction file directly into the build tree. Clean up at end of
23591 test.
23592
23593 2002-04-18 David S. Miller <davem@redhat.com>
23594
23595 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23596 handle 64-bit platforms correctly.
23597 * gdb.base/maint.exp: Likewise.
23598
23599 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23600
23601 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23602 ``-fpic'' when compiling files comprising a shared library, but
23603 it does need additional linker flags in order to find shared
23604 libraries at run time.
23605
23606 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23607
23608 * gdb.base/cvexpr.c (use): New function.
23609 (main): Invoke use() on all global variables to prevent
23610 some linkers from deleting these otherwise unused symbols.
23611
23612 2002-04-17 Michael Chastain <mec@shout.net>
23613 From David S. Miller <davem@redhat.com>
23614
23615 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
23616 handle 64-bit platforms correctly.
23617
23618 2002-04-12 Michael Snyder <msnyder@redhat.com>
23619 From Jim Blandy <jimb@redhat.com>
23620 * gdb.base/foo.c (foox): Remove section attribute; the linker
23621 script can handle this instead.
23622 * gdb.base/bar.c (barx): Same.
23623 * gdb.base/baz.c (bazx): Same.
23624 * gdb.base/grbx.c (grbxx): Same.
23625
23626 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
23627 manager doesn't automatically unmap overlays unnecessarily.
23628
23629 2002-04-10 Martin M. Hunt <hunt@redhat.com>
23630
23631 * gdb.base/ending-run.exp: Fix pattern for Mips targets
23632 stepping out of main.
23633
23634 2002-04-09 Michael Chastain <mec@shout.net>
23635
23636 * gdb.c++/local.cc (main): Move call to marker1() inside nested
23637 scope so that the nested scope tests will make sense.
23638 * gdb.c++/local.exp: Write patterns that actually work with gcc
23639 (the HP patterns "were never known to work with gcc").
23640 Keep the old aCC patterns too.
23641
23642 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
23643
23644 * gdb.base/attach.exp: Correct target board test.
23645
23646 2002-04-08 Michael Chastain <mec@shout.net>
23647
23648 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
23649 in a const method. Add some xfail and fail cases for configurations
23650 that do not emit the "const ...".
23651
23652 2002-04-07 Michael Chastain <mec@shout.net>
23653
23654 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
23655 Accept "A * const" and "const A * const" as type of "this".
23656 Fix spelling of getFunky throughout. Make messages uniform.
23657
23658 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
23659
23660 Work around for PR gdb/285:
23661 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
23662
23663 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
23664
23665 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
23666 instructions file at run time instead of configure time.
23667 Sometimes we run the test in a directory that is not the one we
23668 configured in.
23669 * gdb.asm/configure.in: Delete creation of symlink.
23670 * gdb.asm/configure: Regenerate.
23671
23672 2002-04-05 J. Brobecker <brobecker@gnat.com>
23673
23674 * gdb.gdb/xfullpath.exp: New test, to exercise the new
23675 xfullpath () function.
23676
23677 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
23678
23679 * gdb.asm/Makefile.in: Correct dependencies.
23680
23681 * gdb.asm/powerpc.inc: New file.
23682 * gdb.asm/asm-source.exp: Add PowerPC.
23683 * gdb.asm/configure.in: Likewise.
23684 * gdb.asm/configure: Regenerated.
23685
23686 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
23687
23688 * gdb.base/relocate.exp: New file.
23689 * gdb.base/relocate.c: New file.
23690
23691 2002-04-04 Fred Fish <fnf@redhat.com>
23692
23693 * gdb.base/step-test.exp: Update comment regarding stopping in
23694 memcpy/bcopy calls inserted as part of the compiler runtime.
23695
23696 2002-04-04 Michael Snyder <msnyder@redhat.com>
23697
23698 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
23699
23700 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
23701
23702 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
23703 (gdb_expect): Remove $notransfer hack.
23704
23705 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
23706
23707 * gdb.c++/classes.exp ("calling method for small class"): Match
23708 updated register output.
23709
23710 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
23711
23712 Fix PR gdb/452
23713 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
23714 when finished. Make gdb_file_cmd send "exec-file" when
23715 appropriate.
23716
23717 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
23718
23719 * gdb.base/attach.exp: Remove extra setup_xfail.
23720
23721 2002-03-26 Michael Snyder <msnyder@redhat.com>
23722
23723 * gdb.base/default.exp: Add tests for dump, append, and restore.
23724 * gdb.base/help.exp: Add tests for dump, append, and restore.
23725 * gdb.base/dump.exp: New file, test dump, append and restore.
23726 * gdb.base/dump.c: New file.
23727
23728 2002-03-27 Michael Snyder <msnyder@redhat.com>
23729
23730 * gdb.base/help.exp: Modify expect strings to reflect
23731 clean-ups in help messages.
23732
23733 2002-03-26 Fred Fish <fnf@redhat.com>
23734
23735 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
23736 have debugging info for those functions and the compiler uses them
23737 internally to copy structs around.
23738
23739 2002-03-26 Fred Fish <fnf@redhat.com>
23740
23741 * gdb.base/list.exp: Revert the change made yesterday and add note
23742 about why we don't list the default lines for remote targets.
23743
23744 2002-03-25 Michael Snyder <msnyder@redhat.com>
23745
23746 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
23747
23748 2002-03-25 Fred Fish <fnf@redhat.com>
23749
23750 * gdb.base/list.exp: This test works on remote targets so remove
23751 the short circuit for remote targets. Update copyright.
23752
23753 2002-03-25 Fred Fish <fnf@redhat.com>
23754
23755 * gdb.base/attach.exp: Fix logic error that was suppressing this
23756 test for all non hppa*-*-hpux* targets, instead of the hp target.
23757 Move comments closer to the suppression point. Also now need to
23758 check that we are running natively.
23759
23760 2002-03-22 Michael Snyder <msnyder@redhat.com>
23761
23762 * gdb.base/default.exp: Add test for gcore. Update copyright.
23763 * gdb.base/help.exp: Add test for gcore. Update copyright.
23764
23765 2002-03-06 Fred Fish <fnf@redhat.com>
23766
23767 * gdb.base/funcargs.c: Remove extraneous ';' character.
23768 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
23769
23770 2002-03-04 Michael Chastain <mec@shout.net>
23771
23772 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
23773 accommodate gcc v3 function signature.
23774 * gdb.mi/mi0-var-cmd-exp: Ditto.
23775
23776 2002-02-24 Andrew Cagney <ac131313@redhat.com>
23777
23778 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
23779 ``GNU/Linux'' or ``Linux kernel''
23780 * testsuite/gdb.threads/pthreads.c: Ditto.
23781
23782 2002-02-24 Michael Chastain <mec@shout.net>
23783
23784 * gdb.threads/pthreads.c (thread1): Add a return statement.
23785 (thread2): Likewise.
23786 (foo): Likewise.
23787
23788 2002-02-23 Michael Chastain <mec@shout.net>
23789
23790 * gdb.threads/linux-dp.c (philosopher): Add a return statement
23791 to placate gcc.
23792
23793 2002-02-23 Michael Chastain <mec@shout.net>
23794
23795 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
23796 test "ptype bint". The test passes on all my stabs configurations.
23797
23798 2002-02-21 Jim Blandy <jimb@redhat.com>
23799
23800 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
23801 filename at a time, and watch for the ones we want to see.
23802
23803 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
23804 types of pointers to prototyped functions.
23805
23806 2002-02-20 Andrew Cagney <ac131313@redhat.com>
23807
23808 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
23809 signed, unsigned and straight char.
23810 (padding_char, padding_short, padding_int, padding_long,
23811 padding_long_long, padding_float, padding_double,
23812 padding_long_double): New global variables.
23813 (fill, fill_structs): New functions.
23814
23815 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
23816 for correctly sized writes. Update copyright.
23817 (get_valueof): New procedure.
23818 (get_sizeof): Call get_valueof.
23819 (check_valueof): New procedure.
23820 (check_padding): New procedure.
23821
23822 2002-02-20 Michael Chastain <mec@shout.net>
23823
23824 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
23825 to setup_xfail. Document some of the remaining calls.
23826
23827 2002-02-18 Michael Chastain <mec@shout.net>
23828
23829 * gdb.c++/userdef.exp: Update copyright year.
23830
23831 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
23832
23833 * gdb.c++/userdef.exp: Test overloaded operators properly.
23834 Remove xfails.
23835
23836 2002-02-14 Michael Snyder <msnyder@redhat.com>
23837
23838 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23839
23840 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
23841
23842 * gdb.base/a2-run.exp: Check for a remote target properly.
23843 * gdb.base/annota1.exp: Likewise.
23844 * gdb.base/list.exp: Likewise.
23845 * gdb.base/reread.exp: Likewise.
23846 * gdb.base/scope.exp: Likewise.
23847 * gdb.base/shlib-call.exp: Likewise.
23848 * gdb.base/term.exp: Likewise.
23849 * gdb.c++/annota2.exp: Likewise.
23850
23851 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
23852
23853 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23854
23855 2002-02-10 Michael Chastain <mec@shout.net>
23856
23857 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23858 (call_after_alloca): Ditto.
23859
23860 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
23861
23862 * gdb.base/ending-run.exp: Guard "cont" test with
23863 gdb_skip_stdio_test.
23864
23865 2002-02-06 Jim Blandy <jimb@redhat.com>
23866
23867 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23868 from here...
23869 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23870 To here. Disable this test on non-HP platforms. Add big comment.
23871
23872 2002-02-04 Michael Snyder <msnyder@redhat.com>
23873
23874 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
23875 other than d10v and m32r.
23876
23877 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
23878
23879 * gdb.base/default.exp: Rewrite test patterns to reduce time
23880 taken to match them.
23881
23882 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23883
23884 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23885 Allow a start function above main.
23886 * gdb.threads/linux-dp.exp: Fix copyright date.
23887
23888 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23889
23890 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23891 (check_philosopher_stack): Check for manager thread before checking
23892 for a just-starting thread.
23893
23894 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23895
23896 From Neil Booth <neil@daikokuya.demon.co.uk>:
23897 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23898 warnings.
23899
23900 2002-01-21 Fred Fish <fnf@redhat.com>
23901
23902 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23903 not caller.
23904
23905 2002-01-21 Jim Blandy <jimb@redhat.com>
23906
23907 * gdb.base/reread.exp: Check that GDB properly re-reads the
23908 executable file when it changes while no inferior is running.
23909
23910 2002-01-21 Fred Fish <fnf@redhat.com>
23911
23912 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23913 optionally accept the "shlib events" variation.
23914
23915 2002-01-21 Jim Blandy <jimb@redhat.com>
23916
23917 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23918 call `fflush' after every `printf', so that the output is produced
23919 at predictable points, regardless of whatever buffering does (or
23920 doesn't) take place.
23921 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23922 at different points.
23923
23924 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
23925
23926 * gdb.c++/inherit.exp: Update copyright years.
23927 * gdb.c++/method.exp: Likewise.
23928
23929 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
23930
23931 * gdb.c++/classes.exp: Update for improved v3 support and skipping
23932 artificial methods/arguments.
23933 * gdb.c++/derivation.exp: Likewise.
23934 * gdb.c++/inherit.exp: Likewise.
23935 * gdb.c++/method.exp: Likewise.
23936 * gdb.c++/virtfunc.exp: Likewise.
23937
23938 2002-01-18 Andrew Cagney <ac131313@redhat.com>
23939
23940 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23941 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23942 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23943 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23944 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23945 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23946
23947 2002-01-17 Jim Blandy <jimb@redhat.com>
23948
23949 * gdb.asm/asm-source.exp (info symbol): Take another shot at
23950 anchoring the pattern matching the entry point symbol's name.
23951
23952 2002-01-17 Andrew Cagney <ac131313@redhat.com>
23953
23954 * gdb.base/maint.exp: Update ``maint internal-error'' to match
23955 continue/quit query. Update copyright.
23956
23957 2002-01-14 Michael Snyder <msnyder@redhat.com>
23958
23959 * gdb.base/gcore.exp: Remove extra debugging output.
23960
23961 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
23962
23963 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23964 for slightly dubious v2 mangled string.
23965
23966 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
23967
23968 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23969
23970 2002-01-10 Jason Merrill <jason@redhat.com>
23971
23972 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
23973
23974 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23975 constructors.
23976 * gdb.c++/derivation.exp: Likewise.
23977 * gdb.c++/templates.exp: Likewise.
23978 * gdb.c++/virtfunc.exp: Likewise.
23979
23980 2002-01-10 Michael Snyder <msnyder@redhat.com>
23981
23982 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
23983
23984 2002-01-08 Michael Snyder <msnyder@redhat.com>
23985
23986 * gdb.base/gcore.exp: New test for generate-core-file command.
23987 * gdb.base/gcore.c: Testcase for above.
23988 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23989
23990 2002-01-08 Jason Merrill <jason@redhat.com>
23991
23992 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23993
23994 2002-01-07 Fred Fish <fnf@redhat.com>
23995
23996 * gdb.c++/overload.exp: Remove unconditional xfails for:
23997 print foo_instance1.overloadargs(1)
23998 print foo_instance1.overloadargs(1, 2)
23999 print foo_instance1.overloadargs(1, 2, 3)
24000 print foo_instance1.overloadargs(1, 2, 3, 4)
24001 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
24002 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
24003 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
24004 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
24005 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
24006 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
24007 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
24008 print foo_instance1.overload1arg()
24009 print foo_instance1.overload1arg((char)arg2)
24010 print foo_instance1.overload1arg((signed char)arg3)
24011 print foo_instance1.overload1arg((unsigned char)arg4)
24012 print foo_instance1.overload1arg((int)arg7)
24013 print foo_instance1.overload1arg((unsigned int)arg8)
24014 print foo_instance1.overload1arg((float)arg11)
24015 print foo_instance1.overload1arg((double)arg12)
24016
24017 2002-01-07 Michael Snyder <msnyder@redhat.com>
24018
24019 * gdb.base/huge.exp: New test. Print a very large target data object.
24020 (skip_huge_test): New test variable. Define if you want to skip this
24021 test. The test reads an 8 megabyte data object from the target, so it
24022 might be very time consuming on remote targets with a slow connection.
24023 * gdb.base/huge.c: New file. Test case for above.
24024
24025 2002-01-07 Fred Fish <fnf@redhat.com>
24026
24027 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
24028 g_instance.bfoo, and g_instance.cfoo.
24029
24030 2002-01-07 Jeffrey A Law <law@redhat.com>
24031
24032 * gdb.base/break.c (multi_line_if_conditional): New function.
24033 (multi_ilne_while_conditional): Likewise.
24034 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
24035 IF or WHILE condition puts the breakpoint at the start of
24036 the condition.
24037
24038 * gdb.base/selftest.exp (backtrace through signal handler): Remove
24039 hppa*-*-hpux* expected failure.
24040 * gdb.base/structs.exp (do_function_calls): Similarly.
24041
24042 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
24043 watchpoints.
24044
24045 2002-01-06 Andrew Cagney <ac131313@redhat.com>
24046
24047 Fix PR gdb/66.
24048 * gdb.base/structs.exp: Replace skip for a29k with skip for
24049 gdb,cannot_call_functions.
24050 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
24051 * gdb.base/callfuncs.exp: Ditto.
24052 * gdb.base/call-rt-st.exp: Ditto.
24053 * gdb.base/call-strs.exp: Ditto.
24054 * gdb.base/callfwmall.exp: Ditto.
24055 * gdb.base/scope.exp: Obsolete xfail a29k.
24056 * gdb.c++/misc.exp: Ditto.
24057 * gdb.c++/cplusfuncs.exp: Ditto.
24058 * gdb.base/ptype.exp: Ditto.
24059 * gdb.base/printcmds.exp: Ditto.
24060 * gdb.base/opaque.exp: Ditto.
24061 * gdb.base/list.exp: Ditto.
24062 * gdb.base/funcargs.exp: Ditto.
24063 * gdb.base/default.exp: Ditto.
24064
24065 2002-01-04 Michael Snyder <msnyder@redhat.com>
24066
24067 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
24068 * gdb.base/maint.exp: Add tests for maint info sections options.
24069
24070 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
24071
24072 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24073
24074 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
24075
24076 * gdb.asm/arm.inc: New file.
24077 * gdb.asm/asm-source.exp: Add arm targets.
24078 * gdb.asm/configure.in: Ditto.
24079 * gdb.asm/configure: Recreated from configure.in.
24080
24081 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24082
24083 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24084 with HP's compiler.
24085 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24086 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24087 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24088 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24089
24090 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24091 either HP's compilers or GCC.
24092
24093 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24094 a SIGBUS or SIGSEGV.
24095
24096 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24097
24098 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24099 can be compiled with either HP's compiler or GCC.
24100
24101 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24102 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24103 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24104
24105 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24106 to match current gdb output. Update due to using auto-solib-limit
24107 for limiting instead of overloading auto-solib-add.
24108 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24109 test program.
24110
24111 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
24112 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24113 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24114 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24115 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24116 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24117 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24118 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24119 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24120 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24121 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24122 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24123 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
24124
24125 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24126 a SIGTRAP to the inferior.
24127
24128 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
24129
24130 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24131 Substitute call to target_link by call to gdb_compile.
24132
24133 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24134
24135 * gdb.base/break.exp: Fix HP specific search string when testing
24136 backtracing in a called function.
24137
24138 * gdb.base/constvars.exp: Only set lang to C++ if we're
24139 compiling the test with HP's compilers.
24140 * gdb.base/volatile.exp: Similarly.
24141
24142 2001-12-19 Jim Blandy <jimb@redhat.com>
24143
24144 * gdb.base/printcmds.exp: Expect the null character to be printed
24145 as '\0', and the '\013' to be printed as '\v'.
24146 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24147 * gdb.base/setvar.exp: Same.
24148
24149 2001-12-17 Jim Blandy <jimb@redhat.com>
24150
24151 * gdb.base/completion.exp: Rather than completing very long
24152 filenames, which can make the readline library produce output we
24153 don't recognize, cd to the directory first, and then complete
24154 using nice, short relative paths.
24155
24156 * gdb.base/completion.exp: On some systems, there is, in fact, a
24157 variable named `b' in scope, since GDB treats all static
24158 variables as being in scope. So use `no_var_named_this'
24159 instead of `b'.
24160
24161 * gdb.base/corefile.exp: Recognize the message saying that GDB
24162 can't find the core file's registers as a failure.
24163
24164 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24165
24166 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24167 test expect string more specific.
24168
24169 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
24170
24171 * gdb.asm/asm-source.exp: Add support for xstormy16.
24172 * gdb.asm/configure.in: Ditto.
24173 * gdb.asm/configure: Rebuild.
24174 * gdb.asm/xstormy16.inc: New file.
24175
24176 2001-12-10 Fred Fish <fnf@redhat.com>
24177
24178 * gdb.base/maint.exp: Update to match changes in type dumping code.
24179
24180 2001-12-10 Jim Blandy <jimb@redhat.com>
24181
24182 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
24183 matching the entry point symbol's name at the beginning of the
24184 line.
24185
24186 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24187
24188 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24189 gdb.c++/inherit.exp, gdb.c++/method.exp,
24190 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24191 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24192 and class layout support.
24193
24194 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24195
24196 * gdb.c++/classes.exp: Add test for static member function.
24197 * gdb.c++/misc.cc: Add class with static member function.
24198
24199 2001-12-07 Jim Blandy <jimb@redhat.com>
24200
24201 If GDB says it can't find the struct the function returned, report
24202 those tests as `unsupported'.
24203 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24204 Rewrite subsequent tests to use it.
24205
24206 If GDB says it can't find the struct the function returned, report
24207 those tests as `unsupported'.
24208 * gdb.base/structs.exp (call_struct_func): New function.
24209 (do_function_calls): Use call_struct_func to call the functions
24210 returning structs.
24211
24212 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24213 whether functions are prototyped or not, so we can't possibly pass
24214 arguments to t_float_values2 properly.
24215
24216 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24217 value of `timeout' for targets other than the mips*tx39-*.
24218
24219 2001-12-06 Michael Snyder <msnyder@redhat.com>
24220
24221 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
24222 and detect whether the start symbol has a leading underscore.
24223
24224 2001-12-04 Jim Blandy <jimb@redhat.com>
24225
24226 * gdb.base/completion.exp: Clarify indentation.
24227
24228 2001-12-03 Jim Blandy <jimb@redhat.com>
24229
24230 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24231 variables on the S/390, not `.word'.
24232
24233 2001-11-30 Jim Blandy <jimb@redhat.com>
24234
24235 Add assembly-source tests for s390-ibm-linux.
24236 * gdb.asm/s390.inc: New file.
24237 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24238 the S/390 architecture.
24239 * gdb.asm/configure: Regenerated.
24240
24241 2001-11-30 Michael Snyder <msnyder@redhat.com>
24242
24243 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24244 next, info source, info sources, info line, global and static
24245 variables, and static functions.
24246 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24247 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24248 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24249 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24250 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24251 (gdbasm_leave): Restore frame pointer.
24252 (gdbasm_startup): Copy stack set-up from crt0.S.
24253
24254 2001-11-26 Fernando Nasser <fnasser@redhat.com>
24255
24256 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24257 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24258 to a local (non-static) variable. Copy tstruct.a to a static buffer
24259 and return a pointer to that buffer.
24260 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24261
24262 2001-11-24 Mark Kettenis <kettenis@gnu.org>
24263
24264 * gdb.asm/configure.in: Fix recognition of ix86 target.
24265 * gdb.asm/configure: Regenerate.
24266
24267 2001-11-21 Michael Snyder <msnyder@redhat.com>
24268
24269 * gdb.asm/sparc.inc: New file.
24270 * gdb.asm/asm-source.exp: Recognize sparc target.
24271 * gdb.asm/configure.in: Recognize sparc target.
24272 * gdb.asm/configure: Regenerate.
24273
24274 2001-11-21 Michael Snyder <msnyder@redhat.com>
24275
24276 * gdb.asm/m32r.inc: New file.
24277 * gdb.asm/asm-source.exp: Recognize m32r target.
24278 * gdb.asm/configure.in: Recognize m32r target.
24279 * gdb.asm/configure: Regenerate.
24280
24281 2001-11-20 Michael Snyder <msnyder@redhat.com>
24282
24283 * gdb.asm/i386.inc: New file.
24284 * gdb.asm/asm-source.exp: Recognize ix86 target.
24285 * gdb.asm/configure.in: Recognize ix86 target.
24286 * gdb.asm/configure: Regenerate.
24287
24288 * gdb.c++/namespace.exp: Fix quotes in output messages.
24289
24290 2001-11-14 Michael Snyder <msnyder@redhat.com>
24291
24292 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
24293 qualifier in a type cast expression, to designate an address
24294 in the instruction space (Harvard architecture).
24295
24296 2001-11-13 Michael Snyder <msnyder@redhat.com>
24297
24298 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24299 Tests for expressions using 'const' and 'volatile'.
24300
24301 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
24302
24303 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24304
24305 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
24306
24307 * lib/mi-support.exp (mi_run_to_helper): Move comments
24308 outside of gdb_expect.
24309
24310 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
24311
24312 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24313 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24314 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24315 mi0_run_to): New functions.
24316 * gdb.mi/mi-simplerun.exp: Use them.
24317 * gdb.mi/mi0-simplerun.exp: Likewise.
24318 * gdb.mi/mi-var-cmd.exp: Likewise.
24319 * gdb.mi/mi0-var-cmd.exp: Likewise.
24320
24321 2001-11-10 Andrew Cagney <ac131313@redhat.com>
24322
24323 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24324 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24325
24326 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24327
24328 * gdb.base/restore.exp: Include $expected value in restored test
24329 message.
24330
24331 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24332
24333 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24334 implemented.
24335
24336 2001-11-08 Michael Snyder <msnyder@redhat.com>
24337
24338 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24339 Add pass/fail message for stop at breakpoint in call dummy function.
24340
24341 2001-11-07 Michael Snyder <msnyder@redhat.com>
24342
24343 * gdb.c++/templates.exp (test_template_breakpoints):
24344 If we get an overload menu, but it does not match what
24345 we expect, we still need to issue the "cancel" command.
24346 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24347 making the whitespace optional. Argument for "new" may be
24348 "unsigned" as well as "unsigned int/long".
24349 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
24350 making the whitespace optional. Also replace "(void) with
24351 "((void|)), making the keyword "void" optional.
24352 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
24353 making the whitespace optional. Also replace "(void) with
24354 "((void|)), making the keyword "void" optional.
24355 * gdb.base/callfuncs.c (t_float_values): This function must
24356 _not_ be prototyped, and the following function (t_float_values2)
24357 must be prototyped (if the compiler supports it), so that GDB
24358 can be tested against both cases. Usually one case involves
24359 promotion of float to double, while the other does not.
24360 * gdb.base/callfwmall.c: Ditto.
24361 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24362 includes a stack frame for "start".
24363
24364 2001-11-05 Jim Blandy <jimb@redhat.com>
24365
24366 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24367 pointers are 32 bits long, and that offsets of relocs are always
24368 stored in the data (REL-style), and not in the reloc entry itself
24369 (RELA-style).
24370 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24371 stabs.
24372
24373 2001-11-01 Michael Snyder <msnyder@redhat.com>
24374
24375 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24376 and regular expression operators by using quoting.
24377
24378 2001-10-31 Michael Snyder <msnyder@redhat.com>
24379
24380 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24381 depending on what the symbol table contains.
24382 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24383 the output of the ptype command. Similarly, accept both "const &"
24384 and "const&".
24385
24386 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
24387
24388 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24389 symbol `STORAGE' to allow to choose the storage class of
24390 the local datastructures.
24391 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24392 compiler directive.
24393
24394 2001-10-30 Michael Snyder <msnyder@redhat.com>
24395
24396 * gdb.base/jump.exp: Allow it to run for all targets.
24397
24398 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24399
24400 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24401 with new double_array size.
24402 (main): Change storage class of all local variables to static.
24403 Reduce size of double_array to 9.
24404 * gdb.base/call-ar-st.exp: Increase timeout value.
24405 Change expected output for double array to match new size in
24406 call-ar-st.c.
24407
24408 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24409
24410 * gdb.base/ending-run.exp: Create identical output when passing
24411 `step to end of run' case. Add regular expression branch satisfying
24412 Stormy16 target.
24413
24414 2001-10-28 Mark Kettenis <kettenis@gnu.org>
24415
24416 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24417 that we catch the expected failure under Linux/x86.
24418
24419 2001-10-29 Orjan Friberg <orjanf@axis.com>
24420
24421 * gdb.base/setvar.exp: Escape curly braces.
24422 * gdb.stabs/weird.exp: Ditto.
24423
24424 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
24425
24426 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24427 * gdm.mi/mi0-hack-cli.exp: Likewise.
24428
24429 2001-10-25 Andrew Cagney <ac131313@redhat.com>
24430
24431 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24432 messages.
24433
24434 2001-10-21 Andrew Cagney <ac131313@redhat.com>
24435
24436 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24437 checking MI enabled.
24438
24439 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
24440
24441 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24442
24443 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
24444
24445 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24446 if gdb child process crashes, just signal an error.
24447
24448 2001-10-02 Jim Blandy <jimb@redhat.com>
24449
24450 * lib/gdb.exp (test_xfail_format): Simplify.
24451
24452 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24453 front of the variable name `format'. Simplify `if'.
24454
24455 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24456
24457 * gdb.threads/pthreads.exp: Wait for output and delay
24458 before sending ^C.
24459
24460 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24461
24462 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
24463 some incorrect output instead of timing out.
24464 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
24465
24466 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
24467
24468 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24469 check to allow additional `int'.
24470
24471 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
24472
24473 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24474 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24475
24476 2001-09-27 Michael Snyder <msnyder@redhat.com>
24477
24478 * lib/gdb.exp (test_debug_format): New proc.
24479 (setup_xfail_format): Use new proc test_debug_format.
24480 * gdb.base/constvars.exp (local_compiler_xfail_check): New
24481 proc; use new service proc test_debug_format.
24482 Replace all other "gcc_compiled" tests with this test.
24483 * gdb.base/volatile.exp (local_compiler_xfail_check): New
24484 proc; use new service proc test_debug_format.
24485 Replace all other "gcc_compiled" tests with this test.
24486
24487 2001-09-27 Michael Snyder <msnyder@redhat.com>
24488
24489 * gdb.base/cvexpr.exp: New file.
24490 * gdb.base/cvexpr.c: New file
24491 Test for expressions using const and volatile keywords.
24492
24493 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
24494
24495 * gdb.base/constvars.exp: Check for different orders of keywords
24496 and additional "int" strings in output.
24497
24498 2001-09-22 Andrew Cagney <ac131313@redhat.com>
24499
24500 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24501 responses from "help maint".
24502
24503 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
24504
24505 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24506 to localhost:NNN instead of :NNN, in case Xvfb is listening
24507 only on TCP.
24508
24509 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
24510
24511 * gdb.base/recurse.exp: When checking leaving the watchpoint
24512 scope, recognize when gdb is in function's epilogue and pass.
24513
24514 2001-09-18 Keith Seitz <keiths@redhat.com>
24515
24516 * lib/insight-support.exp (_gdbtk_export_target_info): Add
24517 support for running tests against sid targets.
24518 (gdbtk_done): Ditto.
24519
24520 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
24521
24522 * gdb.base/ending-run.c (main): Set stdout buffersize
24523 to the same reasonable value for any target.
24524 * gdb.base/ending-run.exp: Add a regular expression
24525 to make testsuite happy on Sanyo Stormy16 target.
24526
24527 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
24528
24529 * gdb.base/display.c (do_loops): Add float variable `f'.
24530 Increment f in loop.
24531 * gdb.base/display.exp: Increment timeout by 60 seconds.
24532 Change float display test to use variable `f'.
24533
24534 2001-09-17 Jim Blandy <jimb@redhat.com>
24535
24536 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24537 overflowing the limited breakpoint tables on some ROM monitors
24538 (like the ROM68K).
24539
24540 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
24541
24542 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24543 the "-ac" (disable access control) flag.
24544
24545 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
24546
24547 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24548 ints.
24549
24550 2001-08-30 Keith Seitz <keiths@redhat.com>
24551
24552 * lib/gdb.exp: Move all insight-related functionality into
24553 separate file.
24554 * lib/insight-support.exp: New file.
24555
24556 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
24557
24558 * config/sid.exp (sid_start): Never set sid verbosity; disable
24559 expect_background {} that consumed its stdout; tolerate </dev/null.
24560 Attempt to set endianness override in "sid" protocol mode. Cleanup.
24561
24562 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24563
24564 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24565 CLI jump command to start it.
24566 (mi_run_to_main): Fail immediatly when unexpected output.
24567
24568 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24569
24570 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24571 beginning of function. Fix PR gdb/191.
24572
24573 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
24574
24575 * config/sid.exp (sid_start): Don't warn if we cannot figure out
24576 what to force sid endianness to.
24577
24578 2001-08-15 Keith Seitz <keiths@redhat.com>
24579
24580 * lib/gdb.exp (gdbtk_start): Don't set environment
24581 variables for TCL_LIBRARY and friends. Insight will
24582 now figure these out for itself.
24583
24584 2001-08-02 Michael Snyder <msnyder@redhat.com>
24585
24586 * gdb.base/completion.exp: Remove the symbol "a64l" from
24587 the expect string; this is target-specific, and not related
24588 to what is being tested.
24589
24590 2001-08-02 Dave Brolley <brolley@redhat.com>
24591
24592 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24593
24594 2001-07-25 Michael Snyder <msnyder@redhat.com>
24595
24596 * gdb.base/consecutive.exp: New file. Test stepping over
24597 breakpoints on consecutive instructions.
24598 * gdb.base/consecutive.c: New file.
24599
24600 * gdb.base/call-rt-st.exp: Use double-backslash to quote
24601 curly braces in regular expressions.
24602
24603 2001-07-25 Michael Snyder <msnyder@redhat.com>
24604
24605 * gdb.base/ending-run.exp: Accept "Program exited normally" as
24606 legitimate output from stepping out of main.
24607
24608 2001-07-22 Keith Seitz <keiths@redhat.com>
24609
24610 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24611 the empty string, do not run the tests.
24612
24613 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24614
24615 * gdb.base/long_long.exp: Detect size of pointer. Take into
24616 account 2-byte pointers when testing for p/a results.
24617
24618 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24619
24620 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
24621 and defined to 1K for m68hc11.
24622 (random_data): Reduce table to 1K for embedded platforms (68hc11).
24623 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
24624 (sizeof_random_data): New variable to tell the size of the data table;
24625 don't test past this size; always run to main.
24626
24627 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24628
24629 * gdb.base/return2.exp: return of long long and double fails for
24630 68HC11; don't execute these tests on that platform.
24631 * gdb.base/return.exp: Return of a double fails for 68hc11.
24632
24633 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24634
24635 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
24636 tests that print a float.
24637 * call-rt-st.exp: Likewise.
24638
24639 2001-07-12 Mark Kettenis <kettenis@gnu.org>
24640
24641 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
24642 running this test on Linux.
24643
24644 2001-06-24 Michael Chastain <chastain@redhat.com>
24645
24646 * gdb.base/arithmet.exp: Remove some tests to make all test names
24647 unique.
24648
24649 2001-07-03 Michael Snyder <msnyder@redhat.com>
24650
24651 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
24652 the output of the ptype command.
24653
24654 2001-07-02 Michael Snyder <msnyder@redhat.com>
24655
24656 * gdb.base/completion.exp: Don't assume that break.c is the only
24657 source file that may contain functions named "marker".
24658 * gdb.base/corefile.exp: Quote the curly braces in regexp.
24659
24660 2001-06-28 Andrew Cagney <ac131313@redhat.com>
24661
24662 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
24663 of files to delete.
24664
24665 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
24666 * gdb.disasm/h8300s.exp: New file.
24667 gdb.disasm/h8300s.s: Likewise.
24668
24669 2001-06-27 Andrew Cagney <ac131313@redhat.com>
24670
24671 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
24672 empty breakpoint tables.
24673
24674 2001-06-25 Andrew Cagney <ac131313@redhat.com>
24675
24676 * lib/mi-support.exp: Update args=... part of stop-reason
24677 patterns. Accept either a list or a tuple.
24678
24679 2001-06-23 Andrew Cagney <ac131313@redhat.com>
24680
24681 * lib/mi-support.exp: Remove local emacs variable defining
24682 change-log-default-name.
24683
24684 2001-06-22 Michael Chastain <chastain@redhat.com>
24685
24686 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
24687 This is operationally compatible with the previous version.
24688
24689 2001-06-13 Jim Blandy <jimb@redhat.com>
24690
24691 * lib/gdb.exp (gdb_test): Doc fix.
24692
24693 2001-06-10 Michael Chastain <chastain@redhat.com>
24694
24695 * gdb.base/exprs.exp: Remove a duplicate test.
24696
24697 2001-06-06 Jim Blandy <jimb@redhat.com>
24698
24699 * gdb.base/return2.exp (main): Use values to test float and double
24700 returns that are not NaN's, to avoid being confused by IEEE
24701 comparison rules.
24702
24703 2001-06-04 Michael Snyder <msnyder@redhat.com>
24704
24705 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
24706 non-zero if control_c fails. Terminate the test on failure,
24707 rather than wait for 12 more tests to time out.
24708
24709 2001-06-06 Jim Blandy <jimb@redhat.com>
24710
24711 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
24712 Don't forget to match the GDB prompt.
24713
24714 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
24715
24716 2001-06-04 Jim Blandy <jimb@redhat.com>
24717
24718 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
24719 command.
24720
24721 2001-05-31 Kevin Buettner <kevinb@redhat.com>
24722
24723 * gdb.base/annota1.exp (info break): Match four or more spaces
24724 after "Address".
24725
24726 2001-05-31 Michael Chastain <chastain@redhat.com>
24727
24728 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
24729 (dm_type_int_star): Likewise.
24730 (dm_type_long_star): Likewise.
24731 (dm_type_void_star): Likewise.
24732
24733 2001-05-29 Kevin Buettner <kevinb@redhat.com>
24734
24735 * gdb.base/completion.exp (INPUTRC): Set this environment variable
24736 to a known value in order to get consistent results regardless
24737 of the setting of INPUTRC or the presence or contents of .inputrc.
24738
24739 2001-05-24 Michael Snyder <msnyder@redhat.com>
24740
24741 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
24742 Don't require that the main thread and the manager thread are the
24743 first in the list.
24744
24745 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
24746 debugging. If test fails, issue an "unsupported" not a "fail".
24747
24748 2001-05-24 Jim Blandy <jimb@redhat.com>
24749
24750 Don't assume that short is shorter than int.
24751 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
24752 assume that shorts are smaller than ints. On a 16-bit machine,
24753 this isn't true.
24754 ("print unsigned char == (~0)"): Add test that verifies that ~0,
24755 an int, is not equal to ~0 stored in an unsigned char. This tests
24756 the same thing that the previous test meant to, but works on
24757 16-bit machines, too.
24758 ("print unsigned char != (~0)"): Same test, complemented.
24759
24760 2001-05-24 Michael Snyder <msnyder@redhat.com>
24761
24762 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
24763 test for (full_coverage == 0). This makes the test run faster,
24764 and prevents dejagnu getting out of step.
24765
24766 2001-05-23 Kevin Buettner <kevinb@redhat.com>
24767
24768 * gdb.base/finish.exp (finish_void): Revise pattern for
24769 stopping on the call statement to not permit stopping at
24770 the start of the instructions comprising the call sequence.
24771
24772 2001-05-19 Michael Chastain <chastain@redhat.com>
24773
24774 * gdb.base/callfuncs.exp: Make all test names unique.
24775 * gdb.base/commands.exp: Make all test names unique.
24776 * gdb.base/condbreak.exp: Make all test names unique.
24777 * gdb.base/dbx.exp: Make all test names unique.
24778 * gdb.base/default.exp: Make all test names unique.
24779 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
24780 and TIMEOUT messages to their corresponding PASS message.
24781 * gdb.base/ending-run.exp: Make all test names unique.
24782 * gdb.base/long_long.exp: Remove duplicate test.
24783
24784 2001-05-21 Kevin Buettner <kevinb@redhat.com>
24785
24786 * gdb.base/finish.exp (finish_void): Allow "finish" command to
24787 stop on the call statement as well as the statement after the
24788 call.
24789
24790 2001-05-21 Michael Snyder <msnyder@redhat.com>
24791
24792 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
24793
24794 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
24795
24796 * gdb.base/completion.exp: Revamp test. Make it execute on all
24797 platforms.
24798
24799 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
24800
24801 * config/gdbserver.exp (gdb_load): Handle the case
24802 in which the arguments to gdbserver are given in the
24803 baseboard configuration file.
24804 Also handle the case in which the server needs to do a
24805 load.
24806
24807 2001-05-07 Keith Seitz <keiths@cygnus.com>
24808
24809 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
24810 set up the display for testing.
24811 (gdbtk_start): Convert all paths to paths that tcl will like.
24812 Export target information to environment.
24813 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
24814 necessary.
24815 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
24816 (to_tcl_path): New proc to convert a given pathname into
24817 a path acceptible as an argument to a tcl command.
24818 (_gdbtk_export_target_info): New proc to export target info
24819 into the environment for gdbtk testing.
24820 (gdbtk_done): New proc to signal end-of-test.
24821
24822 2001-05-06 Jim Blandy <jimb@redhat.com>
24823
24824 * restore.c: Make the code of caller0 correspond to its comment.
24825
24826 2001-05-03 Michael Snyder <msnyder@redhat.com>
24827
24828 * config/sid.exp (gdb_target_sid): Check for error messages.
24829 On error or timeout, don't make expect exit (which will terminate
24830 all subsequent tests); instead just make gdb exit.
24831 (gdb_load): Check for error messages. On error or timeout,
24832 return a negative value.
24833
24834 2001-04-24 Jim Blandy <jimb@redhat.com>
24835
24836 * gdb.c++/templates.exp: If we see the prompt for the overload
24837 list, but we haven't recognized any of the longer patterns,
24838 arrange for this test to fail, not hang.
24839
24840 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24841 variations.
24842
24843 2001-04-22 Michael Chastain <chastain@redhat.com>
24844
24845 * gdb.c++/local.exp: Use the 'runto' library function.
24846 * gdb.c++/namespace.exp: Likewise.
24847 * gdb.c++/overload.exp: Likewise.
24848
24849 2001-03-26 Kevin Buettner <kevinb@redhat.com>
24850
24851 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24852 * gdb.base/step-line.exp: New file. Test step/next in presence of
24853 #line directives.
24854 * gdb.base/step-line.c: New file. Test program for the above.
24855 * gdb.base/step-line.inp: New file. We pretend that this file has
24856 been transformed by some other tool into step-line.c.
24857
24858 2001-03-21 Jim Blandy <jimb@redhat.com>
24859
24860 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24861 unmangled operator names.
24862
24863 2001-03-20 Jim Blandy <jimb@redhat.com>
24864
24865 * gdb.threads/linux-dp.exp: Recognize an additional message
24866 generated by GDB when it doesn't understand how to debug threads
24867 on the target system.
24868
24869 2001-03-19 Andrew Cagney <ac131313@redhat.com>
24870
24871 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24872
24873 2001-03-12 Michael Chastain <chastain@redhat.com>
24874
24875 * gdb.c++/derivation.exp: Use the 'runto' library function.
24876
24877 2001-03-12 Michael Chastain <chastain@redhat.com>
24878
24879 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24880
24881 2001-02-24 Michael Chastain <chastain@redhat.com>
24882
24883 * gdb.c++/ref-types.exp: Change handwritten code to library
24884 function 'runto'.
24885
24886 2001-03-16 Orjan Friberg <orjanf@axis.com>
24887
24888 * gdb.base/signals.exp: Set count to 0 explicitly.
24889
24890 2001-03-15 Mark Salter <msalter@redhat.com>
24891
24892 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24893 (gdb_target_monitor): Add check of gdb_target_cmd return value.
24894 (gdb_load): Add support for additional target_info: gdb_download_size
24895 and gdb_load_timeout.
24896
24897 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
24898
24899 * gdb.base/annota1.exp: Move test of isnative to earlier in the
24900 file -- to prevent failing when the compile fails but we have no
24901 intention of running the tests anyway.
24902
24903 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24904 tests if set.
24905
24906 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
24907 integers.
24908
24909 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24910 * gdb.c++/namespace.exp: Ditto.
24911
24912 2001-03-07 Orjan Friberg <orjanf@axis.com>
24913
24914 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24915 * gdb.base/pointers.exp: Relax pattern match of decimals.
24916
24917 2001-03-06 Kevin Buettner <kevinb@redhat.com>
24918
24919 * Makefile.in, config/abug.exp, config/cfdbug.exp,
24920 config/cpu32bug.exp, config/dve.exp, config/est.exp,
24921 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24922 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24923 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24924 config/sh.exp, config/sid.exp, config/slite.exp,
24925 config/sparclet.exp, config/udi.exp, config/unknown.exp,
24926 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24927 config/vxworks.exp, config/vxworks29k.exp,
24928 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24929 gdb.base/all-bin.exp, gdb.base/annota1.exp,
24930 gdb.base/arithmet.exp, gdb.base/assign.exp,
24931 gdb.base/async.exp, gdb.base/attach.exp,
24932 gdb.base/bitfields.exp, gdb.base/bitops.exp,
24933 gdb.base/break.exp, gdb.base/call-ar-st.exp,
24934 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24935 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24936 gdb.base/commands.exp, gdb.base/completion.exp,
24937 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24938 gdb.base/constvars.exp, gdb.base/corefile.exp,
24939 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24940 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24941 gdb.base/ending-run.exp, gdb.base/environ.exp,
24942 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24943 gdb.base/finish.exp, gdb.base/foll-exec.exp,
24944 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24945 gdb.base/funcargs.exp, gdb.base/help.exp,
24946 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24947 gdb.base/logical.exp, gdb.base/long_long.exp,
24948 gdb.base/maint.exp, gdb.base/mips_pro.exp,
24949 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24950 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24951 gdb.base/pointers.exp, gdb.base/printcmds.exp,
24952 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24953 gdb.base/regs.exp, gdb.base/relational.exp,
24954 gdb.base/remote.exp, gdb.base/reread.exp,
24955 gdb.base/restore.exp, gdb.base/return2.exp,
24956 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24957 gdb.base/selftest.exp, gdb.base/setshow.exp,
24958 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24959 gdb.base/sigall.exp, gdb.base/signals.exp,
24960 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24961 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24962 gdb.base/step-test.exp, gdb.base/structs.c,
24963 gdb.base/structs.exp, gdb.base/structs2.exp,
24964 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24965 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24966 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24967 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24968 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24969 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24970 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24971 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24972 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24973 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24974 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24975 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24976 gdb.fortran/types.exp, gdb.java/jmisc.exp,
24977 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24978 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24979 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24980 gdb.trace/circ.exp, gdb.trace/collection.exp,
24981 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24982 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24983 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24984 gdb.trace/report.exp, gdb.trace/save-trace.exp,
24985 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24986 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24987 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24988 notices.
24989
24990 2001-02-27 Michael Snyder <msnyder@cygnus.com>
24991
24992 * gdb.base/varargs.c (find_max_double): Fix printf format string:
24993 first arg is int not float.
24994
24995 2001-02-22 Michael Snyder <msnyder@cygnus.com>
24996
24997 * gdb.base/reread.exp: Unsupported for non-native targets;
24998 doesn't work for remote debugging.
24999
25000 2001-02-19 Fernando Nasser <fnasser@redhat.com>
25001
25002 From Drew Moseley <dmoseley@redhat.com>
25003 * gdb.base/ending-run.exp: Properly handle the BSP state when
25004 stepping past the end of main.
25005
25006 2001-02-19 John Moore <jmoore@redhat.com>
25007
25008 * gdb.base/commands.exp (infrun_breakpoint_command_test):
25009 Converted HPUX fix for non-expected items following multiple
25010 step commands into general solution for all platforms.
25011
25012 2001-02-18 Michael Chastain <chastain@redhat.com>
25013
25014 * gdb.c++/classes.exp (do_tests): Change runto statements
25015 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25016 statements demangler agnostic.
25017 * gdb.c++/virtfunc.exp (do_tests): Likewise.
25018 (gdb_virtfunc_restart): Likewise.
25019
25020 2001-02-14 Michael Chastain <chastain@redhat.com>
25021
25022 * gdb.c++/inherit.exp (do_tests): Change runto statements
25023 from "runto 'foo(void)'" to "runto 'foo'". This makes the
25024 statements demangler agnostic.
25025
25026 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
25027
25028 * gdb.threads/pthreads.exp: Unify pass/fail messages for
25029 ``continue to bkpt at common_routine in thread 2'' and ``stopped
25030 before calling common_routine 15 times'' tests.
25031
25032 2001-02-11 Michael Chastain <chastain@redhat.com>
25033
25034 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
25035 Helps the test script figure out which demangler is in use.
25036 (dm_type_foo_ref): Ditto.
25037 (dm_type_int_star): Ditto.
25038 (dm_type_long_star): Ditto.
25039 (dm_type_unsigned_int): Ditto.
25040 (dm_type_void): Ditto.
25041 (dm_type_void_star): Ditto.
25042 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
25043 Probe the gdb demangler and set variables to accommodate
25044 formatting differences.
25045 (info_func_regexp): New function. Same as info_func, but
25046 matches against a regexp.
25047 (info_func): Match against a literal string.
25048 (print_addr_2): New function. Match against a literal string,
25049 which can be different from the input to gdb.
25050 (print_addr): Simply call print_addr_2 with the same argument twice.
25051 (test_lookup_operator_functions): Use demangler formatting variables.
25052 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
25053 the tests in the same order as the C++ class declaration.
25054 (test_paddr_operator_functions): Ditto.
25055 (test_paddr_overloaded_functions): Ditto.
25056 (test_paddr_hairy_functions): Use demangler formatting variables.
25057 Add reference to gdb/19 for related tests.
25058 (do_tests): Call probe_demangler.
25059
25060 2001-01-30 Kevin Buettner <kevinb@redhat.com>
25061
25062 * gdb.c++/templates.cc (printf): Remove unused function definition.
25063
25064 2001-01-26 Felix Lee <flee@redhat.com>
25065
25066 * sid.exp (sid_exit): Pass host, not target, to remote_close.
25067
25068 2001-01-25 matthew green <mrg@redhat.com>
25069
25070 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25071 up sid.
25072 (sid_exit): Call `remote_pop_conn' after GDB is gone.
25073
25074 2001-01-25 matthew green <mrg@redhat.com>
25075
25076 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
25077 Deprecate $sid_spawn_id.
25078 (sid_exit): Remove code necessary only for `spawn.'
25079
25080 2001-01-25 matthew green <mrg@redhat.com>
25081
25082 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25083
25084 2001-01-28 Michael Chastain <chastain@redhat.com>
25085
25086 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25087 to call when tests fail. It takes gdb out of the overloaded
25088 function choice menu back to the main prompt, so that the test
25089 program stays synchronized.
25090 (set_bp_overloaded): New proc to collect all the common
25091 code for setting a breakpoint on an overloaded name. Calls
25092 take_gdb_out_of_choice_menu when needed.
25093 (menu_overload1arg): New variable to collect the repeated
25094 instances of the expected menu for an overloaded name. Change
25095 the regular expression to handle changes in g++ type encoding:
25096 "void" can be either "void" or "", and "unsigned int" can be
25097 either "unsigned int" or "unsigned".
25098 (continue_to_bp_overloaded): Change regular expressions to handle
25099 changes in g++ type encoding.
25100 (no proc): Call take_gdb_out_of_choice_menu when needed.
25101 Remove redundant calls to "info break". Accept either "canceled"
25102 or "cancelled". Change regular expressions in "info break"
25103 calls to handle changes in g++ type encoding. Give all tests
25104 unique strings.
25105
25106 2001-01-17 Ben Elliston <bje@redhat.com>
25107
25108 * config/sid.exp: New file.
25109
25110 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25111
25112 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25113
25114 2000-12-21 Michael Snyder <msnyder@cygnus.com>
25115
25116 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25117 Add a RE to accept a non-ascii char if one is ever presented.
25118
25119 2000-12-20 Fernando Nasser <fnasser@redhat.com>
25120
25121 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
25122
25123 2000-12-18 Michael Snyder <msnyder@cygnus.com>
25124
25125 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
25126 in regexp. One '\' does not suffice on Linux.
25127
25128 2000-12-09 Michael Chastain <chastain@redhat.com>
25129
25130 * gdb.base/break.exp (test_clear_command): Use a marker function
25131 rather than 'main' for the test function. Also move this
25132 test to an execution point where the marker function names are
25133 guaranteed to be bound to functions. (Executing tests after a
25134 'finish' from main runs into name conflicts with local names
25135 in __libc_start_main).
25136
25137 2000-12-07 Michael Snyder <msnyder@cygnus.com>
25138
25139 * gdb.base/finish.exp: New test for gdb's "finish" command.
25140 * gdb.base/return2.exp: New test for gdb's "return" command.
25141 * gdb.base/return2.c: New source file for above.
25142
25143 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25144
25145 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25146 * gdb.base/miscexprs.exp: Ditto.
25147 * gdb.base/pointers.exp: Ditto.
25148 * gdb.c++/derivation.exp: Ditto.
25149 * gdb.c++/local.exp: Ditto.
25150 * gdb.c++/namespace.exp: Ditto.
25151 * gdb.c++/overload.exp: Ditto.
25152 * gdb.c++/ref-types.exp: Ditto.
25153
25154 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25155
25156 * gdb.base/constvars.exp: Test result of "up" command.
25157 * gdb.base/miscexprs.exp: Ditto.
25158 * gdb.base/pointers.exp: Ditto.
25159 * gdb.base/scope.exp: Ditto.
25160 * gdb.c++/derivation.exp: Ditto.
25161 * gdb.c++/local.exp: Ditto.
25162 * gdb.c++/namespace.exp: Ditto.
25163 * gdb.c++/overload.exp: Ditto.
25164 * gdb.c++/ref-types.exp: Ditto.
25165
25166 2000-11-22 Michael Chastain <chastain@redhat.com>
25167
25168 * mips_pro.exp: Accept either "middle -> top -> main" or
25169 "middle -> main" in the backtrace, because gcc can optimize
25170 tail calls to jumps. Remove setup_xfail for the hppa case.
25171 Add a comment with the original warning messages from PR 3016,
25172 which was filed in 1993, to preserve them for posterity.
25173
25174 2000-11-17 Nick Duffek <nsd@redhat.com>
25175
25176 * lib/gdb.exp (gdb_test): Override timeout with board info.
25177
25178 2000-11-17 Nick Duffek <nsd@redhat.com>
25179
25180 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25181 the second kill and detach messages.
25182
25183 2000-11-17 Nick Duffek <nsd@redhat.com>
25184
25185 * configure.in: Add AC_EXEEXT.
25186 * configure: Regenerate.
25187 * Makefile.in (just-check): Export EXEEXT.
25188 * lib/gdb.exp ($EXEEXT): Import from environment.
25189 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25190 expect "maint dump-me" on Cygwin.
25191 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25192 $EXEEXT.
25193
25194 2000-11-17 Nick Duffek <nsd@redhat.com>
25195
25196 * gdb.base/break.exp: Test backtrace and finish from called
25197 function on all platforms, not just HP-UX.
25198
25199 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25200
25201 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25202 code from gdb_target_monitor, so it can be used independantly
25203 for gdbserver. Also comment out an unnecessary PUTS.
25204
25205 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25206
25207 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25208 * gdb.base/corefile.exp: Expect the message "Program is being
25209 debugged already" when we send the "corefile" command, since
25210 the preceeding gdb_load may have connected gdb to a remote target.
25211 * gdb.base/display.exp: Disable hardware watchpoints if new
25212 board info variable "no_hardware_watchpoints" is true.
25213 Replace single-letter commands with more readable ones.
25214 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25215 if new board info variable "no_hardware_watchpoints" is true.
25216 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25217 to see if stdio (printf) testing is possible.
25218 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25219 board info variable "no_hardware_watchpoints" is true. Use new
25220 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25221
25222 2000-11-13 Fernando Nasser <fnasser@redhat.com>
25223
25224 From Orjan Friberg <orjanf@axis.com>:
25225 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25226 in array print pattern match.
25227
25228 2000-11-09 Fernando Nasser <fnasser@redhat.com>
25229
25230 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25231 spelling "cancelled" to U.S. spelling "canceled" to match changes
25232 made to gdb.
25233 * gdb.c++/ovldbreak.exp: Ditto.
25234
25235 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25236
25237 * gdb.base/callfuncs.c (main): Moved to end of file, call
25238 t_double_values to initialize the FPU before inferior calls are made.
25239 * gdb.base/callfuncs.exp: Test for register preservation after calling
25240 inferior functions. Add tests for continuining, finishing and
25241 returning from a stop in a call dummy.
25242
25243 2000-10-24 Michael Snyder <msnyder@cygnus.com>
25244
25245 * gdb.base/commands.exp: Break up long lines, and re-indent.
25246
25247 2000-10-19 Michael Snyder <msnyder@cygnus.com>
25248
25249 * config/gdbserver.exp: Rewritten from the ground up, to make it
25250 compatible with the current dejagnu tree, and to make it work with
25251 the new "gdbserver" in libremote.
25252
25253 2000-10-16 Michael Snyder <msnyder@cygnus.com>
25254
25255 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25256 * gdb.base/varargs.exp: Skip entire test if no printf support.
25257 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25258 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25259
25260 2000-10-13 Michael Snyder <msnyder@cygnus.com>
25261
25262 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25263 no floating point support.
25264 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25265 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25266 * gdb.base/call-rt-st.exp: Ditto.
25267 * gdb.base/call-strs.exp: Ditto.
25268
25269 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25270
25271 * gdb.base/sizeof.c: include <stdio.h>.
25272
25273 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
25274 'finish', otherwise uncaptured gdb_prompt would potentially
25275 throw remaining test points out of sync.
25276
25277 2000-07-26 Scott Bambrough <scottb@netwinder.org>
25278
25279 * gdb.base/recurse.exp: Run tests for all targets.
25280 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25281 gnu-oldld case on ARM.
25282 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25283 for ARM targets.
25284
25285 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25286
25287 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25288 * gdb.java/configure: Rebuild.
25289
25290 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25291
25292 * gdb.java/jv-exp.exp: New file.
25293
25294 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25295
25296 * configure: Rebuilt.
25297 * configure.in (configdirs): Add gdb.java.
25298 * gdb.java/jmisc.java: New file.
25299 * gdb.java/jmisc.exp: New file.
25300 * gdb.java/Makefile.in: New file.
25301 * gdb.java/configure: Rebuilt.
25302 * gdb.java/configure.in: New file.
25303 * lib/java.exp: New file.
25304
25305 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25306
25307 * gdb.base/exprs.exp: Test casts to a pointer including over and
25308 underflow.
25309
25310 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25311
25312 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
25313 and the compilers sizes.
25314
25315 2000-07-09 Nick Duffek <nsd@redhat.com>
25316
25317 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25318 (use_methods): New function.
25319 (main): Call use_methods().
25320 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25321 (do_tests): Call test_method_param_class.
25322
25323 2000-07-09 Nick Duffek <nsd@redhat.com>
25324
25325 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25326 spelling.
25327 (test_enums): New procedure. Move enum tests from end of script
25328 to here. Set breakpoint on function name instead of line number.
25329 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25330 (enums2): New marker function.
25331 (enums1): New function.
25332 (main): Call enums1(). Move enum tests to enums1().
25333
25334 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25335
25336 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
25337 compile/link program. Update line numbers.
25338 * gdb.asm/d10v.inc: Define ``startup''.
25339 * gdb.asm/asmsrc1.s: Add definition of _start.
25340
25341 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25342
25343 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25344
25345 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25346
25347 * gdb.base/maint.exp: Add 'maint print architecture' item to output
25348 of 'help maint print' command.
25349
25350 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25351
25352 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
25353 they use gdb_expect_list.
25354
25355 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25356
25357 * gdb.base/commands.exp: Use ``set remote
25358 memory-read-packet-size'' instead of ``set endian big'' to test
25359 long commands.
25360
25361 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
25362
25363 * gdb.c++/templates.exp (do_tests): Make all of these work under
25364 g++, and stop skipping them.
25365
25366 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25367 work under g++.
25368
25369 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
25370 initialization.
25371
25372 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25373
25374 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25375 the regular expression: accept an (almost) arbitrary sequence of
25376 "frames-invalid" and "breakpoints-invalid" messages both before
25377 and after the "starting" message.
25378
25379 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25380
25381 * gdb.c++/local.exp: This test has never been known to work with g++.
25382
25383 2000-05-18 Michael Snyder <msnyder@cygnus.com>
25384
25385 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25386 Relax the regular expression a little, make it pass on Solaris 8.
25387
25388 2000-05-12 Kevin Buettner <kevinb@redhat.com>
25389
25390 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
25391 a call, do not require that gdb stop on the line after the call.
25392 Instead, it is permissible for gdb to stop on the line of the
25393 call itself.
25394
25395 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
25396
25397 * gdb.base/break.exp (bp on small function, optimized file):
25398 Add a second pass pattern. The behavior differs here between stabs
25399 and dwarf for one-line functions. Stabs preserves two line symbols
25400 (one before the prologue and one after) with the same line number,
25401 but dwarf regards these as duplicates and discards one of them.
25402 Therefore the address after the prologue (where the breakpoint is)
25403 has no exactly matching line symbol, and GDB reports the breakpoint
25404 as if it were in the middle of a line rather than at the beginning.
25405
25406 2000-05-08 Michael Snyder <msnyder@cygnus.com>
25407
25408 * gdb.base/interrupt.exp: Make "pass" message say "send"
25409 rather than "send_gdb" (for consistancy).
25410
25411 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25412
25413 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25414 * gdb.c++/templates.cc: Properly check for GCC version number.
25415 * lib/compiler.cc: Likewise
25416
25417 2000-04-28 Michael Snyder <msnyder@cygnus.com>
25418
25419 * gdb.base/break.exp: When compiled with -O2 optimization,
25420 gdb may not stop at the first line of main, due to code motion.
25421
25422 2000-04-26 Michael Snyder <msnyder@cygnus.com>
25423
25424 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25425 This test depends on parsing the printf output from the target.
25426 Since the sparclet stub doesn't do stdio, this will never work.
25427 * gdb.base/call-rt-st.exp: ditto.
25428 * gdb.base/call-strs: ditto.
25429
25430 2000-04-24 Michael Snyder <msnyder@cygnus.com>
25431
25432 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25433
25434 * gdb.base/ending-run.exp: After connecting to a remote target,
25435 but before running, the target will appear to be in a random
25436 location. Specify both a file and a line for breakpoints.
25437 Also, the function that calls main may be called 'init'
25438 rather than 'start'.
25439
25440 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25441
25442 * gdb.base/help.exp: Update output for add-symbol-file command.
25443
25444 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
25445
25446 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25447 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25448
25449 2000-04-07 J.T. Conklin <jtc@redback.com>
25450
25451 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25452
25453 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25454
25455 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
25456
25457 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
25458 values that can be represented exactly.
25459 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25460 above change, and to not check against the directory part of the source
25461 file name.
25462 (step into print_long_arg_list): Likewise.
25463 (print print_small_structs from print_long_arg_list): Likewise.
25464 (print print_long_arg_list): Likewise.
25465
25466 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25467
25468 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
25469
25470 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
25471
25472 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25473
25474 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
25475
25476 * gdb.base/commands.exp (deprecated_command_test): Add test for
25477 deprecate with no arguments.
25478
25479 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
25480
25481 * gdb.base/break.exp: Add new test for setting breakpoints on
25482 optimized code so we can test breakpoints work even when function
25483 prologues may be optimized away
25484
25485 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
25486
25487 From David Whedon <dwhedon@gordian.com>
25488 * gdb.base/commands.exp : Added command deprecator tests.
25489
25490 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
25491
25492 * gdb.base/help.exp: Added test for new apropos command.
25493
25494 2000-03-21 Kevin Buettner <kevinb@redhat.com>
25495
25496 * gdb.base/pointers.c (usevar): New function.
25497 (main): Make sure that global variables v_int_pointer2, rptr,
25498 and y are all referenced someplace in the program by calling
25499 usevar() on them. [Some linkers delete symbols which are
25500 never referenced. The space remains, but there's no way to
25501 get a (symbolic) handle on the variable from the debugger.]
25502
25503 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25504
25505 * gdb.base/printcmds.c: Add typedeffed arrays.
25506
25507 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
25508 procedure to test arrays that are typedef'd.
25509
25510 2000-03-13 James Ingham <jingham@leda.cygnus.com>
25511
25512 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
25513 the library directories.
25514
25515 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
25516
25517 * configure.in (configdirs): Add sub directory gdb.mi.
25518 * configure: Re-generate.
25519
25520 * gdb.mi: New directory.
25521
25522 2000-02-25 Scott Bambrough <scottb@netwinder.org>
25523
25524 * gdb.base/long_long.exp: Correct test suite failure when printing
25525 a long long value as a double on ARM platforms.
25526
25527 2000-02-16 Jim Blandy <jimb@redhat.com>
25528
25529 * gdb.base/break.exp ("breakpoint line number"): Make sure the
25530 default source file is set properly before running this test.
25531
25532 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25533
25534 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
25535 gdbtk/library directory, not in gdbtcl2.
25536
25537 2000-02-04 Jim Blandy <jimb@redhat.com>
25538
25539 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25540 backslash from regexp pattern.
25541
25542 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25543 procedure. Use it to run all the "continue to bp overloaded"
25544 tests. Note that this changes the names of the tests slightly.
25545 If the breakpoint hit message includes a hex PC value, because
25546 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25547 from the real source code, still consider that a pass.
25548
25549 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25550 XFAIL here if the breakpoint message contains a hex address. Note
25551 similar change on 1999-11-02.
25552
25553 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25554
25555 * gdb.base/ptype.exp: Establish a default source file before
25556 calling get_debug_format.
25557
25558 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
25559
25560 * gdb.base/watchpoint.exp: Remove duplication of test messages.
25561
25562 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25563
25564 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25565 of successive stepi commands -- while in the prologue we should see
25566 the function entry bracket.
25567
25568 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25569
25570 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25571 reach __change_mode() when stepping through the end of main().
25572
25573 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
25574
25575 * gdb.base/default.exp: Fix expected pattern.
25576 * gdb.base/help.exp: Same.
25577
25578 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25579
25580 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
25581 Don't use xfail's because that affects only the following test.
25582
25583 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
25584 solaris or linux.
25585
25586 * gdb.base/selftest.exp: Update to reflect changes to main.c.
25587
25588 2000-01-07 Michael Snyder <msnyder@cygnus.com>
25589
25590 * gdb.base/display.exp: Some yacc parsers like to say
25591 "A syntax error" rather than "A parse error". Accept both.
25592
25593 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
25594
25595 * gdb.base/default.exp: Remove OS dependent string from "target
25596 remote" test.
25597 * gdb.base/help.exp: Same for "help target remote" test.
25598
25599 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25600
25601 From Jim Kingdon <kingdon@redhat.com>:
25602
25603 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
25604 prompt (cleanup rather than necessity, but still might keep output
25605 from spilling to next test).
25606
25607 2000-01-02 Fred Fish <fnf@cygnus.com>
25608
25609 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25610 AIX, which defines them in <sys/types.h>.
25611
25612 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
25613
25614 * gdb.base/default.exp: Match arm* etc instead of arm in "info
25615 float" test.
25616
25617 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
25618
25619 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
25620
25621 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
25622 outermost frame disallowed".
25623
25624 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
25625
25626 * gdb.base/setvar.exp: New tests for setting the value of a struct
25627 with a constant list.
25628
25629 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25630
25631 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
25632 require the user to type a cast before setting the value of a struct.
25633
25634 1999-12-06 Jim Blandy <jimb@cygnus.com>
25635
25636 * gdb.base/default.exp: Expect the new 'info float' command on
25637 all i386 platforms.
25638
25639 * gdb.threads/linux-dp.exp: Expand our ability to recognize
25640 LinuxThreads libraries that don't support debugging.
25641
25642 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25643
25644 * gdb.base/remote.c: Fill the buffer with truely random data.
25645 Change the buffer type to ``unsigned char'' to simplify size
25646 arithmetic.
25647
25648 * gdb.base/remote.exp: Reduce download numbers by one. Typical
25649 stub only handles 400-1 byte packets. Verify that the download
25650 worked.
25651
25652 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
25653
25654 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
25655 tests, using UNRESOLVED for the untested cases. Also, does not wait
25656 for a timeout if the prompt was received before a recognizable pattern.
25657
25658 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
25659
25660 * lib/gdb.exp (gdb_expect_list): Fix spelling.
25661
25662 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25663
25664 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
25665 watchpoints.
25666
25667 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
25668
25669 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
25670
25671 * gdb.c++/local.exp: Be more flexible in recognizing local class
25672 name mangling. Don't allow horribly truncated method names.
25673 * gdb.c++/derivation.exp: Expect protected inheritance.
25674 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
25675 * gdb.c++/virtfunc.exp: Likewise.
25676 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
25677 when printing a nested enum.
25678
25679 1999-11-22 Jim Blandy <jimb@cygnus.com>
25680
25681 * gdb.base/step-test.exp: Properly await GDB's response to setting
25682 a breakpoint on the call to large_struct_by_value.
25683
25684 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
25685 just because we have debug info for the `start' function.
25686
25687 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
25688
25689 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
25690 "Unknown signal" messages, which indicate (on LinuxThreads) that
25691 GDB doesn't know how to debug threads on this system. This is
25692 better than hanging while philosopher 0 dumps chatter into gdb.log.
25693
25694 1999-11-18 Tom Tromey <tromey@cygnus.com>
25695
25696 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
25697
25698 1999-11-18 Fred Fish <fnf@cygnus.com>
25699
25700 * gdb.base/coremaker2.c: Add sample program for generating
25701 cores that is more self contained than coremaker.c. Eventually
25702 I'll add more code to this and tie it into the testsuite.
25703
25704 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
25705
25706 * gdb.base/dollar.exp: Remove, now in gdb.hp.
25707
25708 1999-11-10 Jimmy Guo <guo@cup.hp.com>
25709
25710 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
25711 from $srcdir/lib/.
25712 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
25713 and gdb.c++/.
25714
25715 * gdb.c++/derivation.exp: remove redundant get compiler info code.
25716
25717 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
25718 'continue with watch' test point.
25719
25720 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
25721
25722 Merged from p2linux-990323-branch:
25723
25724 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
25725
25726 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
25727
25728 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
25729 {limit,fixed}''. Test ``set download-write-size''.
25730
25731 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
25732
25733 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
25734 gdb_expect_list.
25735
25736 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
25737
25738 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
25739
25740 1999-11-03 Mark Salter <msalter@cygnus.com>
25741
25742 * gdb.base/break.exp: Fix "stub continue" pattern.
25743
25744 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
25745
25746 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
25747
25748 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
25749
25750 * gdb.base/display.exp ("finish"): Add timeout clause.
25751
25752 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
25753 plain prompt clause, so this doesn't have to time out in order to
25754 fail.
25755
25756 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
25757 breakpoint hit messages include an address.
25758
25759 * gdb.base/display.exp: Don't forget to escape parens in regular
25760 expressions. Unix regexp notatation sucks.
25761
25762 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25763
25764 * gdb.base/annota1.exp: Test for annotate-signalled: change output
25765 order for 'signalled' message.
25766
25767 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
25768
25769 From Jimmy Guo <guo@cup.hp.com>:
25770 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
25771 * gdb.base/annota1.c: Add code for tests to work with.
25772
25773 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
25774
25775 * gdb.base/remote.exp: New test for remote downloading settings.
25776 * gdb.base/remote.c: New file with large .data.
25777
25778 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
25779
25780 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
25781 for LinuxThreads support, merged from the Code Fusion branch.
25782
25783 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
25784
25785 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
25786 containing exp_continue into a while within an expect. Don't
25787 attempt a start more than three times. Check return value from
25788 gdb_load.
25789
25790 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
25791
25792 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
25793 a pass case.
25794
25795 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
25796
25797 * gdb.base/break.c (main): Added a statement that we can step
25798 off of.
25799 * gdb.base/break.exp: Added tests for setting a breakpoint
25800 at an offset and stepping onto a breakpoint.
25801
25802 1999-10-01 Fred Fish <fnf@cygnus.com>
25803
25804 * gdb.base/help.exp (help add-symbol-file): Update to match current
25805 gdb output.
25806
25807 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
25808
25809 * gdb.base/break.exp: Code locations are in hex, don't forget!
25810 (For HP-UX.)
25811
25812 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
25813
25814 * condbreak.exp: Use break.c as test program.
25815 * condbreak.c: Remove, redundant with break.c.
25816
25817 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
25818
25819 * config/monitor.exp (gdb_target_monitor): Disable X- and
25820 Z-packets if the target needs it.
25821
25822 1999-09-13 James Ingham <jingham@leda.cygnus.com>
25823
25824 * gdb.c++/overload.exp: Added tests for listing overloaded
25825 functions with function pointers in the arg, explicitly calling
25826 out the version you want.
25827
25828 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
25829
25830 * long_long.exp: Add variations of test cases that work for
25831 targets with 16-bit ints and 32-bit doubles.
25832
25833 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
25834
25835 * break.c (main): Compare a possibly-uninitialized argc with an
25836 unlikely value that fits in 16 bits.
25837
25838 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
25839
25840 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25841 0xfeeb, don't want negative numbers if ints are 16 bits.
25842
25843 * lib/gdb.exp (skip_cplus_tests): New proc.
25844 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25845 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25846 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25847 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25848 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25849 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25850 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25851 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
25852
25853 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25854
25855 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
25856
25857 * gdb.base/corefile.exp (up): Allow a parameter to appear
25858 in the frame that we're going up to.
25859
25860 From Jim Blandy <jimb@cygnus.com>:
25861
25862 * gdb.base/default.exp (info float): Expect some output now.
25863
25864 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25865 returning floating-point values to fail on the x86.
25866 * gdb.base/callfwmall.exp (do_function_calls): Same.
25867
25868 * gdb.base/list.exp (test_listsize): Correct expectations for
25869 listing line 1 with listsize 2. Also, listing a single line
25870 works now, as does listing three lines. [Kevin's note: There
25871 were a number of other cases fixed too where the expectations
25872 differed...]
25873
25874 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
25875
25876 * gdb.base/selftest.exp: Add case for when version prints as
25877 constant string instead of char pointer.
25878
25879 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
25880
25881 * gdb.base/ending-run.exp: Add Solaris case for what happens when
25882 stepping out of main.
25883
25884 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25885 G++ used.
25886
25887 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
25888 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
25889
25890 * gdb.c++/ovldbreak.exp: Update match string in test that
25891 includes a warning of multiple breakpoints.
25892
25893 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
25894
25895 * gdb.base/display.exp: Improve precision of step-after-finish
25896 added yesterday.
25897
25898 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
25899 test.
25900
25901 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25902 configs when using G++, not just hppa*.
25903
25904 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25905
25906 * gdb.base/async.c: New file.
25907 * gdb.base/async.exp: New file.
25908
25909 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
25910
25911 * gdb.base/break.exp: Tweak PA specific tests to properly handle
25912 PA64.
25913
25914 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
25915
25916 * gdb.base/display.exp: "finish" can leave us mid-line on many
25917 targets, deal with it. Add a small constant to main, instead of
25918 1000 since main+1000 may not be a valid address in the target.
25919
25920 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25921 on hpux11.
25922
25923 * gdb.base/attach.exp: Handle another hpux11 error message variant
25924 when attaching to a process that does not exist.
25925
25926 1999-08-19 J.T. Conklin <jtc@redback.com>
25927
25928 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
25929 characters in 'continue to 1241' test.
25930
25931 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
25932
25933 * gdb.base/call-ar-st.exp: Add a shorter match case for the
25934 stop in print_long_arg_list, define and use a whitespace
25935 variable in print_small_structs test, add an XFAIL for Solaris.
25936 * gdb.base/dbx.exp: XFAIL func commands until somebody is
25937 interested enough to fix.
25938
25939 1999-08-13 Keith Seitz <keiths@cygnus.com>
25940
25941 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25942 (dbx_gdb_load): Remove. Use gdb_load instead, since that
25943 proc knows about targets other than the natives.
25944 (test_assign): Use "gdb_run_cmd" to "run" the target.
25945 Check that we've actually hit the breakpoint at main.
25946 When we attempt to assign a value to a local variable, check
25947 that the variable is in the current scope, i.e., don't use
25948 a test with an empty result.
25949
25950 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
25951
25952 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
25953 command.
25954
25955 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
25956
25957 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25958 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25959 gdb.compat, gdb.threads-hp.
25960 gdb.hp/configure, gdb.hp/configure.in: New files.
25961 gdb.hp/Makefile.in: Recurse into new subdirs.
25962 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25963 gdb.hp/gdb.objdbg: New directory, tests for debugging info
25964 in object files.
25965 gdb.hp/tools: New directory, aux tools for HP-specific tests.
25966
25967 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
25968
25969 * gdb.base/display.exp: Help expect by putting a newline in the
25970 funky printf, remove a bogus p/a test.
25971
25972 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25973
25974 * gdb.base/display.exp: Make sure that when we say 'run', we are
25975 connected to the target. This is necessary when running not
25976 natively.
25977
25978 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
25979
25980 * gdb.base/step-test.exp: Removed some extraneous messages.
25981
25982 * gdb.base/long_long.exp: Don't run memory examination tests
25983 on little-endian targets (they will need a different set of
25984 results to match).
25985
25986 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
25987
25988 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25989 until somebody decides to fix GDB.
25990
25991 * gdb.base/long_long.c: Stop compiler complaint by specifying long
25992 constant as "ULL".
25993 * gdb.base/long_long.exp: Loosen x/c test, add partial result
25994 matches for a couple x/2 commands.
25995
25996 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
25997
25998 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25999 by merging in ref-types2 tests.
26000 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
26001
26002 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26003 * gdb.c++/Makefile.in: Add standard actions.
26004 (EXECUTABLES): Rename from PROGS, update list.
26005 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
26006 from gdb.hp.
26007 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
26008 foo and bar locals.
26009 * gdb.c++/anon-union.exp: Fix tests to match.
26010 * gdb.c++/classes.exp: Run if HP compiler used, add extra
26011 expect matches to handle output variations.
26012 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
26013 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
26014 output, add HP alternatives for new and delete prints.
26015 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
26016 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
26017 * gdb.c++/demangle.exp: Use $style when reporting failure.
26018 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
26019 * gdb.c++/inherit.exp: Run if HP compiler used, add some
26020 match alternatives.
26021 * gdb.c++/local.exp: Add match alternatives or xfails for HP
26022 compilers.
26023 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
26024 * gdb.c++/method.exp: Add match alternatives.
26025 * gdb.c++/misc.cc: Add bool types.
26026 * gdb.c++/misc.exp: Add tests for bool types.
26027 * gdb.c++/overload.exp: Add xfails.
26028 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
26029 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
26030 add some more template parameter tests (only for HP currently).
26031 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
26032 * gdb.c++/virtfunc.cc: Add return type and value for main.
26033 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
26034 match alternatives.
26035
26036 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26037
26038 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
26039
26040 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
26041
26042 * gdb.base/signals.exp: Don't expect getting a backtrace from
26043 within a signal handler to fail on Linux.
26044
26045 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
26046
26047 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26048 * lib/gdb.exp: Remove some gratuitious semicolons.
26049 (delete_breakpoints): Increase timeout.
26050 (gdb_expect): Add -notransfer option.
26051 (gdb_test): Use -notransfer option.
26052 (get_compiler_info): Add f77 case.
26053 (get_compiler): New proc, split out from gdb_preprocess, add f77
26054 case.
26055 (gdb_preprocess): Call get_compiler.
26056
26057 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
26058 * gdb.base/attach.exp, gdb.base/display.exp,
26059 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
26060 gdb.base/long_long.exp, gdb.base/printcmds.exp,
26061 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
26062 third arg to gdb_test.
26063 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
26064 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
26065 HP-UX xfails, add others.
26066 * gdb.base/completion.exp: Reflect name change of self-test.
26067 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
26068 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26069 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26070 HP failure number.
26071 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26072 useless HP-UX 10.30 references.
26073 * gdb.base/maint.exp: Loosen matches.
26074 * gdb.base/pointers.c (main): Declare more_code.
26075 * gdb.base/pointers.exp: Match on output of a `next'.
26076 * gdb.base/structs.c: Add prototypes.
26077 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26078 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26079
26080 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26081
26082 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
26083 command.
26084
26085 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26086
26087 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26088 Fix run to main failures. Watchpoint can be hardware watchpoint.
26089
26090 * gdb.base/annota1.exp: Clean up some more, in case printf has
26091 debug info. Deal with lack of signal hanlder info in stack.
26092
26093 From Jim Kingdon <kingdon@redhat.com>:
26094 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26095
26096 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26097
26098 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
26099 gdb.base/foll-vfork.exp: Don't run for crosses.
26100
26101 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26102
26103 * gdb.base/configure.in: Check for gdbvars.exp instead of
26104 a1-selftest.exp.
26105 * gdb.base/configure: Re-generate.
26106
26107 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26108
26109 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26110 in trying to run first and name is too long.
26111
26112 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26113 pointers2.c and pointers2.exp, respectively.
26114 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26115 doschk happier.
26116
26117 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26118
26119 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26120 callfuncs2.c and callfuncs2.exp.
26121
26122 * gdb.base/list.exp: Remove mistaken xfails.
26123 * gdb.base/list0.h: Add optional prototypes.
26124
26125 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26126
26127 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
26128 calling malloc.
26129 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26130 * ptype.exp: Move test for get_debug_format to before its first
26131 use.
26132
26133 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26134
26135 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26136 * gdb.base/annota2.cc, annota2.exp: Move from here.
26137 * gdb.c++/annota2.cc, annota2.exp: To here.
26138 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26139
26140 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26141
26142 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
26143 a consistent format.
26144
26145 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26146
26147 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26148 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26149 HP compilers, also set the globals $true and $false.
26150
26151 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
26152 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26153 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26154 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26155 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26156 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26157 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26158 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26159 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26160 whatis.c} Add C++ compatible function definitions and return
26161 types, add includes for library functions.
26162 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26163 * gdb.base/step-test.c (myglob): Rename from glob.
26164 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
26165 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26166 files, move here from gdb.hp.
26167 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
26168 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26169 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26170 Adjust line numbers in regexps.
26171
26172 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26173 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26174 instead of 0/1.
26175
26176 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26177 foll-vfork.exp: New files, move here from gdb.hp.
26178 * gdb.base/page.exp: New file, test of pagination command.
26179
26180 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26181 recursion test.
26182 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26183
26184 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
26185 gdb.base/solib.exp: Fix compiler invocation process.
26186
26187 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
26188 HP-UX 11, turn off overload resolution explicitly.
26189 * gdb.base/commands.exp: Set argument list explicitly, add
26190 watchpoint test.
26191 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26192 them work.
26193 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26194 expressions properly.
26195 * gdb.base/corefile.exp: Loosen the match slightly.
26196 * gdb.base/default.exp: Allow "Error accessing memory" message
26197 also.
26198 * gdb.base/display.exp: Skip over x/0 j if PA64.
26199 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26200 * gdb.base/interrupt.exp: Ditto.
26201 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26202 in use.
26203 * gdb.base/list.exp: Add xfails for HP-UX.
26204 * gdb.base/long_long.exp: Refine some of the numeric matches.
26205 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26206 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26207 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26208 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26209 * gdb.base/ptype.exp: Succeed on more varieties of output.
26210 * gdb.base/scope.exp: Add xfails for HP-UX.
26211 * gdb.base/sect-cmd.exp: Add more cases.
26212 * gdb.base/setvar.exp: Add xfails for HP-UX.
26213 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26214 * gdb.base/signals.exp: Match on void symbolically.
26215 * gdb.base/step-test.exp: Add case for PA64.
26216 * gdb.base/term.exp: Add exit and restart.
26217 * gdb.base/twice.exp: Clean up after self.
26218 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26219 * gdb.base/whatis.exp: Allow more ways to pass tests.
26220
26221 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
26222 no longer useful.
26223
26224 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26225
26226 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
26227 list of patterns.
26228 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
26229 print_double_array(double_array)", "continuing to breakpoint
26230 1018", "print print_double_array(array_d)" and "continuing to
26231 1034" tests.
26232
26233 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26234
26235 * Makefile.in: Add empty html and install-html targets.
26236
26237 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26238
26239 * config/mt-*: Remove, these haven't been used since 1996.
26240
26241 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26242
26243 * gdb.base/call-strs.c, gdb.base/ending-run.c,
26244 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
26245 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26246
26247 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26248
26249 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26250 simpler match case for the ptype of the big class.
26251
26252 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26253
26254 * gdb.exp: Fix test for gdb_prompt existence.
26255
26256 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26257
26258 * gdb.exp (gdb_test): Add fail after calls to perror.
26259
26260 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26261
26262 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26263
26264 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26265
26266 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26267
26268 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26269
26270 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
26271 malloc() is linked in.
26272
26273 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26274
26275 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26276 step at end.
26277
26278 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26279
26280 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26281
26282 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26283
26284 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26285
26286 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26287 * gdb.base/mips_pro.exp: Likewise.
26288
26289 1999-06-02 Keith Seitz <keiths@cygnus.com>
26290
26291 * gdb.c++/templates.cc: Change all "new" operators to throw
26292 an exception.
26293 * gdb.c++/cplusfuncs.cc: Likewise.
26294
26295 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26296
26297 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26298
26299 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
26300 * gdb.base/ending-run.exp: When stepping out of main, accept a
26301 step into an arbitrary assembler file.
26302
26303 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26304
26305 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
26306 "breakpoint-invalid" to be printed.
26307 * gdb.base/annota2.exp: Revise line number for main
26308 breakpoint. Allow any number of "frames-invalid" and
26309 "breakpoint-invalid" to be printed.
26310 * gdb.base/annota2.cc: Initialize a.x to 0.
26311
26312 1999-05-17 Keith Seitz <keiths@cygnus.com>
26313
26314 * gdb.base/call-ar-st.exp: Skip
26315 "print print_double_array (double_array)" when "skip_float_tests" set.
26316 Ditto for "print print_double_array(array_d)",
26317 "print print_small_structs", "print print_ten_doubles", and
26318 "step into print_long_arg_list".
26319 Don't assume we can step into "print_long_arg_list": we could step
26320 into memcpy.
26321 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26322 "skip_float_tests" is set: "print print_one_double(*d1)"
26323 and "print print_two_floats(*f3)".
26324 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26325 "skip_float_tests" is set.
26326 * gdb.base/varargs.exp: Skip
26327 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26328 "skip_float_tests" set.
26329
26330 1999-05-06 Keith Seitz <keiths@cygnus.com>
26331
26332 * gdb.base/annota2.cc: Include stdio.h.
26333
26334 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26335
26336 * gdb.base/crossload.exp: Remove, this has been disabled ever
26337 since BFD stopped including all targets, and cross-GDB gets
26338 plenty of testing anyway.
26339 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
26340 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26341 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
26342 * gdb.base/README: Remove, was doc for this.
26343 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
26344 needed.
26345
26346 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26347
26348 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26349 output.
26350
26351 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26352 * gdb.base/annota2.exp: New file. More annotation tests.
26353 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26354 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26355
26356 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
26357
26358 * config/cfdbug.exp: New file.
26359
26360 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26361
26362 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26363 Marcus Daniel's and Dale Hawkins's demangler crashes.
26364
26365 * gdb.c++/demangle.exp (test_gnu_style_demangling,
26366 test_lucid_style_demangling, test_arm_style_demangling,
26367 test_hp_style_demangling): Try Tom Tromey's core-dumping
26368 identifier under each demangling style.
26369
26370 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26371
26372 * gdb.c++/demangle.exp: Include the current demangling style
26373 in all test names.
26374 (current_demangling_style): New global variable.
26375 (set_demangling_style, test_demangling_core, test_demangling,
26376 test_demangling_exact): New functions.
26377 (test_gnu_style_demangling, test_lucid_style_demangling,
26378 test_arm_style_demangling, test_hp_style_demangling): Use those,
26379 instead of calling gdb_test and gdb_test_exact directly.
26380 (catch_demangling_errors): New function, which reports errors
26381 signalled by the demangling test functions in an orderly way.
26382 (do_tests): Use catch_demangling_errors.
26383
26384 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26385
26386 * gdb.base/signals.exp (test_handle_all_print): Use () for
26387 grouping in expressions, not {}.
26388
26389 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
26390 initialized yet.
26391
26392 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26393
26394 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26395 are listed.
26396
26397 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26398
26399 * gdb.stabs/weird.exp: Test for CC being defined before
26400 looking at its value.
26401
26402 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26403
26404 * gdb.base/call-ar-st.exp: Remove stray '#'.
26405 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26406 "short int" and "long int".
26407 * gdb.c++/overload.cc: Cast the string added in the previous
26408 change, to mollify finicky HP compiler.
26409 * gdb.hp/reg-test.exp (testfile): Fix file name.
26410 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
26411
26412 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26413 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26414 alternate form of enum ptype.
26415
26416 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26417
26418 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26419 * gdb.hp/*.exp: Change all to run compiler probe only after
26420 passing skip_hp_tests, so as not to waste time on guaranteed
26421 failure.
26422
26423 * gdb.c++/overload.cc: Pass string instead of char addr, always
26424 init ccpfoo.
26425 * gdb.c++/templates.cc: Fix syntax error.
26426
26427 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26428
26429 * gdb.base/commands.exp: Add test for correct position of '>'
26430 when issuing the 'commands' command after a 'while' or 'if'
26431 command.
26432
26433 1999-03-18 James Ingham <jingham@cygnus.com>
26434
26435 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26436
26437 * gdb.c++/method.exp: It was testing an uninitialized int on the
26438 stack and assuming it was positive.
26439
26440 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26441
26442 * gdb.base/step-test.exp: Catch a case where finish is broken and
26443 keep it from killing the rest of the tests.
26444 Use gdb_continue_to_end.
26445
26446 * gdb.base/sigall.exp: use gdb_continue_to_end.
26447
26448 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26449
26450 * gdb.base/display.exp: use runto_main, not run.
26451
26452 * gdb.base/default.exp: Check for the current error message in the
26453 r abbreviation test.
26454 Add strongarm to the targets that know info float.
26455
26456 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
26457 run which doesn't work with monitors.
26458
26459 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26460 1034 test.
26461
26462 * gdb.base/break.exp: use the gdb_continue_to_end proc.
26463
26464 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26465 end of a program. Traps the case (in Cygmon) when the program
26466 never really exits. Same as Mark's continue_to_exit, but I had
26467 put it in a lot more places, so I used my name. Sorry Mark...
26468
26469 * config/monitor.exp (gdb_target_monitor): added another
26470 target_info parameter: remotebinarydownload. This will set the
26471 remotebinarydownload flag if this is causing some boards trouble.
26472
26473 1999-03-18 Mark Salter <msalter@cygnus.com>
26474
26475 * lib/gdb.exp (continue_to_exit): New function.
26476
26477 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26478 * gdb.base/ending-run.exp: Ditto.
26479 * gdb.base/step-test.exp: Ditto.
26480
26481 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
26482
26483 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26484 (suggested by Art Haas <ahaas@neosoft.com>).
26485
26486 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
26487
26488 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
26489
26490 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
26491
26492 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
26493 descriptions of types (short unsigned int vs unsigned short, etc).
26494
26495 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
26496
26497 * gdb.base/call-strs.exp: Don't assume that `step' will step over
26498 a call to strlen; sometimes we do have sources.
26499
26500 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26501
26502 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
26503 character, so GDB won't print garbage after its end.
26504
26505 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26506 breakpoint there instead. Sometimes GCC emits memcpy to handle
26507 the large structures being passed by value, so we step into that
26508 instead of sum_array_print, which obscures what we're really testing.
26509 * gdb.base/step-test.exp: However, we do want a test that notices
26510 the bizarre steps into memcpy, so do that here. Add check for
26511 stepping into function calls that pass large structures by value.
26512 ("Is that a noun clause, or are you just happy to see me?")
26513 Remove all references to specific line numbers.
26514 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26515 New type and function.
26516 (main): Call large_struct_by_value, passing it a large struct by value.
26517 * lib/gdb.exp (gdb_get_line_number): New function.
26518
26519 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26520 more portable.
26521
26522 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26523
26524 * lib/gdb.exp: Doc fixes.
26525
26526 1999-03-05 Nick Clifton <nickc@cygnus.com>
26527
26528 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
26529
26530 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
26531
26532 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
26533 commands. They're not germane to this test, and they don't work
26534 that way on remote targets.
26535
26536 1999-03-01 James Ingham <jingham@cygnus.com>
26537
26538 * Changelog entries merged over from gdb development branch.
26539
26540 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
26541
26542 * lib/gdb.exp (gdbtk_analyze_results): Generic function
26543 for outputting results of test run.
26544
26545 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
26546
26547 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
26548
26549 1999-02-25 Felix Lee <flee@cygnus.com>
26550
26551 * lib/gdb.exp (debug_format): initialize
26552
26553 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
26554
26555 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26556 * gdb.base/call-rt-st.c: Ditto.
26557
26558 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
26559
26560 * gdb.threads/pthreads.exp (horiz): New variable.
26561 (test_startup): Fix regexps that capture thread numbers.
26562
26563 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
26564
26565 * gdb.base/smoke.exp: Disambiguate two test case names (both
26566 called ``print'').
26567
26568 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26569
26570 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
26571 compilation.
26572
26573 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26574
26575 * gdb.base/miscexprs.exp: Change patterns to match GDB's
26576 actual output formatting.
26577 * gdb.base/smoke.exp: GDB removes leading 0's.
26578 * gdb.base/volatile.exp: Don't check type of remuneration;
26579 that variable is no longer defined in constvars.c.
26580 * gdb.base/step-test.c (main): Exit with explicit exit code.
26581 * gdb.base/step-test.exp: Remove two nexti checks--they are
26582 not portable.
26583
26584 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26585
26586 * gdb.base/help.exp ("help delete display"): Fix test to match
26587 gdb's output.
26588
26589 * gdb.base/long_long.c (known_types): Initialize values to zero.
26590 * gdb.base/long_long.exp: Step one more line
26591 so 'dec' is initialized in "get to known place". GDB removes
26592 leading zeros. Explicitly ask for hex formatting. Use
26593 unique test case names.
26594
26595 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26596
26597 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
26598
26599 * gdb.c++/method.exp: Add missing close brace.
26600
26601 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
26602
26603 * gdb.base/maint.exp: Use 'set height 0' to disable page
26604 prompting, not 'set height 400'.
26605
26606 Fix a bunch of timeouts.
26607 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26608 four separate tests, so expect doesn't take forever to match a ton
26609 of text against a regexp with lots of .* forms.
26610 ("maint print psymbols", "maint print symbols"): Make some of
26611 these greps more selective, so that expect doesn't try to wade
26612 through huge piles of output and time out.
26613
26614 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
26615
26616 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
26617 tests: one which doesn't expect shlib events to be reported, and
26618 another which does, but is XFAIL for all platforms other than
26619 HP/UX.
26620
26621 * gdb.base/break.exp: Teach the test suite that the `catch
26622 fork', `catch vfork', and `catch exec' commands produce error
26623 messages on platforms that don't provide these features.
26624
26625 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26626
26627 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
26628 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
26629 (shortening names from solib_threshold.exp etc), won't run on
26630 anything but HP-UX for the foreseeable future.
26631 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
26632 reflect move.
26633
26634 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
26635
26636 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
26637 gdb.trace/Makefile.in (clean): Remove all test executables.
26638
26639 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
26640
26641 * gdb.base/shlib-call.exp: add test cases to verify that gdb
26642 successfully re-sets breakpoints in shared libraries.
26643 * gdb.base/shmain.c (main): return 0, don't fall off the end.
26644
26645 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26646
26647 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
26648 and compiled w/o GCC.
26649
26650 * gdb.hp/watch-cmd.exp: ditto.
26651
26652 * gdb.hp/watch-hp.exp: ditto.
26653
26654 * gdb.hp/xdb1.exp: ditto.
26655
26656 * gdb.hp/xdb2.exp: ditto.
26657
26658 * gdb.hp/dbx.exp: ditto.
26659
26660 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
26661
26662 * constvars.c: Remove C++-isms.
26663 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
26664 with GCC.
26665
26666 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
26667
26668 The following changes are part of the HP merge.
26669
26670 * gdb.base/break.exp: new tests to verify that catchpoints for
26671 fork, vfork, and exec don't trigger inappropriately.
26672
26673 * gdb.base/opaque.exp: compile one file at a time, then link.
26674
26675 * gdb.base/signals.exp: be more restrictive about which hppa
26676 systems receive a setup_xfail. new tests.
26677
26678 * gdb.base/solib_threshold.build: new file.
26679 * gdb.base/solib_threshold.exp: new file.
26680 * gdb.base/solib_threshold.link_opts: new file.
26681 * gdb.base/solib_threshold.mk: new file.
26682 * gdb.base/gen_solib_threshold.c: new file.
26683
26684 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
26685 tests. New tests for enums inside classes.
26686
26687 * gdb.c++/compiler.cc: indicate support of template debugging.
26688
26689 * gdb.c++/demangle.exp: run hp style demangling tests.
26690
26691 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
26692 tests.
26693
26694 * gdb.c++/misc.cc: changes to support new tests.
26695
26696 * gdb.c++/templates.cc: changes to support HP's compiler; changes
26697 to support new tests.
26698
26699 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
26700 gcc, then skip these tests.
26701
26702 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
26703
26704 The following files are part of the HP merge; some had longer
26705 names at HP, but have been renamed to be no more than 14
26706 characters in length.
26707
26708 * gdb.hp/ambiguous.cc: new file.
26709 * gdb.hp/ambiguous.exp: new file.
26710 * gdb.hp/attach.exp: new file.
26711 * gdb.hp/attach2.exp: new file.
26712 * gdb.hp/classes-hp.exp: new file.
26713 * gdb.hp/ctti.exp: new file.
26714 * gdb.hp/ctti-add.cc: new file.
26715 * gdb.hp/ctti-add1.cc: new file.
26716 * gdb.hp/ctti-add2.cc: new file.
26717 * gdb.hp/ctti-add3.cc: new file.
26718 * gdb.hp/dbx.exp: new file.
26719 * gdb.hp/exception.cc: new file.
26720 * gdb.hp/exception.exp: new file.
26721 * gdb.hp/foll-exec.c: new file.
26722 * gdb.hp/foll-exec.exp: new file.
26723 * gdb.hp/foll-fork.c: new file.
26724 * gdb.hp/foll-fork.exp: new file.
26725 * gdb.hp/foll-vfork.c: new file.
26726 * gdb.hp/foll-vfork.exp: new file.
26727 * gdb.hp/inherit-hp.exp: new file.
26728 * gdb.hp/more-steps.exp: new file.
26729 * gdb.hp/namespace.cc: new file.
26730 * gdb.hp/namespace.exp: new file.
26731 * gdb.hp/optimize.exp: new file.
26732 * gdb.hp/pxdb.c: new file.
26733 * gdb.hp/pxdb.exp: new file.
26734 * gdb.hp/quicksort.exp: new file.
26735 * gdb.hp/reg-test.exp: new file.
26736 * gdb.hp/reg-test.s: new file.
26737 * gdb.hp/sized-enum.c: new file.
26738 * gdb.hp/sized-enum.exp: new file.
26739 * gdb.hp/start-stop.exp: new file.
26740 * gdb.hp/templ-hp.cc: new file.
26741 * gdb.hp/templ-hp.exp: new file.
26742 * gdb.hp/thr-lib.c: new file.
26743 * gdb.hp/thr-lib.exp: new file.
26744 * gdb.hp/thr-lib.h: new file.
26745 * gdb.hp/thr-liblib.c: new file.
26746 * gdb.hp/virtfun-hp.c: new file.
26747 * gdb.hp/virtfun-hp.exp: new file.
26748 * gdb.hp/watch-cmd.exp: new file.
26749 * gdb.hp/watch-hp.exp: new file.
26750 * gdb.hp/xdb1.exp: new file.
26751 * gdb.hp/xdb2.exp: new file.
26752 * gdb.hp/xdb3.exp: new file.
26753
26754 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
26755
26756 The following files are part of the HP merge; some had longer
26757 names at HP, but have been renamed to be no more than 14
26758 characters in length.
26759
26760 * gdb.base/ss.h: new file.
26761 * gdb.base/call-ar-st.c: new file.
26762 * gdb.base/call-ar-st.exp: new file.
26763 * gdb.base/call-rt-st.c: new file.
26764 * gdb.base/call-rt-st-exp: new file.
26765 * gdb.base/call-strs.exp: new file.
26766 * gdb.base/ena-dis-br.exp: new file.
26767 * gdb.base/environ.exp: new file.
26768 * gdb.base/long_long.exp: new file.
26769 * gdb.base/sect-cmd.exp: new file.
26770 * gdb.base/shlib-cl2.exp: new file.
26771 * gdb.base/smoke.exp: new file.
26772 * gdb.base/so-impl-ld.c: new file.
26773 * gdb.base/so-impl-ld.exp: new file.
26774 * gdb.base/so-indr-cl.c: new file.
26775 * gdb.base/so-indr-cl.exp: new file.
26776 * gdb.base/varargs.exp: new file.
26777 * gdb.base/volatile.exp: new file.
26778 * gdb.base/whatis-exp.exp: new file.
26779 * gdb.base/display.exp: new file.
26780 * gdb.c++/derivation.exp: new file.
26781 * gdb.c++/local.exp: new file.
26782 * gdb.c++/member-ptr.exp: new file.
26783 * gdb.c++/overload.exp: new file.
26784 * gdb.c++/ovldbreak.exp: new file.
26785 * gdb.c++/ref-types.exp: new file.
26786 * gdb.c++/ref-types2.exp: new file.
26787 * gdb.c++/userdef.exp: new file.
26788
26789 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
26790
26791 * gdb.base/default.exp: Reflect wording change in remote.c.
26792
26793 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
26794
26795 * gdb.base/help.exp: Update to reflect current text.
26796
26797 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
26798
26799 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
26800 they're stack variables and contain garbage.
26801 * gdb.c++/anon-union.exp: new file.
26802
26803 The following changes were made by David Taylor
26804 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26805 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26806 in changes by HP.
26807
26808 * gdb.base/bitops.exp: new file.
26809 * gdb.base/default.exp: change expected messages for catch and
26810 info catch tests to reflect HP merge changes.
26811 * gdb.base/enable-disable-break.exp
26812 * gdb.base/ending-run.c: new file.
26813 * gdb.base/long_long.c: new file.
26814 * gdb.base/maint.exp: new file.
26815 * gdb.base/pointers2.exp: new file.
26816 * gdb.base/shlib-call2.exp: new file.
26817 * gdb.base/solib.exp: new file.
26818 * gdb.base/step-test.c: new file.
26819 * gdb.c++/anon-union.cc: new file.
26820 * gdb.c++/local.cc: new file.
26821 * gdb.c++/member-pointer.cc: new file.
26822 * gdb.c++/method.cc: new file.
26823 * gdb.c++/ref-types.cc: new file.
26824 * gdb.c++/ref-types2.cc: new file.
26825 * gdb.c++/userdef.cc: new file.
26826
26827 * gdb.base/scope.exp: compile one file at a time, then link.
26828 * gdb.base/langs.exp: ditto.
26829 * gdb.base/list.exp: ditto.
26830
26831 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
26832
26833 The following changes were made by David Taylor
26834 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26835 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26836 in changes by HP.
26837
26838 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26839 skip tests. When compiling pass c++ flag to gdb_compile.
26840 * gdb.c++/
26841
26842 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26843 test for on hppa*-*-hpux*; use args to see if c++ was specified.
26844 (skip_hp_tests): new function.
26845 (gdb_preprocess): new function.
26846
26847 * configure.in (hpdir): decide whether to configure gdb.hp.
26848 * configure: regenerated.
26849
26850 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26851 to delete on clean.
26852 (EXECUTABLES): update to reflect new additions.
26853 * gdb.base/commands.exp: update message expected.
26854 * gdb.base/default.exp: add copyright notice.
26855 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26856 * gdb.base/help.exp: update messages to reflect current text.
26857 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26858 targets for recurse tests.
26859 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26860 skip this file.
26861
26862 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26863 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26864 compilation.
26865 * gdb.c++/misc.exp: ditto.
26866 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26867 run the tests. tell gdb_compile that it's a c++ compilation.
26868
26869 * gdb.threads/pthreads.exp: fix typo in message.
26870
26871 * gdb.base/all-bin.exp: new file.
26872 * gdb.base/arithmet.exp: new file.
26873 * gdb.base/assign.exp: new file.
26874 * gdb.base/completion.exp: new file.
26875 * gdb.base/cond-expr.exp: new file.
26876 * gdb.base/condbreak.exp: new file.
26877 * gdb.base/define.exp: new file.
26878 * gdb.base/dollar.exp: new file.
26879 * gdb.base/environment.exp: new file.
26880 * gdb.base/eval-skip.exp: new file.
26881 * gdb.base/jump.exp: new file.
26882 * gdb.base/logical.exp: new file.
26883 * gdb.base/pointers.exp: new file.
26884 * gdb.base/relational.exp: new file.
26885 * gdb.base/section_command.exp: new file.
26886 * gdb.base/whatis-expr.exp: new file.
26887
26888 * gdb.base/all-types.c: new file.
26889 * gdb.base/call-array-struct.c: new file.
26890 * gdb.base/call-return-struct.c: new file.
26891 * gdb.base/call-strings.c: new file.
26892 * gdb.base/callfuncs2.c: new file.
26893 * gdb.base/condbreak.c: new file.
26894 * gdb.base/constvars.c: new file.
26895 * gdb.base/display.c: new file.
26896 * gdb.base/int-type.c: new file.
26897 * gdb.base/jump.c: new file.
26898 * gdb.base/miscexprs.c: new file.
26899 * gdb.base/pointers.c: new file.
26900 * gdb.base/pointers2.c: new file.
26901 * gdb.base/shmain.c: new file.
26902 * gdb.base/shr1.c: new file.
26903 * gdb.base/shr2.c: new file.
26904 * gdb.base/solib.c: new file.
26905 * gdb.base/solib1.c: new file.
26906 * gdb.base/solib2.c: new file.
26907 * gdb.base/varargs.c: new file.
26908 * gdb.c++/derivation.cc: new file.
26909 * gdb.c++/overload.cc: new file.
26910 * gdb.c++/ovldbreak.cc: new file.
26911 * gdb.hp/attach.c: new file.
26912 * gdb.hp/attach2.c: new file.
26913 * gdb.hp/average.c: new file.
26914 * gdb.hp/compiler.c: new file.
26915 * gdb.hp/compiler.cc: new file.
26916 * gdb.hp/execd-program.c: new file.
26917 * gdb.hp/follow-exec.c: new file.
26918 * gdb.hp/follow-fork.c: new file.
26919 * gdb.hp/follow-vfork-and-exec.c: new file.
26920 * gdb.hp/misc-hp.cc: new file.
26921 * gdb.hp/more-steps.c: new file.
26922 * gdb.hp/optimize.c: new file.
26923 * gdb.hp/quicksort.c: new file.
26924 * gdb.hp/run-hp.c: new file.
26925 * gdb.hp/start-stop.c: new file.
26926 * gdb.hp/sum.c: new file.
26927 * gdb.hp/templates-hp.cc: new file.
26928 * gdb.hp/thread-local-in-lib.c: new file.
26929 * gdb.hp/thread-local-in-lib.h: new file.
26930 * gdb.hp/thread-local-in-lib.lib.c: new file.
26931 * gdb.hp/vforked-program.c: new file.
26932 * gdb.hp/virtfunc-hp.cc: new file.
26933 * gdb.hp/watchpoint-hp.c: new file.
26934 * gdb.hp/xdb.c: new file.
26935 * gdb.hp/xdb0.c: new file.
26936 * gdb.hp/xdb0.h: new file.
26937 * gdb.hp/xdb1.c: new file.
26938
26939 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
26940
26941 The following change was made by Edith Epstein
26942 <eepstein@cygnus.com> as part of a project to merge in changes
26943 originally made by HP; HP did not create ChangeLog entries.
26944
26945 * gdb.c++/demangle.exp: changed the expected output for some
26946 ARM-style mangling -- removed second reference to datatype.
26947 For example, maint demangle __dt__11T1__pt__2_cFv
26948 T1<char>::~T1<char>(void)
26949 becomes,
26950 maint demangle __dt__11T1__pt__2_cFv
26951 T1<char>::~T1(void)
26952
26953 (test_hp_style_demangling): new hp specific demangling test cases.
26954
26955 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
26956
26957 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26958 * gdb.trace/backtrace.exp: Likewise.
26959 * gdb.trace/circ.exp: Likewise.
26960 * gdb.trace/collection.exp: Likewise.
26961 * gdb.trace/deltrace.exp: Likewise.
26962 * gdb.trace/infotrace.exp: Likewise.
26963 * gdb.trace/limits.exp: Likewise.
26964 * gdb.trace/packetlen.exp: Likewise.
26965 * gdb.trace/passc-dyn.exp: Likewise.
26966 * gdb.trace/passcount.exp: Likewise.
26967 * gdb.trace/report.exp: Likewise.
26968 * gdb.trace/save-trace.exp: Likewise.
26969 * gdb.trace/tfind.exp: Likewise.
26970 * gdb.trace/tracecmd.exp: Likewise.
26971 * gdb.trace/while-dyn.exp: Likewise.
26972 * gdb.trace/while-stepping.exp: Likewise.
26973
26974 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
26975
26976 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26977
26978 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
26979
26980 From Brendan Kehoe:
26981 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26982 int return types.
26983
26984 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
26985
26986 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
26987 remote dos host testing right.
26988
26989 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
26990
26991 * gdb.base/corefile.exp: remove some xfails.
26992
26993 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
26994
26995 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
26996 have different timestamps.
26997
26998 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
26999
27000 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
27001 gdb.base/default.exp: Replace "exec" with "executable".
27002
27003 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
27004
27005 * gdb.base/default.exp: Change else if to elseif from previous
27006 delta.
27007
27008 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
27009
27010 * gdb.base/default.exp: Add brace missing from previous delta.
27011
27012 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
27013
27014 * gdb.base/default.exp: Support test for info float for all
27015 varieties of arm toolchain.
27016
27017 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
27018
27019 * gdb.trace/*.exp: remove "remote_download" command.
27020
27021 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
27022
27023 * gdb.trace/*.exp: remove -gdwarf from compile.
27024
27025 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
27026
27027 * gdb.trace/configure.in(AC_INIT): typo
27028 * gdb.trace/configure: regenerated
27029
27030 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
27031
27032 * config/m68k-emc.exp: New file.
27033 * lib/<emc-support.exp trace-support.exp}: New files.
27034 * configure.in: add new test directory gdb.trace.
27035 * gdb.trace/{configure configure.in Makefile.in}: New files.
27036 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
27037 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
27038 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
27039 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
27040 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
27041 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
27042 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
27043
27044 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
27045
27046 * gdb.c++/classes.exp: Change all regular expressions to match
27047 arbitrary combinations of newline/carriage-return, so that they
27048 will work equally well on Unix and Windows.
27049 * gdb.c++/inherit.exp: ditto.
27050 * gdb.c++/virtfunc.exp: ditto.
27051
27052 1998-08-11 Dawn Perchik <dawn@cygnus.com>
27053
27054 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
27055
27056 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
27057
27058 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
27059 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
27060 to use a0-a3/d0-d3 as needed.
27061
27062 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
27063
27064 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
27065 * gdb.disasm/am33.exp: Corresponding changes.
27066
27067 1998-07-11 Felix Lee <flee@cygnus.com>
27068
27069 * gdb.base/callfuncs.exp: add cmp10 test.
27070 * gdb.base/callfuncs.c (cmp10): new function.
27071
27072 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
27073
27074 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
27075 into two parts to get around a synchronization problem in expect.
27076
27077 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27078
27079 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27080
27081 * configure.in: Add options for gdbtk testsuite.
27082
27083 * configure: Regenerate.
27084
27085 * gdb.gdbtk: New directory to hold gdbtk tests.
27086
27087 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27088
27089 * gdb.fortran/types.exp: Escape brackets in expect patterns
27090 for test_float_literal_types_accepted tests.
27091 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27092 before run test.
27093
27094 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27095
27096 * am33.exp: Just compile, do not link the testcase.
27097 * am33.s: Add ".am33" pseudoop to force am33 mode.
27098
27099 1998-06-25 Felix Lee <flee@cygnus.com>
27100
27101 * gdb.base/setshow.exp: make sure $pc is sane.
27102
27103 * gdb.stabs/weird.exp: split expect patterns properly.
27104
27105 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27106
27107 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27108 * gdb.disasm/am33.exp: Run it.
27109
27110 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
27111
27112 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27113 match processing (and eliminate spurious timeouts when running).
27114
27115 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
27116
27117 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27118 exception test, but conditionalize it on target [mach | gnu].
27119
27120 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
27121
27122 * gdb.base/overlays.exp: fixup compile line for linker script.
27123
27124 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27125
27126 * gdb.fortran/types.exp: don't guess at float size.
27127
27128 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27129
27130 * gdb.base/exprs.exp: delete test that depends on int size.
27131
27132 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27133
27134 * config/sim.exp: Removed checks for target triplets.
27135 (gdb_target_sim): Use gdb,target_sim_options.
27136
27137 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27138
27139 * gdb.base/reread.exp: New file.
27140 * gdb.base/reread1.c: New file.
27141 * gdb.base/reread2.c: New file.
27142
27143 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27144
27145 * config/sim.exp: Use 'target sim -sparclite' when running
27146 SPARClite programs.
27147
27148 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27149
27150 * gdb.base/structs2.exp: New file.
27151 * gdb.base/structs2.c: New file.
27152
27153 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27154
27155 * gdb.asm/common.inc: New file.
27156 * gdb.asm/d10v.inc: New file.
27157 * asm-source.exp: Pass -I's to gas to find .inc files.
27158 Update line numbers in expected output.
27159 * asmsrc1.s: Rewrite.
27160 * asmsrc2.s: Rewrite.
27161 * configure.in: Create arch.inc symlink.
27162 * configure: Regenerate.
27163 * Makefile.in (distclean): Delete arch.inc.
27164
27165 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27166
27167 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
27168 (t_enum_value2): ditto
27169 (t_enum_value3): ditto
27170 (main): ditto
27171 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27172
27173 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27174 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27175 change.
27176 Use gdb_test instead of send_gdb/gdb_expect sequences.
27177
27178 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27179
27180 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27181 not void.
27182
27183 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27184
27185 * gdb.base/branches.c: Code with lots of loops and
27186 subroutines. Used to test gdbs ability to single step through PC
27187 changes, especially to test mips-tdep.c:mips_next_pc
27188
27189 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27190
27191 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27192 more rigorous EGCS C++ error checking.
27193
27194 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27195
27196 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27197 tests.
27198 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27199 function when asleep.
27200 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27201 for i*86 Linux and SVR4 signal handling problems.
27202 Remove linux xfail for `next to handler in signals_tests_1', fixed
27203 by recent infrun.c change.
27204 Limit backtrace to 10 frames to avoid timeout problems with infinite
27205 stack backtraces.
27206 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27207 target.[ch] change.
27208
27209 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27210
27211 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27212 for a newline from gdb before continuing.
27213 (default_gdb_exit): Just look for y or n.
27214 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27215 it does, fail the rests of the tests in the file.
27216
27217 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27218
27219 * config/cygmon.exp: New file.
27220
27221 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27222
27223 * gdb.base/list.exp: Fix problem with "list default lines around
27224 main" test on remote targets.
27225
27226 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27227 run test on remote targets.
27228
27229 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27230
27231 * gdb.asm: New directory.
27232 * configure.in: Configure it.
27233 * configure: Regenerate.
27234 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27235 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27236
27237 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27238
27239 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27240
27241 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
27242
27243 * gdb.base/overlays (several files): Merge the two overlay
27244 managers into one. Change variables (foox, barx, bazx, grbxx)
27245 back into ints but force them to load in their proper sections.
27246
27247 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27248
27249 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
27250 on-chip insn memory and IMAP1 to upper 128k.
27251 (D10VCopy): Handle memory regions crossing 16k boundaries.
27252 (D10VCopy): Transfer data in 32 bit chunks.
27253
27254 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27255
27256 * gdb.base/overlays.c (main): Exit normally when result is
27257 correct.
27258
27259 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
27260 map. Include space for printf in .text segment.
27261
27262 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
27263 updated d10v memory VMA/LMA map.
27264 (D10VCopy): Call D10VTranslate.
27265
27266 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27267
27268 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27269
27270 * gdb.base/bar.c (barx, bar): Change variable to small array so
27271 that it won't be put into the .sdata - small data -
27272 section. Update reference.
27273 * gdb.base/baz.c (bazx, baz): Ditto.
27274 * gdb.base/foo.c (foox, foo): Ditto.
27275 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27276
27277 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
27278 to be arrays.
27279
27280 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
27281
27282 * gdb.base/overlays.exp: fix up and get working again.
27283 Add tests for backtraces from an overlay function.
27284
27285 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27286
27287 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27288 "calling function with watchpoint enabled".
27289
27290 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27291
27292 * gdb.base/break.exp (test_next_with_recursion): Remove
27293 gdb_suppress_tests for d10v-*-*.
27294 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27295 pending review of whether it is useful or not.
27296
27297 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27298
27299 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27300
27301 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27302
27303 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27304 * config/dve.exp: New file to support Densan boards.
27305
27306 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27307
27308 * gdb.base/interrupt.exp: Document problem of simulators, signals,
27309 reads and BSD.
27310
27311 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27312
27313 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27314 response.
27315
27316 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27317
27318 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27319
27320 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
27321 test.
27322
27323 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
27324 target_sizeof_long and target_bigendian_p.
27325 (structs_by_value, structs_by_reference): Check values according
27326 to targets word size and endianess.
27327
27328 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27329
27330 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
27331 output.
27332
27333 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27334
27335 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
27336 Update test of set args help to match source change.
27337
27338 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27339
27340 * gdb.base/default.exp: Expect help system output to be in
27341 alphabetical order.
27342 * gdb.base/help.exp: Ditto.
27343
27344 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27345
27346 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27347 "i*86-pc-linux-gnu*".
27348 * gdb.base/interrupt.exp: Ditto.
27349 * gdb.base/corefile.exp: Ditto.
27350
27351 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
27352 define vxworks when building the testcase.
27353
27354 * gdb.base/ptype.exp: Fix testnames to be unique.
27355 * gdb.base/radix.exp: Ditto.
27356 * gdb.base/term.exp: Ditto.
27357 * gdb.base/whatis.exp: Ditto.
27358 * gdb.c++/classes.exp: Ditto.
27359
27360 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27361
27362 * gdb.base/callfuncs.exp: Fix indentation.
27363
27364 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27365 suppress_flag has been set.
27366 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27367 target feature.
27368
27369 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27370
27371 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27372 the testcase.
27373
27374 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
27375 set_debug_traps() and breakpoint().
27376 * gdb.c++/misc.cc (main): Ditto.
27377 * gdb.c++/templates.cc (main): Ditto.
27378 * gdb.c++/virtfunc.cc (main): Ditto.
27379
27380 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27381
27382 * lib/gdb.exp(gdb_step_for_stub): New function.
27383 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27384 exists, reload the executable and do a "continue" instead of
27385 doing a jump.
27386 (runto_main): Use gdb_step_for_stub.
27387
27388 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
27389 tests to have unique names.
27390 * gdb.base/callfuncs.exp: Ditto.
27391 * gdb.base/commands.exp: Ditto.
27392 * gdb.base/default.exp: Ditto.
27393 * gdb.base/help.exp: Ditto.
27394 * gdb.base/list.exp: Ditto.
27395 * gdb.base/opaque.exp: Ditto.
27396 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27397 similar tests.
27398
27399 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27400 * gdb.c++/cplusfuncs.cc: Ditto.
27401 * gdb.c++/virtfunc.cc: Ditto.
27402
27403 * config/monitor.exp: Keep track of the last file we saw, rather
27404 than trying to get the info from gdb.
27405
27406 * gdb.fortran/types.exp: Move comment to previous line.
27407
27408 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27409
27410 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
27411 target mode.
27412
27413 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27414
27415 From Bob Manson:
27416 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
27417 string from GDB when it connects.
27418
27419 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27420
27421 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27422
27423 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
27424 if we can't get a debug format from GDB (we may be testing an
27425 older GDB). Use a 10 second timeout when checking for the format.
27426
27427 * gdb.stabs/weird.exp: Fix quoting.
27428
27429 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27430
27431 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27432
27433 * config/arm-ice.exp: New file.
27434
27435 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27436
27437 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
27438 until it has been modified to work with the new testsuite.
27439
27440 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
27441 testcase won't compile, cause all of the testcases in the file to
27442 fail instead.
27443
27444 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27445 (gdb_clear_suppressed): New procedure.
27446 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27447 it contains a positive value.
27448
27449 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
27450
27451 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27452
27453 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27454
27455 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
27456
27457 * lib/gdb.exp (setup_xfail_format): New function.
27458 (get_debug_format): New function to get debug format.
27459 (debug_format): New global variable to hold last value set
27460 by get_debug_format.
27461 * gdb.base/list.exp: Call get_debug_format and expect some
27462 tests to fail for DWARF 1 and COFF formats.
27463 * gdb.c++/ptype.exp: Ditto.
27464 * gdb.c++/classes.exp: Ditto.
27465 * gdb.c++/cplusfuncs.exp: Ditto.
27466 * gdb.c++/inherit.exp: Ditto.
27467 * gdb.c++/templates.exp: Ditto.
27468 * gdb.c++/virtfunc.exp: Ditto.
27469
27470 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
27471
27472 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27473 host doesn't have a currently-open connection.
27474
27475 * config/sparclet.exp: Cleanups and fixes to make it generic for
27476 any gdb stub target. Handle cases where gdb doesn't respond when
27477 interrupted in a sane fashion.
27478
27479 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
27480 same thing in a totally different way.
27481
27482 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
27483 setting "timeout".
27484 (gdb_start): We set the global gdb_prompt variable in
27485 default_gdb_init now.
27486
27487 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
27488
27489 * gdb.base/printcmds.exp: Fix "check for floating addition"
27490 regexp to accept results within approx +/- .01 of exact value.
27491 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27492
27493 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
27494
27495 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
27496 properly.
27497 (gdb_expect): Add optional timeout parameter, and add timeout
27498 value to various calls.
27499 (gdb_suppress_tests): Only give one warning message per group.
27500
27501 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
27502
27503 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
27504 global variables. Handle getting a value for $timeout more
27505 gracefully.
27506
27507 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27508
27509 * lib/gdb.exp: Close connection to remote host if gdb doesn't
27510 initialize.
27511 (default_gdb_init): New procedure; allow gdb_init to be overridden
27512 by a target configuration file.
27513 (gdb_expect): Pass the timeout to remote_expect.
27514
27515 * config/monitor.exp(gdb_load): Fix typo in regexp.
27516
27517 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
27518
27519 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27520
27521 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
27522
27523 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
27524 here. Call gdb_target_exec before rebooting the target, to make
27525 sure the connection to the target is closed.
27526 (gdb_load): Pass the name of the executable to gdb_target_monitor.
27527 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27528 Also detect "Timeout reading from remote" error.
27529
27530 * config/gdbserver.exp: Pass the executable being loaded to
27531 gdb_target_monitor. Don't call gdb_file_cmd here; let
27532 gdb_target_monitor do it.
27533
27534 * gdb.disasm/hppa.exp: Don't use exec_output.
27535
27536 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
27537
27538 * gdb.base/list.exp: If we're debugging a non-native target,
27539 try to set the pc register to point to the start of the
27540 program before doing the first list command.
27541
27542 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
27543 test_calls after restarting.
27544
27545 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
27546 reloading.
27547
27548 * gdb.base/watchpoint.exp: Fix typo.
27549
27550 * gdb.base/setshow.exp: Check for use_gdb_stub.
27551
27552 * gdb.base/break.exp: Fix continue until exit test for the gdb
27553 stub case.
27554 * gdb.base/langs.exp: Ditto.
27555
27556 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
27557 gdb_load_offset. If we weren't given a file to load, figure out
27558 what the current file is and use it.
27559
27560 * config/i386-bozo.exp: New file.
27561
27562 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
27563
27564 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27565 feature.
27566
27567 * config/proelf.exp: New entry.
27568
27569 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
27570
27571 * lib/gdb.exp: Remove spurious .* patterns at the beginning
27572 of regexps.
27573
27574 * gdb.base/watchpoint.exp: Don't run the test_stepping
27575 tests if gdb can't call functions on the target.
27576
27577 * gdb.base/setshow.exp: Don't run the set prompt tests if
27578 the board has gdb_prompt set.
27579
27580 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
27581
27582 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27583 * gdb.base/commands.exp: Likewise.
27584 * gdb.base/setshow.exp: Likewise.
27585
27586 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
27587
27588 * config/monitor.exp(gdb_start): Look for gdb_prompt target
27589 feature.
27590
27591 * config/i960.exp: New file.
27592
27593 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
27594
27595 * gdb.base/funcargs.exp: Check for gdb,short_int target
27596 feature instead of looking for explicit target triplets.
27597
27598 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
27599
27600 * gdb.base/printcmds.exp: add a couple more tests a la
27601 "p 123DEADBEEF", to check parse_number.
27602 * top.c: change "to enable to enable" to "to enable" in a couple
27603 of help strings.
27604
27605 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
27606
27607 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27608 on the mn10300.
27609
27610 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
27611
27612 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
27613 where the test executable is run with explicit args.
27614 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
27615
27616 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
27617
27618 * gdb.base/run.c: Use FAKEARGV to build test executable that
27619 does not require a command line arg, since most simulators
27620 don't currently support passing such an arg into the simulated
27621 program.
27622 * gdb.base/commands.exp: Change tests to insert the proper
27623 value as the arg to the first recursive factorial call. Change
27624 compilation line to define FAKEARGV at compile time.
27625
27626 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
27627
27628 * gdb.base/recurse.exp: Enable these tests for the mn10300.
27629 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
27630 function with watchpoint enabled" test.
27631
27632 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
27633
27634 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
27635 Don't call gdb_test when the command doesn't return to a gdb prompt.
27636
27637 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
27638 "Tests restarted" messages.
27639
27640 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
27641
27642 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
27643
27644 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
27645
27646 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
27647 for INFO SYMBOL; add help tests for OVERLAY commands.
27648 * gdb.base/default.exp: add tests for INFO SYMBOL command;
27649 add tests for OVERLAY commands
27650 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
27651 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
27652 * gdb.base/sigall.c: add usestubs code frag
27653 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
27654
27655 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
27656
27657 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
27658 failures.
27659 (gdb_stop_suppressing_tests): Note that tests have restarted.
27660
27661 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
27662
27663 * config/h8300.exp: New file.
27664
27665 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
27666
27667 * gdb.base/setshow.exp: Check for the existence of a
27668 feature, not its value.
27669
27670 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
27671
27672 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
27673
27674 * gdb.base/scope.exp: It's now init0(), not init().
27675
27676 * gdb.base/scope0.c: For now, change init() to be init0().
27677
27678 * config/monitor.exp: Use gdb_serial in preference to serial
27679 or netport.
27680
27681 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
27682 and it's not already set.
27683
27684 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
27685
27686 * gdb.base/setshow.exp: Only test the run command if the target
27687 isn't using a stub and if it supports argument passing.
27688
27689 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
27690
27691 * config/udi.exp(gdb_start): Make sure UDICONF is set
27692 properly before starting gdb.
27693
27694 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
27695
27696 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
27697 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
27698 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
27699
27700 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
27701
27702 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
27703 specialized code to reboot the board, use remote_reboot instead.
27704
27705 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
27706
27707 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
27708
27709 * config/monitor.exp: Make sure we disconnect from the target.
27710 Also, try a reboot/reload cycle instead of failing if the
27711 load fails.
27712
27713 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
27714
27715 * gdb.base/default.exp: Don't set match_max.
27716 * gdb.base/help.exp: Ditto.
27717 * gdb.base/list.exp: Ditto.
27718 * gdb.base/signals.exp: Ditto.
27719
27720 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
27721 set, use remote_ld to download the testcase instead of
27722 the GDB loader.
27723
27724 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
27725
27726 * config/vr5000.exp: New file.
27727
27728 * config/monitor.exp(gdb_target_monitor): Add pattern for
27729 "Ending remote" to detect errors in connecting.
27730
27731 * gdb.base/setshow.exp: Add .* within auto language test.
27732
27733 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
27734 target feature.
27735
27736 * config/monitor.exp(gdb_load): Check for a failure when loading,
27737 and reboot the board if necessary.
27738
27739 * gdb.base/setvar.exp(test_set): Handle multiple prints within
27740 a set of tests. Remove print.* from the patterns being checked.
27741
27742 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
27743
27744 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
27745 refer to gdb_spawn_id.
27746
27747 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
27748 longer used.
27749 * config/sparclet.exp: Ditto.
27750 * config/sparclet-old.exp: Ditto.
27751 * config/slite.exp: Ditto.
27752 * config/sim.exp: Ditto.
27753 * gdb.base/funcargs.exp: Ditto.
27754
27755 * lib/gdb.exp:Remove references to gdb_spawn_id.
27756 (gdb_expect): Move to remote.exp.
27757
27758 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
27759
27760 * config/monitor.exp: Detect the "Couldn't establish connection"
27761 message from GDB.
27762
27763 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
27764
27765 * gdb.base/bitfields.exp: Use runto instead of explicit
27766 gdb_run_cmd/gdb_expect sequences.
27767
27768 * gdb.base/break.exp(text_next_with_recursion): Add match for
27769 gdb_expect call.
27770
27771 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
27772 We also need to handle the "A program is being debugged already"
27773 prompt from gdb. Use gdb_test to set the baud rate.
27774
27775 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
27776 to 20000. Really. I mean it.
27777
27778 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27779
27780 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
27781 fails. If suppress_flag is set, skip perror message about not
27782 being able to send to GDB.
27783 (send_gdb): If suppress_flag is set, don't try to send commands to
27784 GDB.
27785 (gdb_expect): If suppress_flag is set, always fail immediately.
27786 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
27787 (gdb_init): Call gdb_stop_suppressing_tests.
27788 (default_gdb_exit): Ditto.
27789 (default_gdb_start): Ditto.
27790
27791 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
27792 gdb_stop_suppressing_tests as appropriate.
27793 * gdb.base/break.exp: Ditto.
27794 * gdb.base/callfuncs.exp: Ditto.
27795 * gdb.base/commands.exp: Ditto.
27796 * gdb.base/exprs.exp: Ditto.
27797 * gdb.base/funcargs.exp: Ditto.
27798 * gdb.base/list.exp: Ditto.
27799 * gdb.base/recurse.exp: Ditto.
27800 * gdb.base/scope.exp: Ditto.
27801 * gdb.base/structs.exp: Ditto.
27802 * gdb.c++/inherit.exp: Ditto.
27803
27804 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
27805
27806 * config/vr4300.exp: New file.
27807
27808 * gdb.*/*.exp: Call gdb_expect instead of expect.
27809
27810 * lib/gdb.exp(gdb_expect): New function.
27811
27812 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
27813
27814 * lib/gdb.exp(gdb_init): New function.
27815
27816 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
27817 for each individual variable set.
27818
27819 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
27820 name.
27821
27822 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
27823
27824 * gdb.base/scope.exp: Use gdb_test.
27825
27826 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
27827 aborting; the testsuite driver will do that for us (see
27828 gdb_finish). Also, use gdb_test in a few more places.
27829
27830 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
27831
27832 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
27833
27834 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
27835
27836 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
27837 and "add_tests" are not at the same address.
27838
27839 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
27840
27841 * gdb.base/ptype.exp: Use gdb_test.
27842
27843 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
27844
27845 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27846 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27847 left in. No longer expect them to fail.
27848
27849 * gdb.stabs/*.mt; Deleted, no longer used.
27850 * gdb.stabs/configure.in: Remove references to target makefile
27851 frags.
27852 * gdb.stabs/configure: Rebuilt.
27853
27854 * gdb.disasm/*.mt: Deleted, no longer used.
27855 * gdb.disasm/configure.in: Remove references to target makefile
27856 frags. Use "sh3.s" as the unique filename for this directory.
27857 * gdb.disasm/configure: Rebuilt.
27858
27859 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27860 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27861 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27862
27863 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
27864
27865 * config/udi.exp: Use mondfe,name instead of remote_host.
27866
27867 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
27868
27869 * gdb.base/watchpoint.exp: Don't expect a failure when calling
27870 a function with a watchpoint enabled on the mn10200.
27871
27872 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27873 before trying to create it!
27874
27875 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
27876
27877 * config/vx.exp: Use hostname instead of netport.
27878
27879 * config/vxworks.exp: New file.
27880
27881 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27882
27883 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
27884 gdb before assuming everything worked. Send a ^C if a timeout
27885 occurs.
27886
27887 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27888 $gdb_spawn_id directly.
27889 (gdb_run_cmd): Try _start as well as start. Use the target feature
27890 gdb,start_symbol as the symbol to start from when jumping.
27891
27892 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
27893
27894 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27895 redundant) test.
27896
27897 * gdb.base/recurse.exp: Relax final value test for 'b' so that
27898 it doesn't lose for 16bit integer systems.
27899
27900 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
27901
27902 * gdb.fortran/types.exp: If the target doesn't support "double"
27903 data types, then expect "real" types to only be 4 bytes.
27904
27905 * gdb.c++/virtfunc.exp: Expect failure for virtual function
27906 call tests if the target doesn't support inferior function calls.
27907
27908 * gdb.base/printcmds.exp: Allow minor deviation in FP values
27909 in printf tests.
27910
27911 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
27912
27913 * gdb.base/help.exp: Disable "help set", "help show", and
27914 "help support". Simplify regexp for "help stack".
27915
27916 * gdb.base/default.exp: Set match_max to 5000 and the timeout
27917 to 60 seconds. Temporarily set match_max to 15000 around the
27918 "info copying" test.
27919
27920 * gdb.base/nodebug.exp: Don't try to do an inferior function
27921 call if the target doesn't support them.
27922 * gdb.base/printcmds.exp: Likewise.
27923 * gdb.base/setvar.exp: Likewise.
27924 * gdb.base/structs.exp: Likewise.
27925 * gdb.c++/templates.exp: Likewise.
27926 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
27927
27928 * gdb.base/recurse.exp: Enable for the mn10200.
27929
27930 * configure.in: Do configure gdb.stabs directory for *-*-elf
27931 targets.
27932 * configure: Rebuilt.
27933
27934 * gdb.base/break.exp: Check for gdb,noresults before testing
27935 exit status and/or results from the target.
27936 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27937 * lib/gdb.exp: Remove old (now bogus) initialization of
27938 noinferior, noargs, noresults and nosignals.
27939
27940 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
27941
27942 * config/sh.exp: New file.
27943
27944 * config/slite.exp: Try to connect multiple times to the board
27945 before rebooting. Only send a "monitor run" if need_monitor_run
27946 is set.
27947
27948 * gdb.base/break.exp: Don't do the "stub continue" test if
27949 the target has gdb_stub set.
27950
27951 * gdb.base/callfuncs.exp: Increase the timeout.
27952
27953 * gdb.base/interrupt.exp: Don't even try to compile the testcase
27954 if the target has gdb,noinferiorio set.
27955
27956 * gdb.base/list.exp: Increase match_max to 10000 characters.
27957
27958 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27959
27960 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27961 target.
27962
27963 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27964
27965 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
27966
27967 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
27968 trying to delete the copy of gdb. Catch the file delete so we
27969 don't die if the delete fails; also, the file should be copied to
27970 the host, not to the build.
27971
27972 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
27973
27974 * lib/gdb.exp(gdb_test): Surround the result pattern with
27975 parenthesis in case it contains multiple regexps separated
27976 with |.
27977
27978 * gdb.base/watchpoint.exp: Use gdb_test.
27979 * gdb.base/default.exp: Ditto.
27980
27981 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
27982
27983 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
27984
27985 * gdb.base/scope.exp: Use gdb_test.
27986 * gdb.c++/classes.exp: Ditto.
27987 * gdb.c++/inherit.exp: Ditto.
27988
27989 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
27990
27991 * gdb.base/crossload.exp: Don't use execute_anywhere, use
27992 remote_exec instead.
27993 * gdb.base/corefile.exp: Don't be ridiculous.
27994 * gdb.base/*.c: Add missing stub invocations.
27995
27996 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
27997
27998 * config/slite.exp: Miscellaneous fixes.
27999
28000 * lib/gdb.exp: Fix runto.
28001
28002 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
28003 the target.
28004
28005 * gdb.base/watchpoint.exp: Fix regexp.
28006
28007 * lib/gdb.exp(default_gdb_exit): Add a catch to the
28008 close and wait commands, as the descriptor may now be
28009 invalid. Always call "remote_close host".
28010
28011 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
28012
28013 Major rewrite for testsuite revision.
28014
28015 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
28016 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
28017 instead of relying on spawn_id to always contain a valid
28018 spawn id.
28019 (get_compiler_info): New procedure to build the ${binfile}.ci
28020 file, instead of replicating this in N different places.
28021 (gdb_compile): New procedure.
28022
28023 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
28024 appropriate arguments) instead of compile. Use gdb_test in a lot
28025 more places. Use send_gdb instead of send. Always run gdb_start
28026 at the start of a testcase, as this is no longer done magically.
28027
28028 config/*-gdb.exp: Rename without the -gdb suffix.
28029
28030 config/mips.exp: Use remote_close instead of exit_remote_shell.
28031 config/monitor.exp: Use target_info instead of looking at
28032 baud, timeout, etc.
28033 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
28034
28035 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28036
28037 * gdb.c++/templates.exp (test_ptype_of_templates),
28038 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
28039 Update expect patterns for destructors and assignment operators
28040 to match corresponding c-typeprint.c changes.
28041 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
28042 to destructor breakpoint test, GDB should be able to set the
28043 destructor breakpoint without specifying arguments.
28044
28045 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
28046
28047 * gdb.threads/pthreads.exp: Change result for failure to compile due
28048 to lack of pthreads runtime support from an error to simply an
28049 unsupported test, per dejagnu standards.
28050
28051 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28052
28053 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
28054 where GDB exits to reduce pattern match time.
28055 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
28056
28057 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
28058
28059 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
28060
28061 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
28062 * gdb.base/default.exp: ditto.
28063 * gdb.base/nodebug.exp: ditto.
28064 * gdb.base/printcmds.exp: ditto.
28065 * gdb.base/ptype.exp: ditto.
28066 * gdb.base/setvar.exp: ditto.
28067 * gdb.base/structs.exp: ditto.
28068 * gdb.base/setshow.c: Guard against uninitialized values of argc.
28069
28070 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
28071
28072 * configure, */configure: Rebuild with autoconf 2.12.
28073
28074 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
28075
28076 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28077 use new i*86-pc-linux*-gnu quads.
28078 * gdb.base/corefile.exp: Ditto.
28079 * gdb.base/signals.exp: Ditto.
28080 * gdb.base/sigall.exp: Ditto.
28081 * gdb.base/interrupt.exp: Ditto.
28082
28083 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28084 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28085 RedHat 4.0.
28086
28087 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
28088 linux. This allows the test case to at least compile on latest
28089 linux, but still not run due to missing the threads runtime library.
28090
28091 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28092
28093 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28094 directory to search gdb directory. Accept and step over conditional
28095 stack alignment code. Consume $prompt in failure cases.
28096 Reset timeout to $oldtimeout instead of some arbitrary value.
28097 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28098 timeout problems with infinite stack backtraces.
28099 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28100 Accept function parameters for linkfunc member.
28101
28102 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28103
28104 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28105 (CXXFLAGS): Remove, unreferenced.
28106 (B_OPTIONS): Add for -B options and add code to initialize with
28107 previous -B options and also add -B option to pick up cross compiled
28108 runtime.
28109 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28110 doing cross compiles.
28111 (target_alias): Declare global.
28112 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28113 to verify that gcc exists in build tree, and if so set CC to that
28114 gcc and to use B_OPTIONS and TARGET_INCLUDES.
28115
28116 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28117
28118 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28119 ptype test for anonymous union. Fixup testcase to match
28120 current gcc debug output.
28121
28122 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28123
28124 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28125 force argument to an unsigned long type.
28126
28127 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28128
28129 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
28130 tests and anonymous union print/ptype tests.
28131 * gdb.base/list.exp (test_forward-search): Increase timeout by
28132 5 minutes for the "search extremely long line" case.
28133 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28134 completely optional and that the pass/fail messages use the command as
28135 the message if that third arg is a null string.
28136 (gdb_test_exact): Arrange that a null string pattern means match a
28137 null string output rather than any output, which might include random
28138 errors.
28139 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28140 backtrace test.
28141 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28142 always failing and failure is now exposed by gdb.exp changes.
28143
28144 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28145
28146 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28147 weren't being noted.
28148
28149 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28150
28151 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28152 * gdb.stabs/weird.exp: Remove v_comb xfails.
28153
28154 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
28155
28156 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
28157 list.exp scope.exp watchpoint.exp]
28158 Make all timeout error msgs explicitly say "(timeout)".
28159
28160 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
28161
28162 * config/monitor.exp: Increase download timeout to 1000 seconds.
28163
28164 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
28165
28166 * config/m32r.exp: Increase timeout to 120 seconds.
28167
28168 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28169
28170 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28171 and accept older ordering as obsolescent gcc or gdb.
28172 * gdb.c++/templates.exp: Ditto.
28173 * gdb.c++/virtfunc.exp: Ditto.
28174
28175 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28176
28177 * gdb.base/coremaker.c: Add code to mmap some data so we
28178 can check that it ends up in the core file.
28179 * gdb.base/corefile.exp: Add test to read mmapped data
28180 from core file.
28181
28182 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
28183
28184 * config/m32r.exp: New file.
28185
28186 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28187
28188 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28189 that cflags can contains -gstabs, and work correctly for other tests.
28190
28191 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
28192
28193 * gdb.base/setshow.exp: New file, tests show and set.
28194 * gdb.base/setshow.c: New file, tests show and set.
28195 * gdb.base/help.exp: Add test for help set|show annotate.
28196 * gdb.base/default.exp: Add test for set|show annotate.
28197
28198 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28199
28200 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28201 errors unique.
28202 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28203 explicitly.
28204
28205 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28206
28207 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28208 and width commands. This is done elsewhere.
28209 * (gdb_start): Don't call gdb_start_sim here. That's already
28210 done in gdb_load. This fixes lots of failures in default.exp.
28211
28212 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28213
28214 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28215 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28216 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28217 in the same we we treat other failures (since it may be an expected
28218 condition), rather than as an error.
28219 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28220 old test format.
28221
28222 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28223
28224 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28225 (distclean maintainer-clean realclean): No need to remove files
28226 twice. Nuke the duplicates.
28227 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
28228 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
28229 Remove config.h along with other config files.
28230
28231 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28232
28233 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28234 "p func1 ()" and note that rests of tests are skipped.
28235 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
28236 setup_xfails for "print func2::coremaker_local".
28237 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28238 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28239 affected by the previous run test.
28240 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28241 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28242 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28243 "pass int powerset tuple" and "pass modeless int powerset tuple".
28244 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28245 "real write 4" and "real write 8".
28246 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
28247 setup_xfails for "print vs1 after tuple assign 2",
28248 "print \$i after tuple assign 2", and
28249 "print vs2 after tuple assign 2".
28250 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28251 meaningful error message and return -1 so the caller can
28252 suppress further tests and avoid a cascade of errors.
28253
28254 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28255
28256 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28257 format for printing version.
28258 * gdb.base/default.exp: Ditto.
28259 * gdb.base/interrupt.exp: Fix problem with cascade of
28260 errors if child process dies while calling a function.
28261
28262 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28263
28264 * Makefile.in (VPATH): Add
28265 * Makefile.in (Makefile, config.status): Fix rules so things get
28266 remade when necessary.
28267
28268 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28269
28270 * Makefile.in (just-check): Add path to sibling expect dir
28271 to environment variable specified by RPATH_ENVVAR.
28272
28273 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28274
28275 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28276 (just-check): Add shared library paths for libstdc++, tk,
28277 tcl, bfd, and opcodes to the environment variable specified
28278 in RPATH_ENVVAR.
28279 * configure.in: Add support to recognize --enable-shared flag
28280 and generate correct value for RPATH_ENVVAR.
28281 * configure: Regenerated with autoconf.
28282
28283 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28284
28285 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
28286 include all osf versions.
28287 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28288 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28289 when target is linux. When failing to build pthreads test
28290 executable, give more meaningful message.
28291 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28292 arg for pthread_create.
28293
28294 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28295
28296 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
28297 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
28298 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
28299 and -lpthreads (everybody else).
28300 (test_startup): Fail gracefully if threads are not supported.
28301 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28302 "p/c array_index("abcdef",2)" when not gcc compiled.
28303 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28304 "print func2::coremaker_local" when not gcc compiled.
28305 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28306 "ptype on opaque struct tagname (statically)",
28307 "ptype on opaque struct tagname (dynamically) 1", and
28308 "ptype on opaque struct tagname (dynamically) 2"
28309 for not compiled with gcc.
28310 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28311 backtrace when compiled with gcc.
28312 * lib/gdb.exp (runto_main): Return result of "runto main" rather
28313 than always return success.
28314
28315 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28316
28317 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28318
28319 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28320
28321 * gdb.base/structs.exp: Undo last change.
28322
28323 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28324
28325 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28326 encapsulate all the steps/nexts done during self test, starting
28327 at main, and makes them less sensitive to optimization issues.
28328 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28329 signal handler" test.
28330 * gdb.threads/pthreads.exp: Only run this for native configs.
28331 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28332 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28333 tests.
28334 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28335 for "runto test_calls(void)" test.
28336
28337 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28338
28339 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28340 and don't expect address info in breakpoint confirmations.
28341
28342 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28343
28344 * gdb.base/list.exp (test_forward_search): Increase timeout
28345 temporarily by 60 seconds for searching extremely long line,
28346 and then reset to old value when done. Increase expect input
28347 buffer to 10000.
28348
28349 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28350
28351 * gdb.base/list.exp (test_forward_search): Fix to handle very
28352 long source line without overflowing expect's input buffer.
28353
28354 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28355
28356 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28357 "buffer_full".
28358
28359 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28360 "buffer_full".
28361
28362 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28363 "buffer_full".
28364
28365 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28366 "buffer_full".
28367
28368 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28369
28370 * configure.in (configdirs): Add gdb.threads.
28371 * configure: Regenerated with autoconf.
28372 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28373 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28374 * gdb.threads/configure: New, generated with autoconf.
28375
28376 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28377
28378 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28379
28380 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28381
28382 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28383 each signal's status in the output of "handle all print".
28384 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28385 the \r\n sequence that immediately precedes the gdb prompt.
28386 * gdb.base/a1-selftest.exp: Save original timeout and restore
28387 after test.
28388
28389 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28390
28391 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28392 symbol.
28393
28394 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28395
28396 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28397
28398 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28399
28400 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28401 timeout by 60 seconds.
28402
28403 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28404
28405 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28406 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28407 error return.
28408
28409 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28410
28411 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28412 gdb initialization, also report how long dejagnu waited. Restore
28413 old timeout before doing error return. Temporarily increase timeout
28414 by 3 minutes to allow for slow startups over heavy NFS use.
28415
28416 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28417
28418 * lib/gdb.exp: Report timeout value for verbosity level 2.
28419 * config/gdbserver.exp: Ditto.
28420 * config/hppro.exp: Ditto.
28421 * config/mips-gdb.exp: Ditto.
28422 * config/monitor.exp: Ditto.
28423 * config/netware.exp: Ditto.
28424 * config/sim-gdb.exp: Ditto.
28425 * config/slite-gdb.exp: Ditto.
28426 * config/udi-gdb.exp: Ditto.
28427 * config/unix-gdb.exp: Ditto.
28428 * config/vx-gdb.exp: Ditto.
28429 * gdb.base/a1-selftest.exp: Ditto.
28430 * gdb.base/a2-run.exp: Ditto.
28431 * gdb.base/break.exp: Ditto.
28432 * gdb.base/corefile.exp: Ditto.
28433 * gdb.base/list.exp: Ditto.
28434 * gdb.base/recurse.exp: Ditto.
28435 * gdb.base/scope.exp: Ditto.
28436 * gdb.base/signals.exp: Ditto.
28437
28438 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28439
28440 * gdb.threads/Makefile.in (docdir): Removed.
28441
28442 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28443
28444 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
28445 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
28446 @srcdir@.
28447 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
28448 autoconf 2.5 or higher.
28449 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28450
28451 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
28452
28453 * configure: Regenerated.
28454 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28455 avoid name clashes with SunOS headers.
28456
28457 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
28458
28459 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28460
28461 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
28462
28463 * gdb.base/callfuncs.exp: Finish last change -- make sure the
28464 prototype information ends up in the compiler info file.
28465
28466 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
28467
28468 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28469 attempting to regenerate it. Eliminate use of a temporary file
28470 and just generate the info file directly. Source it immediately,
28471 for consistency of use.
28472 * gdb.base/corefile.exp: Ditto
28473 * gdb.base/exprs.exp: Ditto.
28474 * gdb.base/funcargs.exp: Ditto.
28475 * gdb.base/langs.exp: Ditto.
28476 * gdb.base/list.exp: Ditto.
28477 * gdb.base/mips_pro.exp: Ditto.
28478 * gdb.base/nodebug.exp: Ditto.
28479 * gdb.base/opaque.exp: Ditto.
28480 * gdb.base/ptype.exp: Ditto.
28481 * gdb.base/scope.exp: Ditto.
28482 * gdb.base/setvar.exp: Ditto.
28483 * gdb.base/signals.exp: Ditto.
28484 * gdb.base/whatis.exp: Ditto.
28485 * gdb.c++/templates.exp: Ditto.
28486 * gdb.c++/virtfunc.exp: Ditto.
28487 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
28488 whether or not to add -lstdc++ to the compile command line args.
28489
28490 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28491
28492 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
28493 it got fixed by the recent lookup_minimal_symbol_by_pc change.
28494 Increase timeout, a lot of single stepping might be needed if the
28495 target has no hardware watchpoints.
28496
28497 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
28498
28499 * gdb.base/break.exp: Ignore compiler warnings when compiling
28500 break.c.
28501 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28502 * gdb.base/default.exp: Add h8300 xfails. Handle messages
28503 from remote-sim.
28504 * gdb.base/exprs.exp: Add h8300 xfails.
28505 * gdb.base/funcargs.exp: Likewise.
28506 * gdb.base/nodebug.exp: Likewise.
28507 * gdb.base/printcmds.exp: Likewise.
28508 * gdb.base/ptype.exp: Likewise.
28509 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
28510 h8300 xfails.
28511 * gdb.base/return.exp: Handle float/double precision problems
28512 on the h8300.
28513 * gdb.base/funcargs.c: Explicitly make last constant argument to
28514 call_after_alloca_subr an unsigned long type.
28515 * gdb.base/return.c: Include stdio.h.
28516
28517 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
28518
28519 * config/abug.exp: New file for the older Motorola Bug monitor
28520 that runs on the mvme13x series VME boards.
28521 * config/monitor.exp: Use the new config array for target settings
28522 if they exist.
28523
28524 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
28525
28526 * sim-gdb.exp: Make the SH simulator allocate less space when
28527 it is targeted.
28528
28529 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
28530
28531 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28532 test.
28533
28534 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
28535
28536 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28537 "rs6000-*-*" for "list function in include file" when gcc compiled.
28538 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28539 for "p ctable1[120]".
28540 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28541 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28542 Remove setup_xfail for "rs6000-*-*" for
28543 "print 'scope0.c'::filelocal before run".
28544 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28545 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28546 since some compilers don't allow both options to be given
28547 on the same command line. Create object file and move it.
28548
28549 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
28550
28551 * gdb.base/corefile.exp: Always regenerate the core file, since
28552 we always regenerate the coremaker program. Detect special case
28553 where registers cannot be read from core file.
28554
28555 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
28556
28557 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28558 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28559 * gdb.c++/templates.exp: Only match on basename of file since
28560 some formats like xcoff don't encode directory information.
28561 * gdb.stabs/weird.exp: Use the right sed script for powerpc
28562 and rs6000 AIX xcoff targets.
28563 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28564 * configure: Regenerate.
28565 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28566 here, rather than in distclean.
28567
28568 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
28569
28570 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28571 defined, and use it to compile the test case with -O2. The
28572 native compilation still uses no optimization.
28573 * gdb.base/mips_pro.c: Remove inline assembly code since
28574 it is compiled PIC by default, which results in assembler
28575 warnings that make the testsuite think the compilation
28576 was unsuccessful.
28577
28578 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
28579
28580 * gdb.c++/misc.exp: Add note to message for
28581 "print s.a for foo struct" that this is a known gcc 2.7.2
28582 and earlier bug.
28583
28584 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
28585
28586 * gdb.base/break.exp: Fix pattern for matching "Delete all
28587 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
28588 setup_xfail for deleting all breakpoints test. Fix various
28589 timeout messages to include "(timeout)".
28590 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28591 for "p t_float_values2(3.14159,float_val2)".
28592 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28593 for "continue to call2g" when gcc compiled.
28594 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28595 "up to foo in langs.exp", "show language at foo in langs.exp",
28596 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28597 and "show language at fsub in langs.exp".
28598 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28599 "list line 1 in include file", "list message for lines past EOF",
28600 "list function in include file", "list list0.h:foo", and
28601 "list filename:function; nonexistant function".
28602 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28603 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28604 and "ptype t_char_array" to be for native cc only.
28605
28606 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
28607
28608 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
28609 setup_xfail for "print coremaker_bss", "print coremaker_ro",
28610 "print func2::coremaker_local", and "backtrace in corefile.exp".
28611
28612 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
28613
28614 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
28615 "bt in signals.exp". This problem only appears when running
28616 the testsuite, and then only intermittently.
28617
28618 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
28619
28620 * gdb.base/return.exp (return_tests): Differentiate between
28621 two tests of continuing.
28622
28623 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
28624
28625 * */Makefile.in (maintainer-clean): Remove config.log.
28626 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
28627 * gdb.c++/Makefile.in (PROGS): Add inherit.
28628 (clean): Remove *.ci.
28629
28630 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
28631
28632 * gdb.c++/misc.cc: Add test code from Mike Stump.
28633 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
28634
28635 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
28636
28637 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
28638 to "alpha-*-osf2*" and add comment.
28639 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
28640 setup_xfail for "step over execarg initialization" and
28641 "step over corearg initialization".
28642 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
28643 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
28644 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
28645 gcc compiled for "print coremaker_bss", "print coremaker_ro",
28646 "print func2::coremaker_local", and "backtrace in corefile.exp".
28647 * gdb.base/signals.exp: Build and source signals.ci.
28648 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
28649 to be for gcc only.
28650 * lib/gdb.exp: Move verbose statements outside conditionals.
28651
28652 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28653
28654 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
28655 Feb 3 procfs.c change.
28656
28657 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
28658
28659 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
28660
28661 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
28662
28663 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
28664 from dejagnu's apparent default of 10 seconds, which gives random
28665 results when running the tests over NFS on moderately loaded systems.
28666 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
28667
28668 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
28669
28670 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
28671 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
28672 result reports.
28673
28674 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
28675
28676 * configure.in (CY_AC_PATH_TCLH): Remove.
28677 * configure: Regenerate.
28678
28679 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
28680
28681 * gdb.c++/Makefile.in (clean): Add missing '{'.
28682
28683 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
28684
28685 * lib/gdb.exp: Provide a default value for noinferior.
28686
28687 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
28688 Load libgloss.exp.
28689
28690 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
28691
28692 * gdb.disasm/hppa.exp: Compile directly into an executable, use
28693 the executable, not the .o to run the tests from.
28694
28695 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
28696
28697 * gdb.base/break.exp: Don't test for program exit or exit status
28698 if $noresults if nonzero.
28699 * gdb.base/langs.exp: Likewise.
28700 * gdb.base/watchpoint.exp: Likewise.
28701
28702 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
28703 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
28704 trying to compile the testcase.
28705
28706 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
28707
28708 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
28709 * gdb.base/signals.exp (continue to handler): Likewise.
28710
28711 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
28712
28713 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
28714
28715 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
28716
28717 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
28718
28719 * gdb.base/corefile.exp: Recognize "not found" as failure
28720 when trying to determine if a core file was generated.
28721 If no core file was generate the first time, try again without
28722 the ulimit -c to work around braindamaged shells.
28723
28724 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
28725
28726 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
28727 [] tests with "test" and enclose string in quotes.
28728 * gdb.stabs/configure: Rebuild
28729
28730 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
28731
28732 Changes in sync with expect:
28733 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
28734 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
28735 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
28736 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
28737 argument to AC_REQUIRE.
28738 * configure: Regenerated.
28739
28740 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
28741
28742 * gdb.base/corefile.exp: When generating a core, discard any
28743 error messages about ulimit not found and the "core dumped"
28744 message from the shell that runs the coredumper.
28745
28746 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
28747
28748 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
28749
28750 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
28751 which sed script to run. Expect failure for v_comb test
28752 on PA targets too.
28753
28754 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
28755
28756 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
28757 "print func2::coremaker_local" and for "backtrace in corefile.exp"
28758
28759 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
28760
28761 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
28762 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
28763 "sparc-sun-solaris*" xfails for "p v_comb".
28764 * lib/gdb.exp (default_gdb_start): Fix typo.
28765 * gdb.base/corefile.exp: Allow "Core was generated by ..."
28766 messages to not include the full program name that caused
28767 the core dump since some systems (such as solaris) apparently
28768 truncate this path to about 80 characters.
28769 When generating a core file first try increasing the core file
28770 size limit to unlimited since some systems may default it to
28771 zero, and it is harmless to try it. Move the test for failing
28772 to generate a core file to where it will actually get executed.
28773 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
28774 new gdb result from g++ debug info improvements and make old
28775 pattern obsolescent. Also account for size_t differences
28776 (may be int or long).
28777 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
28778 initialization before function call is placed in the delay slot
28779 and thus appears to be skipped over by commands such as "next".
28780
28781 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
28782
28783 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
28784
28785 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
28786
28787 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
28788 input source file; fix code to compile test to deal with this
28789 convention.
28790 * gdb.c++/*.exp: Likewise.
28791
28792 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
28793
28794 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
28795 "bt in signals.exp".
28796
28797 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
28798
28799 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
28800 "step over execarg initialization" and
28801 "step over corearg initialization".
28802
28803 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
28804
28805 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
28806 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
28807
28808 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
28809
28810 From Rob Savoye (rob@poseidon.cygnus.com)
28811 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
28812 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
28813 configure.in}, gdb.disasm/{Makefile.in, configure.in},
28814 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
28815 configure.in}: Major reworking for autoconfig.
28816 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
28817 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
28818 New files.
28819 * config/unix-gdb.exp: Make GDB global.
28820 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
28821 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
28822 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
28823 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
28824 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
28825 term.exp, twice.exp, watchpoint.exp, whatis.exp},
28826 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
28827 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
28828 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
28829 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
28830 pr-8136.exp, result.exp, string.exp, tuples.exp},
28831 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
28832 to returns as necessary, arrange for test to compile own testcase
28833 executable.
28834 * lib/gdb.exp: Changes for testsuite to compile own test cases.
28835
28836 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
28837
28838 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
28839 clear_xfail at end of test which might not call either pass or fail.
28840 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28841 "backtrace through signal handler".
28842
28843 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28844
28845 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
28846 continuing from a job control stop signal.
28847 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
28848
28849 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
28850
28851 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28852 * gdb.base/corefile.exp: Likewise.
28853 * gdb.base/funcargs.exp: Likewise.
28854
28855 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
28856
28857 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
28858 * config/monitor.exp: Add support for setting baud rate.
28859
28860 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
28861
28862 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28863 i*86-*-linux* xfails for "backtrace through signal handler".
28864 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28865 "print func2::coremaker_local".
28866 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
28867 alpha-dec-osf2* xfail for
28868 "delete all breakpoints when none".
28869
28870 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
28871
28872 * gdb.base/break.exp: Change test that deletes all breakpoints
28873 when no user breakpoints are installed. A post 4.15 change
28874 causes gdb to no longer prompt in this case.
28875
28876 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
28877
28878 * gdb.base/return.exp (return_tests): Change xfail for test
28879 "correct value returned double test" to stop xfailing at
28880 Solaris 2.5. Apparently the bug has been fixed.
28881
28882 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
28883
28884 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28885 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28886
28887 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
28888
28889 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28890 * gdb.disasm/hppa.s: Corresponding changes.
28891
28892 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
28893
28894 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28895 makefile fragment.
28896 * config/mt-hpux: Deleted.
28897
28898 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
28899
28900 * Many files: When warning about suppressed tests due to a
28901 nonexistant test binary, avoid incrementing the warning count.
28902
28903 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
28904
28905 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
28906
28907 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28908
28909 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
28910 "sparc-*-solaris2*".
28911
28912 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28913
28914 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
28915 Add global and local variables and initialize them.
28916 * gdb.base/corefile.exp: Test correct mapping of corefile sections
28917 by printing variables. Remove rs6000 and powerpc xfails, BFD now
28918 extracts the file name and terminating signal from the core file.
28919 * TODO: Remove note about tests for correct mapping of corefile.
28920 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
28921 from optimizing it away.
28922 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
28923 handles common blocks.
28924
28925 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
28926
28927 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28928 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28929
28930 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
28931
28932 * Makefile.in (maintainer-clean): New target, synonym for
28933 realclean.
28934 * gdb.base/Makefile.in (maintainer-clean): Likewise.
28935 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28936 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28937 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28938 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28939 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28940
28941 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
28942
28943 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
28944 xfails when not gcc compiled for "print foo::funclocal".
28945 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28946 "print foo::funclocal at foo",
28947 "print 'scope1.c'::foo::funclocal at foo",
28948 "print foo::funclocal_bss at foo",
28949 "print 'scope1.c'::foo::funclocal_bss at foo",
28950 "print foo::funclocal_ro at foo",
28951 "print 'scope1.c'::foo::funclocal_ro at foo",
28952 "print bar::funclocal at foo" and
28953 "print 'scope1.c'::bar::funclocal at foo".
28954 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
28955 gcc compiled for "print foo::funclocal at bar".
28956 Expand all messages to ensure that they identify that
28957 the test is at bar().
28958 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28959 gcc compiled for:
28960 "ptype on opaque struct pointer (statically)",
28961 "ptype on opaque struct tagname (statically)",
28962 "ptype on opaque struct pointer (dynamically) 1",
28963 "ptype on opaque struct tagname (dynamically) 1",
28964 "ptype on opaque struct pointer (dynamically) 2" and
28965 "ptype on opaque struct tagname (dynamically) 2
28966 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28967 gcc compiled for:
28968 "p datalocal"
28969 "whatis datalocal",
28970 "ptype datalocal",
28971 "p bsslocal",
28972 "whatis bsslocal", and
28973 "ptype bsslocal".
28974 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28975 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28976 when not gcc compiled.
28977 * gdb.base/funcargs.exp (float_and_integral_args): Add
28978 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28979 compiled.
28980 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
28981 "backtrace from call6a" when not gcc compiled.
28982 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28983 "backtrace from call7a" when not gcc compiled.
28984 * gdb.base/callfuncs.exp (do_function_calls):
28985 Add "hppa*-*-hpux*" xfail when not gcc compiled for
28986 "p t_char_array_values(char_array_val2,char_array_val1)",
28987 "p t_char_array_values(char_array_val1,char_array_val2)",
28988 "p t_char_array_values("carray 1","carray 2")",
28989 "p t_char_array_values("carray 1",char_array_val2)",
28990 "p t_char_array_values(char_array_val1,"carray 2")",
28991 "p sum_args(1,{2})",
28992 "p sum_args(2,{2,3})",
28993 "p sum_args(3,{2,3,4})",
28994 "p sum_args(4,{2,3,4,5})"
28995 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28996 "backtrace in corefile.exp" when not gcc compiled.
28997
28998 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28999
29000 * gdb.base/signals.exp: Rewrite `handle all print' test as
29001 a procedure. Accept blanks or TABs as whitespace, increase
29002 timeout and expect input buffer size for the large output
29003 from the command. Remove "i*86-*-bsdi2.0" xfail.
29004
29005 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29006
29007 * gdb.base/setvar.exp: Add new testcases for truncation when
29008 assigning invalid values to bitfields.
29009
29010 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
29011
29012 * gdb.base/callfuncs.exp (do_function_calls): Remove
29013 mips-sgi-irix* xfail for
29014 "call inferior func with struct - returns char *"
29015 and fix test so that an optional (unsigned char *) cast is
29016 accepted in the result.
29017
29018 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
29019
29020 * gdb.base/funcargs.exp (float_and_integral_args): Remove
29021 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29022 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
29023 * gdb.base/signals.exp: Remove duplicate "handle all print" test
29024 that accidentally got checked in.
29025
29026 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
29027
29028 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
29029 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
29030 compiled test.
29031 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
29032 Add mips-sgi-irix5* xfail for not gcc compiled.
29033 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
29034 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
29035 compiled for "p top", "whatis top", "p middle", and "whatis
29036 middle".
29037 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
29038 "whatis signed char" for not gcc compiled.
29039 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
29040 "set variable signed char=-1 (-1)" and
29041 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
29042 * gdb.base/funcargs.exp (float_and_integral_args):
29043 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
29044 Add mips-sgi-irix* xfail when not gcc compiled for
29045 "continue to call2b".
29046 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
29047 "continue to call2g".
29048 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
29049 compiled for "backtrace from call6a"
29050 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
29051 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
29052 when not gcc compiled for "backtrace from call7a".
29053 (localvars_after_alloca): Fix gdb_test cmds for
29054 "print * after runto ...".
29055 Remove rs6000-*-* xfails for
29056 "print i after runto localvars_after_alloca" and
29057 "print l after runto localvars_after_alloca"
29058 for all compilers.
29059 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
29060 when not compiled with gcc, for:
29061 "print signed char == (minus)",
29062 "print signed char != (minus)",
29063 "print signed char < (minus)",
29064 "print signed char > (minus)".
29065 * gdb.base/callfuncs.exp (do_function_calls):
29066 Add mips-sgi-irix* xfail, when compiled with native compiler, for
29067 "call inferior func with struct - returns char *".
29068 * gdb.base/return.exp (return_tests): Change xfail for
29069 "correct value returned double test" to include Solaris 2.4.
29070 * gdb.base/funcargs.exp (float_and_integral_args):
29071 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29072
29073 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29074
29075 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
29076 enumeration bitfields if compiling with GNU C.
29077 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29078 to empty' prompt.
29079
29080 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29081
29082 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29083 test for PRO targets.
29084
29085 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29086 breakpoints in the inferior at any given time by making
29087 two groups of breakpoints for call2*, call6* and call7*
29088 tests.
29089
29090 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29091
29092 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29093 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29094 from optimizing it away.
29095 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29096 "call inferior func with struct".
29097
29098 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29099
29100 * configure.in: Only configure gdb.chill for particular targets.
29101
29102 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29103
29104 * gdb.base/Makefile.in: Add action to .c.o transformation
29105 rule that generates a .ci file for each .o file and remove
29106 explicit .c.o rules except for callfuncs.o.
29107 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29108 generates a .ci file for each .o file and remove explicit
29109 .cc.o rules.
29110 (clean): Remove *.tmp *.ci files.
29111 (EXECUTABLES): Remove templ-info.exp.
29112 * gdb.base/compiler.c: New file.
29113 * gdb.c++/compiler.cc: New file
29114 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29115 Change rs6000-*-* xfail for
29116 "print 'scope0.c'::filelocal_ro" and
29117 "print 'scope1.c'::filelocal" and
29118 "print 'scope1.c'::filelocal_bss" and
29119 "print 'scope1.c'::filelocal_ro" and
29120 "print 'scope1.c'::foo::funclocal" and
29121 "print 'scope1.c'::foo::funclocal_ro" and
29122 "print 'scope1.c'::bar::funclocal" and
29123 "print 'scope0.c'::filelocal_ro" and
29124 "print 'scope1.c'::filelocal at foo" and
29125 "print 'scope1.c'::filelocal_bss at foo" and
29126 "print 'scope1.c'::filelocal_ro at foo" and
29127 "print 'scope1.c'::foo::funclocal at foo" and
29128 "print 'scope1.c'::foo::funclocal_bss at foo" and
29129 "print 'scope1.c'::foo::funclocal_ro at foo" and
29130 "print 'scope1.c'::bar::funclocal at foo" and
29131 "print 'scope0.c'::filelocal_ro" and
29132 "print 'scope1.c'::filelocal" and
29133 "print 'scope1.c'::filelocal_bss" and
29134 "print 'scope1.c'::filelocal_ro" and
29135 "print 'scope1.c'::foo::funclocal" and
29136 "print 'scope1.c'::foo::funclocal_bss" and
29137 "print 'scope1.c'::foo::funclocal_ro" and
29138 "print 'scope1.c'::bar::funclocal" and
29139 "print 'scope1.c'::bar::funclocal_bss"
29140 to only be xfail'd when not compiled with gcc.
29141 Add rs6000-*-* xfail for
29142 "print 'scope0.c'::filelocal_bss before run"
29143 when compiled with gcc.
29144 (test_at_main): Add rs6000-*-* xfail for
29145 "print filelocal_ro in test_at_main"
29146 when compiled with gcc.
29147 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
29148 Add rs6000-*-aix* xfail for
29149 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29150 "ptype t_char_array", not compiled with gcc.
29151 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29152 xfail for "list foo (in include file)" when gcc compiled.
29153 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
29154 (integral_args): Add rs6000-*-* xfail for
29155 "run to call0a" if not compiled with gcc.
29156 (unsigned_integral_args): Add rs6000-*-* xfail for
29157 "run to call1a" if not compiled with gcc.
29158 (float_and_integral_args): Add rs6000-*-* xfail for
29159 "run to call2a" if not compiled with gcc and for
29160 "continue to call2b" for any compiler.
29161 Add rs6000-*-* xfail to
29162 "print f1 after run to call2a" for gcc compiled.
29163 (discard_and_shuffle): Add rs6000-*-* xfail for
29164 "run to call6a".
29165 (shuffle_round_robin): Add rs6000-*-* xfail for
29166 "backtrace from call7a" if not compiled with gcc.
29167 Add rs6000-*-* xfail for
29168 "backtrace from call7b" if compiled with gcc.
29169 (call_after_alloca): Add rs6000-*-* xfail for
29170 "print c in call_after_alloca" and
29171 "print s in call_after_alloca" and
29172 "backtrace from call_after_alloca_subr"
29173 if not compiled with gcc.
29174 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29175 "print c in localvars_in_indirect_call" and
29176 "print c in localvars_in_indirect_call" and
29177 "backtrace in indirectly called function" and
29178 "stepping into indirectly called function"
29179 if not compiled with gcc.
29180 (localvars_after_alloca): Add rs6000-*-* xfail for
29181 "print c after runto localvars_after_alloca" and
29182 "print s after runto localvars_after_alloca" and
29183 "print i after runto localvars_after_alloca" and
29184 "print l after runto localvars_after_alloca"
29185 for all compilers.
29186 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29187 than whatis-info.exp.
29188 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29189 than opaque-info.exp.
29190 Setup rs6000-*-* xfail for
29191 "ptype on opaque struct pointer (statically)" and
29192 "ptype on opaque struct pointer (dynamically)" when
29193 not compiled with gcc.
29194 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29195 rather than callf-info.exp.
29196 (do_function_calls): Add clear_xfail for rs6000-*-* for
29197 "p t_float_values2(3.14159,float_val2)". Seems to work
29198 fine there, both with xlc and gcc. Need to find out what
29199 it is doing right and fix other platforms.
29200 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29201 "call inferior func with struct - returns int",
29202 "call inferior func with struct - returns long",
29203 "call inferior func with struct - returns float",
29204 "call inferior func with struct - returns double",
29205 "call inferior func with struct - returns char *",
29206 but only if not gcc compiled (presumes xlc compiled).
29207 Change rs6000-*-* xfails for
29208 "call inferior func with struct - returns char" and
29209 " call inferior func with struct - returns short" to only
29210 xfail if not using gcc.
29211 (clean mostlyclean): Remove *.ci and *.tmp files.
29212 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29213 than templ-info.exp.
29214 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29215 Add rs6000-*-* xfail for "up to foo in langs.exp"
29216 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
29217 when not gcc compiled.
29218
29219 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29220
29221 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29222 * gdb.base/corefile.exp: Likewise.
29223 * gdb.base/list.exp: Likewise.
29224 * gdb.base/scope.exp: Likewise.
29225 * gdb.base/siganls.exp: Likewise.
29226
29227 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29228 compiler output.
29229 * gdb.base/whatis.exp: Likewise.
29230
29231 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29232
29233 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29234 failure (opcode table has been fixed to match reality).
29235
29236 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29237
29238 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29239 "call inferior func with struct - returns char",
29240 "call inferior func with struct - returns short"
29241
29242 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29243 "print 'scope0.c'::filelocal at main",
29244 "print 'scope0.c'::filelocal_bss in test_at_main",
29245 "print 'scope0.c'::filelocal at foo",
29246 "print 'scope0.c'::filelocal_bss in test_at_foo",
29247 "print 'scope0.c'::filelocal at bar",
29248 "print 'scope0.c'::filelocal_bss in test_at_bar"
29249
29250 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29251 in source file 1". This bug seems to have been fixed with both
29252 gcc and native cc (was native assembler bug?).
29253
29254 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29255
29256 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29257 "backtrace through signal handler" to "i*86-*-sysv4*".
29258 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29259 continue" case. Add "known SVR4 bug" to fail message.
29260 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29261 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29262 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29263 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29264 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29265 "up to foo in langs.exp", "show language at foo in
29266 langs.exp", "up to cppsub_ in langs.exp", "show
29267 language at cppsub_ in langs.exp", "up to fsub in
29268 langs.exp", and "show language at fsub in langs.exp".
29269 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29270 "bactrace in corefile.exp".
29271 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29272 "call inferior function with struct - returns float" and
29273 "call inferior function with struct - returns double".
29274
29275 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29276
29277 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29278 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29279 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29280 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29281
29282 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29283
29284 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29285 (or overriden) "CHILL" macro rather then bare "gcc".
29286 Also look for ../../gcc/xgcc since that is what we will
29287 actually need, not "Makefile". Remove following assignment
29288 of CHILL to CHILL_FOR_TARGET because that results in
29289 recursive definition.
29290
29291 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29292
29293 * gdb.base/corefile.exp: Change xfail for backtrace in
29294 corefile.exp from linuxaout to all linux.
29295 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29296 cases where we miss the breakpoint at the signal handler
29297 for some reason. Setup xfail for linuxoldld/linuxaout and
29298 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29299 hitting SIGURG breakpoint.
29300 * gdb.base/signals.exp: Setup xfail for "next" acting like
29301 continue to add linuxoldld. Setup xfail for all linux for
29302 "next to handler in signals_tests_1", "backtrace in
29303 signals_tests_1", "continue to func1", "pass SIGUSR1",
29304 and continue to handler".
29305
29306 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29307
29308 * Update all FSF addresses except those in COPYING* files.
29309
29310 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29311
29312 * gdb.base/a2-run.exp: Change messages to be more explicit about
29313 the status of args, and quote binfile in results.
29314
29315 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29316
29317 * gdb.base/callfuncs.exp: Add tests for passing structs to
29318 inferior functions and return various types.
29319 * gdb.base/callfuncs.c: Add functions to receive a struct
29320 and return a member of the struct, in various types.
29321
29322 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29323
29324 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29325
29326 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29327
29328 * config/vxworks29k.exp: New file, sources vxworks.exp.
29329
29330 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29331
29332 * config/gdbremote.exp: New file. Testing framework using
29333 gdbserver.
29334
29335 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29336
29337 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29338 "call function when asleep" and "send end of file".
29339 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29340 for "backtrace in corefile.exp".
29341 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29342 for "backtrace through signal handler".
29343 * gdb.base/corefile.exp: Make sure we actually generate a core file
29344 before trying the core tests. Some systems allow the user to suppress
29345 generation of core files and default to that (linux for example).
29346 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29347 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29348
29349 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29350
29351 * gdb.threads: New directory with some crude multi-threaded
29352 gdb tests (step.exp and step2.exp).
29353 * config/mt-lynx (STEP_EXECUTABLE): Define.
29354 (THREADFLAGS): Define.
29355
29356 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29357
29358 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29359
29360 * gdb.base/signals.exp: Disable whole file for lynx until
29361 further notice.
29362
29363 * gdb.base/signals.exp: xfail test where "next" acts like
29364 "continue" for lynx.
29365
29366 * gdb.base/interrupt.exp: xfail test for calling function while
29367 inferior is asleep for lynx.
29368
29369 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29370 than one cr-lf after each command.
29371
29372 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29373
29374 * configure.in: Reinstate setting of stabsdirs variable, fix
29375 typo in setting up configdirs for native builds.
29376
29377 * gdb.base/return.exp: Fix typo in return double test.
29378 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29379 compiler from optimizing them away.
29380
29381 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29382
29383 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29384 sequences to be echo'd by gdb when using gdb_test.
29385 * gdb.chill/chexp.exp: Likewise.
29386 * gdb.fortran/exprs.exp: Likewise
29387
29388 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29389
29390 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29391 after the inferior gdb has started.
29392
29393 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29394 after each command.
29395 * gdb.base/funcargs.exp: Likewise.
29396 * gdb.base/gdbvars.exp: Likewise.
29397 * gdb.base/interrupt.exp: Likewise.
29398 * gdb.base/list.exp: Likewise.
29399 * gdb.base/watchpoint.exp: Likewise.
29400 * gdb.c++/demangle.exp: Likewise.
29401 * gdb.c++/inherit.exp: Likewise.
29402 * gdb.chill/chexp.exp: Likewise.
29403 * gdb.fortran/exprs.exp: Likewise.
29404
29405 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29406 test if we can't handle IO to/from the inferior.
29407
29408 * gdb.c++/misc.exp: Always check for a program already being
29409 started after sending a "run" command to gdb.
29410
29411 * gdb.base/twice.exp: Start with a fresh gdb.
29412
29413 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29414 only depend on gdb's expression code, not the chill runtime.
29415
29416 * gdb.base/return.c: Put return values into variables so we
29417 can have gdb print them rather than depending on the program
29418 to print them.
29419 * gdb.base/return.exp: Corresponding changes.
29420
29421 * lib/gdb.exp: Provide default value for noinferiorio.
29422 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29423 the inferior.
29424
29425 * gdb.base/break.exp: Always check for a program already being
29426 started after sending a "run" command to gdb.
29427 (text_next_with_recursion): Don't check the output from the
29428 program's printf statement. Instead just make sure the program
29429 exited.
29430
29431 * gdb.base/commands.exp: Protect tests which need arguments with
29432 $noargs conditionals.
29433
29434 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29435
29436 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29437 of structure member arrays to match gdb/valops.c:value_addr change.
29438
29439 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29440
29441 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29442 cases.
29443
29444 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29445
29446 * configure.in (configdirs): Remove gdb.chill from default list
29447 of subdirs and then add it back in only if doing a native build.
29448 The current chill compiler does not yet work in any cross build.
29449 * Revert all signal changes from Jul 6.
29450 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
29451 for sh-hms targets, allowing these tests to link, with no other
29452 changes. Testing is suppressed by setting "nosignals" in site.exp.
29453
29454 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
29455
29456 * configure.in (signaldirs): Define and add to configdirs for all
29457 targets except some specific ones that are known to not support signals.
29458 Also clean up formatting.
29459 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
29460 (signals, sigall): Remove rules to build.
29461 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29462 Moved to new gdb.signals directory.
29463 * gdb.signals: New test directory.
29464 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29465 signals.c signals.exp}: New or moved files.
29466
29467 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
29468
29469 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29470
29471 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
29472
29473 * gdb.base/return.exp: Xfail `return double' test failure
29474 on at least Solaris 2.3 and handle future/past versions on
29475 a case by case basis as appropriate. Also update message
29476 to include i*86 failures.
29477
29478 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29479
29480 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29481
29482 * lib/gdb.exp: Fix comment which erroneously identified
29483 gdb_file_cmd as gdb_load (the 19 May change was in fact to
29484 gdb_file_cmd not gdb_load).
29485 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29486
29487 * gdb.base/setvar.exp: Make test names consistent between pass and
29488 fail cases. Use gdb_test more.
29489
29490 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29491
29492 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29493
29494 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29495
29496 * gdb.base/help.exp: Fix expected help string for `show commands'.
29497
29498 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
29499
29500 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29501
29502 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29503 of a text section.
29504
29505 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
29506
29507 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
29508 that loop eventually terminates. Fix Connection refused logic so
29509 that testsuite will expire nicely.
29510
29511 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
29512
29513 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29514 config/rom68k.exp: New tcl glue for the appropriate monitors.
29515 These all just end up calling monitor.exp.
29516 * config/monitor.exp (gdb_target_monitor): Handle `Connection
29517 refused' by retrying. Cleanup some timeout issues.
29518 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
29519 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
29520 callers don't have to set/restore global timeout variable.
29521
29522 * The following set of changes centralizes management of the global
29523 timeout variable. This way, it can be set in one target dependent
29524 place instead of dozens of places scattered throughout the test suite.
29525 If you need to lengthen a timeout, then you should either set timeout
29526 in one of the config/{target}.exp files, or multiply it by a factor.
29527 Setting it to an absolute value is always going to lose for some
29528 targets.
29529 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
29530 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
29531 * gdb.base/funcargs.exp: Don't set timeout.
29532 * gdb.base/list.exp (test_forward_search): Only use local timeout.
29533 * gdb.base/printcmds.exp (test_print_string_constants
29534 test_print_array_constants): Don't set timeout.
29535 * gdb.base/ptype.exp: Don't set timeout.
29536 * gdb.base/recurse.exp: Don't set timeout.
29537 * gdb.base/return.exp: Don't set timeout.
29538 * gdb.base/watchpoint.exp: Don't set timeout.
29539 * gdb.c++/classes.exp (do_tests): Don't set timeout.
29540 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
29541
29542 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
29543
29544 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29545
29546 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29547
29548 * lib/gdb.exp: Disable chill tests for irix5.
29549
29550 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29551
29552 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
29553 each test pass or fail.
29554
29555 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29556
29557 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29558 xlc not gcc.
29559
29560 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
29561
29562 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
29563
29564 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
29565
29566 * config/est.exp: Fix copyright and comments. Remove dead code.
29567 Use targetname, serialport and baud variables instead of fixed
29568 constants.
29569 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
29570 * config/cpu32bug.exp: New file to support cpu32bug monitors.
29571
29572 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29573
29574 * gdb.base/watchpoint.exp: Don't run
29575 test_watchpoint_triggered_in_syscall for sunos.
29576
29577 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29578
29579 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29580 they don't seem to exist. Do include stdio.h.
29581
29582 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29583
29584 * gdb.base/a1-selftest.exp: Add alpha xfail.
29585
29586 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29587
29588 * gdb.base/watchpoint.c (main): Prompt before calling read().
29589 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29590 Revise accordingly. Remove cruft about sending "123" several
29591 times, until it gets noticed. Clean up the "print buf[0]" stuff
29592 so that it passes or fails, and waits for prompts in the usual way.
29593
29594 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29595
29596 * gdb.base/recurse.exp: Fix comment.
29597
29598 * TODO: Remove item about printing variables in nodebug.exp. Add
29599 item about enabling tests which are only run on some targets.
29600
29601 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29602 fail, make test names unique, use new gdb_test convention
29603 regarding pattern, use gdb_test more, etc.).
29604
29605 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29606 fail, make test names unique, etc.).
29607
29608 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29609
29610 * gdb.base/nodebug.c: Change return type of top and middle to
29611 short.
29612 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
29613 are fixed by the recent mdebugread.c changes. Allow `short ()'
29614 as type for top and middle.
29615
29616 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29617
29618 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
29619 nearly as I can tell, the whole thing was an accident in Stu's
29620 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
29621 to replace a send/expect pair with gdb_test, but ended up only
29622 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
29623 of 30 Mar 1995 took care of it, but left this vestigial comment
29624 which I am now nuking.
29625
29626 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29627
29628 * gdb.base/break.exp: Look for different line number for
29629 breakpoint at main depending on usestubs.
29630
29631 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29632
29633 * gdb.base/list.exp: Adjust some alternate expect patterns to
29634 match recent list0.c change. Add alternate expect pattern for
29635 output from `list default lines around main' for optimizing
29636 compilers.
29637
29638 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29639
29640 * lib/gdb.exp: If nosignals is not set, set it to 0.
29641
29642 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
29643
29644 * config/slite-gdb.exp: Responds to load symbol table prompt.
29645 * gdb.base/break.exp: Adjust line number, fix rerun.
29646 * gdb.base/langs0.c: Add #ifdef usestubs.
29647
29648 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
29649
29650 * gdb.base/list.exp: Adjust line contents after adding new lines in
29651 list0.c. Also fix a syntax error.
29652
29653 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
29654 * gdb.base/break.exp: ditto.
29655 * gdb.base/list.exp: ditto.
29656 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
29657 * gdb.base/run.c: ditto.
29658 * gdb.base/list0.c: ditto.
29659 * gdb.base/funcargs.c: ditto.
29660
29661 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
29662
29663 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
29664 $targetname, $serialport and $baud instead of hardwired variables.
29665 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
29666 target doesn't support signals.
29667
29668 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
29669
29670 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
29671
29672 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29673
29674 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
29675 Don't rely on the value of an auto variable before it has been
29676 initialized. Use gdb_test more.
29677
29678 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29679
29680 * lib/gdb.exp (default_gdb_version): A version number must start
29681 with a digit, but other than that contains all characters up to
29682 the first whitespace character.
29683
29684 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29685
29686 * gdb.base/commands.exp (breakpoint_command_test): New tests.
29687
29688 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29689
29690 * gdb.c++/*.exp: Warn if executable does not exist. The original
29691 reason for skipping the warning was that configure.in sometimes
29692 intentionally skipped building the executables but the tcl code
29693 had no way of knowing. That (a) was always bogus with respect to
29694 error handling, (b) is no longer true (right now there is no way
29695 to skip C++ tests).
29696
29697 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
29698
29699 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29700
29701 * gdb.base/list.exp: Add expect patterns for output from
29702 SunPRO compiled executables.
29703 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
29704 types.
29705
29706 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29707
29708 * gdb.base/break.exp (test_next_with_recursion): Accept any line
29709 number (we are already testing that the correct source line text
29710 gets printed).
29711
29712 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
29713 that is what is intended, but something needed to be done to get
29714 sunos4 native working again.
29715
29716 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
29717
29718 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
29719 apparently went with a (very) old xfail.
29720
29721 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
29722
29723 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
29724 runto_main is a proc in gdb.exp that will do 'step' for target use
29725 stubs.
29726 * gdb.base/exprs.exp: ditto.
29727 * gdb.base/interrupt.exp: ditto.
29728 * gdb.base/opaque.exp: ditto.
29729 * gdb.base/printcmds.exp: ditto.
29730 * gdb.base/ptype.exp: ditto.
29731 * gdb.base/scope.exp: ditto.
29732 * gdb.base/setvar.exp: ditto.
29733 * gdb.base/signals.exp: ditto.
29734 * gdb.base/twice.exp: ditto.
29735 * gdb.c++/classes.exp: ditto.
29736 * gdb.c++/inherit.exp: ditto.
29737 * gdb.c++/templates.exp: ditto.
29738 * gdb.base/break.exp: no run and hit main for stubs. Change line
29739 numbers for breakpoints and info breakpoint.
29740 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
29741 breakpoint().
29742 * gdb.base/callfuncs.c: ditto.
29743 * gdb.base/exprs: ditto.
29744 * gdb.base/interrupt.c: ditto.
29745 * gdb.base/opaque0.c: ditto.
29746 * gdb.base/printcmds.c: ditto.
29747 * gdb.base/ptype.c: ditto.
29748 * gdb.base/scope0.c: ditto.
29749 * gdb.base/setvar.c: ditto.
29750 * gdb.base/signals.c: ditto.
29751 * gdb.base/twice.c: ditto.
29752 * gdb.c++/misc.cc: ditto.
29753 * gdb.c++/templates.cc: ditto.
29754
29755 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29756
29757 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
29758
29759 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
29760 somewhere between `read' and `main.c'. I'm pretty sure the
29761 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
29762 and it isn't particularly useful.
29763
29764 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
29765
29766 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29767
29768 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
29769
29770 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
29771
29772 * config/mt-slite: add LIBS and -nostdlib.
29773 * config/slite-gdb.exp: add this new file to support sparclite target.
29774
29775 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
29776
29777 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
29778
29779 * gdb.base/a2-run.exp: Change argument to istarget from
29780 "*-*-vxworks" to "*-*-vxworks*".
29781 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
29782
29783 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
29784
29785 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
29786 will not runto main but do a 'step' to step out of breakpoint().
29787 * config/mt-slite: add -Dusestubs.
29788
29789 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29790
29791 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
29792 instead of just @.
29793
29794 * gdb.base/signals.exp: Add test for "handle all print".
29795 * TODO: Remove "handle all print". Also remove item about
29796 checking copyright date (I don't like the idea of a spurious FAIL
29797 based on when we run the tests).
29798
29799 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
29800 for SunOS4 (reason for failure not investigated). Remove
29801 redundant test for $binfile.
29802
29803 * gdb.base/nodebug.c (array_index): Call malloc.
29804
29805 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
29806
29807 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
29808
29809 * gdb.base/recurse.exp: Update gdb_test invocation to use new
29810 conventions and slightly simplify the matching regexp.
29811
29812 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29813
29814 * gdb.base/break.exp: Update gdb_test invocation to use new
29815 convention.
29816
29817 * lib/gdb.exp: If noargs is not set, set it to 0.
29818
29819 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
29820 tests unique.
29821
29822 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
29823
29824 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29825
29826 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
29827 one argument of type "<non-float parameter>".
29828
29829 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
29830
29831 * config/rom68k.exp: New file to support Motorola IDP board.
29832 * gdb.base/a2-run.exp: Skip this file if noargs is set.
29833 * gdb.base/break.c: Change things around so that this program
29834 doesn't depend upon args. This is necessary to make remote
29835 targets work (in general, they can't take args).
29836 * gdb.base/break.exp: Don't try to send args to program. Don't
29837 expect output. Also, replace lots of code with gdb_test.
29838
29839 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29840
29841 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29842 printing of '\'' (which is what the comment says we are testing,
29843 even though we were not), not '''.
29844 (test_integer_literals_rejected): Test that printing ''' is an error.
29845
29846 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29847 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29848 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29849 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29850 Use gdb_test not test_print_accept.
29851 * lib/gdb.exp: Remove test_print_accept.
29852
29853 * gdb.base/signals.exp (signal_tests_1): Make pass message
29854 consistent with fail message.
29855
29856 * gdb.base/whatis.exp: Remove xfails for printing char vs.
29857 unsigned char; the bug (PR 1821) is fixed.
29858
29859 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29860
29861 * gdb.base/scope.exp (test_at_localscopes): Call pass for
29862 successful tests--makes xfailing them work right.
29863
29864 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29865
29866 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29867 only \r\n, not .*. The test can pass .* as the last thing in
29868 $pattern if that is what it wants. In addition to providing this
29869 flexibility, this change should speed up pattern matching in cases
29870 where the pattern already ended with .* (there were a number of
29871 them). This change also helps catch bad patterns--in the old
29872 scheme the typo "char \*" instead of "char \\*" would pass. Now
29873 it is caught.
29874 * Many .exp files: Update callers.
29875
29876 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
29877 clearer and does not spuriously match multiple ('s. Likewise for
29878 ) and *.
29879
29880 * gdb.base/nodebug.exp: Test ability to call a function and pass
29881 it a string (even with no debugging info).
29882
29883 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29884 "p '\'", which is the same as "p ''" once tcl gets done with
29885 quoting, to "p '\\'", which I suspect is what is intended (one
29886 backslash gets sent to GDB).
29887
29888 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29889
29890 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29891
29892 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
29893 1817) was fixed literally years ago.
29894
29895 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29896
29897 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
29898 test, it causes stepping out of call_after_alloca_subr with
29899 optimizing compilers.
29900 (localvars_in_indirect_call): Consume GDB prompt if `finish'
29901 fails.
29902
29903 * gdb.c++/templates.exp: Source templ-info.exp only if
29904 the templates executable exists.
29905
29906 * gdb.c++/misc.cc (class Contains_static_instance,
29907 class Contains_nested_static_instance),
29908 gdb.c++/classes.exp (test_static_members): Test printing of
29909 a class that contains a static instance of the class.
29910
29911 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29912
29913 * gdb.base/langs2.c (cppsub_): Don't prototype.
29914 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29915 only, I believe).
29916
29917 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29918
29919 * lib/gdb.exp (skip_chill_tests): New procedure.
29920
29921 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29922
29923 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
29924
29925 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29926 each expect pattern. Cuts runtime from 12 to about 4 seconds.
29927
29928 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29929
29930 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29931
29932 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29933 disassemble 8, not 16, instructions for part 4.
29934
29935 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
29936 support the latter anymore.
29937
29938 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29939 -DNO_PROTOTYPES.
29940 * gdb.base/callfuncs.c: Control use of prototypes based on
29941 NO_PROTOTYPES, not __STDC__.
29942 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29943 t_float_values2 tests if prototypes in use.
29944
29945 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29946 t_double_values): When checking differences against DELTA, check
29947 that difference is within the range (-DELTA,DELTA), not just
29948 (-infinity,DELTA).
29949
29950 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
29951
29952 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29953 'file' command firts, then 'target', then 'load', this is due to gdb
29954 target set up.
29955 * config/mips-gdb.exp: Fix a couple regular exp bugs.
29956
29957 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
29958
29959 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29960 FP load/store variants.
29961 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29962
29963 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29964
29965 * gdb.base/term.exp: Do not give a warning if not native, it is
29966 not an abnormal condition.
29967
29968 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
29969
29970 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29971 t_char_array".
29972
29973 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29974
29975 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29976 are getting the version number.
29977
29978 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29979 if not native, it is not an abnormal condition.
29980
29981 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29982
29983 * lib/gdb.exp: Just use "file exists", rather than undocumented
29984 dejagnu procedure "findfile".
29985
29986 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29987
29988 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29989 (LDFLAGS): Set to -Xlinker -Ur.
29990
29991 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29992 Removed, these values are set by lib/gdb.exp.
29993
29994 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29995
29996 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29997
29998 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29999 of replicating gdb startup code.
30000
30001 * config/mt-vxworks (LDFLAGS): Set to -r.
30002 (CFLAGS_FOR_TARGET): Removed.
30003
30004 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
30005 (gdb) and gdb for vxworks uses (vxgdb).
30006
30007 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
30008 executable is not in the tree and host != target, use sed and
30009 program_transform_name to determine the gdb name used by the
30010 target.
30011
30012 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
30013 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
30014
30015 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30016
30017 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
30018 floats, chars, and shorts where there are ANSI-style function
30019 definitions.
30020
30021 * gdb.base/langs.exp, gdb.base/langs*: New test.
30022 * gdb.base/Makefile.in: Build it.
30023 * TODO: Remove item about checking that C names don't get C++
30024 demangling applied; this test tests it.
30025
30026 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30027
30028 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
30029 went with the const70 xfail. The xfail went away a year ago.
30030
30031 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
30032
30033 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
30034 for hp300.
30035
30036 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
30037
30038 * gdb.base/a1-selftest.exp: Don't run on hp300.
30039
30040 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30041
30042 * Makefile.in (site.exp): Set host_alias and target_alias as well
30043 as host_triplet and target_triplet.
30044
30045 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30046
30047 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
30048
30049 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
30050 places as other ecoff systems).
30051
30052 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
30053 ultrix.
30054
30055 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30056
30057 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
30058 remove them.
30059 * gdb.base/nodebug.exp: Accept "function" in addition to "text
30060 variable and "variable" in addition to "data variable".
30061 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
30062
30063 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
30064 2.
30065 * gdb.base/list1.c (long_line): Add additional statement at start
30066 of function.
30067 * gdb.base/list.exp (test_forward_search): Update line number to
30068 reflect new statement.
30069
30070 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30071
30072 * gdb.base/signals.exp: Reinitialize searched source directories
30073 after gdb_start call.
30074
30075 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
30076
30077 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30078 * gdb.stabs/Makefile.in: Likewise.
30079
30080 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30081 change. Instead split the tests into smaller pieces.
30082 * gdb.disasm/hppa.s: Corresponding changes.
30083
30084 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30085
30086 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30087 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30088
30089 * gdb.base/funcargs.exp: Modify many tests so that every test
30090 either passes or fails. Make some test names unique.
30091
30092 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30093
30094 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30095 Call stty to set interrupt character.
30096
30097 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30098 for HP assembler versus GNU assembler based on actual behavior of
30099 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30100
30101 * TODO: Suggest a few more stepping tests.
30102
30103 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30104
30105 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30106 restart GDB for h8300 after a continue.
30107 (return): Add pattern to match a29k-udi behavior.
30108 * gdb.base/nodebug.exp: Remove obsolete comment.
30109 * gdb.base/regs.exp: New file, testing of register displays.
30110 * gdb.base/return.exp: Fix typo in reference to $objdir.
30111 * gdb.base/whatis.exp: Always start with a fresh GDB.
30112
30113 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30114
30115 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30116 higher, these tests generate a lot of output.
30117
30118 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30119
30120 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30121 code following the catch silently ignored some errors; without the
30122 catch they should be thrown like any other tcl error. Also, the
30123 catch used "" instead of {} which meant all the callers who wanted
30124 to include one of the characters "[]$ had to quote it an extra time.
30125 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30126 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30127 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30128 Remove extra quoting.
30129
30130 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30131
30132 * gdb.base/commands.exp: Make test names unique; every test either
30133 passes or fails. Update some comments.
30134
30135 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30136
30137 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30138
30139 The following fixes a FAIL caused by the fact that the alpha stabs
30140 configuration didn't use the ".if alpha" code in weird.def.
30141 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30142 bit pointer, so the 32 bit version works even on the alpha.
30143 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30144 Remove the stuff which allowed us to have separate versions for
30145 alpha and everything else.
30146
30147 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30148 regexp which "info func operator\[\](" is supposed to match. Fix
30149 string to send to GDB. Note that GDB still doesn't work right. Add a
30150 new test for "info func .perator\[\](" which GDB does handle correctly.
30151
30152 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30153
30154 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30155
30156 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30157 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30158 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30159 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30160 it makes the tests harder to understand and confuses test-o-matic.
30161 The preferred style is that each test provides a PASS or a FAIL,
30162 and has a unique message (e.g. "continue #54" not just "continue")
30163 which is the same for the pass and the fail.
30164 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30165 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30166 to lib/gdb.exp.
30167 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30168 prt_accept which was basically the same thing. Likewise for
30169 test_print_reject and prt_reject.
30170 * lib/gdb.exp (test_print_reject): Add some more error message
30171 patterns to match from the former printcmds.exp (prt_reject).
30172 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30173 One defect of the passcount stuff is that some of it failed to
30174 report XPASS where appropriate.
30175 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30176 stuff before and after arg in expected pattern.
30177 (test_paddr_operator_functions): Re-do test without print_addr_of;
30178 this is the only test which seems to want extra stuff there.
30179
30180 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30181
30182 * gdb.base/nodebug.exp: Update new tests to reflect improved
30183 wording of gdb output.
30184
30185 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30186 and "ptype" work on variables in files compiled without -g.
30187 Replaces commented out "maint print msymbol" tests.
30188
30189 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30190
30191 * gdb.base/setvar.c (dummy): Call malloc.
30192
30193 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30194 losing with the irix4 sed.
30195
30196 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30197 ALRM" on irix4.
30198
30199 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30200
30201 * TODO: Remove items about corefile.exp testing new exec-file and
30202 backtrace; both are now done. Add items about printing enums.
30203
30204 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30205
30206 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30207 "get signal $thissig" test fails.
30208
30209 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30210
30211 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30212
30213 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30214 compiler warning with dec alpha compiler.
30215
30216 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30217 extra \n from gdb_test call (this explains why the prompt test
30218 that I removed yesterday was there).
30219 (user_defined_command_test): Remove extra \n and prompt test.
30220
30221 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30222 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30223 doesn't exist.
30224 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30225 Also remove alpha workaround, which turns out to be because
30226 SIGABRT == SIGLOST.
30227
30228 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30229
30230 * gdb.base/help.exp: Don't test "help show".
30231
30232 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30233
30234 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30235 "set print address" is on.
30236 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30237 pass prompt to gdb_test; gdb_test already looks for the prompt.
30238
30239 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30240
30241 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30242 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30243 was to make sure that gdb can read a core file. But (a) the "read
30244 the corefile" part didn't make it to a1-selftest.exp, we just
30245 delete the corefile after creating it, and (b) we test reading
30246 corefiles in corefile.exp anyway. Also, this test left around a
30247 xgdb process on Solaris.
30248
30249 * gdb.base/corefile.exp: Also test backtrace.
30250
30251 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30252
30253 * gdb.base/commands.exp: Test a simple user defined command with
30254 arguments and if/while statements; verify the full user command is
30255 printed by "show user".
30256
30257 * gdb.base/commands.exp: Test if/while commands as part of a
30258 breakpoint command list; verify they appear in breakpoint
30259 information.
30260
30261 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30262
30263 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30264 than by dividing by zero.
30265
30266 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30267
30268 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30269 performing an inferior call with watchpoints enabled.
30270 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30271 call.
30272
30273 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30274
30275 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30276 of "file" command.
30277
30278 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30279 Add additional pattern for when "int operator int(void);" appears
30280 in a different order.
30281
30282 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30283
30284 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30285
30286 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30287 and "signal" with ".*".
30288
30289 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30290
30291 * TODO: Add note about "handle all nostop".
30292
30293 * gdb.base/{sigall.c, sigall.exp}: New test.
30294 * gdb.base/Makefile.in: Add it.
30295
30296 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30297
30298 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30299 when invoking GDB, suppresses any windowing interface.
30300
30301 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30302
30303 * config/sim-gdb: New file, simulator testing support.
30304
30305 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30306
30307 * gdb.base/interrupt.exp: Test calling func1 twice.
30308
30309 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30310
30311 * gdb.base/list.exp (test_forward_search): Set timeout higher
30312 when we'll be getting lots of output from gdb.
30313
30314 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30315 "init_malloc" to after the expect statement. Run it if that
30316 regexp is taken, but also for two others which happen if source
30317 cannot be found.
30318
30319 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30320
30321 * gdb.base/printcmds.exp: New test, for printing register before
30322 program is running.
30323
30324 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30325
30326 * gdb.base/list.exp: Correct some alternate expect patterns
30327 to reflect changes in list1.c.
30328
30329 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30330
30331 * TODO: Add item regarding large frames.
30332
30333 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30334
30335 * TODO: Remove item about enabling return.exp; it
30336 is enabled. Suggest a few more "return" tests.
30337
30338 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30339
30340 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30341 anonymous unions.
30342
30343 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30344
30345 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30346 and pr-5646.o, so "make" is the same as "make all", not "make
30347 pr-4975.o".
30348
30349 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30350
30351 * gdb.base/list.exp: Adjust expectations to reflect changes in
30352 list1.c.
30353 (test_forward_search): New test proc.
30354 * gdb.base/list1.c (long_line): New function, has long source line.
30355
30356 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30357
30358 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30359 additional line of code that was added.
30360
30361 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30362
30363 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30364 tests so as not to overflow expect's input buffers.
30365 * gdb.disasm/hppa.exp: Corresponding changes.
30366
30367 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30368
30369 Beginnings of template debugging tests.
30370 * gdb.c++/templ-info.cc: New file to test for template
30371 debugging capability of the compiler.
30372 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30373 templ-info.cc.
30374 * gdb.c++/templates.cc: Add explicit template instantiations
30375 to enable compiling with -fno-implicit-templates. Add destructor
30376 and 'value' method to T5 class for template tests.
30377 * gdb.c++/templates.exp: Add testcases for printing of template
30378 types, setting breakpoints on template methods and calling a
30379 template method.
30380
30381 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30382
30383 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30384 branch target since some assemblers (gas-2.5) may emit a
30385 relocation for the branch instead of resolving it in the
30386 assembler.
30387
30388 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30389
30390 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30391 through signal handler.
30392
30393 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30394
30395 * configure.in (*-*-netware): Use config/mt-netware.
30396
30397 * config/mt-netware: New file.
30398 * config/mt-i386-netware: Removed, separate configs for different
30399 netware architectures are no longer needed now that we have
30400 --with-headers.
30401
30402 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30403
30404 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30405 by the recent changes to use ANSI C arithmetic conversions.
30406
30407 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30408
30409 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30410 bug involving using inferior_pid to figure out whether to select a
30411 frame.
30412
30413 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30414
30415 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30416 match the current disassembler output.
30417
30418 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30419
30420 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30421 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30422 types, expect "int" as type of integer values (for now).
30423
30424 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30425
30426 * gdb.base/commands.exp: New tests for if/while commands.
30427
30428 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30429
30430 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30431 by .*, since hex values have different syntax in Chill mode.
30432
30433 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30434
30435 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30436 linefeed from expect pattern for repeated types with indices > 9.
30437
30438 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30439
30440 First part of Fortran test suite.
30441 * gdb.fortran: New directory.
30442 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30443
30444 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30445
30446 * gdb.base/default.exp: Update expect pattern for load command
30447 without arguments.
30448
30449 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
30450
30451 * configure.in: Change i386 to i[345]86.
30452 * gdb.base/configure.in: Likewise.
30453 * gdb.c++/configure.in: Likewise.
30454 * gdb.chill/configure.in: Likewise.
30455
30456 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
30457
30458 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30459 patterns, since that is not a valid context for comments.
30460
30461 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
30462
30463 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30464 repeated types and repeated types with indices > 9.
30465
30466 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
30467
30468 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30469 2417; old bug has been fixed.
30470
30471 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
30472
30473 * gdb.base/interrupt.exp: When trying to wake up the inferior,
30474 send the newline ourselves instead of assuming gdb_test will do
30475 so when passed an empty input string.
30476
30477 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30478 stabs testcode.
30479
30480 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30481
30482 * lib/gdb.exp (gdb_test): Don't send anything if the first
30483 argument is an empty string. This makes cases where we want to
30484 match output that is already in expect's buffers (for example,
30485 matching a breakpoint after gdb_run_cmd has been called) work
30486 reliably.
30487
30488 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30489
30490 * config/netware.exp: New file.
30491
30492 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30493
30494 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30495 the -B and -L prefixes so we can find the debugging stub.
30496
30497 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30498 there and we are using the gcc from the tree.
30499
30500 * gdb.base/types.c: Removed.
30501
30502 * gdb.base/configure.in: Look for makefile fragments in ../config.
30503 Recognize i386-*-netware.
30504 * gdb.c++/configure.in: Likewise.
30505
30506 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30507
30508 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
30509 the correct TCL syntax.
30510
30511 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30512
30513 * gdb.base/opaque.exp: use runto instead of messing around with
30514 breakpoints. Simplify by using gdb_test.
30515
30516 * gdb.base/bitfields.exp: restart between tests on netware targets
30517 because breakpoints aren't relocated after target death. Run
30518 processes to completion.
30519
30520 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30521
30522 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
30523
30524 * Makefile.in: Remove extra tabs that confuse some versions
30525 of "make". Use the newly built gdb to test with by default,
30526 rather than the first one in the tester's search path.
30527
30528 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
30529
30530 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30531
30532 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30533 condition help.
30534
30535 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30536
30537 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30538
30539 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30540 running.
30541 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30542 * gdb.base/funcargs.exp: Likewise.
30543
30544 * gdb.base/bitfields.exp: Simplify by using gdb_test.
30545 * gdb.base/funcargs.exp: Likewise.
30546
30547 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30548 message is "".
30549
30550 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30551
30552 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30553 return,signals,twice}.exp: Handle non-existant binaries
30554 consistantly.
30555
30556 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30557 * gdb.base/Makefile.in: Don't try to generate a core dump, we
30558 might testing a cross development system.
30559
30560 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30561
30562 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30563 runtest script is relative to ${srcdir}, not ${rootdir}.
30564
30565 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
30566
30567 * gdb.base/signals.exp: Allow for optionality of breakpoint
30568 address.
30569
30570 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30571
30572 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30573
30574 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30575
30576 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30577 for size_t definition.
30578 * gdb.c++/templates.cc: Likewise
30579
30580 * config/mt-i386-netware: New file.
30581
30582 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30583 defined.
30584
30585 * gdb.base/Makefile.in: Added support for systems that name core
30586 files by appending "core" to the program name.
30587 * gdb.base/a1-selftest.exp: Likewise.
30588
30589 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30590
30591 * gdb.base/return.exp: Add comment and message for `return double'
30592 test failure on Sparc Solaris.
30593
30594 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
30595
30596 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30597
30598 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30599
30600 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
30601 from optimizing them away.
30602 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
30603 patterns to include default constructors and assignment operators,
30604 to match gcc versions beyond 2.5.8. Accept any cplus demangling
30605 character in the output of the virtual base pointer.
30606
30607 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30608
30609 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
30610 expression match in print_addr_of to avoid unintented matches.
30611 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
30612 versions up to 2.5.8.
30613
30614 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30615
30616 * gdb.base/list.exp: Tweak alternate pattern for listing of an
30617 included file to run under newer versions of expect.
30618 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
30619 consecutive >'s in templates to accomodate recent cplus-dem.c change.
30620 Remove xfail for the virtual table of BDDHookV.
30621
30622 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
30623
30624 * lib/gdb.exp (string_to_regexp): Set a default result.
30625 (default_gdb_start): Fix misleading message.
30626
30627 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
30628
30629 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
30630 Remove all CC, etc definitions.
30631 * config/mt-hpux: New file.
30632 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
30633 (CFLAGS, LDFLAGS): Define.
30634 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
30635
30636 * Makefile.in (site.exp): Don't insert host_os, etc.
30637 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
30638 (distclean): Check existence of subdir.
30639 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
30640 * gdb.base/Makefile.in: General cleanup and simplification.
30641 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30642 to build executables. Use default rule to build .o files.
30643 (EXPECT, RUNTEST, CC): Fix relative pathname.
30644 (site.exp): Don't insert host_os, etc.
30645 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
30646 and/or SIGUSR1 defined.
30647 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
30648 * gdb.c++/Makefile.in: General cleanup and simplification.
30649 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30650 (CFLAGS): Remove.
30651 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
30652
30653 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
30654
30655 * gdb.base/recurse.exp: Misc changes to get tests running again
30656 after Kung's changes to the watchpoint code.
30657 * gdb.base/watchpoint.exp: Likewise.
30658
30659 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
30660
30661 * lib/gdb.exp (string_to_regexp): Convert {\} also.
30662
30663 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
30664
30665 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
30666 * lib/gdb.exp (default_gdb_start): Define.
30667 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
30668 gdb.base/funcargs.exp, gdb.base/opaque.exp,
30669 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
30670 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
30671 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
30672 Don't call gdb_target_udi in between tests.
30673
30674 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30675
30676 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
30677 (which was basically just a local version of the same thing). In
30678 addition to avoiding duplication, gdb_test_exact is faster.
30679 * lib/gdb.exp (gdb_test_exact): Fix typo.
30680
30681 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
30682 don't give an error.
30683
30684 * gdb.base/term.exp: Call delete_breakpoints before starting.
30685
30686 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
30687 (t10): Add comment.
30688
30689 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30690
30691 Reorganization of the GDB Test Suite.
30692
30693 * gdb.base: New directory, contains all the basic tests.
30694 * gdb.c++: New directory, tests specific to C++.
30695 * gdb.chill: New directory, tests specific to Chill.
30696 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
30697 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
30698 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
30699 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
30700 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
30701 t30-31 to chill).
30702 * */gdbme.*: Rename to match appropriate expect scripts.
30703 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
30704 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
30705 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
30706 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
30707 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
30708 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
30709 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
30710 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
30711 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
30712 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
30713 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
30714 gdb.c++/virtfunc.cc: New names of C++ files.
30715 * gdb.chill/chillvars.ch: New name of Chill file.
30716 * gdb.base/configure.in, gdb.c++/configure.in,
30717 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
30718 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
30719 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
30720 * configure.in (configdirs): Update to reflect directory changes.
30721 (target_abbrev): No longer define for any configuration.
30722 * Makefile.in: Cosmetic improvements to header comments.
30723
30724 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
30725
30726 Various changes to gdb.t31:
30727
30728 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
30729 * gdbme.ch: Make all key-words and predefineds be upper-case.
30730 * chillvars.exp: Expect key-words and predefinds in upper-case.
30731
30732 * chillvars.exp: Use gdb_test_exact many places.
30733 Change expected output for arrays (which now includes index labels).
30734
30735 * pr-5020.exp, gdme.ch (module PR_5020):
30736 New test, for PR-5020.
30737
30738 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
30739
30740 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
30741 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
30742
30743 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
30744
30745 * Makefile.in: Fix bit-rot in definitions of CHILL,
30746 CHILL_FOR_TARGET and Chill_LIB.
30747 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
30748 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
30749 CHILL, and CHILL_LIB.
30750
30751 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
30752
30753 * Revert the previous changes. Please see Rob's directory
30754 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
30755
30756 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
30757
30758 * Makefile.in, configure.in, config/mips-gdb.exp,
30759 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
30760 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
30761 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
30762 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
30763 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
30764 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
30765 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
30766 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
30767 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
30768 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
30769 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
30770 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
30771 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
30772 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
30773 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
30774 changes from 94Q1.
30775
30776 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
30777
30778 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
30779 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
30780 Rob's new testing fragments.
30781
30782 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
30783
30784 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
30785 lib/gdb.exp: Replace error proc calls with perror.
30786
30787 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30788
30789 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
30790 version also, match on casted version strings, and match on
30791 gdb startup case where the line numbers might be messed up.
30792
30793 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
30794
30795 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
30796 (CFLAGS): Delete it from here.
30797
30798 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
30799
30800 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
30801
30802 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
30803
30804 * Makefile.in (RUNTEST): Default to just "runtest".
30805
30806 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30807
30808 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
30809 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
30810 the code has been restructured.
30811
30812 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30813
30814 * gdb.t00/default.exp (set write): Allow any number of \r and/or
30815 \n, not just one of each.
30816
30817 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
30818 /bin/cc gives a warning if you do.
30819
30820 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
30821
30822 * gdb.t24/demangle.exp: change expect pattern of
30823 __t10ListS_link1ZUiRCUiPT0
30824
30825 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30826
30827 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
30828 on local variables in recursive functions.
30829
30830 * gdb.t07/Makefile.in: Build the new test.
30831
30832 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30833
30834 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
30835 directly. Instead compare the return values from actual calls.
30836
30837 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
30838
30839 * Makefile.in (check): Set TCL_LIBRARY for runtest.
30840
30841 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30842
30843 * From Peter Schauer with minor modifications.
30844 * gdb.t15/return.exp (return_tests): Handle targets where "return"
30845 stops in mid-line in the caller. Add xfail for returning a float
30846 value on X86 targets.
30847
30848 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30849
30850 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30851 to avoid expect lossage.
30852 (fmem_LRbug_tests): Likewise.
30853 * gdb.disasm/hppa.s: Corresponding changes.
30854
30855 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30856 conditions to work with latest dejagnu/expect.
30857
30858 * gdb.t15/funcargs.exp (finish from indirect call): No longer
30859 expected to fail on the PA.
30860 (backtrace in call with trampolines): Explicitly require main
30861 to be frame #1 (no trampolines should show up in backtrace).
30862
30863 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30864 "continue -expect".
30865 * gdb.t06/break.exp: Likewise.
30866 * gdb.t07/watchpoint.exp: Likewise.
30867 * gdb.t13/bitfields.exp: Likewise.
30868 * gdb.t15/{funcargs,return}.exp: Likewise.
30869 * gdb.stabs/weird.exp: Likewise.
30870 * config/{mips,udi}-gdb.exp: Likewise.
30871
30872 * hppa.sed: Enclose comments within a sed command to avoid
30873 losing with the old OSF1 sed.
30874
30875 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30876
30877 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
30878 sequent dynix.
30879 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
30880 * gdb.t15/funcargs.exp: Conditionally step again to really
30881 finish from marker_call_with_trampolines. Handle the case where
30882 the first step from within call_with_trampolines already steps
30883 us back to main.
30884 * gdb.t15/gdbme.c: Add comment to closing brace of
30885 call_with_trampolines for funcargs.exp.
30886
30887 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30888
30889 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30890 Fix typo(s).
30891
30892 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30893
30894 * gdb.t07/gdbme.c: More code for watchpoint testing.
30895
30896 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30897 "Hardware watchpoint" throughout file.
30898 (test_watchpoint_triggered_in_syscall): New test.
30899 (test_complex_watchpoint): New test.
30900
30901 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30902
30903 * gdbme.c (call_with_trampolines): New function to try and step
30904 into. Tests trampoline problems on the PA.
30905
30906 * funcargs.exp (localvars_in_indirect_call): No longer expect
30907 stepping into indirect call to fail on PAs.
30908 (test_stepping_over_trampolines): New test.
30909
30910 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30911
30912 * TODO: Add suggestions for static member function tests, and
30913 completion tests.
30914
30915 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30916
30917 * TODO: Add suggestions for "p/a" tests.
30918
30919 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30920 (default_gdb_exit): Replace all the hair with sending "quit" to
30921 the process with a simple close.
30922
30923 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30924
30925 * TODO: Add suggestions for shared library tests.
30926
30927 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30928
30929 * TODO: Add suggestions for x/s tests.
30930
30931 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30932
30933 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30934 "enable once", and "enable breakpoints once" with ".*".
30935
30936 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30937
30938 * TODO: Add suggestions about structure passing tests.
30939
30940 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30941
30942 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
30943 the primary1 test, use work around if __GNUC__ < 2.
30944 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
30945 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
30946 Test for bad output rather than waiting for timeout. Issue
30947 second continue only if first continue failed.
30948
30949 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30950
30951 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30952 operator[] test with gdb_test because the old code didn't seem to
30953 be getting the quoting right with the new dejagnu.
30954
30955 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
30956
30957 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30958 one from the path.
30959 * Makefile.in: Use a fresh expect if there is one, use runtest
30960 from the src tree if there is one.
30961
30962 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30963
30964 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30965 next over recursive call. Revise the tests from that point on
30966 (which had been skipped) to match GDB's actual (correct) output.
30967
30968 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30969 with next over a breakpoint whose condition is false.
30970
30971 * gdb.t00/help.exp: Comment out "help set print" tests just like
30972 (and for same reason as) "help set" test.
30973
30974 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30975
30976 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30977 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30978
30979 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30980
30981 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30982 necessary gdb_target_udi.
30983
30984 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30985
30986 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30987 1838 and 2417; they are fixed.
30988
30989 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30990 gdb.t03/ptype.exp (ptype structure, ptype union):
30991 Remove xfails; the test is looser than when the xfails were added.
30992
30993 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30994 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30995
30996 * gdb.t01/run.exp: Only run shell test if isnative.
30997
30998 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30999 since "run" automatically loads if necessary. Call gdb_target_udi
31000 after the "file" since "file" kills any execution target.
31001
31002 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
31003 GDB. GDB doesn't work that way (not anymore at least) on UDI.
31004 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
31005 argument for UDI.
31006
31007 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
31008
31009 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
31010
31011 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
31012
31013 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31014
31015 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
31016 properly quoting regexps. This makes the second argument to
31017 demangle a fixed string, which matches the callers, instead of a
31018 shell-style pattern which is what the previous implementation
31019 used. Update some of the callers.
31020
31021 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31022
31023 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
31024 (comib_nullified_tests): Fix typo.
31025 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
31026 strings. No longer expected to fail.
31027
31028 * gdb.disasm/hppa.s (addib_tests): Fix typo.
31029 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
31030 strings. No longer expected to fail.
31031
31032 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
31033 string. No longer expected to fail.
31034
31035 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31036
31037 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
31038 No longer expected to fail.
31039
31040 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
31041 string. No longer expected to fail.
31042
31043 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31044
31045 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
31046 only in the names (I probably got most of them). I was even
31047 generous with some which differed in underscores in names, and
31048 probably missed a few, and I *still* was able to remove almost a
31049 third of the file with almost no impact on testsuite coverage.
31050
31051 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31052
31053 * gdb.t00/default.exp: Match udi_attach error message as well as
31054 the one from child_attach.
31055
31056 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
31057
31058 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
31059
31060 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
31061 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
31062
31063 * Move test with enums and partial symbols back to
31064 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
31065 Reverts the change of 26 May 93. Per today's change to
31066 stabs.texinfo, the behavior that weird.exp was expecting was
31067 unreasonable; what is important is that the compiler+gdb get
31068 things right, which happens with a recent gcc. Also fix the test
31069 to deal with native compilers which put out the stab gdb can't
31070 deal with.
31071
31072 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31073
31074 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31075 in the names. The main thing these accomplish is to slow things down.
31076 Many more such duplicates surely remain.
31077
31078 * gdb.t00/help.exp: Comment out "help support" test just like
31079 (and for same reason as) "help set" test.
31080
31081 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31082
31083 * gdb.t06/break.exp: Remove setup_xfails for
31084 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31085 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31086 about known bug in gcc to include up through 2.5.8.
31087 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31088 well as "_vb$".
31089 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31090 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31091 with latest gcc and gdb.
31092 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31093 well as "_vb$".
31094
31095 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31096
31097 * configure.in (hppa*-*-*): Also configure and build stabs-only
31098 tests.
31099
31100 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31101
31102 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31103 * gdb.t10/configure.in (hppa*-*-*): Use it.
31104
31105 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31106
31107 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31108
31109 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31110
31111 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31112 versions prior to 1.13.5.
31113
31114 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31115
31116 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31117 the prompt is at the start of a line.
31118
31119 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31120
31121 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31122 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31123 in the copr tests now.
31124 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31125 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31126 expected to fail.
31127
31128 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31129
31130 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31131 gdb.t31/chillvars.exp, lib/gdb.exp:
31132 Tweak to run under either version of expect.
31133 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31134 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31135 * gdb.t11/list.exp: Remove extraneous whitespace.
31136
31137 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31138
31139 * gdb.t16/printcmds.exp (test_print_strings): Accept
31140 "(unsigned char *) " before the string.
31141
31142 * TODO: Add notes about printing of fancy types and GDB expressions.
31143
31144 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31145
31146 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31147 * gdb.t06/configure.in: Don't try to compile signals test program
31148 if doing mips-idt-ecoff.
31149
31150 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31151
31152 * Most .exp files: Tweak to run under either version of expect.
31153
31154 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31155
31156 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31157 xfails; I'm not sure why they are failing, but not because of PR 1806.
31158
31159 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31160
31161 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31162 defined in lib/gdb.exp.
31163
31164 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31165
31166 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31167 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31168 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31169 have to be typeless.
31170
31171 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31172
31173 * TODO: Add suggestion for copyright year test.
31174
31175 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31176
31177 * configure.in (*-*-lynxos*): Add stabs tests.
31178
31179 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31180
31181 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31182 so insert a tab before any assembler directive in column zero.
31183
31184 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31185 stores.
31186 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31187 stores.
31188 (fpu_short_memory_tests): Likewise.
31189
31190 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31191
31192 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31193 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31194 .stabs directives in comments.
31195
31196 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31197
31198 * TODO: New file, describing tests we could write.
31199 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31200
31201 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31202
31203 * gdb.t06/signals.exp: Add kludge to force re-sync.
31204
31205 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31206 to xgdb instead of gdb, get out of gdb.
31207
31208 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31209
31210 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31211 for info.
31212
31213 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31214
31215 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31216 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31217 * gdb.stabs/hppa.sed: New sed script for the PA.
31218
31219 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31220
31221 * gdb.stabs: Re-write weird.def and configuration to use sed
31222 instead of cpp. sed is portable and POSIX; cpp is neither.
31223
31224 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31225
31226 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31227
31228 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31229
31230 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31231
31232 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31233
31234 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31235 "_vb$".
31236 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31237 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31238
31239 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31240
31241 * lib/gdb.exp: Comment out code which depends on non-existent
31242 `transform' procedure.
31243
31244 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31245
31246 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31247 * lib/gdb.exp: Transform tool name.
31248 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31249 1.1's new error handling system.
31250
31251 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31252
31253 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31254
31255 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31256
31257 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31258 They made pattern matching so slow that timeouts happened on
31259 heavily loaded systems. Now any output from "show print" which
31260 gets us back to the GDB prompt is a PASS.
31261
31262 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31263
31264 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31265
31266 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31267
31268 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31269
31270 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31271 It is not from PR 3220.
31272
31273 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31274
31275 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31276 just started failing because they depended on the order the
31277 subcommands are presented, or exact docstring text. This kind of
31278 test is a pain and has minimal benefit.
31279
31280 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31281
31282 * gdb.t09/corefile.exp: At end of test, use "core" command with
31283 no arguments.
31284
31285 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31286
31287 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31288 17}/Makefile.in: Make it possible to run the testsuite with Sun
31289 make and CC = cross gcc by adding explicit build rules for .o
31290 files.
31291
31292 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31293
31294 * gdb.t15/funcargs.exp: Don't put comments on same line as
31295 setup_xfail (@#$*%& tcl braindamage!).
31296
31297 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31298
31299 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31300
31301 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31302
31303 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31304 * gdb.t20/inherit.exp: remove three dumplicate entries.
31305
31306 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31307
31308 * gdb.t06/break.exp: For "next over recursive call", fail on any
31309 incorrect output, not just on "factorial (value=2)".
31310
31311 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31312
31313 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31314 working now. Add an xfail if accesing a bss variable causes
31315 a memory error if the target is not yet run.
31316
31317 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31318
31319 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31320 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31321 name of __st* demangling (2 strings). Did Kung really get the
31322 more than 95 others right without testing them?
31323
31324 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31325
31326 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31327
31328 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31329
31330 * configure.in (configdirs): Add gdb.disasm
31331 * gdb.disasm: New directory for GDB disassembler tests.
31332 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31333
31334 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31335
31336 * gdb.t00/help.exp: Don't test "help set".
31337
31338 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31339 from within expect statements. None of these happen anymore and
31340 they cause regressions to be silently unnoticed.
31341
31342 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31343 messages) about known failures with gcc cygnus-2.4.5-930417.
31344
31345 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31346 comp-info.exp so it gets built if it doesn't exist.
31347
31348 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31349 it is no longer used.
31350 * gdb.t13/comp-info.c: Removed.
31351
31352 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31353
31354 * gdb.t06/signals.exp: Add xfail for sun3.
31355
31356 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31357
31358 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31359 relevant because ^C doesn't get sent but failure can be reproduced
31360 interactively).
31361
31362 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31363
31364 * gdb.stabs/alpha.mt: New configuration file for alpha.
31365 * gdb.stabs/configure.in: Use it.
31366 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31367 sharing with alpha.mt, redefine long to word via preprocessor.
31368 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31369 for alpha.
31370 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31371 native cc.
31372 * gdb.t00/teststrategy.exp: Change expect string so that we
31373 consume the `(xgdb)' from the command echo and from the gdb prompt.
31374 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31375 gdb currently compares all values as long, so this failure probably
31376 applies to any configuration where LONGEST is bigger than a target int.
31377 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31378 with gcc.
31379 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31380 to handle opaque pointers, gcc is.
31381 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31382 as first argument. Include <sys/types.h> and change all operator
31383 new definitions to use size_t.
31384 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31385 now that we use size_t.
31386
31387 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31388
31389 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
31390 a long or float array cast all array members to the same type.
31391 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
31392 with 64 bit longs.
31393 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
31394 on alpha.
31395 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
31396
31397 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31398
31399 * gdb.t24 (demangle.exp): Constructors of templates have names like
31400 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31401 section 14.6 of the ARM.
31402
31403 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31404 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31405 accomplish little and slow down the testsuite.
31406
31407 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31408 Accept spaces various places.
31409
31410 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31411
31412 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31413 with watchpoint enabled.
31414
31415 * Makefile.in: Remove definition of CC and remove the second
31416 definition of CXX (the "CXX = gcc" one remains). These definitions
31417 were causing backquotes to be expanded within backquotes, which
31418 doesn't work.
31419
31420 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31421
31422 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31423
31424 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31425
31426 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31427 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
31428 by mips cc and contains no stabs entries.
31429
31430 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31431
31432 * config/vx-gdb.exp: Use fake device to load files rather than
31433 NFS.
31434 * lib/gdb.exp: New proc to do "file" command.
31435 * config/unix-gdb.exp: Use new "file" proc.
31436
31437 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31438
31439 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31440 Rework board rebooting slightly.
31441 (gdb_exit): Don't exit from the remote shell; there isn't one.
31442 * gdb.stabs/weird.exp: If a program is being debugged already,
31443 kill it.
31444 * gdb.t04/setvar.exp: Stop and restart gdb.
31445 * gdb.t05/expr.exp: Likewise.
31446 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31447 restart gdb and reload the program.
31448 * gdb.t08/opaque.exp: Likewise.
31449 * gdb.t12/scope.exp: Likewise.
31450 * gdb.t13/bitfields.exp: Likewise.
31451 * gdb.t15/funcargs.exp: Likewise.
31452 * gdb.t20/classes.exp: Likewise.
31453 * gdb.t03/ptype.exp: Increase timeout.
31454 * gdb.t16/printcmds.exp (test_print_string_constants,
31455 test_print_array_constants): Likewise.
31456 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31457 * gdb.t20/classes.exp (do_tests): Likewise.
31458 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31459
31460 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
31461
31462 * gdb.stabs: Renamed *wierd* to *weird*.
31463
31464 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31465
31466 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31467 for timeout. Add "known gcc 2.4.5 bug" to failure message.
31468
31469 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31470
31471 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31472 (do_tests): Remove xfail for whatis on one_var and two_var.
31473
31474 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
31475
31476 * Makefile.in: Made cross building work better by adding
31477 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31478
31479 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31480
31481 * gdb.t15/{return.c,return.exp,Makefile.in}:
31482 New test, currently commented out.
31483
31484 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
31485
31486 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31487 still running and removes the leftover named socket so GDb can do
31488 clean restarts.
31489
31490 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
31491
31492 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31493 console, not GDB.
31494 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31495 cross testing works better with "make check"
31496 * config/unix-gdb: Use default procedures for exit and version.
31497 * config/vx-gdb.exp: Cleaned up and massaged back to working order
31498 with the newest VxWorks.
31499
31500 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31501
31502 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31503 old form.
31504
31505 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31506 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31507
31508 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31509
31510 * config/unix-gdb.exp: Remove this version of gdb_exit
31511 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31512 Rob says he'll look at it when he gets back to testing boards.
31513
31514 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
31515
31516 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
31517 an expected fail for certain ptype commands.
31518
31519 * gdb.t20/classes.exp: Update expected results of "ptype class
31520 Base1" to account for the constructor that now appears in the type.
31521
31522 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
31523
31524 * configure.in (configdirs): Restore gdb.t04, which mysteriously
31525 disappeared from list.
31526 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
31527 "alldone" proc with call to cleanup and exit.
31528 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31529 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31530 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31531 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31532 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
31533 "alldone" proc with simple returns that suppress remaining
31534 tests. The alldone proc went away many months ago.
31535
31536 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31537
31538 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31539
31540 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31541
31542 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31543
31544 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
31545 as vax gdb will display them.
31546
31547 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31548
31549 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31550 optimizers.
31551
31552 * scope.exp: Change "bad value for localval" messages so each one
31553 is unique.
31554
31555 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31556 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31557
31558 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31559
31560 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31561
31562 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31563 doesn't exist (due to optimization).
31564
31565 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31566
31567 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31568 contains \r because the filename is long.
31569
31570 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31571 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31572
31573 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31574
31575 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31576 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
31577 Ultrix.
31578 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
31579 int tests.
31580 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
31581
31582 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
31583
31584 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
31585
31586 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
31587 to match does not match the passing case but still matches the
31588 failing case.
31589
31590 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31591
31592 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31593
31594 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
31595
31596 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
31597 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31598 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31599 Remove various versions of gdb_exit.
31600 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
31601 gdb_exit.
31602 * config/unix-gdb.exp: gdb_exit remains here, and should override
31603 the generic version, since it's doing a lot of wierd stuff that
31604 the other versions aren't. FIXME, fold it in, or abandon this
31605 version.
31606
31607 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31608
31609 * gdb.t24/demangle.exp: Add tests for PR 3220.
31610
31611 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31612
31613 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
31614
31615 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
31616
31617 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
31618 "i386-*-*". Works for i486 as well.
31619
31620 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
31621 bug, and expand domain of xfail to all SVR4 systems, since the
31622 actual problem is likely to be in generic SVR4 /proc support.
31623
31624 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31625
31626 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
31627
31628 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
31629
31630 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
31631 xfails for other systems. Match a missing 'Continuing.' as an
31632 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
31633
31634 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
31635 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
31636 Only issue warning for missing executables if -all option is used.
31637
31638 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
31639 file if -all option is used. It's like an unpredictable XFAIL.
31640
31641 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31642
31643 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
31644 for dynamically linked binaries.
31645
31646 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
31647
31648 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31649
31650 * gdb.t20/inherit.exp: Change message for "print tagless struct"
31651 to state that this is a known bug in old versions of g++.
31652
31653 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31654
31655 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
31656 while waiting for `Continuing'.
31657
31658 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
31659
31660 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
31661 in text, data, and bss.
31662 * gdb.t10/nodebug.c: Add local and global test variables for
31663 initialized and uninitialized data.
31664
31665 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31666
31667 * config/unix-gdb.exp (gdb_exit): Add "wait".
31668
31669 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31670
31671 * gdb.t06/signals.exp: xfail the continue from the handler for all
31672 targets.
31673
31674 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
31675 function with watchpoints enabled, the i386 call dummy starts with
31676 a call.
31677
31678 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
31679 386 bsd names its corefiles.
31680
31681 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
31682
31683 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
31684 compilers don't grok it.
31685 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
31686 with small octal ints rather than character constants, which
31687 are signed and might not fit if first promoted to int.
31688
31689 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
31690
31691 * gdb.t09/Makefile.in (clean): Remove corefile.
31692
31693 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31694
31695 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
31696
31697 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31698 and Jim Kingdon (kingdon@cygnus.com)
31699
31700 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
31701 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
31702 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
31703
31704 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31705
31706 * gdb.t17/interrupt.exp: Add xfail for hppa.
31707
31708 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31709
31710 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
31711 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
31712 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
31713 to determine signed-ness of bitfields and use the result to setup
31714 the xfail.
31715 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
31716 * gdb.t15/funcargs.exp: Use them to step until the second indirect
31717 call line is reached if necessary.
31718
31719 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31720
31721 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
31722
31723 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31724
31725 * gdb.t06/break.exp: Also test `clear' command.
31726
31727 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31728
31729 * gdb.t00/teststrategy.exp: Remove extra quote.
31730
31731 * gdb.t07/watchpoint.exp: Change xfail for calling function with
31732 watchpoint enabled to be for all non-68k machines.
31733
31734 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
31735
31736 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31737
31738 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
31739 targets use aout.mt instead of ecoff.mt as gas understands
31740 standard aout format.
31741
31742 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31743
31744 * lib/gdb.exp (runto): Don't insist that function we are running to
31745 was compiled with -g.
31746
31747 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
31748
31749 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
31750 to get back into the read system call.
31751 Accept leading newline in case where we woke it up.
31752
31753 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31754
31755 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
31756 to make the stabs test work on ecoff systems using gcc and -with-stabs.
31757 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
31758 enable ecoff configuration.
31759
31760 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31761
31762 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
31763
31764 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31765
31766 * gdb.t16/printcmds.exp: Add another printf test.
31767
31768 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
31769
31770 * configure.in: If configured -with-stabs on any target, add
31771 stabsdirs to configdirs.
31772
31773 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31774
31775 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
31776 fun" so pattern does not match the command itself.
31777
31778 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31779
31780 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
31781
31782 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31783
31784 * gdb.t17/interrupt.exp: Test for more things.
31785
31786 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31787
31788 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
31789 compiler arranges the code and line numbers.
31790
31791 * gdb.t17/interrupt.exp: Don't send \n after ^C.
31792
31793 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31794
31795 * gdb.t00/help.exp: Increase expect input buffer size.
31796
31797 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31798
31799 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
31800
31801 * gdb.t07/watchpoint.exp: Add xfail for hppa.
31802
31803 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
31804
31805 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
31806 [0-9]*, not just [0-9].
31807
31808 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31809
31810 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
31811
31812 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
31813
31814 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31815
31816 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
31817
31818 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31819
31820 * gdb.t06/signals.c: Add xfails for sun3.
31821
31822 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
31823
31824 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
31825 test_stepping tests.
31826
31827 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31828
31829 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
31830
31831 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
31832
31833 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
31834 rather than actually putting it through cpp twice.
31835
31836 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
31837
31838 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
31839
31840 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31841 no longer needed.
31842
31843 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31844
31845 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31846
31847 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31848 C++ features prints as "struct", make it a pass, not an xfail.
31849
31850 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31851
31852 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31853 Don't require VA to print as "class" rather than "struct".
31854
31855 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
31856
31857 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31858
31859 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31860
31861 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31862
31863 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31864
31865 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
31866 order.
31867
31868 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31869
31870 * gdb.t16/printcmds.exp: Add printf tests.
31871
31872 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31873
31874 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31875
31876 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
31877
31878 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
31879 pass counts, to counteract any existing or future setup_xfails.
31880
31881 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31882
31883 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31884 {BEGIN,END}_COMMON for common block instead of STAB.
31885 * gdb.stabs/wierd.exp: Add xfail for rs6000.
31886
31887 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31888 intp_var should be N_GSYM not N_LSYM.
31889 wierd-aout.S: Use a label for the value of the N_SO.
31890 wierd.def: Remove all backslashes.
31891 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31892
31893 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31894
31895 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31896 get the expected next to inheritance3.
31897
31898 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31899
31900 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31901 now that gcc-2.4 gets it right.
31902
31903 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31904
31905 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31906
31907 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31908 generating comp-info.exp which works for cross-compilation.
31909
31910 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
31911
31912 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
31913 "*-*-sysv4.*".
31914
31915 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
31916
31917 * gdb.t01/run.exp: Start with a fresh gdb.
31918 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
31919 SVR4.x.
31920
31921 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
31922
31923 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31924 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31925 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31926 Makefile.in (distclean, realclean): Remove gdbme.c from list of
31927 things to remove.
31928
31929 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
31930
31931 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
31932 test cases from bug reports.
31933
31934 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
31935
31936 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
31937 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
31938 avoid spurious xfails.
31939 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
31940 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
31941 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
31942
31943 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
31944
31945 * gdb.t00/teststrategy.exp: Rework to provide more useful
31946 description of each test, fix problem with systems that define
31947 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31948 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
31949 results for "next over recursive call" so timeouts aren't taken
31950 by error.
31951
31952 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
31953
31954 * gdb.t12/scope.exp: Test printing of variables before run.
31955
31956 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31957 printed in wrong order due to sorting.
31958
31959 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
31960
31961 * gdb.t00/teststrategy.exp: Fix expected results for printing
31962 user entered string constant. Is array of char, prints with no
31963 address.
31964
31965 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
31966 commands.
31967 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
31968 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
31969 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
31970 of struct of char arrays.
31971 * gdb.t00/radix.exp: New tests for radix commands.
31972
31973 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
31974
31975 * gdb.t16/printcmd.exp: Print a variable before running program
31976 (with xfail for AIX).
31977
31978 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
31979
31980 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31981
31982 * gdb.t16/printcmd.exp: Don't print variables before running program.
31983
31984 * gdb.t06/break.exp: Don't require envp argument to main.
31985
31986 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31987
31988 * gdb.t02/whatis.exp, gdb.t11/list.exp:
31989 Add xfails for rs6000.
31990
31991 * gdb.t02/whatis.exp: Change other tests not to re-test something
31992 we already tested.
31993
31994 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31995 each type used has a variable of that type.
31996
31997 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
31998
31999 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
32000
32001 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
32002
32003 * configure.in: change srctrigger to be a file, not a directory
32004
32005 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
32006
32007 * configure.in (mips-idt-ecoff*): Added trailing '*'.
32008
32009 * gdb.t11/list.exp: Fixed a couple of typos.
32010
32011 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
32012
32013 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
32014 is fixed and PR is closed.
32015 * gdb.t16 (gdbme.c): Add simple test string variable.
32016 * gdb.t16 (printcmds.exp): Add tests with simple test string
32017 variable, primarily for boundaries on "set print elements".
32018
32019 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
32020
32021 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
32022 Make leading 0's optional and don't expect a tab in the middle
32023 of the number.
32024
32025 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
32026
32027 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
32028 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
32029 don't end command passed to gdb_test with newline.
32030
32031 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
32032 signed keyword away, don't expect signed bitfields to be signed.
32033
32034 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
32035 printing with only as many 1's as are in the field as well as printing
32036 with 32 1's (see comment).
32037
32038 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
32039
32040 * gdb.t00/default.exp: Start with a fresh gdb.
32041 * configure.in (configdirs): Remove gdb.t31 until the chill
32042 compiler works again. It no longer is able to find chillrt0
32043 since it isn't in libchill.a anymore.
32044 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
32045 wierd.o, make more modular.
32046 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
32047 spurious newlines that caused problems.
32048
32049 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32050
32051 * Move test with enums and partial symbols from gdb.t03/ptype.exp
32052 to gdb.stabs/wierd.exp since GCC has worked around the bug.
32053 gdb.stabs/wierd.{exp,def}: Many new tests.
32054
32055 * gdb.t00/default.exp: update info line for new message.
32056
32057 * gdb.t02/{whatis.exp,gdbme.c}:
32058 Test that "char *" doesn't print as "caddr_t".
32059
32060 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32061
32062 * gdb.t00/help.exp: Use .* in place of some help messages which
32063 just changed.
32064 gdb.t00/default.exp: Update "info frame" test for new message.
32065 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32066 Remove some xfails
32067
32068 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32069
32070 * gdb.t03/{gdbme.c,ptype.exp}:
32071 Add tests for typedef'd struct and union without tags.
32072 Also check "whatis" on a variable of a typedef'd enum without a tag.
32073
32074 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32075 PRMS 1823; the bug still exists but isn't reproduced by this test
32076 anymore), and remove rs6000 XFAIL (the bug is fixed).
32077
32078 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32079 duplicated from whatis.exp. For those that are left, accept
32080 "long", "long int", or "int" for long variables (whatis.exp already
32081 has an XFAIL for "int", so no need to fail it here).
32082
32083 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32084 Deal with GCC's names for types now that GDB uses the compiler's names.
32085
32086 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32087 setup_xfail's for sunos4. If we #defined the signed keyword away,
32088 don't expect GDB to know that char it is signed.
32089
32090 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32091
32092 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32093
32094 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32095 should work on any system, regardless of debugging format.
32096 * gdb.t21/demangle.exp: Move to gdb.t24.
32097 * gdb.t24/demangle.exp: Move from gdb.t21.
32098 * gdb.t24/{Makefile.in, configure.in}: New files.
32099
32100 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32101
32102 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32103 * gdb.stabs: New directory.
32104
32105 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32106
32107 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32108 not just "Quit anyway?".
32109
32110 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32111
32112 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32113 that all setup_xfails are immediately followed by clear_xfails.
32114
32115 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32116
32117 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32118 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32119 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32120 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32121 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32122 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32123 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32124 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32125 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32126 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32127 gdb.t31/chillvars.exp, lib/gdb.exp:
32128 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32129 bug-gdb@prep.ai.mit.edu.
32130
32131 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32132
32133 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32134 with 0.0, not integer 0.
32135
32136 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32137
32138 * gdb.t06/break.exp: Update for "Kill the program" message change.
32139
32140 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32141
32142 * Makefile.in (GDBFLAGS): Set to -nx.
32143 * Makefile.in (site.exp): Use GDBFLAGS.
32144
32145 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32146
32147 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32148 Makefiles.
32149 (check): depend on just-check.
32150 (just-check): added so that tests can be run without a noop
32151 build pass.
32152
32153 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32154
32155 Switch to using configure's configdirs.
32156 * Makefile.in (Makefile): add configure.in dependency.
32157 (SUBDIRS): removed redundant assignment.
32158 * configure.in: switch subdirs assignment to configdirs.
32159 * gdb.t*/configure.in: new files.
32160
32161 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32162
32163 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32164 works.
32165
32166 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32167
32168 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32169 in explicit rules. Apparently this is not supported by some makes.
32170
32171 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32172
32173 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32174
32175 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32176
32177 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32178 disappeared.
32179
32180 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32181
32182 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32183
32184 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32185
32186 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32187 watchpoint problem that is now fixed.
32188 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32189 uninitialized convenience variables.
32190 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32191 structures.
32192
32193 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32194
32195 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32196 which causes expect to get out of sync with gdb on long output
32197 from help set.
32198 * gdb.t09/corefile.exp: Make expected pattern for core file
32199 failing signal and frame output format less sun specific.
32200
32201 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32202
32203 * gdb.t31/chillvars.exp: Add and remove initial dummy
32204 breakpoint, so that symbol table is forced in.
32205 (Needed at least on Sunos4, though it seems not SVR4.)
32206 * gdb.t31/chillvars.exp: Update for changed output format.
32207
32208 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32209
32210 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
32211
32212 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32213
32214 * Makefile.in: Added --srcdir when invoking runtest, removed the
32215 need for a local config file. (optional now)
32216
32217 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32218
32219 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32220 failure count used to force early termination. Add some more
32221 expected failures for gnu style demangling.
32222
32223 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32224
32225 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32226 pmi variable from gdb.t20/gdbme to get optimized away.
32227 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32228 Check for written corefile upon timeout _and_ eof.
32229
32230 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32231
32232 * config/unix-gdb.exp: Add missing return 0.
32233
32234 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32235
32236 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32237 test termination.
32238
32239 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32240
32241 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32242 disappeared.
32243
32244 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32245
32246 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32247 time as i860 support works.
32248
32249 * gdb.t15/funcargs.exp: Fix expected outputs to include
32250 "backtrace 100\r" rather than just "backtrace\r", to match last
32251 change.
32252
32253 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32254
32255 * config/udi-gdb.exp (gdb_exit): Remove close command.
32256 (gdb_target_udi): New procedure to set the UDI target.
32257 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32258 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32259 Added waits for prompts after several question responses. Added
32260 some more responses used by a29k-amd-udi-gdb.
32261 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32262 pass different arguments, restart UDI connection after program
32263 completion.
32264 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32265 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32266 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32267 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32268 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32269 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32270 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32271 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32272 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32273 after program completion.
32274 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32275 compiled with a SELECT_VECS setting.
32276 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32277 infinite recursion.
32278
32279 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32280 Added checks for COFF results, and made them expected failures for
32281 all targets. It would be better to make them expected failures
32282 for COFF targets only.
32283
32284 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32285
32286 * Makefile.in: add null dvi target, don't bother to recurse
32287 through test directories for info and install-info; rename
32288 $(datadir) to be dejagnu instead of deja-gnu
32289
32290 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32291
32292 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32293 compiler to coredump.
32294 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32295 code.
32296
32297 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32298
32299 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32300 coredump.
32301 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32302 code.
32303
32304 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32305
32306 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32307 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32308 which in a shell. Deletes xgdb when done.
32309 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32310 Tests the return from the "set height" or "set width" commands.
32311 Added a few return codes where needed.
32312
32313 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32314
32315 * Makefile.in (SUBDIRS): Add gdb.t17.
32316 * configure.in (subdirs): Add gdb.t17.
32317 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32318 files to test gdb's calling of functions in the inferior with
32319 the correct arguments and gdb's ability to retrieve any
32320 result returned.
32321
32322 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32323
32324 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32325 may be called after gdb goes away. Previous versions of expect
32326 needed these to avoid file descriptor leaks, but they cause
32327 errors with the current revision of expect.
32328 * gdb.t00/gdbvars.exp: Use -re on expected output after
32329 setting sevenbit-strings.
32330 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32331 to set sevenbit-strings consistent across tests.
32332 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32333 set sevenbit-strings consistent across tests.
32334
32335 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32336
32337 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32338 expected output to match current "expect" expectations.
32339
32340 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32341
32342 * gdb.t00/default.exp: Change expected output for default "source"
32343 command, to match new gdb behavior which requires a filename to
32344 source.
32345
32346 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32347
32348 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32349 expected fail for i486-*-* that misses the marker2 function.
32350 * gdb.t10/crossload.exp (bfddefault): Allow successful
32351 recognition of a format to pass even if no symbols are found.
32352 Explicitly catch failures where the format is not recognized
32353 or is ambiguous, and add the reason to the fail message.
32354 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32355 the cause is and invalid target and add reason to failure message.
32356 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32357 elf32-i386, elf32-sparc, and elf32-i860.
32358 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32359 Set up expected failure for 'filename'::variable scope resolution,
32360 which is now apparently broken on all targets.
32361 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32362 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32363 gdb.t23/templates.exp: Change failure for missing binfile into
32364 just a warning.
32365 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32366 references.
32367
32368 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32369
32370 * gdb.t00/default.exp: Add expected output for default "source"
32371 command, to match new gdb behavior.
32372 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32373
32374 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32375
32376 * config/*-gdb.exp: returns an error, rather than exiting on
32377 internal errors.
32378
32379 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32380
32381 * gdb.t03/gdbme.c: Add pointer to struct variable.
32382 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32383 referencing struct members.
32384
32385 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32386
32387 * configure.in (mips-idt-ecoff): New target.
32388 * config/mips-gdb.exp: New file for remote board using MIPS remote
32389 debugging protocol.
32390
32391 * Redid configuration scheme. Removed gdb.t*/configure.in.
32392 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32393 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32394 distclean targets. Built executables via .o files. Adjusted
32395 tests to account for source files in $(srcdir) rather than
32396 $(objdir).
32397 * lib/gdb.exp (runto): Don't expect () after the function name,
32398 because it may have arguments.
32399
32400 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32401
32402 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32403 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32404 expected failures for mips-idt-* and mips-sgi-*.
32405 * gdb.t00/default.exp (attach): Kill process if requested.
32406 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32407 that does not read core files.
32408 * gdb.t01/run.exp: Removed checks for exit status code.
32409 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32410 it is linked in.
32411 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32412 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32413 appropriate, rather than doing it by hand.
32414 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32415 execution.
32416 * gdb.t10/crossload.exp: Kill existing program if needed.
32417 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32418 appropriate, rather than doing it by hand. Always increase
32419 timeout for this test, not just for VxWorks.
32420
32421 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32422
32423 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32424 of Chill STRUCT types and STRUCT values.
32425 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32426 than "char".
32427 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
32428 struct2): New struct definitions and initializations to test
32429 simple Chill STRUCT types.
32430
32431 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32432
32433 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32434 the null byte at the end of strings.
32435 * gdb.t00/default.exp: Make show version insensitive to copyright
32436 date.
32437 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32438 to avoid dependencies on target char signedness.
32439 * gdb.t16/printcmds.exp: Update expected results for explicitly
32440 unsigned char.
32441 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32442 now work.
32443 * gdb.t21/demangle.exp: Add many more patterns for template
32444 demangling, most of them being expected failures.
32445 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32446 string we are matching for, to match on the whole string.
32447 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32448 and fix a whole bunch that had incorrect expected output but were
32449 passing anyway because of the bug in "proc demangle".
32450 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
32451 type.
32452 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
32453
32454 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
32455
32456 * gdb/testsuite: made modifications to testcases, etc., to allow
32457 them to work properly given the reorganization of deja-gnu and the
32458 relocation of the testcases from deja-gnu to a "tool" subdirectory.
32459
32460 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
32461
32462 * gdb/testsuite: Initial creation of gdb/testsuite.
32463 Migrated dejagnu testcases and support files for testing nm to
32464 gdb/testsuite from deja-gnu. These files were moved "as is"
32465 with no modifications. This migration is part of a major overhaul
32466 of dejagnu. The modifications to these testcases, etc., which
32467 will allow them to work with the new version of dejagnu will be
32468 made in a future update.
32469
32470 For additional changes see gdb.mi/ChangeLog-1999-2003.
32471 \f
32472 ;; Local Variables:
32473 ;; mode: change-log
32474 ;; left-margin: 8
32475 ;; fill-column: 74
32476 ;; version-control: never
32477 ;; End:
32478
32479 Copyright 1993-2013 Free Software Foundation, Inc.
32480 Copying and distribution of this file, with or without modification,
32481 are permitted provided the copyright notice and this notice are preserved.
This page took 0.67397 seconds and 5 git commands to generate.