]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
daily update
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
82a0a75f
YQ
12013-08-08 Yao Qi <yao@codesourcery.com>
2
3 * gdb.trace/mi-trace-unavailable.exp: Don't set
4 "print entry-values" to "no".
5 (test_trace_unavailable): Set various values to
6 "print entry-values" to test that the output of
7 '-stack-list-locals' is not affected, and then set
8 set "print entry-values" to "no".
9
ac52f9a2
DE
102013-08-07 Doug Evans <dje@google.com>
11
12 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
13 * gdb.python/py-value-cc.exp: Update.
14 * gdb.python/py-value.exp: Use different names for .o files for
15 C and C++. Only perform C++ tests if !skip_cplus_tests.
16
bf6d8a91
TT
172013-08-07 Tom Tromey <tromey@redhat.com>
18
19 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
20
f9125b6c
TT
212013-08-07 Tom Tromey <tromey@redhat.com>
22
23 * gdb.dwarf2/dwz.exp: New file.
24
3a1115a0
TT
252013-08-02 Tom Tromey <tromey@redhat.com>
26
27 * gdb.base/watchpoint.c (struct foo5): New.
28 (nullptr): New global.
29 * gdb.base/watchpoint.exp (test_watch_location): Add test.
30
b846d303
DE
312013-08-01 Doug Evans <dje@google.com>
32
7ee85ab1
DE
33 PR symtab/15691
34 * gdb.dwarf2/fission-mix.exp: New file.
35 * gdb.dwarf2/fission-mix.h: New file.
36 * gdb.dwarf2/fission-mix.c: New file.
37 * gdb.dwarf2/fission-mix2.c: New file.
38
b846d303
DE
39 PR symtab/15695
40 * gdb.base/func-ptr.exp: New file.
41 * gdb.base/func-ptr.c: New file.
42
67d21849
YQ
432013-08-01 Yao Qi <yao@codesourcery.com>
44
45 * gdb.python/py-sync-interp.c: New.
46 * gdb.python/py-sync-interp.exp: New.
47
de74e63a
YQ
482013-07-31 Yao Qi <yao@codesourcery.com>
49
50 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
51 'tdump' on stack frame 0 and 1 respectively.
52
680558e8
YQ
532013-07-31 Yao Qi <yao@codesourcery.com>
54
55 PR gdb/13443
56 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
57 'traceframe'. Wrap test with with_test_prefix.
58 (top level): Update.
59
48bbe0bf
YQ
602013-07-31 Yao Qi <yao@codesourcery.com>
61
62 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
63 'gdb_start'.
64 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
65 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
66
11b4b7cc
AB
672013-07-30 Andrew Burgess <aburgess@broadcom.com>
68
69 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
70 when printing an optimized out value. Expect an error when using
71 an optimized out value in an expression.
72
b0c54aa5
AB
732013-07-30 Andrew Burgess <aburgess@broadcom.com>
74
75 * gdb.dwarf2/pieces-optimized-out.exp: New file.
76 * gdb.dwarf2/pieces-optimized-out.c: New file.
77 * gdb.dwarf2/pieces-optimized-out.S: New file.
78
97c85fc6
MB
792013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
80
81 PR gdb/15715
82 * gdb.base/setshow.exp: Test that relative paths passed to
83 'set history filename' are converted to absolute paths.
84
5b32ae97
KS
852013-07-26 Keith Seitz <keiths@redhat.com>
86
87 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
88 of f77.
89 Allow for compiler variations of integer types.
90 Use mi_create_varobj.
91 Use mi_list_varobj_children for the immediate children of `array'.
92 Add "has_more" attribute for grandchildren test.
93
6f64ef53
PA
942013-07-26 Pedro Alves <palves@redhat.com>
95
96 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
97 files.
98
fdc8aae8
AB
992013-07-25 Andrew Burgess <aburgess@broadcom.com>
100
101 * gdb.mi/mi-reg-undefined.exp: New file.
102 * gdb.mi/mi-reg-undefined.c: Likewise.
103 * gdb.mi/mi-reg-undefined.S: Likewise.
104
6fbe845e
AB
1052013-07-25 Andrew Burgess <aburgess@broadcom.com>
106
107 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
108 z, o, and t output formats.
109 * gdb.base/display.exp: Use 'k' as an undefined format now that
110 'z' is defined.
111
7b79b135
DE
1122013-07-24 Doug Evans <dje@google.com>
113
114 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
115 "--" to switch.
116
a0607b84
YQ
1172013-07-24 Yao Qi <yao@codesourcery.com>
118
119 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
120 host.
121 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
122 Likewise. If host is remote, copy ${binfile} to host.
123
2eb14a9b
YQ
1242013-07-23 Yao Qi <yao@codesourcery.com>
125
126 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
127 message.
128
5d0a3b53
WN
1292013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
130
131 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
132 instructions and enable disp-step-syscall for arm targets.
133
9a5911c0
WN
1342013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
135
136 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
137 assembler errors on arm.
138 * gdb.dwarf2/mac-fileno.S: Likewise.
139 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
140 * gdb.dwarf2/pr13961.S: Likewise.
141
fa876972
HZ
1422013-07-19 Hui Zhu <hui@codesourcery.com>
143
144 PR gdb/15692
145 * gdb.mi/mi-dprintf.exp: Add double quotes test.
146
1527aea8
YQ
1472013-07-19 Yao Qi <yao@codesourcery.com>
148
149 * gdb.trace/read-memory.exp (test_from_remote): Update test.
150 (teset_from_exec): Likewise.
151
73c1d57e
YQ
1522013-07-19 Yao Qi <yao@codesourcery.com>
153
154 * gdb.trace/read-memory.c: New.
155 * gdb.trace/read-memory.exp: New.
156
a075c3e5
YQ
1572013-07-19 Yao Qi <yao@codesourcery.com>
158
159 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
160 $dest to link options if host is remote. Move the
161 generated file to $dest.a on host if host is remote.
162
623cc285
WN
1632013-07-18 Will Newton <will.newton@linaro.org>
164
165 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
166 to ensure the test is linked against pthreads.
167 * gdb.threads/tls-var-main.c: Likewise.
168 * gdb.threads/tls-shared.c: Likewise.
169
1f74d3b5
YQ
1702013-07-18 Yao Qi <yao@codesourcery.com>
171
172 * lib/future.exp (gdb_default_target_compile): Use tail name
173 of $destfile as the output name of compile. Move the
174 generated file to $destfile on build.
175
f6dc277e
YQ
1762013-07-18 Yao Qi <yao@codesourcery.com>
177
178 * lib/gdb.exp (gdb_compile): Set
179 gdb_saved_set_unbuffered_mode_obj to
180 set_unbuffered_mode_saved.o if host is remote. Invoke
181 remote_download to copy $unbuf_obj to host.
182
e7045703
DE
1832013-07-17 Doug Evans <dje@google.com>
184
185 * gdb.python/py-frame-args.c: New file.
186 * gdb.python/py-frame-args.py: New file.
187 * gdb.python/py-frame-args.exp New file.
188
5ea5559b
AB
1892013-07-16 Andrew Burgess <aburgess@broadcom.com>
190
191 * gdb.base/printcmds.exp (test_printf): Add tests for format
192 strings with missing format specifier.
193
4229ca0e
TT
1942013-07-16 Tom Tromey <tromey@redhat.com>
195
196 * gdb.ada/info_types.exp: Use standard_testfile.
197
5ee657d5
TT
1982013-07-16 Tom Tromey <tromey@redhat.com>
199
200 * gdb.mi/mi-basics.exp: Use standard_output_file.
201 (test_dir_specification, test_cwd_specification)
202 (test_path_specification): Use testsubdir, not subdir and objdir.
203
20e3d738
TT
2042013-07-16 Tom Tromey <tromey@redhat.com>
205
206 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
207
7d7c6477
JB
2082013-07-09 Joel Brobecker <brobecker@adacore.com>
209
210 * gdb.ada/small_reg_param.exp: Accept optional entry value
211 for parameter "w".
212
52cd8b7d
JB
2132013-07-09 Joel Brobecker <brobecker@adacore.com>
214
215 * gdb.ada/small_reg_param.exp: Remove trailing space.
216
2a998fc0
DE
2172013-07-09 Doug Evans <dje@google.com>
218
219 * gdb.base/default.exp: Update expected output of "show print array"
220 and "show print pretty".
221
0329e9fb
UW
2222013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
223
224 * gdb.threads/wp-replication.exp: Stop counting available hardware
225 watchpoints after NR_THREADS iterations.
226
1953058f
AB
2272013-07-08 Andrew Burgess <aburgess@broadcom.com>
228
229 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
230
7c0de741
YQ
2312013-07-07 Yao Qi <yao@codesourcery.com>
232
233 * boards/native-gdbserver.exp: Move invoke of
234 process_multilib_options to gdbserver-base.exp.
235 Move set_board_info 'compiler', 'gdb,noinferiorio',
236 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
237 gdbserver-base.exp.
238 Move proc ${board}_download, ${board}_upload and
239 ${board}_file to gdbserver-base.exp.
240 * boards/native-extended-gdbserver.exp: Likewise.
241 * boards/native-stdio-gdbserver.exp: Likewise.
242 * boards/gdbserver-base.exp: New file.
243
497a4c48
LM
2442013-07-05 Luis Machado <lgustavo@codesourcery.com>
245
246 * gdb.base/dump.exp: Remove arch-specific tests and do a
247 generic data address check to set is64bitonly correctly.
248
bb3f62fc
LM
2492013-07-05 Luis Machado <lgustavo@codesourcery.com>
250
251 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
252 the register number instead of expecting only 0.
253
005faa9d
WN
2542013-07-05 Will Newton <will.newton@linaro.org>
255
256 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
257 in asm syntax to allow building on ARM.
258
4767856f
YQ
2592013-07-05 Yao Qi <yao@codesourcery.com>
260
261 * boards/local-remote-host.exp: Remove obsolete comments.
262 * boards/native-extended-gdbserver.exp: Likewise.
263 * boards/native-gdbserver.exp: Likewise.
264 * boards/native-stdio-gdbserver.exp: Likewise.
265
691a26f5
AB
2662013-07-04 Andrew Burgess <aburgess@broadcom.com>
267
268 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
269 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
270 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
271
4d142eaa
JK
2722013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
273
274 * gdb.base/break-on-linker-gcd-function.exp: Replace
275 prepare_for_testing by build_executable_from_specs and clean_restart.
276
62cef515
TT
2772013-06-27 Tom Tromey <tromey@redhat.com>
278
279 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
280 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
281 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
282 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
283 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
284 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
285 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
286 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
287 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
288 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
289 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
290 Use standard_testfile, standard_output_file, prepare_for_testing,
291 clean_restart.
292
0ab77f5f
TT
2932013-06-27 Tom Tromey <tromey@redhat.com>
294
295 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
296 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
297 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
298 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
299 gdb.base/shreloc.exp, gdb.base/sigall.exp,
300 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
301 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
302 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
303 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
304 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
305 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
306 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
307 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
308 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
309 gdb.base/solib-weak.exp, gdb.base/source.exp,
310 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
311 gdb.base/stap-probe.exp, gdb.base/start.exp,
312 gdb.base/step-break.exp, gdb.base/step-bt.exp,
313 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
314 gdb.base/step-test.exp, gdb.base/structs.exp,
315 gdb.base/structs2.exp, gdb.base/structs3.exp,
316 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
317 standard_output_file, prepare_for_testing, clean_restart.
318
822bd149
TT
3192013-06-27 Tom Tromey <tromey@redhat.com>
320
321 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
322 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
323 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
324 gdb.base/pending.exp, gdb.base/permissions.exp,
325 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
326 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
327 gdb.base/printcmds.exp, gdb.base/prologue.exp,
328 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
329 gdb.base/ptype.exp, gdb.base/randomize.exp,
330 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
331 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
332 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
333 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
334 standard_testfile, standard_output_file, prepare_for_testing,
335 clean_restart.
336
f8b41b00
TT
3372013-06-27 Tom Tromey <tromey@redhat.com>
338
a8c97a87
TT
339 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
340 gdb.base/huge.exp, gdb.base/included.exp,
341 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
342 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
343 gdb.base/info-os.exp, gdb.base/info-proc.exp,
344 gdb.base/info-target.exp, gdb.base/infoline.exp,
345 gdb.base/interp.exp, gdb.base/interrupt.exp,
346 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
347 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
348 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
349 gdb.base/logical.exp, gdb.base/long_long.exp,
350 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
351 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
352 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
353 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
f8b41b00
TT
354 standard_testfile, standard_output_file, prepare_for_testing,
355 clean_restart.
356
289f9037
TT
3572013-06-27 Tom Tromey <tromey@redhat.com>
358
a8c97a87
TT
359 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
360 gdb.base/enumval.exp, gdb.base/environ.exp,
361 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
362 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
363 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
364 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
365 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
366 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
367 gdb.base/fullname.exp, gdb.base/funcargs.exp,
368 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
369 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
370 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
371 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
372 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
373 gdb.base/gnu_vector.exp: Use standard_testfile,
374 standard_output_file, prepare_for_testing, clean_restart.
289f9037 375
f76495c8
TT
3762013-06-27 Tom Tromey <tromey@redhat.com>
377
a8c97a87
TT
378 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
379 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
380 gdb.base/call-strs.exp, gdb.base/callexit.exp,
381 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
382 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
383 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
384 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
385 gdb.base/commands.exp, gdb.base/completion.exp,
386 gdb.base/complex.exp, gdb.base/cond-expr.exp,
387 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
388 gdb.base/constvars.exp, gdb.base/corefile.exp,
389 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
390 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
391 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
392 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
393 gdb.base/dup-sect.exp: Use standard_testfile,
f76495c8
TT
394 standard_output_file, prepare_for_testing, clean_restart.
395
a64d2530
TT
3962013-06-27 Tom Tromey <tromey@redhat.com>
397
a8c97a87
TT
398 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
399 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
400 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
401 gdb.base/async-shell.exp, gdb.base/async.exp,
402 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
403 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
404 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
405 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
406 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
407 gdb.base/break-on-linker-gcd-function.exp,
408 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
a64d2530
TT
409 standard_output_file, prepare_for_testing, clean_restart.
410
aaff8d73
YQ
4112013-06-26 Yao Qi <yao@codesourcery.com>
412
413 * gdb.trace/mi-trace-frame-collected.exp: New.
414
a0743c90
YQ
4152013-06-25 Yao Qi <yao@codesourcery.com>
416
417 * boards/native-extended-gdbserver.exp: Set board_info
418 'gdb,predefined_tsv'.
419 * boards/native-gdbserver.exp: Likewise.
420 * boards/native-stdio-gdbserver.exp: Likewise.
421 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
422 uploaded TSVs if target supports tracing.
423 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
424 tracing and target has predefined tsv.
425
9d6e6e84
HZ
4262013-06-25 Yao Qi <yao@codesourcery.com>
427 Hui Zhu <hui@codesourcery.com>
428 Pedro Alves <palves@redhat.com>
429
430 PR breakpoints/15075
431 PR breakpoints/15434
432 * gdb.base/dprintf-next.c: New file.
433 * gdb.base/dprintf-next.exp: New file.
434 * gdb.base/dprintf-non-stop.c: New file.
435 * gdb.base/dprintf-non-stop.exp: New file.
436 * gdb.base/dprintf.exp: Don't check "continue" in the output
437 of "info breakpoints".
438 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
439 Don't check "continue" in script field.
440
e7ab3185
TT
4412013-06-21 Tom Tromey <tromey@redhat.com>
442
443 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
444 name in a test name.
445
c898adb7
YQ
4462013-06-20 Yao Qi <yao@codesourcery.com>
447
448 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
449 and set an action.
450 (test_trace_unavailable): Test command -data-list-register-values
451 in the context of traceframe and with option --skip-unavailable.
452 * gdb.trace/trace-unavailable.c (foo): New.
453 (main): Call it.
454 * gdb.mi/gdb2549.exp: Update matching pattern.
455
4d157a3d
MF
4562013-06-19 Mike Frysinger <vapier@gentoo.org>
457
458 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
459 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
460 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
461 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
462 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
463
d69cace4
LM
4642013-06-19 Luis Machado <lgustavo@codesourcery.com>
465
466 * gdb.base/subst.exp: Delete default rules before further
467 tests.
468
9bdd0636
YQ
4692013-06-19 Yao Qi <yao@codesourcery.com>
470
471 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
472 unsupported if it is not registered.
473
427cd150
TT
4742013-06-18 Tom Tromey <tromey@redhat.com>
475
476 * gdb.base/random-signal.c: New file.
477 * gdb.base/random-signal.exp: New file.
478
6de7c271
WN
4792013-06-18 Will Newton <will.newton@linaro.org>
480
481 * gdb.base/skip.c: Use comma to evaluate results of foo()
482 and bar() before passing to baz().
483 * gdb.base/skip.c: baz() now takes one argument instead of
484 two.
485
5bd1ef56
TT
4862013-06-18 Tom Tromey <tromey@redhat.com>
487
488 * gdb.dwarf2/implptrpiece.exp: New file.
489 * gdb.dwarf2/implptrconst.exp (d): New variable.
490 Print d.
491 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
492
e379b391
TT
4932013-06-18 Tom Tromey <tromey@redhat.com>
494
495 * lib/selftest-support.exp (do_self_tests): Reject remote or
496 non-native targets.
497 * gdb.gdb/complaints.exp: Remove check.
498 * gdb.gdb/observer.exp: Remove check.
499 * gdb.gdb/xfullpath.exp: Remove check.
500 * gdb.gdb/complaints.exp: Remove check.
501
4ec70201
PA
5022013-06-07 Pedro Alves <palves@redhat.com>
503
504 * boards/native-extended-gdbserver.exp: Remove semicolon.
505 * config/arm-ice.exp: Likewise.
506 * config/bfin.exp: Likewise.
507 * config/cygmon.exp: Likewise.
508 * config/h8300.exp: Likewise.
509 * config/monitor.exp: Likewise.
510 * config/sid.exp: Likewise.
511 * config/sim.exp: Likewise.
512 * config/slite.exp: Likewise.
513 * config/vx.exp: Likewise.
514 * gdb.arch/i386-bp_permanent.exp: Likewise.
515 * gdb.asm/asm-source.exp: Likewise.
516 * gdb.base/args.exp: Likewise.
517 * gdb.base/attach-pie-misread.exp: Likewise.
518 * gdb.base/auxv.exp: Likewise.
519 * gdb.base/bigcore.exp: Likewise.
520 * gdb.base/bitfields2.exp: Likewise.
521 * gdb.base/bitfields.exp: Likewise.
522 * gdb.base/break.exp: Likewise.
523 * gdb.base/break-interp.exp: Likewise.
524 * gdb.base/callfuncs.exp: Likewise.
525 * gdb.base/call-sc.exp: Likewise.
526 * gdb.base/commands.exp: Likewise.
527 * gdb.base/corefile.exp: Likewise.
528 * gdb.base/dbx.exp: Likewise.
529 * gdb.base/ending-run.exp: Likewise.
530 * gdb.base/exprs.exp: Likewise.
531 * gdb.base/funcargs.exp: Likewise.
532 * gdb.base/hbreak2.exp: Likewise.
533 * gdb.base/huge.exp: Likewise.
534 * gdb.base/list.exp: Likewise.
535 * gdb.base/memattr.exp: Likewise.
536 * gdb.base/overlays.exp: Likewise.
537 * gdb.base/printcmds.exp: Likewise.
538 * gdb.base/recurse.exp: Likewise.
539 * gdb.base/remotetimeout.exp: Likewise.
540 * gdb.base/reread.exp: Likewise.
541 * gdb.base/savedregs.exp: Likewise.
542 * gdb.base/scope.exp: Likewise.
543 * gdb.base/sepdebug.exp: Likewise.
544 * gdb.base/setshow.exp: Likewise.
545 * gdb.base/setvar.exp: Likewise.
546 * gdb.base/sigaltstack.exp: Likewise.
547 * gdb.base/siginfo-addr.exp: Likewise.
548 * gdb.base/siginfo.exp: Likewise.
549 * gdb.base/siginfo-obj.exp: Likewise.
550 * gdb.base/sigrepeat.exp: Likewise.
551 * gdb.base/sigstep.exp: Likewise.
552 * gdb.base/structs.exp: Likewise.
553 * gdb.base/testenv.exp: Likewise.
554 * gdb.base/twice.exp: Likewise.
555 * gdb.base/valgrind-db-attach.exp: Likewise.
556 * gdb.base/valgrind-infcall.exp: Likewise.
557 * gdb.base/varargs.exp: Likewise.
558 * gdb.base/watchpoint.exp: Likewise.
559 * gdb.cp/gdb1355.exp: Likewise.
560 * gdb.cp/misc.exp: Likewise.
561 * gdb.disasm/hppa.exp: Likewise.
562 * gdb.disasm/t01_mov.exp: Likewise.
563 * gdb.disasm/t02_mova.exp: Likewise.
564 * gdb.disasm/t03_add.exp: Likewise.
565 * gdb.disasm/t04_sub.exp: Likewise.
566 * gdb.disasm/t05_cmp.exp: Likewise.
567 * gdb.disasm/t06_ari2.exp: Likewise.
568 * gdb.disasm/t07_ari3.exp: Likewise.
569 * gdb.disasm/t08_or.exp: Likewise.
570 * gdb.disasm/t09_xor.exp: Likewise.
571 * gdb.disasm/t10_and.exp: Likewise.
572 * gdb.disasm/t11_logs.exp: Likewise.
573 * gdb.disasm/t12_bit.exp: Likewise.
574 * gdb.disasm/t13_otr.exp: Likewise.
575 * gdb.gdb/selftest.exp: Likewise.
576 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
577 * gdb.mi/mi-reverse.exp: Likewise.
578 * gdb.pascal/floats.exp: Likewise.
579 * gdb.python/py-inferior.exp: Likewise.
580 * gdb.threads/attach-into-signal.exp: Likewise.
581 * gdb.threads/pthreads.exp: Likewise.
582 * gdb.threads/thread_events.exp: Likewise.
583 * gdb.threads/watchthreads.exp: Likewise.
584 * gdb.trace/actions-changed.exp: Likewise.
585 * gdb.trace/actions.exp: Likewise.
586 * gdb.trace/ax.exp: Likewise.
587 * gdb.trace/backtrace.exp: Likewise.
588 * gdb.trace/change-loc.exp: Likewise.
589 * gdb.trace/deltrace.exp: Likewise.
590 * gdb.trace/disconnected-tracing.exp: Likewise.
591 * gdb.trace/ftrace.exp: Likewise.
592 * gdb.trace/infotrace.exp: Likewise.
593 * gdb.trace/passc-dyn.exp: Likewise.
594 * gdb.trace/passcount.exp: Likewise.
595 * gdb.trace/pending.exp: Likewise.
596 * gdb.trace/qtro.exp: Likewise.
597 * gdb.trace/range-stepping.exp: Likewise.
598 * gdb.trace/report.exp: Likewise.
599 * gdb.trace/save-trace.exp: Likewise.
600 * gdb.trace/status-stop.exp: Likewise.
601 * gdb.trace/strace.exp: Likewise.
602 * gdb.trace/tfile.exp: Likewise.
603 * gdb.trace/tfind.exp: Likewise.
604 * gdb.trace/trace-break.exp: Likewise.
605 * gdb.trace/tracecmd.exp: Likewise.
606 * gdb.trace/trace-mt.exp: Likewise.
607 * gdb.trace/tspeed.exp: Likewise.
608 * gdb.trace/tsv.exp: Likewise.
609 * gdb.trace/while-stepping.exp: Likewise.
610 * lib/gdb.exp: Likewise.
611 * lib/gdbserver-support.exp: Likewise.
612 * lib/java.exp: Likewise.
613 * lib/mi-support.exp: Likewise.
614 * lib/pascal.exp: Likewise.
615 * lib/prompt.exp: Likewise.
616 * lib/trace-support.exp: Likewise.
617
47d48711
PA
6182013-06-07 Pedro Alves <palves@redhat.com>
619
620 * gdb.ada/info_types.c: Fix formating in copyright header.
621 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
622 * gdb.base/float.c: Likewise.
623 * gdb.base/inferior-died.c: Likewise.
624 * gdb.base/interp.c: Likewise.
625 * gdb.base/jit-main.c: Likewise.
626 * gdb.base/jit-solib.c: Likewise.
627 * gdb.base/long_long.c: Likewise.
628 * gdb.base/longjmp.c: Likewise.
629 * gdb.base/nextoverexit.c: Likewise.
630 * gdb.base/pr11022.c: Likewise.
631 * gdb.base/prelink-lib.c: Likewise.
632 * gdb.base/prelink.c: Likewise.
633 * gdb.base/prologue.c: Likewise.
634 * gdb.base/restore.c: Likewise.
635 * gdb.base/sigchld.c: Likewise.
636 * gdb.base/solib-search-lib1.c: Likewise.
637 * gdb.base/solib-search-lib2.c: Likewise.
638 * gdb.base/solib-search.c: Likewise.
639 * gdb.base/solib-search.h: Likewise.
640 * gdb.base/whatis.c: Likewise.
641 * gdb.cp/abstract-origin.cc: Likewise.
642 * gdb.cp/anon-struct.cc: Likewise.
643 * gdb.cp/baseenum.cc: Likewise.
644 * gdb.cp/bs15503.cc: Likewise.
645 * gdb.cp/call-c-1.c: Likewise.
646 * gdb.cp/call-c.cc: Likewise.
647 * gdb.cp/class2.cc: Likewise.
648 * gdb.cp/classes.cc: Likewise.
649 * gdb.cp/cttiadd.cc: Likewise.
650 * gdb.cp/cttiadd1.cc: Likewise.
651 * gdb.cp/cttiadd2.cc: Likewise.
652 * gdb.cp/cttiadd3.cc: Likewise.
653 * gdb.cp/derivation.cc: Likewise.
654 * gdb.cp/derivation2.cc: Likewise.
655 * gdb.cp/dispcxx.cc: Likewise.
656 * gdb.cp/exception.cc: Likewise.
657 * gdb.cp/gdb2384-base.cc: Likewise.
658 * gdb.cp/gdb2384-base.h: Likewise.
659 * gdb.cp/gdb2384.cc: Likewise.
660 * gdb.cp/gdb2495.cc: Likewise.
661 * gdb.cp/mb-inline.h: Likewise.
662 * gdb.cp/mb-inline1.cc: Likewise.
663 * gdb.cp/mb-inline2.cc: Likewise.
664 * gdb.cp/member-name.cc: Likewise.
665 * gdb.cp/member-ptr.cc: Likewise.
666 * gdb.cp/misc.cc: Likewise.
667 * gdb.cp/namespace1.cc: Likewise.
668 * gdb.cp/nextoverthrow.cc: Likewise.
669 * gdb.cp/pr-574.cc: Likewise.
670 * gdb.cp/pr9631.cc: Likewise.
671 * gdb.cp/printmethod.cc: Likewise.
672 * gdb.cp/psmang1.cc: Likewise.
673 * gdb.cp/psmang2.cc: Likewise.
674 * gdb.cp/psymtab-parameter.cc: Likewise.
675 * gdb.cp/ptype-flags.cc: Likewise.
676 * gdb.cp/ref-params.cc: Likewise.
677 * gdb.cp/ref-types.cc: Likewise.
678 * gdb.cp/smartp.cc: Likewise.
679 * gdb.cp/try_catch.cc: Likewise.
680 * gdb.cp/userdef.cc: Likewise.
681 * gdb.cp/using-crash.cc: Likewise.
682 * gdb.cp/virtfunc.cc: Likewise.
683 * gdb.cp/virtfunc2.cc: Likewise.
684 * gdb.dwarf2/callframecfa.S: Likewise.
685 * gdb.dwarf2/dw2-ranges.c: Likewise.
686 * gdb.dwarf2/dw2-ranges2.c: Likewise.
687 * gdb.dwarf2/dw2-ranges3.c: Likewise.
688 * gdb.dwarf2/dw2-restore.S: Likewise.
689 * gdb.dwarf2/pieces.S: Likewise.
690 * gdb.dwarf2/valop.S: Likewise.
691 * gdb.java/jnpe.java: Likewise.
692 * gdb.mi/mi-stepn.c: Likewise.
693 * gdb.mi/mi-var-cp.cc: Likewise.
694 * gdb.mi/mi-var-rtti.cc: Likewise.
695 * gdb.mi/ns-stale-regcache.c: Likewise.
696 * gdb.mi/pr11022.c: Likewise.
697 * gdb.mi/solib-lib.c: Likewise.
698 * gdb.mi/solib-main.c: Likewise.
699 * gdb.python/py-arch.c: Likewise.
700 * gdb.python/py-block.c: Likewise.
701 * gdb.python/py-breakpoint.c: Likewise.
702 * gdb.python/py-events.c: Likewise.
703 * gdb.python/py-evthreads.c: Likewise.
704 * gdb.python/py-explore.c: Likewise.
705 * gdb.python/py-explore.cc: Likewise.
706 * gdb.python/py-finish-breakpoint.c: Likewise.
707 * gdb.python/py-finish-breakpoint2.cc: Likewise.
708 * gdb.python/py-symbol.c: Likewise.
709 * gdb.threads/execl.c: Likewise.
710 * gdb.threads/execl1.c: Likewise.
711
88ab5684
WN
7122013-06-07 Will Newton <will.newton@linaro.org>
713
714 * gdb.base/long_long.exp: Fix ARM EABI target glob.
715
42daa7a0
WN
7162013-06-07 Will Newton <will.newton@linaro.org>
717
718 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
719 and "starting".
720
f4059ef3
WN
7212013-06-07 Will Newton <will.newton@linaro.org>
722
723 * gdb.cp/anon-struct.exp: Conditionalize constructor and
724 destructor prototypes for ARM ABI.
725 * gdb.cp/m-static.exp: Likewise.
726
8cb5cc78
YQ
7272013-06-07 Yao Qi <yao@codesourcery.com>
728
729 * gdb.trace/mi-trace-unavailable.exp: New.
730 * gdb.trace/trace-unavailable.c: New.
731
c6cf1712
DE
7322013-06-06 Doug Evans <dje@google.com>
733
734 * gdb.cp/derivation.exp: Make tests have unique names.
735
bf6be0f4
TT
7362013-06-06 Tom Tromey <tromey@redhat.com>
737
738 * gdb.base/dump.exp (capture_value): Don't put expression into
739 test name if arguments passed in.
740 Rename a couple more tests to make them unique.
741
ebb022fa
TT
7422013-06-06 Tom Tromey <tromey@redhat.com>
743
744 * gdb.base/break-always.exp: Explicitly specify test name.
745
69fc87c2
DE
7462013-06-05 Doug Evans <dje@google.com>
747 Keith Seitz <keiths@redhat.com>
748
749 * gdb.cp/derivation2.cc: New file.
750 * gdb.cp/derivation.cc (main): Call foo2.
751 * gdb.cp/derivation.exp: Add tests for typedefs in another
752 file, and when there's an active block.
753
f993f39e
LM
7542013-06-05 Luis Machado <lgustavo@codesourcery.com>
755
756 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
757 from targets that use function descriptors in the virtual tables.
758 Handle presence of dot symbols.
759
afacd7f3
GB
7602013-06-04 Gary Benson <gbenson@redhat.com>
761
762 * gdb.base/break-probes.exp: New file.
763 * gdb.base/break-probes.c: Likewise.
764 * gdb.base/break-probes-solib.c: Likewise.
765 * gdb.base/info-shared.exp: New file.
766 * gdb.base/info-shared.c: Likewise.
767 * gdb.base/info-shared-solib1.c: Likewise.
768 * gdb.base/info-shared-solib2.c: Likewise.
769
a29a3fb7
GB
7702013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
771 Gary Benson <gbenson@redhat.com>
772
773 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
774 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
775 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
776 to be set to "no" to indicate that no ld.so copy should be made.
777 * gdb.base/break-interp.exp (solib_bp): New constant.
778 (reach_1): Use the above instead of "_dl_debug_state".
779 (test_attach): Likewise.
780 (test_ld): Likewise.
781 * gdb.threads/dlopen-libpthread.exp: New file.
782 * gdb.threads/dlopen-libpthread.c: Likewise.
783 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
784 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
785
62a813cc
YQ
7862013-05-30 Yao Qi <yao@codesourcery.com>
787
788 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
789 Add a test that no MI notification is emitted when executing
790 -exec-arguments.
791
8f56dad4
JK
7922013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
793
794 PR testsuite/12649
795 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
796 $mi_gdb_prompt expectation by mi_expect_stop.
797 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
798 (mi info dprintf second time): Replace them by mi_send_resuming_command
799 and mi_expect_stop.
800
c588eb20
GB
8012013-05-24 Gary Benson <gbenson@redhat.com>
802
803 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
804 backslash.
805 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
806 backslashes.
807 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
808 backslash.
809
c0ea94eb
YQ
8102013-05-24 Yao Qi <yao@codesourcery.com>
811
812 * gdb.trace/tfile.exp: Test inferior and thread.
813
db1ac436
YQ
8142013-05-24 Yao Qi <yao@codesourcery.com>
815 Pedro Alves <palves@redhat.com>
816
817 * gdb.base/range-stepping.exp: Skip the rest of tests if the
818 test fails.
819 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
820 Return 0 if the test passes, otherwise return 1.
821
b6abb10c
DE
8222013-05-23 Doug Evans <dje@google.com>
823
824 * boards/fission-dwp.exp: New file.
825
bc5065a7
PA
8262013-05-23 Yao Qi <yao@codesourcery.com>
827 Pedro Alves <palves@redhat.com>
828
829 * gdb.base/range-stepping.c: New file.
830 * gdb.base/range-stepping.exp: New file.
831 * gdb.trace/range-stepping.c: New file.
832 * gdb.trace/range-stepping.exp: New file.
833 * lib/range-stepping-support.exp: New file.
834
5f2e6b00
TT
8352013-05-22 Tom Tromey <tromey@redhat.com>
836
837 * gdb.cp/class2.cc (main): New local 'aref'.
838 * gdb.cp/class2.exp: Check printing of 'aref'.
839
e6ba475a
DE
8402013-05-22 Doug Evans <dje@google.com>
841
842 * gdb.threads/wp-replication.c (main): Insert some code at the start
843 to ensure the breakpoint on main is only hit once. Fix comment.
844
52c935b6
KS
8452013-05-21 Keith Seitz <keiths@redhat.com>
846 Pedro Alves <palves@redhat.com>
847
848 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
849 gdb_expect.
850 Add test to flush the remaining input buffer so that this
851 file passes testsuite/12649.
852
bd9673a4
PW
8532013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
854
855 * gdb.base/catch-signal-fork.exp: New file.
856 * gdb.base/catch-signal-fork.c: New file.
857
69a97597
SA
8582013-05-21 Sterling Augustine <saugustine@google.com>
859
860 * boards/remote-stdio-gdbserver.exp: New file.
861
44e97363
JK
8622013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
863
864 PR testsuite/12649
865 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
866 racy matches.
867
02392865
CG
8682013-05-21 Christian Groessler <chris@groessler.org>
869
870 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
871 since it's not supported in all shells.
872
c5867ab6
HZ
8732013-05-21 Hui Zhu <hui@codesourcery.com>
874
875 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
876 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
877
6c9e2db4
DE
8782013-05-20 Doug Evans <dje@google.com>
879
880 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
881 (_handle_DW_TAG): Use it.
882 (cu, tu): Replace parameters is_64, version, addr_size with options.
883 All callers updated. Add Fission support.
884 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
885 * gdb.dwarf2/method-ptr.exp: Ditto.
886 * gdb.dwarf2/nostaticblock.exp: Ditto.
887 * gdb.dwarf2/subrange.exp: Ditto.
888 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
889
4a6e676c
TT
8902013-05-20 Tom Tromey <tromey@redhat.com>
891
892 * gdb.gdb/python-selftest.exp: New file.
893
e19d3afb
DE
8942013-05-20 Doug Evans <dje@google.com>
895
896 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
897 -fdebug-types-section.
898
4d804846
JB
8992013-05-20 Joel Brobecker <brobecker@adacore.com>
900
901 * gdb.ada/float_param: New testcase.
902
8d324e83
DE
9032013-05-17 Doug Evans <dje@google.com>
904
7d0c9981
DE
905 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
906 Add tests for "maint check-symtabs", "maint expand-symtabs".
907
8d324e83
DE
908 * gdb.base/maint.exp: Remove testing of individual maint command
909 help output.
910
177aadc4
PA
9112013-05-16 Pedro Alves <palves@redhat.com>
912
913 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
914 comment. Use gdb_test_no_output.
915
b8fea896
JB
9162013-05-16 Joel Brobecker <brobecker@adacore.com>
917
918 * gdb.ada/complete.exp: Add test verifying completion using
919 the "tab" key.
920
52c935b6
KS
9212013-05-15 Keith Seitz <keiths@redhat.com>
922
923 * gdb.base/filesym.exp: New completer test.
924 * gdb.base/filesym.c: New file.
925
ed0f00b8
PA
9262013-05-15 Pedro Alves <palves@redhat.com>
927
928 * gdb.base/fixsection.c: Remove attribution.
929 * gdb.base/watch-read.exp: Ditto.
930
55fb6d27
TT
9312013-05-13 Tom Tromey <tromey@redhat.com>
932
933 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
934 size and change type sizes to 4 bytes.
935
ac1ca910
TT
9362013-05-13 Tom Tromey <tromey@redhat.com>
937
938 * gdb.base/exprs.exp (test_expr): Add regression test.
939 * gdb.base/exprs.c (null_t_struct): New global.
940
8414efef
MB
9412013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
942
943 * gdb.base/default.exp: Disable history saving.
944 * gdb.base/setshow.exp: Likewise.
945
9779ab84
PA
9462013-05-10 Pedro Alves <palves@redhat.com>
947
948 PR remote/15455
949
950 * gdb.trace/qtro.c: New file.
951 * gdb.trace/qtro.exp: New file.
952
1e611234
PM
9532013-05-10 Phil Muldoon <pmuldoon@redhat.com>
954
955 * gdb.python/py-framefilter.py: New File.
956 * gdb.python/py-framefilter-mi.exp: Ditto.
957 * gdb.python/py-framefilter.c: Ditto.
958 * gdb.python/py-framefilter-mi.exp: Ditto.
959 * gdb.python/py-framefilter-mi.c: Ditto,
960 * gdb.python/py-framefilter-gdb.py.in: Ditto.
961
5e4c3ac4
TT
9622013-05-08 Tom Tromey <tromey@redhat.com>
963
964 * gdb.base/solib-search.exp: Set test name for "set
965 solib-search-path" test.
966
993654a9
HAQ
9672013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
968
969 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
970 (set_a_tracepoint): Set tracepoint before prologue.
971 (run_trace_experiment): Test setup_tracepoints and 'break end'
972 in it.
973 (trace_buffer_normal): Remove.
974 (gdb_trace_circular_tests): Remove. Move tests to...
975 (top level): ...here. Call 'runto_main' before checking for
976 trace support. Use commands to check the support for circular
977 trace buffer and changing of trace buffer size. Add test
978 to calculate size of single frame. Use this size to
979 calculate the size of trace buffer. Use 'tfind pc func9'
980 instead of 'tfind 9'. Use 'with_test_prefix'.
981
c95aea6b
TT
9822013-05-07 Tom Tromey <tromey@redhat.com>
983
984 * lib/selftest-support.exp: New file.
985 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
986 do_self_tests.
987 (setup_test, find_gdb): Remove.
988 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
989 do_self_tests.
990 (setup_test, find_gdb): Remove.
991 (test_observer): Don't call setup_test. Remove argument.
992 * gdb.gdb/selftest.exp: Load selftest-support.exp.
993 (find_gdb): Remove.
994 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
995 do_self_tests.
996 (setup_test, find_gdb): Remove.
997 (test_with_self): Don't call setup_test. Remove argument.
998
1f031429
PA
9992013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1000
1001 * gdb.arch/system-gcore.exp: Remove.
1002 * gdb.arch/gcore.c: Remove.
1003 * gdb.base/gcore.exp: Add "info reg system".
1004
58ce7251
SDJ
10052013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1006
1007 PR breakpoints/15413:
1008 * gdb.base/pending.exp: Add test for completion of the "condition"
1009 command for pending breakpoints.
1010 * gdb.linespec/linespec.ex: Add test for completion of the
1011 "condition" command when dealing with multiple locations.
1012
aacbb8a5
LM
10132013-05-07 Luis Machado <lgustavo@codesourcery.com>
1014
1015 * gdb.threads/wp-replication.c: New file.
1016 * gdb.threads/wp-replication.exp: New file.
1017
2dd6254d
SL
10182013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1019
1020 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1021
c2a96e8c
DE
10222013-05-06 Doug Evans <dje@google.com>
1023
b903e17e
DE
1024 * gdb.base/solib-search-lib1.c: New file.
1025 * gdb.base/solib-search-lib2.c: New file.
1026 * gdb.base/solib-search.c: New file.
1027 * gdb.base/solib-search.h: New file.
1028 * gdb.base/solib-search.exp: New file.
1029
fac51dd9
DE
1030 * lib/gdb.exp (gdb_core_cmd): New function.
1031 * gdb.arch/system-gcore.exp: Use it.
1032 * gdb.arch/vsx-regs.exp: Ditto.
1033 * gdb.base/gcore.exp: Ditto.
1034 * gdb.threads/gcore-thread.exp: Ditto.
1035
c2a96e8c
DE
1036 * gdb.reverse/shr.h: New file.
1037 * gdb.reverse/shr1.c: New file.
1038 * gdb.reverse/shr2.c: #include "shr.h".
1039 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1040 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1041 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1042 Update tests using sleep/printf to use shr2.sl instead.
1043 * gdb.reverse/solib-reverse.exp: Ditto.
1044
b6807d98
TT
10452013-05-06 Tom Tromey <tromey@redhat.com>
1046
1047 * gdb.dwarf2/implptrconst.c: New file.
1048 * gdb.dwarf2/implptrconst.exp: New file.
1049 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1050 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1051 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1052
96f7d3f1
PW
10532013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1054
1055 * gdb.base/catch-sig.c (main): Raise SIGINT.
1056 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1057
1ebff1fd
HAQ
10582013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1059
1060 * status-stop.exp (test_tstart_tstart): Check for error
1061 returned by the second 'tstart' command.
1062
f92b06da
WT
10632013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1064
1065 * gdb.xml/maint_print_struct.exp: New file.
1066 * gdb.xml/maint_print_struct.xml: New file.
1067
ff546935
TT
10682013-04-25 Tom Tromey <tromey@redhat.com>
1069
1070 * gdb.dwarf2/nostaticblock.exp: New file.
1071
bf9e4d0c
MB
10722013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1073
1074 PR gdb/10462
1075 * gdb.base/setshow.exp: Add test case.
1076
a11cfd87
HZ
10772013-04-23 Hui Zhu <hui@codesourcery.com>
1078
1079 PR gdb/15293
a11cfd87
HZ
1080 * gdb.base/dprintf.exp: Add ignore command.
1081
2d9442cc
HZ
10822013-04-23 Hui Zhu <hui@codesourcery.com>
1083
1084 PR gdb/15165
2d9442cc
HZ
1085 * gdb.base/save-bp.exp: Add test for dprintf.
1086
0f3305ed
TT
10872013-04-22 Tom Tromey <tromey@redhat.com>
1088
1089 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1090 notice_open_fds.
1091
d504301e
SDJ
10922013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1093
1094 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1095 ldflags.
1096
9991b207
SDJ
10972013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1098
1099 * gdb.arch/arm-bl-branch-dest.c: New file.
1100 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1101
433730c9
PA
11022013-04-19 Vladimir Kargov <kargov@gmail.com>
1103 Pedro Alves <palves@redhat.com>
1104
1105 * gdb.arch/i386-float.S: New file.
1106 * gdb.arch/i386-float.exp: New file.
1107
9a908334
LM
11082013-04-18 Luis Machado <lgustavo@codesourcery.com>
1109
1110 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1111 type void *.
1112
4f22ed5c
DE
11132013-04-17 Doug Evans <dje@google.com>
1114
1115 * lib/dwarf.exp (Dwarf): New proc "tu".
1116 * gdb.dwarf2/missing-sig-type.exp: New file.
1117
a0d3f2f5
SCR
11182013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1119
1120 Add option to link testcases with Pthreads library when
1121 using 'prepare_for_testing' in tests.
1122
1123 * lib/gdb.exp (build_executable_from_specs): Use
1124 gdb_compile_pthreads to compile if option "pthreads" is
1125 specified.
1126
cc16e6c9
TT
11272013-04-15 Tom Tromey <tromey@redhat.com>
1128
1129 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1130
72f1fe8a
TT
11312013-04-15 Tom Tromey <tromey@redhat.com>
1132
1133 * gdb.base/default.exp: Update for $_exception.
1134 * gdb.cp/exceptprint.cc: New file.
1135 * gdb.cp/exceptprint.exp: New file.
1136 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1137
6e72ca20
TT
11382013-04-15 Tom Tromey <tromey@redhat.com>
1139
1140 * gdb.cp/typeid.cc: New file.
1141 * gdb.cp/typeid.exp: New file.
1142
591f19e8
TT
11432013-04-15 Tom Tromey <tromey@redhat.com>
1144
1145 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1146
da9160e4
YQ
11472013-04-13 Yao Qi <yao@codesourcery.com>
1148
1149 * gdb.base/completion.exp: Test completion of command
1150 'target ctf' if target ctf is supported.
1151
f81d1120
PA
11522013-04-10 Pedro Alves <palves@redhat.com>
1153
1154 * gdb.base/completion.exp: Test "set height", "set listsize" and
1155 "set trace-buffer-size" completion.
1156 * gdb.base/setshow.exp: Test "set height unlimited".
1157 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1158 unlimited".
1159
393fd4c3
YQ
11602013-04-10 Yao Qi <yao@codesourcery.com>
1161
1162 * gdb.trace/actions.exp: Save trace data to CTF.
1163 Change to ctf target if GDB supports, read CTF data in ctf
1164 target, and check the actions of tracepoints.
1165 * gdb.trace/while-stepping.exp: Likewise.
1166 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1167 format and read CTF trace file if GDB supports.
1168 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1169 target is supported, change to ctf target, read trace data and
1170 check output of command "tstatus".
1171 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1172 read CTF data by target ctf and call check_tsv.
1173
b7a273f8
YQ
11742013-04-10 Yao Qi <yao@codesourcery.com>
1175
1176 * gdb.trace/actions.exp (check_tracepoint): New.
1177 (top level): Start the tracing and check the actions of
1178 tracepoints. Save trace data to tfile format. Restart GDB
1179 and read trace file in tfile target. Check the actions of
1180 tracepoints again.
1181 * gdb.trace/while-stepping.exp: Likewise.
1182
f3786771
YQ
11832013-04-10 Yao Qi <yao@codesourcery.com>
1184
1185 * gdb.trace/report.exp: Use standard_output_file for saved
1186 trace file.
1187
5c2b4418
HZ
11882013-04-10 Hui Zhu <hui@codesourcery.com>
1189
1190 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1191 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1192 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1193
f7543f0a
JK
11942013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1195
1196 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1197 response.
1198
f6de8ec2
PA
11992013-04-08 Pedro Alves <palves@redhat.com>
1200
1201 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1202 the location.
1203
b8abfd58
SL
12042013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1205
1206 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1207 for breakpoint location.
1208
156bffd0
SL
12092013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1210
1211 * gdb.linespec/linespec.exp: Make dir/file:line tests
1212 conditional for non-remote hosts only.
1213
c9a6ce02
PA
12142013-04-04 Stan Shebs <stan@codesourcery.com>
1215 Pedro Alves <palves@redhat.com>
1216
1217 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1218 * gdb.trace/actions-changed.c: New file.
1219 * gdb.trace/actions-changed.exp: New file.
1220 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1221 (gdb_trace_setactions_command): ... this. Add "actions_command"
1222 parameter, and handle it.
1223 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1224
4bd05f24
YQ
12252013-04-04 Yao Qi <yao@codesourcery.com>
1226
1227 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1228 'step'.
1229
3758b5ce
YQ
12302013-04-03 Yao Qi <yao@codesourcery.com>
1231
1232 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1233 "tfile-basic.tf".
1234 (test_tfind_tfile): Likewise.
1235
1dcaed0d
YQ
12362013-04-03 Yao Qi <yao@codesourcery.com>
1237
1238 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1239 "tfile-basic.tf" instead of "basic.tf".
1240 (write_error_trace_file): Pass argument "tfile-error.tf"
1241 instead of "error.tf".
1242 * gdb.trace/tfile.exp: Update tfile names to
1243 "tfile-basic.tf" and "tfile-error.tf".
1244
0e7a53fc
SL
12452013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1246
1247 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1248 empty directory in file for breakpoint hit.
1249
9852c492
YQ
12502013-03-29 Yao Qi <yao@codesourcery.com>
1251
1252 * gdb.base/completion.exp: Test completion of commands
1253 "target core", "target tfile" and "target exec".
1254 * gdb.trace/tfile.exp: Test completion of command
1255 "target tfile".
1256
af312be7
JB
12572013-03-28 Joel Brobecker <brobecker@adacore.com>
1258
1259 * gdb.ada/win_fu_syms: New testcase.
1260
e4a48d9d
DE
12612013-03-28 Doug Evans <dje@google.com>
1262
1263 * gdb.base/maint.exp (maint print statistics): Update expected output.
1264
7f7cc265
PA
12652013-03-28 Pedro Alves <palves@redhat.com>
1266
1267 PR gdb/15294
1268
1269 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1270 mean unlimited instead of $arg < 0.
1271 (test_listsize): Remove "listsize of 0 suppresses output" test.
1272 Test that "set listsize 0" ends up with an unlimited listsize.
1273
fc0da894
PA
12742013-03-28 Pedro Alves <palves@redhat.com>
1275
1276 * gdb.base/list.exp (last_line): New global.
1277 (last_line_re): New global.
1278 (test_listsize, test_list_function, test_list_forward)
1279 (test_repeat_list_command, test_list_range)
1280 (test_list_filename_and_function): Use them.
1281 * gdb.base/list0.c: Comment the last line of the file with "last
1282 line".
1283
abe7b711
PA
12842013-03-28 Pedro Alves <palves@redhat.com>
1285
1286 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1287 list the whole file.
1288
15b3979c
PA
12892013-03-28 Pedro Alves <palves@redhat.com>
1290
1291 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1292 "set listsize".
1293
96811e3b
KS
12942013-03-26 Keith Seitz <keiths@redhat.com>
1295
1296 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1297 from passing.
1298
4043f22b
PA
12992013-03-26 Pedro Alves <palves@redhat.com>
1300
1301 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1302 until after GDB has run.
1303
14a1aa17
YQ
13042013-03-26 Yao Qi <yao@codesourcery.com>
1305
1306 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1307 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1308
99c819ee
MM
13092013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1310
1311 * gdb.btrace/enable.exp: Add regression test.
1312
24955f63
TT
13132013-03-25 Tom Tromey <tromey@redhat.com>
1314
1315 * gdb.cp/m-static.exp: Add destructor-printing tests.
1316
fce632b6
TT
13172013-03-25 Tom Tromey <tromey@redhat.com>
1318
1319 * gdb.cp/m-static.exp: Add constructor ptype tests.
1320 * gdb.cp/m-static.cc (single_constructor): New class.
1321 (main): Make instance of single_constructor.
1322
598d3636
JK
13232013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1324 Pedro Alves <palves@redhat.com>
1325
1326 * gdb.server/server-kill.c: New file.
1327 * gdb.server/server-kill.exp: New file.
1328
c12440c9
PA
13292013-03-21 Pedro Alves <palves@redhat.com>
1330
1331 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1332 Expect $gdb_prompt in gdb_test_multiple.
1333
bd712aed
DE
13342013-03-21 Doug Evans <dje@google.com>
1335
1336 * gdb.base/maint.exp: Update tests for per-command stats.
1337
b2f83c08
TT
13382013-03-21 Tom Tromey <tromey@redhat.com>
1339
1340 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1341 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1342
ef0026f0
PA
13432013-03-20 Pedro Alves <palves@redhat.com>
1344
1345 PR gdb/15289
1346
1347 * gdb.base/remote.exp: Test
1348 "set remote hardware-watchpoint-limit -1",
1349 "set remote hardware-breakpoint-limit -1",
1350 "set remote hardware-watchpoint-limit 2147483647" and
1351 "set remote hardware-breakpoint-limit 2147483647".
1352
3f1175a9
PA
13532013-03-20 Pedro Alves <palves@redhat.com>
1354 Yao Qi <yao@codesourcery.com>
1355
1356 * gdb.trace/tfile.c: Add comments.
1357 (nonconstglob): New global.
1358 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
1359 global that is not covered by the trace frame. Test
1360 disassembling.
1361
a09ae1c1
JK
13622013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1363
1364 * gdb.base/valgrind-infcall.exp
1365 (continue #$continue_count) <remote connection closed>
1366 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1367 $valgrind_pid.
1368
9ce98649
TT
13692013-03-15 Tom Tromey <tromey@redhat.com>
1370
1371 * gdb.cp/overload.cc (intintfunc): New.
1372 * gdb.cp/overload.exp: Add regression test.
1373
0a251e08
YQ
13742013-03-15 Yao Qi <yao@codesourcery.com>
1375
1376 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1377 using with_test_prefix.
1378 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1379 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1380 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1381 * gdb.threads/watchpoint-fork.exp (test): Likewise.
1382 * gdb.base/break-interp.exp (test_core): Likewise.
1383 (test_attach_gdb): Likewise.
1384 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1385 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1386 Likewise.
1387 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1388 * gdb.base/jit.exp (one_jit_test): Likewise.
1389 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1390 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1391 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1392 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1393 Likewise.
1394 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1395 Likewise.
1396 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1397 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1398 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1399 (tracepoint_change_loc_2): Likewise.
1400 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1401 Likewise.
1402 (disconnected_tfind): Likewise.
1403 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1404 Likewise.
1405 (test_tfind_remote): Likewise.
1406 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1407 Likewise.
1408 (test_pending_resolved): Likewise.
1409 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1410 Likewise.
1411 (test_upload_tsv): Likewise.
1412 * gdb.trace/pending.exp (pending_tracepoint_resolved):
1413 Likewise.
1414 (pending_tracepoint_works): Likewise.
1415 * gdb.trace/report.exp (use_collected_data): Likewise.
1416 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1417 Likewise.
1418 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1419 * gdb.trace/strace.exp (strace_info_marker): Likewise.
1420 (strace_trace_on_same_addr): Likewise.
1421 (strace_trace_on_diff_addr): Likewise.
1422 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1423 (gdb_collect_locals_test): Likewise.
1424 (gdb_unavailable_registers_test): Likewise.
1425 (gdb_collect_globals_test): Likewise.
1426
2c415c0f
YQ
14272013-03-15 Yao Qi <yao@codesourcery.com>
1428
1429 * gdb.base/condbreak.exp: Add semicolon back which was removed
1430 by my previous commit.
1431
ae59b1da
YQ
14322013-03-14 Yao Qi <yao@codesourcery.com>
1433
1434 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1435 'return'.
1436 (gdb_target_monitor, gdb_load): Likewise.
1437 * config/sid.exp (gdb_load): Likewise.
1438 * config/slite.exp (gdb_load): Likewise.
1439 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1440 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1441 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1442 (single_step_until): Likewise.
1443 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1444 * gdb.arch/system-gcore.exp: Likewise.
1445 * gdb.base/bigcore.exp (extract_heap): Likewise.
1446 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1447 * gdb.base/call-ar-st.exp: Likewise.
1448 * gdb.base/call-rt-st.exp: Likewise.
1449 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1450 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1451 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1452 * gdb.base/corefile.exp: Likewise.
1453 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1454 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1455 * gdb.base/fixsection.exp: Likewise.
1456 * gdb.base/funcargs.exp: Likewise.
1457 * gdb.base/gcore-buffer-overflow.exp: Likewise.
1458 * gdb.base/gcore-relro.exp: Likewise.
1459 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1460 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1461 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1462 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1463 * gdb.base/list.exp: Likewise.
1464 (set_listsize): Likewise.
1465 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1466 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1467 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1468 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1469 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1470 * gdb.base/setvar.exp: Likewise.
1471 (test_set): Likewise.
1472 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1473 * gdb.base/solib-overlap.exp: Likewise.
1474 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1475 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1476 * gdb.base/watchpoint.exp (initialize): Likewise.
1477 (test_simple_watchpoint): Likewise.
1478 (test_disabling_watchpoints): Likewise.
1479 (test_watchpoint_triggered_in_syscall): Likewise.
1480 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1481 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1482 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1483 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1484 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1485 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1486 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1487 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1488 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1489 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1490 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1491 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1492 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1493 * gdb.mi/gdb792.exp: Likewise.
1494 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1495 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1496 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1497 * gdb.threads/gcore-thread.exp: Likewise.
1498 (load_core): Likewise.
1499 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1500 (test_startup, check_control_c): Likewise.
1501 * gdb.threads/sigstep-threads.exp: Likewise.
1502 * gdb.threads/thread_check.exp: Likewise.
1503 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1504 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1505 (set_a_tracepoint, trace_buffer_normal): Likewise.
1506 (gdb_trace_circular_tests): Likewise.
1507 * gdb.trace/collection.exp: Likewise.
1508 * gdb.trace/disconnected-tracing.exp: Likewise.
1509 * gdb.trace/infotrace.exp: Likewise.
1510 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1511 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1512 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1513 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1514 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1515 * gdb.trace/stap-trace.exp: Likewise.
1516 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1517 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
1518 * gdb.trace/trace-buffer-size.exp: Likewise.
1519 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
1520 * gdb.trace/unavailable.exp: Likewise.
1521 * gdb.trace/while-dyn.exp: Likewise.
1522 * lib/fortran.exp (set_lang_fortran): Likewise.
1523 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
1524 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
1525 (default_gdb_start, get_compiler_info): Likewise.
1526 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
1527 (get_debug_format, setup_xfail_format): Likewise.
1528 (rerun_to_main, gdb_skip_float_test): Likewise.
1529 (build_id_debug_filename_get, get_remotetimeout): Likewise.
1530 * lib/java.exp (set_lang_java): Likewise.
1531 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
1532 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
1533 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
1534 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
1535 * lib/objc.exp (set_lang_objc): Likewise.
1536 * lib/pascal.exp (set_lang_pascal): Likewise.
1537 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1538 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
1539 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
1540
bb869963
SDJ
15412013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
1542
1543 PR c++/15203
1544 PR c++/15210
1545 * gdb.cp/m-static.cc (keepalive_int): New function.
1546 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
1547 * gdb.cp/m-static.exp: New test for `sintvar'.
1548
e2be70a0
YQ
15492013-03-14 Yao Qi <yao@codesourcery.com>
1550
1551 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
1552 of 'tstatus' into tstatus_output.
1553 (top level): Save the trace data to tfile. Read trace file in
1554 tfile target. Check the trace status.
1555
8ddb1965
YQ
15562013-03-13 Yao Qi <yao@codesourcery.com>
1557
1558 * gdb.trace/tsv.exp (check_tsv): New.
1559 (top level): Save a tfile on current trace session. Call
1560 check_tsv on live target. Load the tfile with target tfile
1561 and call check_tsv again.
1562
045dd51f
YQ
15632013-03-13 Yao Qi <yao@codesourcery.com>
1564
1565 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
1566 Replace some "gdb_test" with "gdb_test_no_output".
1567
82d049ab
PH
15682013-03-12 Paul Hilfinger <hilfingr@adacore.com>
1569
1570 * gdb.ada/expr_delims.exp: New file.
1571 * gdb.ada/expr_delims/foo.adb: New file.
1572 * gdb.ada/expr_delims/pck.ads: New file.
1573 * gdb.ada/expr_delims/pck.adb: New file.
1574
cb8ea32b
KS
15752013-03-11 Keith Seitz <keiths@redhat.com>
1576
1577 * watchpoint.exp (test_no_hw_watchpoints): Add test using
1578 both condition and thread. Then delete the watchpoint.
1579
2f1d9bdd
MM
15802013-03-11 Christian Himpel <christian.himpel@intel.com>
1581
1582 * Makefile.in: Add btrace testsuite.
1583 * configure: Regenerated.
1584 * configure.ac: Add btrace testsuite.
1585 * gdb.btrace/Makefile.in: New file.
1586 * gdb.btrace/enable.c: New file.
1587 * gdb.btrace/enable.exp: New file.
1588 * gdb.btrace/function_call_history.c: New file.
1589 * gdb.btrace/function_call_history.exp: New file.
1590 * gdb.btrace/instruction_history.c: New file.
1591 * gdb.btrace/instruction_history.exp: New file.
1592 * gdb.btrace/instruction_history.S: New file.
1593 * lib/gdb.exp: Add btrace skip proc.
1594
05c56a9d
JK
15952013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1596
1597 Fix entry-values if the callee called a noreturn function.
1598 * gdb.arch/amd64-tailcall-noret.S: New file.
1599 * gdb.arch/amd64-tailcall-noret.c: New file.
1600 * gdb.arch/amd64-tailcall-noret.exp: New file.
1601
9112db09
JK
16022013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1603
1604 Fix entry-values in C++ across CUs.
1605 * gdb.arch/amd64-tailcall-cxx.exp: New file.
1606 * gdb.arch/amd64-tailcall-cxx1.S: New file.
1607 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
1608 * gdb.arch/amd64-tailcall-cxx2.S: New file.
1609 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
1610
be9a119c 16112013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
1612 Hafiz Abid Qadeer <abidh@codesourcery.com>
1613
1614 gdb/testsuite/
1615 * gdb.trace/trace-buffer-size.exp: New file.
1616 * gdb.trace/trace-buffer-size.c: New file.
1617
049109b0
PA
16182013-03-06 Pedro Alves <palves@redhat.com>
1619
1620 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
1621 doesn't support the tested optional feature, call "unsupported"
1622 with the same test message as the "pass" case, instead of calling
1623 "pass" with a different message. Use the same text for the "fail"
1624 cases too.
1625
4aa54120
YQ
16262013-03-06 Yao Qi <yao@codesourcery.com>
1627
1628 * gdb.trace/tstatus.exp: Remove the invocation of
1629 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
1630 (test_tracepoints): Don't set fast tracepoint.
1631 (top level): Don't check agent library is loaded or not.
1632
b8b71e63
YQ
16332013-03-06 Yao Qi <yao@codesourcery.com>
1634
1635 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
1636 parentheses by "\\".
1637
33f448b1
JK
16382013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1639
1640 * gdb.linespec/base/one/thefile.cc (twodup): New.
1641 (m): Call it.
1642 * gdb.linespec/base/two/thefile.cc (dupname): New.
1643 (n): Call it.
1644 * gdb.linespec/break-ask.exp: New file.
1645 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
1646
1c942fb9
YQ
16472013-02-28 Yao Qi <yao@codesourcery.com>
1648
1649 * gdb.trace/report.exp: Move some code to ...
1650 (use_collected_data): New.
1651 (top level): Call use_collected_data once on the live target.
1652 Save at file of the current trace session, load it with target
1653 tfile, and call use_collected_data again.
1654
5b967901
JK
16552013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1656
1657 * gdb.threads/fork-thread-pending.c (main): Add alarm.
1658
6447023f
JK
16592013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1660
1661 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
1662 Add final kill of ${valgrind_pid}.
1663
9f44fbc0
SCR
16642013-02-20 Siva Chandra Reddy <sivachandra@google.com>
1665
1666 * gdb.python/py-arch.c: New test case
1667 * gdb.python/py-arch.exp: New tests to test
1668 gdb.Architecture.disassemble
1669 * gdb.python/Makefile.in: Add py-arch to the list of
1670 EXECUTABLES.
1671
4c9ad8c2
TT
16722013-02-18 Tom Tromey <tromey@redhat.com>
1673
1674 * gdb.dwarf2/subrange.exp: New file.
1675
f5911ea1
HAQ
16762013-02-15 Pedro Alves <pedro@codesourcery.com>
1677 Hafiz Abid Qadeer <abidh@codesourcery.com>
1678
1679 * gdb.trace/tfile.exp: Add test for -trace-status command.
1680
420f4384
JK
16812013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1682
1683 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
1684 nanosleep by sleep.
1685
4819b3f8
PA
16862013-02-14 Pedro Alves <palves@redhat.com>
1687
1688 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
1689
1773c82c
HAQ
16902013-02-14 Pedro Alves <pedro@codesourcery.com>
1691 Hafiz Abid Qadeer <abidh@codesourcery.com>
1692
1693 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
1694
e234dfaf
TT
16952013-02-12 Tom Tromey <tromey@redhat.com>
1696
1697 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
1698 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
1699
6c01dd94
PA
17002013-02-12 Pedro Alves <palves@redhat.com>
1701
1702 * gdb.base/catch-signal.c: Update copyright years.
1703 * gdb.base/catch-signal.exp: Update copyright years.
1704 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
1705 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
1706 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
1707 * gdb.dwarf2/dw2-error.S: Update copyright years.
1708 * gdb.dwarf2/dw2-error.c: Update copyright years.
1709 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
1710 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
1711 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
1712
595fc67f
PA
17132013-02-12 Pedro Alves <palves@redhat.com>
1714
1715 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
1716 message.
1717 * gdb.base/sigaltstack.exp: Ditto.
1718 * gdb.base/siginfo.exp: Ditto.
1719 * gdb.base/sizeof.exp: Ditto.
1720
17282693
PA
17212013-02-12 Pedro Alves <palves@redhat.com>
1722
1723 * gdb.mi/mi-basics.exp: Tweak intro comment.
1724 * gdb.mi/mi-break.exp: Tweak intro comment.
1725 * gdb.mi/mi-console.exp: Tweak intro comment.
1726 * gdb.mi/mi-file.exp: Tweak intro comment.
1727 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
1728 * gdb.mi/mi-return.exp: Tweak intro comment.
1729 * gdb.mi/mi-stepi.exp: Tweak intro comment.
1730 * gdb.mi/mi-until.exp: Tweak intro comment.
1731 * gdb.mi/mi-watch.exp: Tweak intro comment.
1732
8a4ac37e
PA
17332013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1734
1735 * gdb.server/no-thread-db.exp: New file.
1736 * gdb.server/no-thread-db.c: New file.
1737 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
1738
c2792f5a
DE
17392013-02-11 Doug Evans <dje@google.com>
1740
1741 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
1742 two decfloats.
1743
d9e98382
SDJ
17442013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1745
1746 * gdb.base/bitfields.c (struct internalvartest): New declaration.
1747 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1748
a321661a
JK
17492013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1750
1751 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1752
134a2066
YQ
17532013-02-06 Yao Qi <yao@codesourcery.com>
1754
1755 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1756 to ...
1757 (test_create_delete_modify_tsv): ... here. New test on modifying
1758 the initial value of a tsv.
1759
5a2dc60a
JK
17602013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1761
1762 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1763 (cd .../rdir): ... here.
1764
233d95b5
JK
17652013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1766
1767 * gdb.linespec/base/one/header.h: New file.
1768 * gdb.linespec/base/two/header.h: New file.
1769 * gdb.linespec/macro-relative.c: New file.
1770 * gdb.linespec/macro-relative.exp: New file.
1771
fbd9ab74
JK
17722013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1773
1774 * gdb.base/fullpath-expand-func.c: New file.
1775 * gdb.base/fullpath-expand.c: New file.
1776 * gdb.base/fullpath-expand.exp: New file.
1777 * gdb.base/realname-expand-real.c: New file.
1778 * gdb.base/realname-expand.c: New file.
1779 * gdb.base/realname-expand.exp: New file.
1780
1b56eb55
JK
17812013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1782
1783 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1784 * gdb.dwarf2/dw2-dir-file-name.c: New file.
1785
af529f8f
JK
17862013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1787
1788 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1789 (compare_filenames_for_search does not match)
1790 (compare_filenames_for_search does match): New tests.
1791
f5b95b50
JK
17922013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1793
1794 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1795
d47921b9
JK
17962013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1797
1798 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1799
8a92335b
JK
18002013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1801
1802 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1803 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1804 ${binfile}.mini_debuginfo-debuglink and
1805 ${binfile}.mini_debuginfo-debuglink.xz.
1806
17f2157d
TT
18072013-02-01 Tom Tromey <tromey@redhat.com>
1808
1809 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1810 attributes.
1811
d65f0a9c
TT
18122013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1813 Tom Tromey <tromey@redhat.com>
1814
1815 * gdb.dwarf2/method-ptr.exp: Link with c++.
1816 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1817
f25c0135
TT
18182013-01-31 Tom Tromey <tromey@redhat.com>
1819
1820 * gdb.base/jit.exp (compile_jit_test): New proc.
1821 Add PIE tests.
1822
7078baeb
TT
18232013-01-31 Tom Tromey <tromey@redhat.com>
1824
1825 * gdb.dwarf2/method-ptr.cc: New file.
1826 * gdb.dwarf2/method-ptr.exp: New file.
1827
1d24041a
TT
18282013-01-31 Tom Tromey <tromey@redhat.com>
1829
1830 * lib/dwarf.exp (namespace Dwarf): New.
1831
8d9878a4
TT
18322013-01-29 Tom Tromey <tromey@redhat.com>
1833
1834 * gdb.dwarf2/fission-reread.exp: Add unload test.
1835
bed911e5
DE
18362013-01-28 Doug Evans <dje@google.com>
1837
1838 * gdb.dwarf2/fission-loclists.exp: New file.
1839 * gdb.dwarf2/fission-loclists.S: New file.
1840
e229648e
JK
18412013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1842
1843 Code cleanup.
1844 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1845 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1846 and prepare_for_testing.
1847 * gdb.base/store.exp: Likewise.
1848
86700f00
TT
18492013-01-25 Tom Tromey <tromey@redhat.com>
1850
1851 * gdb.python/py-explore.exp: Expect the gdb prompt.
1852
8954db33
AB
18532013-01-25 Andrew Burgess <aburgess@broadcom.com>
1854
1855 * gdb.base/gnu_vector.c: New variable for use in tests.
1856 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1857 changes in scalar to vector casting and widening.
1858 * gdb.python/py-type.c: New variables for use in tests.
1859 * gdb.python/py-type.exp: Update vector related tests to reflect
1860 changes in scalar to vector casting and widening.
1861
2077afdd
TD
18622013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1863
1864 * gdb.base/prologue-include.c: New file.
1865 * gdb.base/prologue-include.exp: New file.
1866 * gdb.base/prologue-include.h: New file.
1867
d7499464
HAQ
18682013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
1869
1870 PR gdb/13443
1871 * gdb.mi/mi-var-block.exp: Make test messages unique.
1872
e2a3e0f1
TT
18732013-01-23 Tom Tromey <tromey@redhat.com>
1874
1875 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1876
152fcc9c
TT
18772013-01-23 Tom Tromey <tromey@redhat.com>
1878
1879 * gdb.cp/converts.cc (main): Initialize 'a'.
1880
bea883fd
SCR
18812013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1882
1883 * testsuite/gdb.python/frame.exp: Add a test for
1884 gdb.Frame.architecture() method.
1885
0928e93d
PA
18862013-01-22 Pedro Alves <palves@redhat.com>
1887
1888 * gdb.base/annota1.exp (signal sent): No longer expect
1889 breakpoints-invalid.
1890 * gdb.cp/annota2.exp (continue until exit)
1891 (watch triggered on a.x): Ditto.
1892
9c97429f
PA
18932013-01-22 Pedro Alves <palves@redhat.com>
1894
1895 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1896 Adjust tests to breakpoints-invalid changes.
1897 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1898 variables.
1899 Adjust tests to breakpoints-invalid changes.
1900
187d10dd
PA
19012013-01-22 Pedro Alves <palves@redhat.com>
1902
1903 * gdb.base/annota1.exp (annotate ignore count change): Add
1904 expected output for failure case.
1905
ea3aedcb
TT
19062013-01-22 Tom Tromey <tromey@redhat.com>
1907
1908 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
1909 call.
1910
998580f1
MK
19112013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
1912
1913 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 1914 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
1915 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
1916 Also handle 'thread' field.
1917 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
1918 * gdb.mi/mi-watch.exp: Ditto.
1919 * lib/mi-support.exp: Ditto.
1920
8f1d5693
MK
19212013-01-21 Siva Chandra Reddy <sivachandra@google.com>
1922
1923 * gdb.python/py-explore.exp: Improve a test
1924
2d8c5d7c
DB
19252013-01-18  David Blaikie  <dblaikie@gmail.com>
1926
1927 * gdb.base/label.c (main): Correct the type of the second
1928 parameter.
1929
46f35228
TT
19302013-01-18 Tom Tromey <tromey@redhat.com>
1931
1932 * gdb.dwarf2/trace-crash.s: New file.
1933 * gdb.dwarf2/trace-crash.exp: New file.
1934
5965d69d
HAQ
19352013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
1936
43aaf8b6
PA
1937 PR gdb/13443
1938 * gdb.base/checkpoint.exp: Update test messages to make them
1939 unique.
5965d69d 1940
5ae4861a
YQ
19412013-01-18 Yao Qi <yao@codesourcery.com>
1942
1943 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
1944 output of 'info tracepoints'.
1945 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1946 Likewise.
1947 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1948 * gdb.trace/disconnected-tracing.c (struct foo): New.
1949
d84fca2c
JK
19502013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1951
1952 * gdb.dwarf2/dw2-dos-drive.S: New file.
1953 * gdb.dwarf2/dw2-dos-drive.exp: New file.
1954
aebb1cc9
DE
19552013-01-17 Doug Evans <dje@google.com>
1956
2782d512
DE
1957 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
1958 CXX_FOR_TARGET.
1959
aebb1cc9
DE
1960 * boards/cc-with-tweaks.exp: New file.
1961
db2b2972
TT
19622013-01-17 Tom Tromey <tromey@redhat.com>
1963
1964 * gdb.base/completion.exp: Add "set cp-abi" completion test.
1965
96343774
PA
19662013-01-17 Pedro Alves <palves@redhat.com>
1967
1968 Merge dg-extract-results.sh from upstream (svn 195224).
1969
1970 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1971 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
1972
1973 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1974 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
1975
1976 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1977 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
1978
1979 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1980 * dg-extract-results.sh: Redirect grep output to /dev/null instead
1981 of grep -q.
1982
675921c0
SD
19832012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1984
1985 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
1986 interface.
1987 * gdb.base/jithost.c: New file.
1988 * gdb.base/jithost.h: New file.
1989 * gdb.base/jitreader.c : New file.
1990 * gdb.base/jit-protocol.h: New file.
1991
ab04a2af
TT
19922013-01-16 Tom Tromey <tromey@redhat.com>
1993
1994 * gdb.base/catch-signal.c: New file.
1995 * gdb.base/catch-signal.exp: New file.
1996
8ac3646f
TT
19972013-01-16 Tom Tromey <tromey@redhat.com>
1998
1999 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2000
22fc223e
JK
20012013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2002
2003 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2004
44478ab3
TT
20052013-01-14 Tom Tromey <tromey@redhat.com>
2006
2007 * gdb.base/completion.exp: Add "set gnutarget" test.
2008
06d66ee9
TT
20092013-01-14 Tom Tromey <tromey@redhat.com>
2010
2011 * gdb.dwarf2/dw2-restrict.S: New file.
2012 * gdb.dwarf2/dw2-restrict.c: New file.
2013 * gdb.dwarf2/dw2-restrict.exp: New file.
2014
c9bf0622
TT
20152013-01-14 Tom Tromey <tromey@redhat.com>
2016
2017 * gdb.dwarf2/dw2-error.exp: New file.
2018 * gdb.dwarf2/dw2-error.c: New file.
2019 * gdb.dwarf2/dw2-error.S: New file.
2020
5b12a61c
JK
20212013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2022
2023 * gdb.cp/parse-lang.cc: New file.
2024 * gdb.cp/parse-lang.exp: New file.
2025
f0a4b570
JK
20262013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2027
2028 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2029 (set substitute-path): New test.
2030 (fullname present): Remove content.
2031 (substituted fullname): New test.
2032
f751cc97
JB
20332013-01-13 Joel Brobecker <brobecker@adacore.com>
2034
2035 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2036 check. Move $gdb_py_is_py24 value check right after.
2037
04164e8e
JK
20382013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2039
2040 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2041 targets.
2042
5bf480a5
YQ
20432013-01-11 Yao Qi <yao@codesourcery.com>
2044
2045 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2046 for dprintf.
2047 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2048 Check the fields in "=breakpoint-created" for dprintf.
2049
f35a17b5
JK
20502012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2051
2052 * gdb.mi/mi-fullname-deleted.exp: New file.
2053
85817405
JK
20542012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2055
2056 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2057 expected output.
2058 (info skip with pending file): Remove.
2059 (ignoring function in solib, info skip for function multiply): Update
2060 the expected output.
2061 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2062 (info skip (delete 1), info skip after disabling all)
2063 (info skip after enabling all, info skip after disabling 4 2-3)
2064 (info skip after enabling 2-3, info skip 2-3)
2065 (info skip after deleting 2 3): Update the expected output.
2066 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2067 statement to its initialization and return.
2068 * gdb.linespec/skip-two.exp: New file.
2069
27210e12
DE
20702012-12-19 Doug Evans <dje@google.com>
2071
2072 * gdb.base/maint.exp: Handle testing with .gdb_index.
2073
bb627a12
JB
20742012-12-19 Joel Brobecker <brobecker@adacore.com>
2075
2076 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2077 Cavium to FSF.
2078
7785b880
JB
20792012-12-19 Joel Brobecker <brobecker@adacore.com>
2080
2081 * dg-extract-results.sh: Update contact info in copyright notice.
2082 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2083 GPL v3 or later. Update contact info.
2084 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2085 gdb.threads/watchpoint-fork-mt.c,
2086 gdb.threads/watchpoint-fork-parent.c,
2087 gdb.threads/watchpoint-fork-st.c,
2088 gdb.threads/watchpoint-fork.h: Likewise.
2089
f2a8bc8a
YQ
20902012-12-15 Yao Qi <yao@codesourcery.com>
2091
2092 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2093 'installed' field in '=breakpoint-modified'.
2094 (test_reconnect): Check 'installed' field in
2095 '=breakpoint-modified' and '=breakpoint-created'.
2096
2097 * gdb.trace/actions.exp: Update test for 'installed' field.
2098 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2099 (tracepoint_change_loc_2): Likewise.
2100 Check 'info tracepoint' display nothing else.
2101 * gdb.trace/deltrace.exp: Likewise.
2102 * gdb.trace/infotrace.exp: Likewise.
2103 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2104 Likewise.
2105 * gdb.trace/passcount.exp: Likewise.
2106 * gdb.trace/tracecmd.exp: Likewise.
2107 * gdb.trace/while-stepping.exp: Likewise.
2108
6592e36f
TT
21092012-12-14 Tom Tromey <tromey@redhat.com>
2110
2111 * gdb.cp/member-name.exp: New file.
2112 * gdb.cp/member-name.cc: New file.
2113
7d27a96d
TT
21142012-12-14 Tom Tromey <tromey@redhat.com>
2115
2116 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2117
f8c05d0d
DE
21182012-12-14 Doug Evans <dje@google.com>
2119
2120 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2121 DW_OP_GNU_implicit_pointer is section-relative.
2122
451b7c33
TT
21232012-12-14 Tom Tromey <tromey@redhat.com>
2124
43aaf8b6 2125 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 2126
10e339df
PA
21272012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2128
6fdff2c5 2129 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 2130
e780d813
DE
21312012-12-13 Doug Evans <dje@google.com>
2132
2133 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2134 * gdb.multi/multi-arch.exp: Ditto.
2135
ca3dbcc8 21362012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 2137
ca3dbcc8
MG
2138 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2139 catch load test library source file.
2140 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2141 load test source file.
2142 * gdb.mi/mi-catch-load.exp: New. Test file for
2143 basic MI -catch-load and -catch-unload tests.
2144
2960a434
PK
21452012-12-11 Paul Koning <paul_koning@dell.com>
2146
2147 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2148 exception.
2149 (_iterator_except): New function.
2150 (ArrayPrinter): Use _iterator function instead of local _iterator
2151 class for Python 3 compatibility.
2152 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 2153 _iterator.
2960a434
PK
2154 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2155 execfile for Python 3 compatibility.
2156 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2157 format in error_prompt test.
6fdff2c5 2158
9325cb04
PK
21592012-12-10 Paul Koning <paul_koning@dell.com>
2160
2161 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 2162 compatibility.
9325cb04
PK
2163 * gdb.python/py-block.exp: Ditto.
2164 * gdb.python/py-breakpoint.exp: Ditto.
2165 * gdb.python/py-cmd.exp: Ditto.
2166 * gdb.python/py-events.py: Ditto.
2167 * gdb.python/py-finish-breakpoint.py: Ditto.
2168 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2169 * gdb.python/py-finish-breakpoint2.py: Ditto.
2170 * gdb.python/py-frame-inline.exp: Ditto.
2171 * gdb.python/py-frame.exp: Ditto.
2172 * gdb.python/py-infthread.exp: Ditto.
2173 * gdb.python/py-objfile.exp: Ditto.
2174 * gdb.python/py-parameter.exp: Ditto.
2175 * gdb.python/py-progspace.exp: Ditto.
2176 * gdb.python/py-prompt.exp: Ditto.
2177 * gdb.python/py-symbol.exp: Ditto.
2178 * gdb.python/py-symtab.exp: Ditto.
2179 * gdb.python/py-template.exp: Ditto.
2180 * gdb.python/py-value-cc.exp: Ditto.
2181 * gdb.python/python.exp: Ditto.
2182 * gdb.python/source2.py: Ditto.
2183 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 2184 compatibility.
9325cb04
PK
2185 Use sorted() function rather than sort() method.
2186 Accept either int or long values for enum values.
2187 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2188 execfile for Python 3 compatibility.
2189 * gdb.python/py-evsignal.exp: Ditto.
2190 * gdb.python/py-evthreads.exp: Ditto.
2191 * gdb.python/py-mi.exp: Ditto.
2192 * gdb.python/py-pp-maint.exp: Ditto.
2193 * gdb.python/py-prettyprint.exp: Ditto.
2194 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 2195 Python 3 compatibility.
9325cb04
PK
2196 Skip tests for Python 2.4.
2197 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 2198 Python 3 compatibility.
9325cb04
PK
2199 Use byte string rather than character string in memory write test
2200 if Python 3.
2201 * gdb.python/py-pp-maint.py: Change class declarations to "new
2202 class" syntax.
2203 * gdb.python/py-prettyprint.py: Change iterator class to generator
2204 function for Python 3 compatibility.
2205 Make all classes "new style".
2206 Fix indentation issue and stray semicolon.
2207 * gdb.python/py-shared.expChange print syntax for Python 3
2208 compatibility.
2209 Define "long" if Python 3.
2210 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 2211 compatibility.
9325cb04
PK
2212 Accept either int or long values for enum values.
2213 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 2214 compatibility.
9325cb04
PK
2215 Skip "long" and "unicode" tests if Python 3.
2216 Accept either "type" or "class" in type checks.
2217 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2218 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2219
8b9737bf
TT
22202012-12-10 Tom Tromey <tromey@redhat.com>
2221
2222 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2223 (test): Add "two_cu" argument.
2224 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2225 for types; allow two CUs.
2226
1b80a9fa
JK
22272012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2228
2229 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2230 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2231
f0b6d50a
YQ
22322012-12-08 Yao Qi <yao@codesourcery.com>
2233 Pedro Alves <palves@redhat.com>
2234
2235 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2236 '=breakpoint-created' when GDB merges the tracepoints of both
2237 sides.
2238
2f68a895
TT
22392012-12-07 Tom Tromey <tromey@redhat.com>
2240
2241 * gdb.base/break1.c (enum some_enum, union some_union): New.
2242 (some_enum_global, some_union_global, some_value): New globals.
2243 * gdb.base/completion.exp: Add tag completion tests.
2244
4fc5d43e
TT
22452012-12-07 Tom Tromey <tromey@redhat.com>
2246
2247 * gdb.base/completion.exp: Add tests for ptype and whatis
2248 completion.
2249
6559e013
JB
22502012-12-07 Joel Brobecker <brobecker@adacore.com>
2251
2252 * gdb.base/stale-infcall.exp: Fix copyright line.
2253
ae2b630d
JB
22542012-12-07 Joel Brobecker <brobecker@adacore.com>
2255
2256 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2257
0ba2eb0f
TT
22582012-12-06 Pedro Alves <palves@redhat.com>
2259 Tom Tromey <tromey@redhat.com>
2260
2261 * gdb.base/exprs.exp: Add tests for cast to void.
2262
731145cb
TT
22632012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2264
2265 * gdb.python/py-mi.exp: Correct expected results for attribute
2266 "dynamic" returned by -var-update.
2267 Add test case for correct handling of "diplayhint" for children
2268 of dynamic varobjs.
2269 * gdb.python/py-prettyprint.c (set_itme): New function.
2270 (bug_14741) New function.
2271 (main) Add call to bug_14741().
2272 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2273
e58fcc15
UW
22742012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2275
2276 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2277 ${binfile}.funcsyms list.
2278
e9eb0d14
YQ
22792012-12-04 Yao Qi <yao@codesourcery.com>
2280
2281 PR gdb/13443
2282 * gdb.trace/actions.exp: Make test messages unique.
2283
4983028c
TT
22842012-11-29 Tom Tromey <tromey@redhat.com>
2285
2286 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2287
ea5e6b0e
UW
22882012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2289
2290 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2291 * gdb.opencl/datatypes.exp: Likewise.
2292 * gdb.opencl/operators.exp: Likewise.
2293 * gdb.opencl/vec_comps.exp: Likewise.
2294
cdde3dfb
JG
22952012-11-29 Jerome Guitton <guitton@adacore.com>
2296
2297 * gdb.ada/iwide: New testcase.
2298
b50d69b5
JG
22992012-11-29 Jerome Guitton <guitton@adacore.com>
2300
2301 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2302 ptype test.
2303
c2d3fccf
JG
23042012-11-29 Jerome Guitton <guitton@adacore.com>
2305
2306 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2307 form {VARIANT_TYPE}ADDRESS.
2308
5edf51fe
YQ
23092012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2310
2311 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2312 (func): New function.
2313 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2314 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2315 pointers to members with pointer-to-function type.
2316
608e2dbb
TT
23172012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2318 Tom Tromey <tromey@redhat.com>
2319
2320 * gdb.base/gnu-debugdata.exp: New file.
2321 * gdb.base/gnu-debugdata.c: New file.
2322 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2323 (gdb_unload): Return 0 on success.
2324
4648e588
JK
23252012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2326
2327 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2328
17d6efc4
JB
23292012-11-26 Joel Brobecker <brobecker@adacore.com>
2330
2331 * gdb.base/empty_exe.exp: New testcase.
2332
ace21957
MF
23332012-11-20 Mike Frysinger <vapier@gentoo.org>
2334
2335 * gdb.base/completion.exp: Add test for help aliases completion.
2336
5c401a0a
YQ
23372012-11-20 Yao Qi <yao@codesourcery.com>
2338
2339 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2340 Don't test 'maint set show-debug-regs'.
2341 Use command 'set remotecache' instead of
2342 'set circular-trace-buffer'.
2343
8dea366b
KS
23442012-11-16 Keith Seitz <keiths@redhat.com>
2345
2346 PR c++/13615
2347 * gdb.cp/baseenum.cc: New file.
2348 * gdb.cp/baseenum.exp: New file.
2349 * gdb.cp/derivation.cc (A): Add copyright.
2350 Add a typedef.
2351 (B): Use A::value_type instead of int. Change all references.
2352 (D): Use value_type instead of int. Change all references.
2353 (E): Likewise.
2354 (F); Likewise.
2355 (Z): New class.
2356 (ZZ): New class.
6fdff2c5 2357 (N, Base, Derived): New namespace and classes.
8dea366b
KS
2358 (main): Add instances of Z and ZZ.
2359 Make sure all symbols from N are kept.
2360 * gdb.cp/derivation.exp: Update typedef changes in tests.
2361 Add tests for class typedefs both before and after starting
2362 the inferior.
2363 Add tests for searching for a typedef while stopped in a
2364 method.
2365
5e34c6c3
LM
23662012-11-14 Luis Machado <lgustavo@codesourcery.com>
2367
2368 * gdb.mi/mi-var-create-rtti.c: New file.
2369 * gdb.mi/mi-var-create-rtti.exp: New file.
2370
5e487a5f
LM
23712012-11-14 Luis Machado <lgustavo@codesourcery.com>
2372
2373 * gdb.base/structs3.exp: Run to main before doing any tests.
2374
6d67b990
AB
23752012-11-14 Andrew Burgess <aburgess@broadcom.com>
2376
2377 * gdb.python/py-type.exp: Uniquify test names.
2378
e5d98164
YQ
23792012-11-14 Yao Qi <yao@codesourcery.com>
2380
2381 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2382 (thread_function) [DEBUG]: Call 'printf'.
2383 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2384 command line if 'DEBUG=1' is passed to test.
2385 Remove a pattern to match inferior's output.
2386
62747a60
TT
23872012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
2388
2389 * gdb.mi/mi-fill-memory.exp: New test.
2390
18a9fc12
TT
23912012-11-12 Tom Tromey <tromey@redhat.com>
2392
2393 * gdb.base/completion.exp: Update for "info type-printers".
2394 * gdb.python/py-typeprint.cc: New file.
2395 * gdb.python/py-typeprint.exp: New file.
2396 * gdb.python/py-typeprint.py: New file.
2397
bd69fc68
TT
23982012-11-12 Tom Tromey <tromey@redhat.com>
2399
2400 * gdb.base/call-sc.exp: Use "ptype/r".
2401 * gdb.base/volatile.exp: Don't expect "int".
2402 * gdb.cp/ptype-flags.cc: New file.
2403 * gdb.cp/ptype-flags.exp: New file.
2404 * gdb.cp/templates.exp: Use ptype/r.
2405 (test_ptype_of_templates, test_template_typedef): Likewise.
2406 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2407 argument. Handle template names and template parameters.
2408 * gdb.mi/mi-var-cmd.exp: Accept "long".
2409 * gdb.mi/mi-var-child.exp: Accept "long".
2410 * gdb.mi/mi-var-display.exp: Accept "long".
2411 * gdb.mi/mi2-var-child.exp: Accept "long".
2412
b3720c3a
TT
24132012-11-12 Tom Tromey <tromey@redhat.com>
2414
2415 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2416 "ptype" from calls to cp_test_ptype_class.
2417 (test_enums): Likewise.
2418 * gdb.cp/derivation.exp: Remove "ptype" from calls to
2419 cp_test_ptype_class.
2420 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2421 calls to cp_test_ptype_class.
2422 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2423 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2424 from calls to cp_test_ptype_class.
2425 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2426 command here. Change "in_command" argument to "in_exp".
2427
0d63ecda
KS
24282012-11-10 Keith Seitz <keiths@redhat.com>
2429
2430 PR gdb/14288
2431 * gdb.base/printcmds.c: Add invalid_XXX globals
2432 for repeated byte tests.
2433 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2434 * gdb.base/wchar.c (main): Add and construct a wchar_t
2435 array with repeated characters.
2436 * gdb.base/wchar.exp: Add repeated character tests.
2437
ed8a1c2d
AB
24382012-11-09 Andrew Burgess <aburgess@broadcom.com>
2439
2440 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2441 disassembly output.
2442
9107fc8d
PA
24432012-11-09 Pedro Alves <palves@redhat.com>
2444
2445 PR gdb/14306
2446
2447 * gdb.multi/multi-arch-exec.c: New file.
2448 * gdb.multi/multi-arch-exec.exp: New file.
2449
558a9d82
YQ
24502012-11-09 Yao Qi <yao@codesourcery.com>
2451
2452 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2453 (top level): Call it.
2454
e714f336
YQ
24552012-11-09 Yao Qi <yao@codesourcery.com>
2456
2457 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2458 typo.
2459
6ecd4729
PA
24602012-11-09 Pedro Alves <palves@redhat.com>
2461
2462 * gdb.multi/multi-arch.exp: New.
2463
9015683b
TT
24642012-11-08 Tom Tromey <tromey@redhat.com>
2465
2466 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
2467 core files, if possible.
2468 * gdb.base/siginfo-thread.c: New file
2469 * gdb.base/siginfo-thread.exp: New file
2470
ea9f10bb
TT
24712012-11-08 Tom Tromey <tromey@redhat.com>
2472
2473 * gdb.base/comprdebug.exp: New file.
2474
f6592439
PA
24752012-11-06 Pedro Alves <palves@redhat.com>
2476
2477 PR gdb/14810
2478
2479 * gdb.base/disabled-location.c: New file.
2480 * gdb.base/disabled-location.exp: New file.
2481
2d338fa9
TT
24822012-11-06 Tom Tromey <tromey@redhat.com>
2483
2484 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2485 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2486 gdb_gcore_cmd.
2487 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2488 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2489 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2490 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2491 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2492 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2493 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2494 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2495 * lib/gdb.exp (gdb_gcore_cmd): New proc.
2496
68c9da30
PA
24972012-11-05 Pedro Alves <palves@redhat.com>
2498
2499 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2500 procedure.
2501 (do_vfork_and_follow_child_tests_exec)
2502 (do_vfork_and_follow_child_tests_exit): Call it.
2503
a7c8c931
PA
25042012-11-05 Pedro Alves <palves@redhat.com>
2505
2506 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2507 fails.
2508
6f6484cd
YQ
25092012-11-03 Yao Qi <yao@codesourcery.com>
2510
2511 Fix PR gdb/14617.
2512 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2513 Remove setup_kfail, and update test.
2514
b45627a0
TT
25152012-11-02 Tom Tromey <tromey@redhat.com>
2516
2517 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
2518 test.
2519
f50f4e56
PA
25202012-11-02 Pedro Alves <palves@redhat.com>
2521
2522 PR gdb/14766
2523
2524 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
2525 setup_kfail.
2526 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
2527 get registers".
2528
71ce889d
PA
25292012-11-02 Pedro Alves <palves@redhat.com>
2530
2531 * gdb.base/foll-vfork-exit.c: New file.
2532 * gdb.base/foll-vfork.exp (top level): New file-describing
2533 comment.
2534 (vfork_child_follow_to_exit): New procedure.
2535 (tcatch_vfork_then_child_follow): Rename as ...
2536 (tcatch_vfork_then_child_follow_exec): ... this.
2537 (tcatch_vfork_then_child_follow_exit): New procedure.
2538 (do_vfork_and_follow_parent_tests): New procedure, factored out
2539 from do_vfork_and_exec_tests.
2540 (do_vfork_and_follow_child_tests_exec): Ditto.
2541 (do_vfork_and_exec_tests): Delete.
2542 (do_vfork_and_follow_child_tests_exit): New procedure.
2543 (top level): Run tests with both the program that has the vfork
2544 child execing, and the program has the vfork child exiting.
2545
1e35b1a9
PA
25462012-11-02 Pedro Alves <palves@redhat.com>
2547
2548 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
2549 (check_vfork_catchpoints, vfork_parent_follow_through_step)
2550 (vfork_parent_follow_to_bp): Call it.
2551 (kill_child): Delete.
2552 (vfork_and_exec_child_follow_to_main_bp)
2553 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
2554 longer call kill_child.
2555 (tcatch_vfork_then_parent_follow): Call setup_gdb.
2556 (do_vfork_and_exec_tests): Don't runto_main before calling each
2557 test procedure.
2558 (top level): Don't clean restart and set verbose before running
2559 each test procedure.
2560
25612012-11-02 Pedro Alves <palves@redhat.com>
2562
2563 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
2564 (vfork_parent_follow_to_bp)
2565 (vfork_and_exec_child_follow_to_main_bp)
2566 (vfork_and_exec_child_follow_through_step)
2567 (tcatch_vfork_then_parent_follow)
2568 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2569 Use with_test_prefix.
2570
25712012-11-02 Pedro Alves <palves@redhat.com>
2572
2573 * gdb.base/foll-vfork.c: Add copyright header.
2574 * gdb.base/vforked-prog.c: Add copyright header.
2575
25762012-11-02 Pedro Alves <palves@redhat.com>
2577
2578 * gdb.base/foll-vfork.exp
2579 (vfork_and_exec_child_follow_through_step): Don't skip on
2580 non-HP/UX targets. Expect the next to only step one line on
2581 non-HP/UX targets, rather than stopping only after the exec.
2582
25832012-11-02 Pedro Alves <palves@redhat.com>
2584
2585 Don't hard code line numbers.
2586
2587 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
2588 Expect text from the sources instead of a line number.
2589 (vfork_parent_follow_to_bp)
2590 (vfork_and_exec_child_follow_to_main_bp)
2591 (vfork_and_exec_child_follow_through_step)
2592 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2593 Use gdb_get_line_number.
2594
25952012-11-02 Pedro Alves <palves@redhat.com>
2596
2597 Modernize.
2598
2599 * gdb.base/foll-vfork.exp: Use standard_testfile and
2600 build_executable. Pass descriptive string to untested.
2601 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
2602 (vfork_and_exec_child_follow_to_main_bp)
2603 (vfork_and_exec_child_follow_through_step)
2604 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
2605 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
2606 of send_gdb/gdb_expect.
2607
2608 (kill_child): New procedure.
2609 (vfork_and_exec_child_follow_to_main_bp)
2610 (vfork_and_exec_child_follow_through_step): Use it.
2611
f0559fff
YQ
26122012-11-02 Yao Qi <yao@codesourcery.com>
2613
2614 * gdb.base/setvar.exp: Test setting nested struct.
2615 * gdb.base/setvar.c (v_struct3): New.
2616
c207c6da
DE
26172012-11-01 Doug Evans <dje@google.com>
2618
2619 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
2620 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
2621 use them.
2622
2f27adfe
AB
26232012-10-31 Andrew Burgess <aburgess@broadcom.com>
2624
2625 PR cli/14772
2626 * gdb.base/gnu_vector.c (union_with_vector_1)
2627 (struct_with_vector_1): Add new struct and union for testing
2628 ptype.
2629 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
2630 structs / unions containing vectors.
2631
bb662ca6
YQ
26322012-10-25 Yao Qi <yao@codesourcery.com>
2633
2634 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
2635 'setup_kfail' instead of 'setup_kfail_for_target'.
2636 * gdb.base/varargs.exp: Likewise.
2637 * lib/gdb.exp (setup_kfail_for_target): Remove.
2638
635d23ff
MK
26392012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
2640
2641 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
2642
afdb064f
MK
26432012-10-25 Mark Kettenis <kettenis@gnu.org>
2644
2645 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
2646
d99dcf51
JB
26472012-10-24 Joel Brobecker <brobecker@adacore.com>
2648
2649 * gdb.ada/set_wstr: New testcase.
2650
32560274
JB
26512012-10-24 Joel Brobecker <brobecker@adacore.com>
2652
2653 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
2654
5ded5331
JB
26552012-10-24 Joel Brobecker <brobecker@adacore.com>
2656
2657 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
2658
d8d84291
MK
26592012-10-24 Mark Kettenis <kettenis@gnu.org>
2660
2661 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
2662
6e933c51
JK
26632012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2664
2665 * gdb.base/callfuncs.exp (do_function_calls): Fix
2666 setup_kfail_for_target for -m32 mode.
2667
274bd000
MK
26682012-10-23 Mark Kettenis <kettenis@gnu.org>
2669
2670 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
2671 are now fixed.
2672
545f743d
YQ
26732012-10-23 Yao Qi <yao@codesourcery.com>
2674
2675 * gdb.base/info-os.exp: Resume the inferior until it exits.
2676
48b56b6a 26772012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
2678
99c7d5a8 2679 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
2680 * gdb.base/print-file-var.exp: Likewise.
2681 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 2682
8de0566d
YQ
26832012-10-17 Yao Qi <yao@codesourcery.com>
2684
2685 * gdb.mi/mi-memory-changed.exp: New.
2686
44883546
YQ
26872012-10-16 Yao Qi <yao@codesourcery.com>
2688
2689 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
2690 returns true.
2691 Call gdb_load_shlibs.
2692 * gdb.reverse/solib-reverse.exp: Likewise.
2693
345f514a
KS
26942012-10-15 Keith Seitz <keiths@redhat.com>
2695
2696 * lib/cp-support.exp (cp_test_ptype_class): Add support
2697 for class typedefs.
2698
2699 * gdb.cp/derivation.exp: Add tests for g_instance.
2700
9e3a7d65
JK
27012012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2702
2703 Fix entry values resolving in inlined frames.
2704 * gdb.arch/amd64-entry-value-inline.S: New file.
2705 * gdb.arch/amd64-entry-value-inline.c: New file.
2706 * gdb.arch/amd64-entry-value-inline.exp: New file.
2707
21a7b089
JK
27082012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2709 Doug Evans <dje@google.com>
2710
2711 Fix recent gdb_breakpoint regression.
2712 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
2713 braces from the parameter.
2714 * gdb.java/jprint.exp: Likewise.
2715
2c47921e
DE
27162012-10-15 Doug Evans <dje@google.com>
2717
2718 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
2719
89398707
JB
27202012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
2721
2722 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2723
801e4185
TT
27242012-10-15 Tom Tromey <tromey@redhat.com>
2725
2726 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2727
74f910c8
TT
27282012-10-15 Tom Tromey <tromey@redhat.com>
2729
2730 * gdb.python/py-symbol.exp: Test symbol destructor.
2731
91567807
YQ
27322012-10-14 Yao Qi <yao@codesourcery.com>
2733
2734 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
2735 * gdb.mi/mi-cli.exp: New.
2736
2737 * gdb.mi/mi2-basics.exp: Remove.
2738 * gdb.mi/mi2-break.exp: Remove.
2739 * gdb.mi/mi2-console.exp: Remove.
2740 * gdb.mi/mi2-disassemble.exp: Remove.
2741 * gdb.mi/mi2-eval.exp: Remove.
2742 * gdb.mi/mi2-file.exp: Remove.
2743 * gdb.mi/mi2-hack-cli.exp: Remove.
2744 * gdb.mi/mi2-pthreads.exp: Remove.
2745 * gdb.mi/mi2-read-memory.exp: Remove.
2746 * gdb.mi/mi2-regs.exp: Remove.
2747 * gdb.mi/mi2-return.exp: Remove.
2748 * gdb.mi/mi2-simplerun.exp: Remove.
2749 * gdb.mi/mi2-stack.exp: Remove.
2750 * gdb.mi/mi2-stepi.exp: Remove.
2751 * gdb.mi/mi2-syn-frame.exp: Remove.
2752 * gdb.mi/mi2-until.exp: Remove.
2753 * gdb.mi/mi2-watch.exp: Remove.
2754 * gdb.mi/mi2-var-block.exp: Remove.
2755 * gdb.mi/mi2-var-cmd.exp: Remove.
2756 * gdb.mi/mi2-var-display.exp: Remove.
2757
87332029
YQ
27582012-10-12 Yao Qi <yao@codesourcery.com>
2759
2760 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2761 trail '.*' on matching patterns.
2762
11fc9057
L
27632012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2764
2765 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2766 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2767 * gdb.arch/i386-disp-step.exp: Likewise.
2768 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2769 * gdb.arch/i386-prologue.exp: Likewise.
2770 * gdb.arch/i386-size-overlap.exp: Likewise.
2771 * gdb.arch/i386-size.exp: Likewise.
2772 * gdb.arch/i386-unwind.exp: Likewise.
2773
7d46bcdc
L
27742012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2775
2776 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2777 * gdb.arch/i386-word.exp: Likewise.
2778
31224d9d
L
27792012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2780
2781 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2782 is_ilp32_target to set nr_regs.
2783 * gdb.arch/i386-sse.exp: Likewise.
2784
5b7d0050
DE
27852012-10-11 Doug Evans <dje@google.com>
2786
7c09e5a0
DE
2787 PR breakpoints/14643.
2788 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2789 * gdb.linespec/thread.c: New file.
2790 * gdb.linespec/thread.exp: New file.
2791
5b7d0050
DE
2792 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2793 Recognize "message" -> print pass and fail. Add eof case.
2794 (runto): Recognize message, no-message. Print pass/fail if requested,
2795 with same treatment as gdb_breakpoint.
2796 (runto_main): Pass no-message to runto.
2797 (gdb_internal_error_resync): Add log message.
2798 (gdb_file_cmd): Tweak internal error fail text for consistency.
2799
2e24f4aa
JK
28002012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2801
2802 Fix crash during stepping on ppc32.
2803 * gdb.base/step-symless.c: New file.
2804 * gdb.base/step-symless.exp: New file.
2805
aa14df25
DE
28062012-10-03 Doug Evans <dje@google.com>
2807
2808 PR symtab/14601
2809 * gdb.cp/using-crash.exp: New file.
2810 * gdb.cp/using-crash.cc: New file.
2811
975531db
DE
28122012-10-02 Doug Evans <dje@google.com>
2813
2814 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2815 more consistent.
2816 (runto,gdb_debug_format): Ditto.
2817 (gdb_file_cmd): Watch for eof in nested gdb_expect.
2818 Clean up logging and error messages.
2819
b3dc46ff
AB
28202012-10-01 Andrew Burgess <aburgess@broadcom.com>
2821
2822 Test find command on unmapped memory.
2823 * gdb.base/find-unmapped.c: New file.
2824 * gdb.base/find-unmapped.exp: New file.
2825
45814d45
YQ
28262012-09-29 Yao Qi <yao@codesourcery.com>
2827
2828 * gdb.trace/mi-tracepoint-changed.exp: New.
2829 * gdb.mi/mi-breakpoint-changed.exp: New.
2830 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2831 * gdb.mi/pendshr2.c: New.
2832
4c2786ba
YQ
28332012-09-28 Yao Qi <yao@codesourcery.com>
2834
2835 * gdb.mi/pr11022.exp: New.
2836 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
2837
7977e5d2
TT
28382012-09-27 Tom Tromey <tromey@redhat.com>
2839
2840 * gdb.cp/derivation.exp: Add regression test.
2841 * gdb.cp/derivation.cc (class V_base, class V_inter, class
2842 V_derived): New.
2843 (vderived): New global.
2844
0971de02
TT
28452012-09-26 Tom Tromey <tromey@redhat.com>
2846
2847 * gdb.dwarf2/dw2-common-block.S: New file.
2848 * gdb.dwarf2/dw2-common-block.exp: New file.
2849
4357ac6c
TT
28502012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2851
2852 * gdb.fortran/common-block.exp: New file.
2853 * gdb.fortran/common-block.f90: New file.
2854
6f380991
AB
28552012-09-26 Andrew Burgess <aburgess@broadcom.com>
2856
2857 * gdb.base/duplicate-bp.c: New file.
2858 * gdb.base/duplicate-bp.exp: New file.
2859
8ae551cf
YQ
28602012-09-26 Yao Qi <yao@codesourcery.com>
2861
2862 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
2863
2864 Revert:
2865 2012-09-21 Yao Qi <yao@codesourcery.com>
2866
2867 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2868
318102b9
SP
28692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2870
2871 * gdb.base/longest-types.c: New test case.
2872 * gdb.base/longest-types.exp: New test case.
2873
a1e5fd69
YQ
28742012-09-25 Yao Qi <yao@codesourcery.com>
2875
2876 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2877
04e7407c
JK
28782012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2879
2880 Fix internal error on canonicalization of clang types.
2881 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2882 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2883 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2884
9bf4bce9
JK
28852012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2886
2887 Fix disassemble without parameters in tailcall frame.
2888 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2889
2603f7ee
AB
28902012-09-21 Andrew Burgess <aburgess@broadcom.com>
2891
2892 * gdb.dwarf2/dw2-op-out-param.S: New file.
2893 * gdb.dwarf2/dw2-op-out-param.exp: New file.
2894
a3569abd
YQ
28952012-09-21 Yao Qi <yao@codesourcery.com>
2896
2897 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2898
a065d7af
YQ
28992012-09-21 Yao Qi <yao@codesourcery.com>
2900
2901 * gdb.mi/mi-cli.exp: Remove.
2902 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2903
15544bd9
YQ
29042012-09-21 Yao Qi <yao@codesourcery.com>
2905
2906 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
2907 "=record-started" notification.
2908
82a90ccf
YQ
29092012-09-21 Yao Qi <yao@codesourcery.com>
2910
2911 * gdb.mi/mi-record-changed.exp: New.
2912 * gdb.mi/mi-reverse.exp: Adjust expected output.
2913
d7de8e3c
TT
29142012-09-20 Tom Tromey <tromey@redhat.com>
2915
2916 * gdb.python/python.exp: Test atexit.register.
2917
1aa99537
DE
29182012-09-20 Doug Evans <dje@google.com>
2919
05eade73
DE
2920 * boards/dwarf4-gdb-index.exp: New file.
2921
1aa99537
DE
2922 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
2923 while running the tests.
2924
4ae24af0
JB
29252012-09-18 Joel Brobecker <brobecker@adacore.com>
2926
2927 * gdb.ada/bp_reset: New testcase.
2928
bb25a15c
YQ
29292012-09-18 Yao Qi <yao@codesourcery.com>
2930
2931 * gdb.trace/mi-tsv-changed.exp: New.
2932
201b4506
YQ
29332012-09-18 Yao Qi <yao@codesourcery.com>
2934
2935 * gdb.trace/mi-traceframe-changed.exp: New.
2936
6fc1c773
YQ
29372012-09-17 Yao Qi <yao@codesourcery.com>
2938
2939 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
2940 when it is less than 0.
2941
1ab3b62c
JK
29422012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2943
2944 PR 14119
2945 * gdb.arch/amd64-tailcall-ret.S: New file.
2946 * gdb.arch/amd64-tailcall-ret.c: New file.
2947 * gdb.arch/amd64-tailcall-ret.exp: New file.
2948 * gdb.reverse/amd64-tailcall-reverse.S: New file.
2949 * gdb.reverse/amd64-tailcall-reverse.c: New file.
2950 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
2951
acf9414f
JK
29522012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2953
2954 PR 14548
2955 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
2956 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
2957 * gdb.reverse/singlejmp-reverse.S: New file.
2958 * gdb.reverse/singlejmp-reverse.c: New file.
2959 * gdb.reverse/singlejmp-reverse.exp: New file.
2960
666b578b
JK
29612012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2962
2963 Fix compatibility with old GCC (~4.1).
2964 * gdb.cp/converts.cc (my_enum_var): New variable.
2965
42056501
AB
29662012-09-14 Andrew Burgess <aburgess@broadcom.com>
2967
2968 * gdb.xml/tdesc-regs.exp: Update expected output for new
2969 vector_size syntax of vector types.
2970
b9516fa1
YPK
29712012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
2972
2973 Refactor Python "gdb" module into a proper Python package, by
2974 introducing a new "_gdb" module for code implemented in C, and
2975 using reload/__import__ instead of exec.
2976 * gdb.python/python.exp (Test stderr location): Update module
2977 location of GDB-specific sys.stderr.
2978 (Test stdout location): Ditto for sys.stdout.
2979
18dc9ad8
JK
29802012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2981
2982 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
2983
ea3a9873
KS
29842012-09-12 Keith Seitz <keiths@redhat.com>
2985
2986 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
2987 conversion statement.
2988
5941debb
DE
29892012-09-12 Doug Evans <dje@google.com>
2990
2991 * gdb.base/help.exp: Remove testing of individual command help text,
2992 too much of a maintenance burden. Instead, test the functionality
2993 of "help" itself.
2994
cfc35e02
DE
29952012-09-11 Doug Evans <dje@google.com>
2996
3a0ed5d7
DE
2997 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
2998 breakpoint.
2999
cfc35e02
DE
3000 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3001 * gdb.dwarf2/fission-reread.S: Ditto.
3002 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3003 * gdb.dwarf2/fission-reread.exp: Ditto.
3004
350b1b26
AB
30052012-09-11 Andrew Burgess <aburgess@broadcom.com>
3006
3007 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3008
2fa15f23
JB
30092012-09-10 Joel Brobecker <brobecker@adacore.com>
3010
3011 * gdb.ada/optim_drec: New testcase.
3012
09be558e
DE
30132012-09-10 Doug Evans <dje@google.com>
3014
3015 * boards/fission.exp: Explicitly mark "board" as not remote.
3016
5b4f6e25
KS
30172012-09-10 Keith Seitz <keiths@redhat.com>
3018
3019 PR gdb/13483
3020 * gdb.cp/converts.cc (A::A): Add ctor.
3021 (A::member_): Add member.
3022 (enum my_enum): New enumeration.
3023 (main): Add calls to foo1_7 with various
3024 permitted arguments.
3025 * gdb.cp/converts.exp: Add tests for boolean
3026 conversions permitted by the standard.
3027
b4ca5ed9
YPK
30282012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3029
3030 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3031 avoid spurious results due to ~/.gdbinit.
3032 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3033 $INTERNAL_GDBFLAGS in run command.
3034 * gdb.gdb/observer.exp (setup_test): Ditto.
3035 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3036 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3037
d54b30bb
DE
30382012-09-06 Doug Evans <dje@google.com>
3039
14910956
DE
3040 * boards/fission.exp: New file.
3041
d54b30bb
DE
3042 * gdb.python/py-value.exp: Use clean_restart.
3043
91b253e1
DE
30442012-09-05 Doug Evans <dje@google.com>
3045
3046 * gdb.base/info-macros.c: Fix whitespace.
3047
1292279a
PA
30482012-08-28 Pedro Alves <palves@redhat.com>
3049
3050 PR gdb/14428
3051
3052 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3053
1c8cdcb1
JK
30542012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3055
3056 * gdb.base/break-caller-line.c: New file.
3057 * gdb.base/break-caller-line.exp: New file.
3058
1e8e8b51
JK
30592012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3060
3061 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3062 * gdb.arch/i386-cfi-notcurrent.S: New file.
3063 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3064
1591a1e8
PA
30652012-08-27 Wei-cheng Wang <cole945@gmail.com>
3066 Yao Qi <yao@codesourcery.com>
3067 Pedro Alves <palves@redhat.com>
3068
3069 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3070 New procedures.
3071 (top level): Add overlap checking tests.
3072
4442ada7
TT
30732012-08-24 Tom Tromey <tromey@redhat.com>
3074
3075 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3076 gdb_test_multiple fails for other reasons.
3077
e7d50cc9
YQ
30782012-08-24 Yao Qi <yao@codesourcery.com>
3079
3080 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3081
dfbd5e7b
PA
30822012-08-23 Pedro Alves <palves@redhat.com>
3083
3084 * gdb.base/help.exp: Adjust to "handle" help text change.
3085
8d735b87
YQ
30862012-08-23 Yao Qi <yao@codesourcery.com>
3087
3088 * gdb.trace/disconnected-tracing.c (start, end): New.
3089 (main): Call start and end.
3090 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3091 existing tests into this proc.
3092 (disconnected_tfind): New.
3093
61b1d759
YQ
30942012-08-23 Yao Qi <yao@codesourcery.com>
3095
3096 * boards/native-gdbserver.exp (${board}_upload): New.
3097 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3098 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3099 Execute tfile on remote target.
3100 Copy trace file from target to host.
3101
6ca1b147
JM
31022012-08-22 Joseph Myers <joseph@codesourcery.com>
3103
3104 * gdb.arch/thumb-bx-pc.S: New file.
3105 * gdb.arch/thumb-bx-pc.exp: New file.
3106
706e3705
TT
31072012-08-22 Tom Tromey <tromey@redhat.com>
3108
3109 * gdb.base/maint.exp: Update.
3110
b4893d48
TT
31112012-08-22 Tom Tromey <tromey@redhat.com>
3112
3113 * lib/gdb.exp (skip_unwinder_tests): New proc.
3114 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3115 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3116
45b7da81
TT
31172012-08-21 Tom Tromey <tromey@redhat.com>
3118
3119 * gdb.hp/gdb.aCC/exception.exp: Remove.
3120
f94363d7
AP
3121012-08-19 Andrew Pinski <apinski@cavium.com>
3122
3123 * gdb.arch/mips-octeon-bbit.c: New file.
3124 * gdb.arch/mips-octeon-bbit.exp: New Test.
3125
e5afdbd7
KS
3126012-08-19 Keith Seitz <keiths@redhat.com>
3127
3128 PR c++/14365
3129 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3130 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3131
c29e8b64
JK
31322012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3133
3134 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3135 verbose -log by more specific untested call.
3136
15a7e7bc
YQ
31372012-08-18 Yao Qi <yao@codesourcery.com>
3138
3139 * gdb.trace/tfind.exp: Move tests on various command help before
3140 checking target supports trace.
3141 Fix the expected output of 'help tfind end'.
3142
a451cb65
KS
31432012-08-17 Keith Seitz <keiths@redhat.com>
3144
3145 PR c++/13356
3146 * gdb.base/default.exp: Update all "check type" tests.
3147 * gdb.base/help.exp: Likewise.
3148 * gdb.base/setshow.exp: Likewise.
3149 * gdb.cp/converts.cc (foo1_type_check): New function.
3150 (foo2_type_check): New function.
3151 (foo3_type_check): New function.
3152 (main): Call new functions.
3153 * converts.exp: Add tests for integer-to-pointer conversions
3154 with/without strict type-checking.
3155
dbf6a605
MF
31562012-08-16 Mike Frysinger <vapier@gentoo.org>
3157
3158 * gdb.base/help.exp: Update expected output.
3159
0c92d8c1
JB
31602012-08-16 Joel Brobecker <brobecker@adacore.com>
3161
3162 * gdb.ada/rdv_wait: New testcase.
3163
e56f7f42
JK
31642012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3165
3166 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3167
f47f77df
DE
31682012-08-13 Doug Evans <dje@google.com>
3169
e202d6e8 3170 * gdb.base/help.exp: Update expected output.
f47f77df
DE
3171 * gdb.base/default.exp: Update expected output of "show convenience".
3172
a72c3253
DE
31732012-08-10 Doug Evans <dje@google.com>
3174
3175 * gdb.python/py-strfns.c: New file.
3176 * gdb.python/py-strfns.exp: New file.
3177 * gdb.python/py-type.exp (test_fields): Add vector tests.
3178
de0bea00
MF
31792012-08-10 Mike Frysinger <vapier@gentoo.org>
3180
3181 PR cli/10436:
3182 * gdb.base/completion.exp: Add tests for handle completion.
3183
5b9afe8a
YQ
31842012-08-09 Yao Qi <yao@codesourcery.com>
3185
3186 * gdb.mi/mi-cmd-param-changed.exp: New.
3187 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3188 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3189 * gdb.mi/mi2-prompt.exp: Likewise.
3190
4f485ebc
DE
31912012-08-08 Doug Evans <dje@google.com>
3192
3193 * gdb.base/debug-expr.c: New file.
3194 * gdb.base/debug-expr.exp: New file.
3195 * gdb.base/exprs.exp: Test {type} casts.
3196 * gdb.cp/debug-expr.exp: New file.
3197
5888842d
JK
31982012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3199
3200 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3201 global variable loop, not a 'break'. Add loop count limit to 100.
3202 Add new fail case for terminated vgdb.
3203
4f69f4c2
JK
32042012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3205 Jean-Marc Saffroy <saffroy@gmail.com>
3206
3207 PR 11804
3208 * gdb.base/gcore-relro.exp: New file.
3209 * gdb.base/gcore-relro-main.c: New file.
3210 * gdb.base/gcore-relro-lib.c: New file.
3211
e2de5390
JK
32122012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3213
3214 Do not false FAIL with old GCCs.
3215 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3216 GCC < 4.5 in $no_hw mode.
3217
606603c5
JK
32182012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3219
3220 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3221
777f26c2
JK
32222012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3223
3224 * gdb.base/list.exp (test_only_end): New function.
3225 Call it.
3226
2c12abee
TT
32272012-08-06 Tom Tromey <tromey@redhat.com>
3228
3229 * gdb.python/py-mi.exp: Add test for printer whose children
3230 are a list.
3231 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3232 (main): New variable children_as_list.
3233 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3234 New.
3235 (register_pretty_printers): Register new printer.
3236
0eae2cf4
EBM
32372012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3238
3239 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3240 symbols. Abort if vgdb remote connection is closed.
3241
09e0881d
DE
32422012-08-02 Doug Evans <dje@google.com>
3243
3244 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3245
b40f514f
SDJ
32462012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3247
3248 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3249 s390x, PowerPC 64 and m68k-linux.
3250
11315ae0
UW
32512012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3252
3253 * gdb.base/annota1.exp: Accept no frames-invalid notification
3254 when starting up the program.
3255 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3256 show a symbolic value as well.
3257 * gdb.server/server-exec-info.exp: Skip test when skipping
3258 gdbserver test and/or when skipping shared library tests.
3259 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3260 avoid name conflicts with other tests.
3261
0547eeed
UW
32622012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3263
3264 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3265 Fix wrong output on big-endian systems.
3266 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3267 4-byte pointer types on 64-bit s390x.
3268
bdddb4de
UW
32692012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3270
3271 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3272 marker comment at the beginning (after intialization).
3273 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3274 breakpoint on marker comment instead of function begin.
3275 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3276 PowerPC.
3277 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3278 or 64-bit PowerPC.
3279 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3280 gdb,no_hardware_watchpoints flag is set.
3281 (initialize): Remove now redundant can-use-hw-watchpoints change.
3282
5d206025
YQ
32832012-08-02 Yao Qi <yao@codesourcery.com>
3284 Pedro Alves <palves@redhat.com>
3285
3286 * boards/local-remote-host.exp: New.
3287
4f665099
UW
32882012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3289
3290 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3291 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3292 * gdb.base/print-file-var.exp: Likewise.
3293 * gdb.server/solib-list.exp: Skip on remote targets.
3294
b62e2b27
UW
32952012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3296
3297 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3298 watchpoints on ARM. When expecting software watchpoints, tolerate
3299 (remote) targets that report unsupported hardware watchpoint only
3300 at continue time.
3301 (test_wide_location_2): Likewise.
3302
a967a851
JK
33032012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3304
3305 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3306 valgrind versions.
3307
75d9f9ff 33082012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
3309
3310 * gdb.base/valgrind-infcall.c: New file.
3311 * gdb.base/valgrind-infcall.exp: New file.
3312
75d9f9ff
JK
3313 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3314
1c9f2ed2
KS
33152012-07-30 Keith Seitz <keiths@redhat.com>
3316
3317 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3318 linespecs.
3319
7f9b2034
DE
33202012-07-30 Doug Evans <dje@google.com>
3321
85220e01
DE
3322 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3323 * gdb.dwarf2/pr13961.S: Ditto.
3324
7f9b2034
DE
3325 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3326
4e969b4f
AB
33272012-07-30 Andrew Burgess <aburgess@broadcom.com>
3328
3329 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3330 change its format immediately after reloading the binary.
3331
e7de8362
JK
33322012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3333
3334 Fix testsuite regression after --use-deprecated-index-sections removal.
3335 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3336 string.
3337 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3338
7255706c
YQ
33392012-07-27 Yao Qi <yao@codesourcery.com>
3340
3341 KFAIL for PR remote/14161.
3342 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3343 Cleanup socket files.
3344 (strace_info_marker): Detach inferior.
3345
f2e8016f
TT
33462012-07-26 Tom Tromey <tromey@redhat.com>
3347
6fdff2c5 3348 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 3349
f66713d2
JK
33502012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3351
3352 * gdb.python/py-inferior.c (thread): New function.
3353 (check_threads): New function.
3354 (test_threads): New function.
3355 * gdb.python/py-inferior.exp: Added test.
3356 Replaced runto with continue to breakpoint.
3357
8223e12c
TT
33582012-07-26 Tom Tromey <tromey@redhat.com>
3359
3360 * lib/ada.exp (standard_ada_testfile): New proc.
3361 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3362 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3363 * gdb.ada/array_return.exp: Use standard_ada_testfile.
3364 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3365 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3366 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3367 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3368 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3369 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3370 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3371 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3372 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3373 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3374 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3375 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3376 * gdb.ada/char_param.exp: Use standard_ada_testfile.
3377 * gdb.ada/complete.exp: Use standard_ada_testfile.
3378 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3379 standard_output_file.
3380 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3381 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3382 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3383 standard_output_file.
3384 * gdb.ada/exprs.exp: Use standard_ada_testfile.
3385 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3386 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3387 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3388 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3389 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3390 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3391 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3392 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3393 * gdb.ada/homonym.exp: Use standard_ada_testfile.
3394 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3395 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3396 * gdb.ada/interface.exp: Use standard_ada_testfile.
3397 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3398 standard_output_file
3399 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3400 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3401 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3402 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3403 * gdb.ada/nested.exp: Use standard_ada_testfile.
3404 * gdb.ada/null_array.exp: Use standard_ada_testfile.
3405 * gdb.ada/null_record.exp: Use standard_ada_testfile.
3406 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3407 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3408 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3409 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3410 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3411 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3412 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3413 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3414 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3415 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3416 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3417 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3418 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3419 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3420 * gdb.ada/start.exp: Use standard_ada_testfile.
3421 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3422 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3423 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3424 * gdb.ada/tagged.exp: Use standard_ada_testfile.
3425 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3426 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3427 * gdb.ada/tasks.exp: Use standard_ada_testfile.
3428 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3429 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3430 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3431 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3432 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3433 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3434 * gdb.ada/widewide.exp: Use standard_ada_testfile.
3435
bbec57e4
JK
34362012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3437
3438 Fix testsuite regression after --use-deprecated-index-sections removal.
3439 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3440
9cc8e32c
JK
34412012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3442
3443 Fix compatibility with Tcl before 7.5.
3444 * lib/future.exp (lreverse): New function if it does not exist.
3445
ea5ca7b5
MK
34462012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
3447
3448 * gdb.mi/mi-pending.c: New method to set a second pending
3449 breakpoint.
3450 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3451 condition.
3452
64776a0b
PA
34532012-07-20 Pedro Alves <palves@redhat.com>
3454
3455 PR threads/11692
3456 PR gdb/12203
3457
3458 * gdb.threads/create-fail.c: New file.
3459 * gdb.threads/create-fail.exp: New file.
3460
13e4e967
PA
34612012-07-19 Pedro Alves <palves@redhat.com>
3462
3463 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3464 * config/vx.exp (gdb_start): Likewise.
3465 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3466 * gdb.base/setvar.exp (test_set): Likewise.
3467 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3468 * gdb.reverse/sigall-precsave.exp: Likewise.
3469 * gdb.reverse/sigall-reverse.exp: Likewise.
3470
b7aefa4d
PA
34712012-07-19 Pedro Alves <palves@redhat.com>
3472
3473 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3474 handler before recording.
3475
608b4967
TT
34762012-07-19 Tom Tromey <tromey@redhat.com>
3477
3478 * gdb.cp/casts.exp: Add tests for typeof and decltype.
3479 * gdb.cp/casts.cc (decltype): New function.
3480 (main): Use it.
3481
b1e0c0fa
PA
34822012-07-19 Pedro Alves <palves@redhat.com>
3483
3484 * gdb.base/sigall.exp (signals): New list.
3485 <top level>: Loop over signals in the $signals list instead of
3486 calling a test function once per signal.
3487 * gdb.reverse/sigall-precsave.exp (signals): New list.
3488 <top level>: Loop over signals in the $signals list instead of
3489 calling a test function once per signal.
3490 * gdb.reverse/sigall-reverse.exp (signals): New list.
3491 <top level>: Loop over signals in the $signals list instead of
3492 calling a test function once per signal.
3493
6ace3df1
YQ
34942012-07-19 Yao Qi <yao@codesourcery.com>
3495
3496 * gdb.base/setshow.exp: Test 'set args ~'.
3497
263a0f8c
JK
34982012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3499
3500 * gdb.base/store.exp (check_set): Import gdb_prompt.
3501 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3502 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3503
8f043999
JK
35042012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3505
3506 PR 11914
3507 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3508 (main): Call eval_sub.
3509 * gdb.python/py-prettyprint.exp:
3510 (python execfile ('py-prettyprint.py')): Move it earlier.
3511 New breakpoint for eval-break.
3512 (continue to breakpoint: eval-break, info locals): New test.
3513 (python execfile ('py-prettyprint.py')): Move it from here.
3514 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3515 (register_pretty_printers): Register pp_eval_type.
3516
725c7b66
JK
35172012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3518
3519 Fix a testcase regression by me.
3520 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
3521 DW_FORM_data4.
3522
4359dff1
JK
35232012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3524 Doug Evans <dje@google.com>
3525
3526 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
3527 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
3528
61e44cfa
JK
35292012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3530
3531 Fix gdbserver run regression.
3532 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
3533
93c0ef37
TT
35342012-07-12 Tom Tromey <tromey@redhat.com>
3535
3536 * lib/gdb.exp (standard_testfile): Don't declare objdir.
3537 (clean_restart): Likewise.
3538 (core_find): Use standard_output_file.
3539
76027ef5
TT
35402012-07-12 Tom Tromey <tromey@redhat.com>
3541
3542 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
3543 * gdb.dwarf2/dw2-anonymous-func.exp: Use
3544 prepare_for_testing_full.
3545 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
3546 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
3547 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
3548 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
3549 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
3550 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
3551 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
3552 prepare_for_testing_full.
3553 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
3554 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
3555 prepare_for_testing_full.
3556 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
3557 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
3558 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
3559
85b4440a
TT
35602012-07-12 Tom Tromey <tromey@redhat.com>
3561
3562 * lib/gdb.exp (build_executable_from_specs): New proc, from
3563 build_executable.
3564 (build_executable): Use it.
3565 (prepare_for_testing_full): New proc.
3566
55baab26
TT
35672012-07-11 Tom Tromey <tromey@redhat.com>
3568
3569 * gdb.reverse/break-precsave.exp: Use standard_output_file.
3570 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
3571 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
3572 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
3573 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
3574 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
3575 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
3576 * gdb.reverse/step-precsave.exp: Use standard_output_file.
3577 * gdb.reverse/until-precsave.exp: Use standard_output_file.
3578 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
3579
298a9cf0
TT
35802012-07-10 Tom Tromey <tromey@redhat.com>
3581
3582 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
3583 standard_output_file.
3584 * gdb.mi/gdb2549.exp: Use standard_testfile.
3585 * gdb.mi/gdb669.exp: Use standard_testfile.
3586 * gdb.mi/gdb701.exp: Use standard_testfile.
3587 * gdb.mi/gdb792.exp: Use standard_testfile.
3588 * gdb.mi/mi-async.exp: Use standard_testfile.
3589 * gdb.mi/mi-basics.exp: Use standard_testfile.
3590 * gdb.mi/mi-break.exp: Use standard_testfile.
3591 * gdb.mi/mi-cli.exp: Use standard_testfile.
3592 * gdb.mi/mi-console.exp: Use standard_testfile.
3593 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
3594 * gdb.mi/mi-eval.exp: Use standard_testfile.
3595 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
3596 * gdb.mi/mi-file.exp: Use standard_testfile.
3597 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
3598 * gdb.mi/mi-logging.exp: Use standard_testfile.
3599 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
3600 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
3601 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
3602 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
3603 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
3604 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
3605 * gdb.mi/mi-pending.exp: Use standard_testfile,
3606 standard_output_file.
3607 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
3608 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
3609 * gdb.mi/mi-regs.exp: Use standard_testfile.
3610 * gdb.mi/mi-return.exp: Use standard_testfile.
3611 * gdb.mi/mi-reverse.exp: Use standard_testfile.
3612 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
3613 * gdb.mi/mi-solib.exp: Use standard_testfile,
3614 standard_output_file.
3615 * gdb.mi/mi-stack.exp: Use standard_testfile.
3616 * gdb.mi/mi-stepi.exp: Use standard_testfile.
3617 * gdb.mi/mi-stepn.exp: Use standard_testfile.
3618 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
3619 * gdb.mi/mi-until.exp: Use standard_testfile.
3620 * gdb.mi/mi-var-block.exp: Use standard_testfile.
3621 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
3622 * gdb.mi/mi-var-child.exp: Use standard_testfile.
3623 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
3624 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
3625 * gdb.mi/mi-var-display.exp: Use standard_testfile.
3626 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
3627 standard_output_file.
3628 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
3629 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
3630 * gdb.mi/mi-watch.exp: Use standard_testfile.
3631 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
3632 * gdb.mi/mi2-basics.exp: Use standard_testfile.
3633 * gdb.mi/mi2-break.exp: Use standard_testfile.
3634 * gdb.mi/mi2-cli.exp: Use standard_testfile.
3635 * gdb.mi/mi2-console.exp: Use standard_testfile.
3636 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
3637 * gdb.mi/mi2-eval.exp: Use standard_testfile.
3638 * gdb.mi/mi2-file.exp: Use standard_testfile.
3639 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
3640 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
3641 * gdb.mi/mi2-regs.exp: Use standard_testfile.
3642 * gdb.mi/mi2-return.exp: Use standard_testfile.
3643 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
3644 * gdb.mi/mi2-stack.exp: Use standard_testfile.
3645 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
3646 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
3647 * gdb.mi/mi2-until.exp: Use standard_testfile.
3648 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
3649 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
3650 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
3651 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
3652 * gdb.mi/mi2-watch.exp: Use standard_testfile.
3653
f5f3a911
TT
36542012-07-10 Tom Tromey <tromey@redhat.com>
3655
3656 * gdb.cp/abstract-origin.exp: Use standard_testfile.
3657 * gdb.cp/ambiguous.exp: Use standard_testfile,
3658 prepare_for_testing.
3659 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
3660 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
3661 * gdb.cp/anon-ns.exp: Use standard_testfile.
3662 * gdb.cp/anon-struct.exp: Use standard_testfile.
3663 * gdb.cp/anon-union.exp: Use standard_testfile,
3664 prepare_for_testing.
3665 * gdb.cp/arg-reference.exp: Use standard_testfile,
3666 prepare_for_testing.
3667 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
3668 * gdb.cp/breakpoint.exp: Use standard_testfile,
3669 prepare_for_testing.
3670 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
3671 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
3672 standard_output_file.
3673 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
3674 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
3675 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
3676 (test_static_members): Update.
3677 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
3678 * gdb.cp/converts.exp: Use standard_testfile.
3679 * gdb.cp/cp-relocate.exp: Use standard_testfile.
3680 * gdb.cp/cpcompletion.exp: Use standard_testfile,
3681 prepare_for_testing.
3682 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
3683 * gdb.cp/cplabel.exp: Use standard_testfile.
3684 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
3685 prepare_for_testing.
3686 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
3687 * gdb.cp/derivation.exp: Use standard_testfile,
3688 prepare_for_testing.
3689 * gdb.cp/destrprint.exp: Use standard_testfile.
3690 * gdb.cp/dispcxx.exp: Use standard_testfile.
3691 * gdb.cp/exception.exp: Use standard_testfile,
3692 prepare_for_testing.
3693 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
3694 * gdb.cp/extern-c.exp: Use standard_testfile,
3695 prepare_for_testing.
3696 * gdb.cp/formatted-ref.exp: Use standard_testfile,
3697 prepare_for_testing.
3698 * gdb.cp/fpointer.exp: Use standard_testfile.
3699 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
3700 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
3701 standard_output_file.
3702 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
3703 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
3704 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
3705 standard_output_file.
3706 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
3707 (do_tests): Update.
3708 * gdb.cp/koenig.exp: Use standard_testfile.
3709 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
3710 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
3711 * gdb.cp/m-static.exp: Use standard_testfile,
3712 prepare_for_testing.
3713 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
3714 * gdb.cp/mb-inline.exp: Use standard_testfile,
3715 prepare_for_testing.
3716 * gdb.cp/mb-templates.exp: Use standard_testfile,
3717 prepare_for_testing.
3718 * gdb.cp/member-ptr.exp: Use standard_testfile,
3719 prepare_for_testing.
3720 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
3721 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
3722 * gdb.cp/method2.exp: Use standard_testfile.
3723 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
3724 standard_output_file.
3725 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
3726 (do_tests): Update.
3727 * gdb.cp/namespace-enum.exp: Use standard_testfile,
3728 prepare_for_testing.
3729 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
3730 prepare_for_testing.
3731 * gdb.cp/namespace.exp: Use standard_testfile,
3732 prepare_for_testing.
3733 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
3734 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
3735 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
3736 * gdb.cp/nsimport.exp: Use standard_testfile,
3737 prepare_for_testing.
3738 * gdb.cp/nsnested.exp: Use standard_testfile.
3739 * gdb.cp/nsnoimports.exp: Use standard_testfile.
3740 * gdb.cp/nsrecurs.exp: Use standard_testfile,
3741 prepare_for_testing.
3742 * gdb.cp/nsstress.exp: Use standard_testfile,
3743 prepare_for_testing.
3744 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3745 * gdb.cp/operator.exp: Use standard_testfile.
3746 * gdb.cp/oranking.exp: Use standard_testfile.
3747 * gdb.cp/overload-const.exp: Use standard_testfile.
3748 * gdb.cp/overload.exp: Use standard_testfile,
3749 prepare_for_testing.
3750 * gdb.cp/ovldbreak.exp: Use standard_testfile.
3751 * gdb.cp/ovsrch.exp: Use standard_testfile.
3752 * gdb.cp/paren-type.exp: Use standard_testfile.
3753 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3754 prepare_for_testing.
3755 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3756 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3757 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3758 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3759 * gdb.cp/pr10728.exp: Use standard_testfile,
3760 standard_output_file.
3761 * gdb.cp/pr12028.exp: Use standard_testfile.
3762 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3763 * gdb.cp/pr9167.exp: Use standard_testfile.
3764 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3765 * gdb.cp/printmethod.exp: Use standard_testfile,
3766 prepare_for_testing.
3767 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3768 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3769 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3770 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3771 standard_output_file.
3772 * gdb.cp/readnow-language.exp: Use standard_testfile.
3773 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3774 (gdb_start_again): Use clean_restart.
3775 * gdb.cp/ref-types.exp: Use standard_testfile,
3776 prepare_for_testing.
3777 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3778 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3779 * gdb.cp/smartp.exp: Use standard_testfile.
3780 * gdb.cp/static-method.exp: Use standard_testfile.
3781 * gdb.cp/static-print-quit.exp: Use standard_testfile.
3782 * gdb.cp/temargs.exp: Use standard_testfile.
3783 * gdb.cp/templates.exp: Use standard_testfile,
3784 prepare_for_testing.
3785 (do_tests): Update.
3786 * gdb.cp/try_catch.exp: Use standard_testfile,
3787 prepare_for_testing.
3788 * gdb.cp/typedef-operator.exp: Use standard_testfile.
3789 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3790 * gdb.cp/virtbase.exp: Use standard_testfile,
3791 prepare_for_testing.
3792 * gdb.cp/virtfunc.exp: Use standard_testfile,
3793 prepare_for_testing.
3794 (do_tests): Update.
3795 * gdb.cp/virtfunc2.exp: Use standard_testfile,
3796 prepare_for_testing.
3797
686f09d0
TT
37982012-07-10 Tom Tromey <tromey@redhat.com>
3799
3800 * lib/gdb.exp (standard_testfile): Unset output variables from
3801 earlier invocations.
3802
9357e021
YQ
38032012-07-10 Yao Qi <yao@codesourcery.com>
3804
3805 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3806 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3807 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3808 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3809 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3810 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3811 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3812 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3813 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3814 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3815 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3816 * gdb.mi/mi-var-display.exp: Likewise.
3817 * gdb.mi/mi-var-invalidate.exp: Likewise.
3818 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3819 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3820 * gdb.mi/mi2-console.exp: Likewise.
3821 * gdb.mi/mi2-disassemble.exp: Likewise.
3822 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3823 * gdb.mi/mi2-read-memory.exp: Likewise.
3824 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3825 * gdb.mi/mi2-simplerun.exp: Likewise.
3826 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3827 * gdb.mi/mi2-syn-frame.exp: Likewise.
3828 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3829 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3830 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3831
e314d629
TT
38322012-07-09 Tom Tromey <tromey@redhat.com>
3833
3834 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3835 * gdb.base/callfuncs.exp: Add cast-based test.
3836 * gdb.base/callfuncs.c (voidfunc): New function.
3837
06928b3f
DE
38382012-07-08 Doug Evans <dje@google.com>
3839
3840 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3841
32f11bad
JK
38422012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3843
3844 Fix XFAIL compatibility with old i386 systems.
3845 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3846 Check also 'Cannot insert breakpoint 0'.
3847
76b83c51
JK
38482012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3849
3850 PR 14321
3851 * gdb.base/find.exp
3852 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3853
a6fb9c08
TT
38542012-07-06 Tom Tromey <tromey@redhat.com>
3855
3856 * gdb.base/whatis.exp: Add test.
3857
71918a86
TT
38582012-07-06 Tom Tromey <tromey@redhat.com>
3859
3860 * gdb.base/whatis.exp: Add regression test.
3861
fcde5961
TT
38622012-07-06 Tom Tromey <tromey@redhat.com>
3863
3864 * gdb.base/whatis.exp: Add tests.
3865
f9cf0f4a
JK
38662012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3867
3868 PR 12649
3869 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3870 gdb_test_multiple $gdb_prompt terminator.
3871
979ade8b
PA
38722012-07-04 Pedro Alves <palves@redhat.com>
3873
3874 * gdb.mi/mi-reverse.exp: Use supports_reverse and
3875 supports_process_record.
3876
8a980b44
PA
38772012-07-04 Pedro Alves <palves@redhat.com>
3878
3879 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3880 endings.
3881 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3882
855ba978
SS
38832012-07-03 Stan Shebs <stan@codesourcery.com>
3884
3885 * gdb.base/info-os.c (main): Retry resource acquisition until an
3886 available one is found.
3887 * gdb.base/info-os.exp: Collect resource keys from the program
3888 and use them in matching.
3889
fcb44371
JK
38902012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3891
3892 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3893 Wrap the test into loop for corefile and core0file.
3894
08a67be6
JK
38952012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3896
3897 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3898 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
3899 .note.GNU-stack.
3900
0f3c2347
JK
3901 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3902
ff4a4500
SDJ
39032012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
3904
3905 * gdb.base/help.exp (help b, help br, help bre, help brea, help
3906 break): Include help message for the new `-probe' and `-probe-stap'
3907 options.
3908
d3ce09f5
SS
39092012-07-02 Stan Shebs <stan@codesourcery.com>
3910
3911 * gdb.base/dprintf.exp: Add agent style tests.
3912
a1624241
JK
39132012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3914
3915 * gdb.base/stale-infcall.c (infcall): New label test-next.
3916 (main): New labels test-pass and test-fail.
3917 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
3918 $test_fail_bpnum to test-fail.
3919 (test system longjmp tracking support): New test.
3920 Delete $test_fail_bpnum.
3921 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
3922 breakpoint.
3923
42e7ad6c
DE
39242012-06-30 Doug Evans <dje@google.com>
3925
3926 * gdb.dwarf2/fission-reread.S: New file.
3927 * gdb.dwarf2/fission-reread.exp: New file.
3928
37ce89eb
SS
39292012-06-28 Stan Shebs <stan@codesourcery.com>
3930
3931 * gdb.mi/mi-logging.exp: New file.
3932
e5ef252a
PA
39332012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3934 Pedro Alves <palves@redhat.com>
3935
3936 * gdb.threads/siginfo-threads.exp: New file.
3937 * gdb.threads/siginfo-threads.c: New file.
3938 * gdb.threads/sigstep-threads.exp: New file.
3939 * gdb.threads/sigstep-threads.c: New file.
3940
22f1fbae
TT
39412012-06-28 Tom Tromey <tromey@redhat.com>
3942
3943 * gdb.go/package.exp: Partially revert earlier patch; use
3944 gdb_compile again. Use standard_output_file.
3945
2e3cf129
DE
39462012-06-27 Doug Evans <dje@google.com>
3947
3948 * gdb.dwarf2/fission-base.c: New file.
3949 * gdb.dwarf2/fission-base.S: New file.
3950 * gdb.dwarf2/fission-base.exp: New file.
3951
785fd303
JK
39522012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3953
3954 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
3955
1bb9788d
TT
39562012-06-27 Tom Tromey <tromey@redhat.com>
3957
3958 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
3959 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
3960
c83ee902
TT
39612012-06-27 Tom Tromey <tromey@redhat.com>
3962
3963 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
3964 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
3965 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
3966 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
3967 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
3968 prepare_for_testing.
3969 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
3970 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
3971 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
3972 standard_testfile.
3973 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
3974 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
3975 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
3976 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
3977 prepare_for_testing.
3978 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
3979 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
3980 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
3981 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
3982 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
3983 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
3984 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
3985 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
3986 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
3987 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
3988 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
3989 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
3990 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
3991 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
3992 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
3993 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
3994 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
3995 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
3996 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
3997 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
3998 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
3999 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4000 standard_output_file.
4001 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4002 standard_output_file.
4003 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4004 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4005 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4006 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4007 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4008 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4009 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4010 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4011 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4012 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4013 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4014 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4015 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4016 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4017 * gdb.dwarf2/valop.exp: Use standard_testfile,
4018 prepare_for_testing.
4019
5204774b
TT
40202012-06-27 Tom Tromey <tromey@redhat.com>
4021
4022 * gdb.python/python.exp: Fix regexps in pagination tests.
4023
ee0bf529
SCR
40242012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4025
4026 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4027 'last' of gdb.Symtab_and_line.
4028 * gdb.python/py-symbol.c: Move break point comment to enable
4029 testing of gdb.Symtab_and_line.last.
4030
14fcc022
TT
40312012-06-26 Tom Tromey <tromey@redhat.com>
4032
4033 * gdb.threads/step.c: Remove.
4034 * gdb.threads/step.exp: Remove.
4035 * gdb.threads/step2.exp: Remove.
4036
0efbbabc
TT
40372012-06-26 Tom Tromey <tromey@redhat.com>
4038
4039 * gdb.threads/watchpoint-fork.exp (test): Use
4040 standard_output_file. Don't declare objdir.
4041 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4042 standard_output_file.
4043 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4044 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4045 clean_restart. Remove incdir.
4046 * gdb.threads/corethreads.exp: Use standard_testfile.
4047 * gdb.threads/execl.exp: Use standard_testfile,
4048 standard_output_file, clean_restart.
4049 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4050 clean_restart.
4051 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4052 clean_restart.
4053 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4054 incdir.
4055 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4056 clean_restart. Remove incdir.
4057 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4058 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4059 clean_restart. Remove incdir.
4060 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4061 Remove incdir.
4062 * gdb.threads/leader-exit.exp: Use standard_testfile.
4063 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4064 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4065 clean_restart.
4066 * gdb.threads/manythreads.exp: Use standard_testfile,
4067 clean_restart. Remove incdir.
4068 * gdb.threads/multi-create.exp: Use standard_testfile,
4069 clean_restart.
4070 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4071 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4072 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4073 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4074 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4075 * gdb.threads/pending-step.exp: Use standard_testfile,
4076 clean_restart. Remove incdir.
4077 * gdb.threads/print-threads.exp: Use standard_testfile,
4078 clean_restart. Remove incdir.
4079 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4080 clean_restart. Remove incdir.
4081 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4082 Remove incdir.
4083 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4084 incdir.
4085 * gdb.threads/sigthread.exp: Use standard_testfile,
4086 clean_restart.
4087 * gdb.threads/staticthreads.exp: Use standard_testfile,
4088 clean_restart. Remove incdir.
4089 * gdb.threads/switch-threads.exp: Use standard_testfile,
4090 clean_restart. Remove incdir.
4091 * gdb.threads/thread-execl.exp: Use standard_testfile,
4092 clean_restart. Remove incdir.
4093 * gdb.threads/thread-find.exp: Use standard_testfile,
4094 clean_restart.
4095 * gdb.threads/thread-specific.exp: Use standard_testfile,
4096 clean_restart. Remove incdir.
4097 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4098 clean_restart. Remove incdir.
4099 * gdb.threads/thread_check.exp: Use standard_testfile,
4100 clean_restart. Remove incdir.
4101 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4102 incdir.
4103 * gdb.threads/threadapply.exp: Use standard_testfile,
4104 clean_restart. Remove incdir.
4105 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4106 clean_restart. Remove incdir.
4107 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4108 clean_restart.
4109 * gdb.threads/tls-shared.exp: Use standard_testfile,
4110 clean_restart, standard_output_file.
4111 * gdb.threads/tls-var.exp: Use standard_testfile,
4112 standard_output_file.
4113 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4114 Remove incdir.
4115 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4116 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4117 incdir.
4118 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4119 clean_restart. Remove incdir.
4120
497a5eb0
TT
41212012-06-26 Tom Tromey <tromey@redhat.com>
4122
4123 * gdb.trace/actions.exp: Use standard_testfile.
4124 * gdb.trace/ax.exp: Use standard_testfile.
4125 * gdb.trace/backtrace.exp: Use standard_testfile.
4126 * gdb.trace/change-loc.exp: Use standard_testfile.
4127 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4128 * gdb.trace/collection.exp: Use standard_testfile,
4129 prepare_for_testing.
4130 * gdb.trace/deltrace.exp: Use standard_testfile.
4131 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4132 * gdb.trace/ftrace.exp: Use standard_testfile.
4133 * gdb.trace/infotrace.exp: Use standard_testfile.
4134 * gdb.trace/packetlen.exp: Use standard_testfile.
4135 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4136 * gdb.trace/passcount.exp: Use standard_testfile.
4137 * gdb.trace/pending.exp: Use standard_testfile.
4138 * gdb.trace/report.exp: Use standard_testfile.
4139 * gdb.trace/save-trace.exp: Use standard_testfile.
4140 * gdb.trace/stap-trace.exp: Use standard_testfile.
4141 * gdb.trace/status-stop.exp: Use standard_testfile.
4142 * gdb.trace/strace.exp: Use standard_testfile.
4143 * gdb.trace/tfile.exp: Use standard_testfile.
4144 * gdb.trace/tfind.exp: Use standard_testfile.
4145 * gdb.trace/trace-break.exp: Use standard_testfile.
4146 * gdb.trace/trace-mt.exp: Use standard_testfile.
4147 * gdb.trace/tracecmd.exp: Use standard_testfile.
4148 * gdb.trace/tspeed.exp: Use standard_testfile.
4149 * gdb.trace/tstatus.exp: Use standard_testfile.
4150 * gdb.trace/tsv.exp: Use standard_testfile.
4151 * gdb.trace/unavailable.exp: Use standard_testfile,
4152 prepare_for_testing.
4153 * gdb.trace/while-dyn.exp: Use standard_testfile.
4154 * gdb.trace/while-stepping.exp: Use standard_testfile.
4155
7686c074
TT
41562012-06-26 Tom Tromey <tromey@redhat.com>
4157
4158 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4159 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4160 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4161 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4162 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4163 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4164 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4165 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4166 prepare_for_testing.
4167 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4168 prepare_for_testing.
4169 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4170 prepare_for_testing.
4171 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4172 prepare_for_testing.
4173 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4174 prepare_for_testing
4175 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4176 * gdb.reverse/machinestate.exp: Use standard_testfile.
4177 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4178 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4179 build_executable.
4180 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4181 build_executable.
4182 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4183 standard_output_file.
4184 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4185 standard_output_file.
4186 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4187 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4188 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4189 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4190 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4191 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4192
481fc100
TT
41932012-06-26 Tom Tromey <tromey@redhat.com>
4194
4195 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4196 standard_output_file.
4197 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4198 prepare_for_testing. Remove directory-checking code.
4199
7bb18ae2
TT
42002012-06-25 Tom Tromey <tromey@redhat.com>
4201
4202 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4203 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4204 build_executable, not prepare_for_testing.
4205 * gdb.multi/base.exp: Use standard_output_file. Use
4206 build_executable, not prepare_for_testing.
4207
cf09b3e4
TT
42082012-06-25 Tom Tromey <tromey@redhat.com>
4209
4210 * gdb.fortran/subarray.exp: Use standard_testfile,
4211 prepare_for_testing.
4212 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4213 * gdb.fortran/module.exp: Use standard_testfile.
4214 * gdb.fortran/logical.exp: Use standard_testfile.
4215 * gdb.fortran/library-module.exp: Use standard_testfile,
4216 standard_output_file.
4217 * gdb.fortran/derived-type.exp: Use standard_testfile,
4218 prepare_for_testing.
4219 * gdb.fortran/complex.exp: Use standard_testfile,
4220 prepare_for_testing.
4221 * gdb.fortran/charset.exp: Use standard_testfile.
4222 * gdb.fortran/array-element.exp: Use standard_testfile,
4223 prepare_for_testing.
4224
18b5ff1b
KS
42252012-06-25 Keith Seitz <keiths@redhat.com>
4226
4227 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4228 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4229
17b77626
TT
42302012-06-25 Tom Tromey <tromey@redhat.com>
4231
4232 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4233 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4234 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4235 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4236
f91e3dc1
TT
42372012-06-25 Tom Tromey <tromey@redhat.com>
4238
4239 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4240 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4241 * gdb.linespec/linespec.exp: Use standard_testfile.
4242
a884434d
TT
42432012-06-25 Tom Tromey <tromey@redhat.com>
4244
4245 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4246 prepare_for_testing.
4247
efc9d70a
TT
42482012-06-25 Tom Tromey <tromey@redhat.com>
4249
4250 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4251 prepare_for_testing.
4252 * gdb.opt/inline-break.exp: Use standard_testfile,
4253 prepare_for_testing.
4254 * gdb.opt/inline-bt.exp: Use standard_testfile,
4255 prepare_for_testing.
4256 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4257 prepare_for_testing.
4258 * gdb.opt/inline-locals.exp: Use standard_testfile,
4259 prepare_for_testing.
4260
e2fc92c6
TT
42612012-06-25 Tom Tromey <tromey@redhat.com>
4262
4263 * gdb.asm/asm-source.exp: Use standard_output_file,
4264 standard_testfile. Construct .o files in proper subdir.
4265
b0963d73
TT
42662012-06-25 Tom Tromey <tromey@redhat.com>
4267
4268 * gdb.server/ext-attach.exp: Use standard_testfile,
4269 prepare_for_testing.
4270 * gdb.server/ext-run.exp: Use standard_testfile,
4271 build_executable.
4272 * gdb.server/file-transfer.exp: Use standard_testfile,
4273 prepare_for_testing.
4274 * gdb.server/server-exec-info.exp: Use standard_testfile.
4275 * gdb.server/server-mon.exp: Use standard_testfile,
4276 prepare_for_testing.
4277 * gdb.server/server-run.exp: Use standard_testfile,
4278 build_executable.
4279 * gdb.server/solib-list.exp: Use standard_testfile,
4280 standard_output_file.
4281
8a3e1f8d
TT
42822012-06-25 Tom Tromey <tromey@redhat.com>
4283
4284 * lib/gdb.exp (standard_output_file): Use "file join".
4285 * gdb.go/chan.exp: Use standard_testfile.
4286 * gdb.go/handcall.exp: Use standard_testfile.
4287 * gdb.go/hello.exp: Use standard_testfile.
4288 * gdb.integers/chan.exp: Use standard_testfile.
4289 * gdb.go/methods.exp: Use standard_testfile.
4290 * gdb.go/package.exp: Use standard_testfile.
4291 * gdb.go/strings.exp: Use standard_testfile.
4292 * gdb.go/types.exp: Use standard_testfile.
4293 * gdb.go/unsafe.exp: Use standard_testfile.
4294
944a9061
MGD
42952012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4296
4297 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4298
1c06bd58
JK
42992012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4300
4301 Fix regression by the previous commit.
4302 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4303
b4a58790
TT
43042012-06-22 Tom Tromey <tromey@redhat.com>
4305
4306 * gdb.python/lib-types.exp: Use standard_testfile,
4307 prepare_for_testing.
4308 * gdb.python/py-block.exp: Use standard_testfile.
4309 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4310 * gdb.python/py-events.exp: Use standard_testfile,
4311 standard_output_file.
4312 * gdb.python/py-evsignal.exp: Use standard_testfile.
4313 * gdb.python/py-evethreads.exp: Use standard_testfile.
4314 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4315 * gdb.python/py-explore.exp: Use standard_testfile.
4316 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4317 standard_output_file.
4318 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4319 prepare_for_testing.
4320 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4321 * gdb.python/py-frame.exp: Use standard_testfile.
4322 * gdb.python/py-inferior.exp: Use standard_testfile.
4323 * gdb.python/py-infthread.exp: Use standard_testfile.
4324 * gdb.python/py-mi.exp: Use standard_testfile.
4325 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4326 build_executable.
4327 * gdb.python/py-objfile.exp: Use standard_testfile.
4328 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4329 prepare_for_testing.
4330 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4331 * gdb.python/py-progspace.exp: Use standard_testfile,
4332 build_executable.
4333 * gdb.python/py-prompt.exp: Use standard_testfile,
4334 build_executable.
4335 * gdb.python/py-section-script.exp: Use standard_testfile,
4336 build_executable.
4337 * gdb.python/py-shared.exp: Use standard_testfile,
4338 standard_output_file, clean_restart.
4339 * gdb.python/py-symbol.exp: Use standard_output_file,
4340 prepare_for_testing.
4341 * gdb.python/py-symtab.exp: Use standard_output_file,
4342 prepare_for_testing
4343 * gdb.python/py-template.exp: Use standard_testfile.
4344 * gdb.python/py-type.exp: Use standard_testfile.
4345 * gdb.python/py-value-cc.exp: Use standard_testfile.
4346 * gdb.python/py-value.exp: Use standard_testfile.
4347 * gdb.python/python.exp: Use standard_testfile, build_executable.
4348
2c44deac
TT
43492012-06-22 Tom Tromey <tromey@redhat.com>
4350
4351 * gdb.objc/basicclass.exp: Use standard_testfile.
4352 (do_objc_tests): Don't declare objdir.
4353 * gdb.objc/nondebug.exp: Use standard_testfile.
4354 (do_objc_tests): Don't declare objdir.
4355 * gdb.objc/objcdecode.exp: Use standard_testfile.
4356 (do_objc_tests): Don't declare objdir.
4357
c24ccbce
TT
43582012-06-22 Tom Tromey <tromey@redhat.com>
4359
4360 * gdb.java/jmain.exp: Use standard_testfile.
4361 * gdb.java/jmisc.exp: Use standard_testfile.
4362 * gdb.java/jnpe.exp: Use standard_testfile.
4363 * gdb.java/jprint.exp: Use standard_testfile.
4364
0a6d0306
TT
43652012-06-22 Tom Tromey <tromey@redhat.com>
4366
4367 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4368 (standard_output_file, standard_testfile): New procs.
4369 (build_executable, clean_restart): Use standard_output_file.
4370
6ea815ef
YQ
43712012-06-22 Yao Qi <yao@codesourcery.com>
4372
4373 * boards/native-gdbserver.exp: New proc ${board}_exec.
4374 * boards/native-stdio-gdbserver.exp: Likewise.
4375
4c93b1db
TT
43762012-06-21 Tom Tromey <tromey@redhat.com>
4377
4378 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4379 (build_executable): Update.
4380 (get_compiler_info): Remove 'binfile' argument.
4381 * gdb.ada/arrayidx.exp: Update.
4382 * gdb.ada/null_array.exp: Update.
4383 * gdb.arch/altivec-abi.exp: Update.
4384 * gdb.arch/altivec-regs.exp: Update.
4385 * gdb.arch/amd64-byte.exp: Update.
4386 * gdb.arch/amd64-dword.exp: Update.
4387 * gdb.arch/amd64-word.exp: Update.
4388 * gdb.arch/i386-avx.exp: Update.
4389 * gdb.arch/i386-byte.exp: Update.
4390 * gdb.arch/i386-sse.exp: Update.
4391 * gdb.arch/i386-word.exp: Update.
4392 * gdb.arch/ppc-dfp.exp: Update.
4393 * gdb.arch/ppc-fp.exp: Update.
4394 * gdb.arch/vsx-regs.exp: Update.
4395 * gdb.base/all-bin.exp: Update.
4396 * gdb.base/annota1.exp: Update.
4397 * gdb.base/async.exp: Update.
4398 * gdb.base/attach.exp: Update.
4399 * gdb.base/break-interp.exp: Update.
4400 * gdb.base/call-ar-st.exp: Update.
4401 * gdb.base/call-rt-st.exp: Update.
4402 * gdb.base/call-sc.exp: Update.
4403 * gdb.base/callfuncs.exp: Update.
4404 * gdb.base/catch-load.exp: Update.
4405 * gdb.base/completion.exp: Update.
4406 * gdb.base/complex.exp: Update.
4407 * gdb.base/condbreak.exp: Update.
4408 * gdb.base/consecutive.exp: Update.
4409 * gdb.base/constvars.exp: Update.
4410 * gdb.base/corefile.exp: Update.
4411 * gdb.base/eval-skip.exp: Update.
4412 * gdb.base/expand-psymtabs.exp: Update.
4413 * gdb.base/exprs.exp: Update.
4414 * gdb.base/fileio.exp: Update.
4415 * gdb.base/fixsection.exp: Update.
4416 * gdb.base/funcargs.exp: Update.
4417 * gdb.base/gdb11530.exp: Update.
4418 * gdb.base/gdb1555.exp: Update.
4419 * gdb.base/gnu-ifunc.exp: Update.
4420 * gdb.base/gnu_vector.exp: Update.
4421 * gdb.base/info-macros.exp: Update.
4422 * gdb.base/jit-simple.exp: Update.
4423 * gdb.base/jit-so.exp: Update.
4424 * gdb.base/jit.exp: Update.
4425 * gdb.base/langs.exp: Update.
4426 * gdb.base/list.exp: Update.
4427 * gdb.base/logical.exp: Update.
4428 * gdb.base/long_long.exp: Update.
4429 * gdb.base/longjmp.exp: Update.
4430 * gdb.base/macscp.exp: Update.
4431 * gdb.base/mips_pro.exp: Update.
4432 * gdb.base/miscexprs.exp: Update.
4433 * gdb.base/morestack.exp: Update.
4434 * gdb.base/nodebug.exp: Update.
4435 * gdb.base/opaque.exp: Update.
4436 * gdb.base/pc-fp.exp: Update.
4437 * gdb.base/pending.exp: Update.
4438 * gdb.base/permissions.exp: Update.
4439 * gdb.base/pointers.exp: Update.
4440 * gdb.base/prelink.exp: Update.
4441 * gdb.base/printcmds.exp: Update.
4442 * gdb.base/psymtab.exp: Update.
4443 * gdb.base/ptype.exp: Update.
4444 * gdb.base/relational.exp: Update.
4445 * gdb.base/scope.exp: Update.
4446 * gdb.base/setvar.exp: Update.
4447 * gdb.base/shlib-call.exp: Update.
4448 * gdb.base/shreloc.exp: Update.
4449 * gdb.base/signals.exp: Update.
4450 * gdb.base/sizeof.exp: Update.
4451 * gdb.base/so-impl-ld.exp: Update.
4452 * gdb.base/so-indr-cl.exp: Update.
4453 * gdb.base/solib-disc.exp: Update.
4454 * gdb.base/solib-display.exp: Update.
4455 * gdb.base/solib-nodir.exp: Update.
4456 * gdb.base/solib-overlap.exp: Update.
4457 * gdb.base/solib-symbol.exp: Update.
4458 * gdb.base/solib-weak.exp: Update.
4459 * gdb.base/solib.exp: Update.
4460 * gdb.base/store.exp: Update.
4461 * gdb.base/structs.exp: Update.
4462 * gdb.base/structs2.exp: Update.
4463 * gdb.base/type-opaque.exp: Update.
4464 * gdb.base/unload.exp: Update.
4465 * gdb.base/varargs.exp: Update.
4466 * gdb.base/volatile.exp: Update.
4467 * gdb.base/watch_thread_num.exp: Update.
4468 * gdb.base/watchpoint-solib.exp: Update.
4469 * gdb.base/watchpoint.exp: Update.
4470 * gdb.base/watchpoints.exp: Update.
4471 * gdb.base/whatis.exp: Update.
4472 * gdb.cell/arch.exp: Update.
4473 * gdb.cell/break.exp: Update.
4474 * gdb.cell/bt.exp: Update.
4475 * gdb.cell/core.exp: Update.
4476 * gdb.cell/data.exp: Update.
4477 * gdb.cell/ea-cache.exp: Update.
4478 * gdb.cell/f-regs.exp: Update.
4479 * gdb.cell/fork.exp: Update.
4480 * gdb.cell/gcore.exp: Update.
4481 * gdb.cell/mem-access.exp: Update.
4482 * gdb.cell/ptype.exp: Update.
4483 * gdb.cell/registers.exp: Update.
4484 * gdb.cell/sizeof.exp: Update.
4485 * gdb.cell/solib-symbol.exp: Update.
4486 * gdb.cell/solib.exp: Update.
4487 * gdb.cp/ambiguous.exp: Update.
4488 * gdb.cp/breakpoint.exp: Update.
4489 * gdb.cp/bs15503.exp: Update.
4490 * gdb.cp/casts.exp: Update.
4491 * gdb.cp/class2.exp: Update.
4492 * gdb.cp/cpexprs.exp: Update.
4493 * gdb.cp/cplusfuncs.exp: Update.
4494 * gdb.cp/ctti.exp: Update.
4495 * gdb.cp/dispcxx.exp: Update.
4496 * gdb.cp/gdb1355.exp: Update.
4497 * gdb.cp/gdb2384.exp: Update.
4498 * gdb.cp/gdb2495.exp: Update.
4499 * gdb.cp/infcall-dlopen.exp: Update.
4500 * gdb.cp/local.exp: Update.
4501 * gdb.cp/m-data.exp: Update.
4502 * gdb.cp/m-static.exp: Update.
4503 * gdb.cp/mb-ctor.exp: Update.
4504 * gdb.cp/mb-inline.exp: Update.
4505 * gdb.cp/mb-templates.exp: Update.
4506 * gdb.cp/member-ptr.exp: Update.
4507 * gdb.cp/method.exp: Update.
4508 * gdb.cp/namespace.exp: Update.
4509 * gdb.cp/nextoverthrow.exp: Update.
4510 * gdb.cp/nsdecl.exp: Update.
4511 * gdb.cp/nsrecurs.exp: Update.
4512 * gdb.cp/nsstress.exp: Update.
4513 * gdb.cp/nsusing.exp: Update.
4514 * gdb.cp/pr-1023.exp: Update.
4515 * gdb.cp/pr-1210.exp: Update.
4516 * gdb.cp/pr-574.exp: Update.
4517 * gdb.cp/pr9631.exp: Update.
4518 * gdb.cp/printmethod.exp: Update.
4519 * gdb.cp/psmang.exp: Update.
4520 * gdb.cp/re-set-overloaded.exp: Update.
4521 * gdb.cp/rtti.exp: Update.
4522 * gdb.cp/shadow.exp: Update.
4523 * gdb.cp/templates.exp: Update.
4524 * gdb.cp/try_catch.exp: Update.
4525 * gdb.dwarf2/dw2-ranges.exp: Update.
4526 * gdb.dwarf2/pr10770.exp: Update.
4527 * gdb.fortran/library-module.exp: Update.
4528 * gdb.hp/gdb.aCC/optimize.exp: Update.
4529 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
4530 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
4531 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
4532 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
4533 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
4534 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
4535 * gdb.hp/gdb.compat/xdb1.exp: Update.
4536 * gdb.hp/gdb.compat/xdb2.exp: Update.
4537 * gdb.hp/gdb.compat/xdb3.exp: Update.
4538 * gdb.hp/gdb.defects/bs14602.exp: Update.
4539 * gdb.hp/gdb.defects/solib-d.exp: Update.
4540 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
4541 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
4542 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
4543 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
4544 * gdb.mi/gdb792.exp: Update.
4545 * gdb.mi/mi-pending.exp: Update.
4546 * gdb.mi/mi-solib.exp: Update.
4547 * gdb.mi/mi-var-cp.exp: Update.
4548 * gdb.opt/clobbered-registers-O2.exp: Update.
4549 * gdb.opt/inline-bt.exp: Update.
4550 * gdb.opt/inline-cmds.exp: Update.
4551 * gdb.opt/inline-locals.exp: Update.
4552 * gdb.python/py-events.exp: Update.
4553 * gdb.python/py-finish-breakpoint.exp: Update.
4554 * gdb.python/py-type.exp: Update.
4555 * gdb.reverse/solib-precsave.exp: Update.
4556 * gdb.reverse/solib-reverse.exp: Update.
4557 * gdb.server/solib-list.exp: Update.
4558 * gdb.stabs/weird.exp: Update.
4559 * gdb.threads/attach-into-signal.exp: Update.
4560 * gdb.threads/attach-stopped.exp: Update.
4561 * gdb.threads/tls-shared.exp: Update.
4562 * gdb.trace/change-loc.exp: Update.
4563 * gdb.trace/strace.exp: Update.
4564
95c391b6
TT
45652012-06-19 Tom Tromey <tromey@redhat.com>
4566
4567 * gdb.base/whatis.exp: Add tests.
4568
e910f0b6
TT
45692012-06-19 Tom Tromey <tromey@redhat.com>
4570
4571 * gdb.cp/m-static.cc (keepalive): New function.
4572 (gnu_obj_1::method): Use it.
4573
422d65e7
DE
45742012-06-18 Doug Evans <dje@google.com>
4575
4576 * gdb.base/info-fun.exp: New file.
4577 * gdb.base/info-fun.c: New file.
4578 * gdb.base/info-fun-solib.c: New file.
4579
e2e4d78b
JK
45802012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4581
4582 Remove stale dummy frames.
4583 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
4584 (maintenance info breakpoints): New tests.
4585 * gdb.base/stale-infcall.c: New file.
4586 * gdb.base/stale-infcall.exp: New file.
4587
1788b2d3
JK
45882012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4589
4590 * gdb.arch/amd64-entry-value-param.S: New file.
4591 * gdb.arch/amd64-entry-value-param.c: New file.
4592 * gdb.arch/amd64-entry-value-param.exp: New file.
4593
663b969e
TT
45942012-06-15 Tom Tromey <tromey@redhat.com>
4595
4596 * gdb.cp/namespace.exp: Add "show lang" test.
4597
8e09ad05
IS
45982012-06-15 Iain Sandoe <iain@codesourcery.com>
4599
4600 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
4601 case. (top level): Use gdb_file_cmd instead of gdb_load.
4602
f85e18ee
JK
46032012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4604
4605 PR tdep/14222
4606 * gdb.arch/i386-sse-stack-align.S: New file.
4607 * gdb.arch/i386-sse-stack-align.c: New file.
4608 * gdb.arch/i386-sse-stack-align.exp: New file.
4609
f3b5e280
KS
46102012-06-13 Keith Seitz <keiths@redhat.com>
4611
4612 PR breakpoints/13798 and mi/11541
4613 * gdb.linespec/ls-errs.exp: Add a few more tests for
4614 filenames with spaces and colons.
4615
50af5481
JK
46162012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4617
4618 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
4619 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
4620 (test_function): Call CV_f.
4621 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
4622 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
4623 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
4624 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
4625 (p CV_f(CV::i)): New tests.
4626
d55637df
TT
46272012-06-13 Tom Tromey <tromey@redhat.com>
4628
4629 * gdb.base/condbreak.exp: Add tests for "condition" completion.
4630
cc80f267
JK
46312012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4632
4633 Fix regression by the "ambiguous linespec" series.
4634 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
4635 tests.
4636
bb2af9cc
JK
46372012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4638
4639 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
4640 missing.
4641
e81a37f7
TT
46422012-06-11 Tom Tromey <tromey@redhat.com>
4643
4644 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
4645 location...
4646 (main): ...here.
4647
8efd7788
YQ
46482012-06-07 Yao Qi <yao@codesourcery.com>
4649
4650 * gdb.trace/strace.exp: Shorten some too-long lines.
4651
359f5fe6
PA
46522012-06-06 Pedro Alves <palves@redhat.com>
4653
4654 * gdb.threads/clone-new-thread-event.c: New file.
4655 * gdb.threads/clone-new-thread-event.exp: New file.
4656
7b2fe205
YQ
46572012-06-06 Yao Qi <yao@codesourcery.com>
4658
4659 * gdb.base/dprintf.c (main): Add extra parameter when calling
4660 printf and fprintf.
4661 (bar): New function. It is a dead function, but to ensure
4662 'malloc' is linked explicitly.
4663
3eca55e8
YQ
46642012-06-06 Yao Qi <yao@codesourcery.com>
4665
4666 * gdb.base/info-proc.exp: Return if target doesn't support
4667 'info proc'.
4668
91cc9324
JK
46692012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4670
4671 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
4672 (run program with breakpoint commands): XFAIl if it is not.
4673
c56e7c43
JB
46742012-06-05 Joel Brobecker <brobecker@adacore.com>
4675
4676 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
4677 and add comment.
4678 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
4679 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
4680 "STOP" marker. Adjust testing strategy to make it work on
4681 all targets.
4682
4683 * gdb.base/print-file-var-main.c (main): Rewrite using local
4684 variables and adjust get_version_2's return value check.
4685 Add small comment.
4686 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
4687 marker. Adjust testing strategy to make it work on all targets.
4688
ccab2054
JB
46892012-06-05 Joel Brobecker <brobecker@adacore.com>
4690
4691 * gdb.ada/bad-task-bp-keyword: New testcase.
4692
d0d86158
JK
46932012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4694
4695 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
4696 Simplify it to ...
4697 (symbol-file ${testfile1}): ... here.
4698 (test eliminated var my_global_symbol)
4699 (test eliminated var my_static_symbol)
4700 (test eliminated var my_global_func, get address of main): Wrap them to
4701 'single psymtabs' and 'single symtabs'
4702 (get address of my_global_symbol, get address of my_static_symbol)
4703 (get address of my_global_func, get address of main): Wrap them to
4704 'order1' and 'order2'.
4705
952cf74c
JK
4706 * gdb.base/code_elim.exp
4707 (add-symbol-file ${testfile1} 0x100000)
4708 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
4709 'order2'.
4710 (order1: add-symbol-file ${testfile1} 0x100000)
4711 (order1: add-symbol-file ${testfile2} 0x200000)
4712 (order2: add-symbol-file ${testfile2} 0x200000)
4713 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
4714 .bss as appropriate.
4715
0c5bf5a9
JK
47162012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4717
4718 * gdb.server/solib-list-lib.c: New file.
4719 * gdb.server/solib-list-main.c: New file.
4720 * gdb.server/solib-list.exp: New file.
4721
4196f325
MR
47222012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
4723
4724 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
4725 for 'set print symbol' change.
4726
bfb05775
JK
47272012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4728
4729 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
4730 .debug_abbrev_seg3.
4731
685b1105
JK
47322012-05-24 John Steele Scott <toojays@toojays.net>
4733
4734 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
4735 * gdb.dwarf2/dw2-icc-opaque.S: New file.
4736 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
4737
f3e0e960
SS
47382012-05-23 Stan Shebs <stan@codesourcery.com>
4739
4740 * gdb.mi/mi-info-os.exp: New file.
4741
11eb1b4d
KS
47422012-05-23 Keith Seitz <keiths@redhat.com>
4743
4744 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4745 return -1 to suppress the rest of the tests.
4746 (compile_stap_bin): Return boolean success value.
4747
b1af9e97
TT
47482012-05-21 Tom Tromey <tromey@redhat.com>
4749
4750 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4751 Remove kfails.
4752 (test_print_mi_member_types): Likewise.
4753
248537e3
TT
47542012-05-21 Tom Tromey <tromey@redhat.com>
4755
4756 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4757 print symbol' change.
4758
d791e155
TJB
47592012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
4760
4761 * gdb.python/py-prompt.exp: Quit if the target is remote.
4762
e77afa2e
JK
47632012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4764
4765 Fix ERROR: internal buffer is full.
4766 * gdb.base/info-os.exp (expect_multiline): New function.
4767 (get process list, get process groups, get threads)
4768 (get file descriptors, get internet-domain sockets)
4769 (get shared-memory regions, get semaphores, get message queues): Use
4770 it for these tests.
4771
9cb709b6
TT
47722012-05-18 Tom Tromey <tromey@redhat.com>
4773
4774 * gdb.mi/mi-var-cmd.exp: Update.
4775 * gdb.objc/basicclass.exp (do_objc_tests): Update.
4776 * gdb.cp/virtbase.exp: Update.
4777 * gdb.cp/classes.exp (test_static_members): Update.
4778 * gdb.cp/casts.exp: Update.
4779 * gdb.base/pointers.exp: Update.
4780 * gdb.base/funcargs.exp (pointer_args): Update.
4781 (structs_by_reference): Update.
4782 * gdb.base/find.exp: Update.
4783 * gdb.base/call-strs.exp: Send "set print symbol off".
4784 * gdb.base/call-ar-st.exp: Update.
4785 * gdb.ada/fun_addr.exp: Update.
4786 * gdb.base/printcmds.exp (test_print_symbol): New proc.
4787 Call it.
4788 (test_print_repeats_10, test_print_strings)
4789 (test_print_char_arrays): Update.
4790
b012acdd
TT
47912012-05-18 Tom Tromey <tromey@redhat.com>
4792
4793 * gdb.base/charset.exp (string_display): Update.
4794
1d51a733
TT
47952012-05-18 Tom Tromey <tromey@redhat.com>
4796
4797 * gdb.mi/mi2-var-display.exp: Update.
4798 * gdb.mi/mi-var-display.exp: Update.
4799 * gdb.mi/mi-var-child.exp: Update.
4800 * gdb.cp/expand-psymtabs-cxx.exp: Update.
4801 * gdb.cp/cp-relocate.exp (get_func_address): Update.
4802
957df313
DE
48032012-05-17 Doug Evans <dje@google.com>
4804
682c7f7b
DE
4805 * info-macros.exp: Pass "debug" to prepare_for_testing.
4806
957df313
DE
4807 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4808 * gdb.ada/Makefile.in (clean): Ditto.
4809 * gdb.arch/Makefile.in (clean): Ditto.
4810 * gdb.asm/Makefile.in (clean): Ditto.
4811 * gdb.base/Makefile.in (clean): Ditto.
4812 * gdb.cell/Makefile.in (clean): Ditto.
4813 * gdb.cp/Makefile.in (clean): Ditto.
4814 * gdb.disasm/Makefile.in (clean): Ditto.
4815 * gdb.dwarf2/Makefile.in (clean): Ditto.
4816 * gdb.fortran/Makefile.in (clean): Ditto.
4817 * gdb.go/Makefile.in (clean): Ditto.
4818 * gdb.hp/Makefile.in (clean): Ditto.
4819 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4820 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4821 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4822 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4823 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4824 * gdb.java/Makefile.in (clean): Ditto.
4825 * gdb.linespec/Makefile.in (clean): Ditto.
4826 * gdb.mi/Makefile.in (clean): Ditto.
4827 * gdb.modula2/Makefile.in (clean): Ditto.
4828 * gdb.multi/Makefile.in (clean): Ditto.
4829 * gdb.objc/Makefile.in (clean): Ditto.
4830 * gdb.opencl/Makefile.in (clean): Ditto.
4831 * gdb.opt/Makefile.in (clean): Ditto.
4832 * gdb.pascal/Makefile.in (clean): Ditto.
4833 * gdb.python/Makefile.in (clean): Ditto.
4834 * gdb.reverse/Makefile.in (clean): Ditto.
4835 * gdb.server/Makefile.in (clean): Ditto.
4836 * gdb.stabs/Makefile.in (clean): Ditto.
4837 * gdb.threads/Makefile.in (clean): Ditto.
4838 * gdb.trace/Makefile.in (clean): Ditto.
4839 * gdb.xml/Makefile.in (clean): Ditto.
4840
abc9d0dc
TT
48412012-05-16 Tom Tromey <tromey@redhat.com>
4842
4843 * gdb.base/macscp1.c (macscp_expr): Add comment.
4844 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4845
6a3a010b
MR
48462012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4847
4848 * gdb.base/return-nodebug.exp: Also test float and double types.
4849
01429c8e
JK
48502012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4851
4852 PR testsuite/12649
4853 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4854
54115cd4
JK
4855 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4856
0c5f383f
SDJ
48572012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
4858
4859 * gdb.base/stap-probe.exp (stap_test): Remove calls to
4860 `rerun_to_main'.
4861 (stap_test_no_debuginfo): Likewise.
4862
e7e0cddf
SS
48632012-05-14 Stan Shebs <stan@codesourcery.com>
4864
4865 * gdb.base/dprintf.c: New file.
4866 * gdb.base/dprintf.exp: New file.
4867
c772f8e7
HZ
48682012-05-14 Hui Zhu <hui_zhu@mentor.com>
4869
4870 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4871 * gdb.trace/disconnected-tracing.c: New file.
4872 * gdb.trace/disconnected-tracing.exp: New file.
4873
7efc75aa
SCR
48742012-05-13 Siva Chandra Reddy <sivachandra@google.com>
4875
4876 * gdb.python/python.c: Add a new breakpoint comment.
4877 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4878
85d4a676
SS
48792011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
4880
4881 * gdb.base/info-os.exp: New file.
4882 * gdb.base/info-os.c: New file.
4883
64ea88dc
JB
48842012-05-10 Joel Brobecker <brobecker@adacore.com>
4885
4647ab1b
JB
4886 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4887 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4888 New files.
64ea88dc 4889
afba63f1
JB
48902012-05-10 Joel Brobecker <brobecker@adacore.com>
4891
4892 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4893 gdb.base/ctxobj.exp: New files.
4894
9d198b1e
TT
48952012-05-09 Tom Tromey <tromey@redhat.com>
4896
4897 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4898
9bfee719
MR
48992012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
4900
4901 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4902
3a7341d8
MR
49032012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
4904
4905 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
4906 before using it.
4907
52b3699b
TG
49082012-05-04 Tristan Gingold <gingold@adacore.com>
4909
4910 * gdb.base/set-noassign.exp: New test.
4911
a20ee7a4
SCR
49122012-05-03 Siva Chandra Reddy <sivachandra@google.com>
4913
4914 * gdb.python/py-symbol.exp: Add tests to test the new methods
4915 gdb.Symtab.global_block() and gdb.Symtab.static_block().
4916 * gdb.python/py-symbol.c: Add new struct to help test
4917 gdb.Symtab.static_block().
4918
bf2f0858
DE
49192012-05-03 Doug Evans <dje@google.com>
4920
4921 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
4922 commented out.
4923
2d4e0376
YQ
49242012-05-03 Yao Qi <yao@codesourcery.com>
4925
4926 * gdb.base/catch-syscall.exp: Skip it before compilation if target
4927 doesn't support.
4928 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
4929 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
4930
6d0bb9f3
YQ
49312012-05-03 Yao Qi <yao@codesourcery.com>
4932
4933 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
4934
fd820528
DE
49352012-04-30 Doug Evans <dje@google.com>
4936
4937 PR testsuite/13961
4938 * gdb.dwarf2/pr13961.S: New file.
4939 * gdb.dwarf2/pr13961.exp: New file.
4940
b9e219b9
YQ
49412012-04-29 Yao Qi <yao@codesourcery.com>
4942
4943 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
4944
3019eac3
DE
49452012-04-28 Doug Evans <dje@google.com>
4946
4947 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
4948 .Ltype_int_in_cu2. Use name "int2" instead of "int".
4949 All uses updated.
4950 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
4951 "ptype func_cu1" to expand cu2 before cu1.
4952
62e5f89c
SDJ
49532012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
4954 Tom Tromey <tromey@redhat.com>
4955
4956 * gdb.base/default.exp: Add `$_probe_arg*' convenience
4957 variables.
4958 * gdb.base/stap-probe.c: New file.
4959 * gdb.base/stap-probe.exp: New file.
4960 * gdb.trace/stap-trace.c: New file.
4961 * gdb.trace/stap-trace.exp: New file.
4962 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
4963 libgcc's unwinder.
4964
14132e89
MR
49652012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
4966
4967 * gdb.arch/mips16-thunks-inmain.c: New file.
4968 * gdb.arch/mips16-thunks-main.c: New file.
4969 * gdb.arch/mips16-thunks-sin.c: New file.
4970 * gdb.arch/mips16-thunks-sinfrob.c: New file.
4971 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
4972 * gdb.arch/mips16-thunks-sinmain.c: New file.
4973 * gdb.arch/mips16-thunks-sinmips16.c: New file.
4974 * gdb.arch/mips16-thunks.exp: New file.
4975
a766d390
DE
49762012-04-25 Doug Evans <dje@google.com>
4977
4978 * configure.ac: Create gdb.go/Makefile.
4979 * configure: Regenerate.
4980 * gdb.base/default.exp: Add "go" to "set language" testing.
4981 * gdb.go/Makefile.in: New file.
4982 * gdb.go/basic-types.exp: New file.
4983 * gdb.go/chan.exp: New file.
4984 * gdb.go/chan.go: New file.
4985 * gdb.go/handcall.exp: New file.
4986 * gdb.go/handcall.go: New file.
4987 * gdb.go/hello.exp: New file.
4988 * gdb.go/hello.go: New file.
4989 * gdb.go/integers.exp: New file.
4990 * gdb.go/integers.go: New file.
4991 * gdb.go/methods.exp: New file.
4992 * gdb.go/methods.go: New file.
4993 * gdb.go/package.exp: New file.
4994 * gdb.go/package1.go: New file.
4995 * gdb.go/package2.go: New file.
4996 * gdb.go/print.exp: New file.
4997 * gdb.go/strings.exp: New file.
4998 * gdb.go/strings.go: New file.
4999 * gdb.go/types.exp: New file.
5000 * gdb.go/types.go: New file.
5001 * gdb.go/unsafe.exp: New file.
5002 * gdb.go/unsafe.go: New file.
5003 * lib/future.exp: Add Go support.
5004 (gdb_find_go, gdb_find_go_linker): New procs.
5005 (gdb_default_target_compile): Add Go support.
5006 * lib/gdb.exp (skip_go_tests): New proc.
5007 * lib/go.exp: New file.
5008
e65f9ffb
TT
50092012-04-25 Tom Tromey <tromey@redhat.com>
5010
5011 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5012
14e75d8e
JK
50132012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5014 Jan Kratochvil <jan.kratochvil@redhat.com>
5015
5016 PR symtab/7259:
5017 * gdb.base/enumval.c: New test case.
5018 * gdb.base/enumval.exp: New test case.
5019 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5020 field.bitpos.
5021
f3525b70
PA
50222012-04-17 Pedro Alves <palves@redhat.com>
5023
5024 * Makefile.in (site.exp): Make site.exp source
5025 $srcdir/lib/append_gdb_boards_dir.exp.
5026 * lib/append_gdb_boards_dir.exp: New file.
5027
bccbefd2
JK
50282012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5029
5030 New option "set auto-load safe-path".
5031 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5032 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5033
bf88dd68
JK
50342012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5035
5036 auto-load: Implementation.
5037 * gdb.base/help.exp (test set height): Increase the height.
5038 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5039 to ...
5040 (info auto-load python-scripts): ... here.
5041 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5042 to ...
5043 (info auto-load python-scripts *): ... here.
5044
c0d4d1c0
YQ
50452012-04-16 Yao Qi <yao@codesourcery.com>
5046
5047 * lib/trace-support.exp (get_in_proc_agent): New.
5048 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5049 of in process trace agent.
5050 * gdb.trace/ftrace.exp: Likewise.
5051 * gdb.trace/pending.exp: Likewise.
5052 * gdb.trace/trace-break.exp: Likewise.
5053 * gdb.trace/trace-mt.exp
5054 * gdb.trace/tspeed.exp: Likewise.
5055 * gdb.trace/tstatus.exp
5056 * gdb.trace/strace.exp: Likewise.
5057
cbf68a60
TS
50582012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5059
dd6d3b70
TS
5060 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5061 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5062
cbf68a60
TS
5063 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5064
8264ba82
AG
50652012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5066
5067 PR mi/13393
5068 * gdb.mi/mi-var-rtti.cc: New file.
5069 * gdb.mi/mi-var-rtti.exp: New file.
5070 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5071 function.
5072 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5073
de0919f8 50742012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
5075
5076 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5077 EXECUTABLES.
5078 * gdb.python/py-explore.c: C program used for testing the new
5079 'explore' command on C constructs.
5080 * gdb.python/py-explore.cc: C++ program used for testing the new
5081 'explore' command on C++ constructs.
5082 * gdb-python/py-explore.exp: Tests for the new 'explore'
5083 command on C constructs.
5084 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5085 command on C++ constructs.
5086
a82da7dd
MK
50872012-04-07 Mark Kettenis <kettenis@gnu.org>
5088
5089 * gdb.base/funcargs.exp (complex_args): Fix typo.
5090
e127cba8
JK
50912012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5092
5093 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5094 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5095
40e084e1
KS
50962012-04-05 Keith Seitz <keiths@redhat.com>
5097
5098 * gdb.base/advance.exp: Update error message for
5099 "advance malformed" test.
5100 * gdb.base/break.exp: Likewise for "breakpoint with
5101 trailing garbage" test.
5102 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5103 with trailing garbage" test.
5104 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5105 trailng garbage" test.
5106 * gdb.base/until.exp: Likewise for "malformed until" test.
5107 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5108 for "breakpoint info (after setting on all)".
5109 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5110 tests.
5111 * gdb.cp/cplabel.cc: New file.
5112 * gdb.cp/cplabel.exp: New test.
5113 * gdb.linespec/ls-errs.c: New file.
5114 * gdb.linespec/ls-errs.exp: New test.
5115
a72c8f6a
JK
51162012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5117
5118 * gdb.trace/unavailable.exp
5119 (collect globals: print object on: print derived_partial)
5120 (collect globals: print object on: print derived_whole)
5121 (collect globals: print object off: print derived_partial)
5122 (collect globals: print object off: print derived_whole): Update
5123 expected output.
5124
f87a3023
KS
51252012-03-30 Keith Seitz <keiths@redhat.com>
5126
5127 * gdb.python: Add test for linespecs with commas.
5128
e2171b3c
KS
51292012-03-28 Keith Seitz <keiths@redhat.com>
5130
5131 * gdb.linespec/ls-dollar.cc: New file.
5132 * gdb.linespec/ls-dollar.exp: New test.
5133
51342012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
5135
5136 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5137 starting with the global namespace.
5138
2f4e0a80
DE
51392012-03-23 Doug Evans <dje@google.com>
5140
5141 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5142
7b282c5a
SCR
51432012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5144
5145 * gdb.python/py-value.cc: Add test case for testing the
5146 methodology exposing C++ values to Python.
5147 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5148 exposing C++ values to Python.
5149 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5150
2e98ca53
JK
51512012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5152 Siddhesh Poyarekar <siddhesh@redhat.com>
5153
5154 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5155 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5156 (generate native core dump): Make the test unsupported if core cannot
5157 be generated.
5158
8320cc4f
JK
51592012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5160
5161 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5162 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5163 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5164
3a69ffb2
JK
51652012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5166
5167 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5168
8fabffee
DE
51692012-03-17 Doug Evans <dje@google.com>
5170
5171 * dg-extract-results.sh: Handle KFAILs.
5172
ab260dad
JK
51732012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5174
5175 PR symtab/13777
5176 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5177
53ba8333
JB
51782012-03-16 Joel Brobecker <brobecker@adacore.com>
5179
5180 * gdb.ada/set_pckd_arr_elt: New testcase.
5181
481860b3
GB
51822012-03-16 Gary Benson <gbenson@redhat.com>
5183
5184 PR breakpoints/10738
5185 * gdb.opt/inline-break.exp: New file.
5186 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
5187 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5188 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
5189 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5190 * gdb.base/async-shell.exp: Likewise.
5191 * lib/mi-support.exp (library_loaded_re): Likewise.
5192
410528f0
TT
51932012-03-15 Tom Tromey <tromey@redhat.com>
5194
5195 * gdb.cp/virtfunc2.exp: Update expected output.
5196 * gdb.cp/pr9631.exp: Update expected output.
5197 * gdb.cp/member-ptr.exp: Update expected output.
5198 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5199 output.
5200 * gdb.cp/casts.exp: Update expected output.
5201
c4aeac85
TT
52022012-03-15 Tom Tromey <tromey@redhat.com>
5203
5204 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5205 (test_info_vtbl): Likewise.
5206 (do_tests): Call test_info_vtbl.
5207 * gdb.cp/virtfunc.cc (va): New global.
5208
856d06f9
TS
52092012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5210
5211 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5212 describing DWARF data structures.
5213 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5214 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5215 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5216 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5217 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5218 * gdb.dwarf2/dw2-param-error.S: Likewise.
5219 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5220 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5221 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5222 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5223 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5224 * gdb.dwarf2/pr11465.S: Likewise.
5225
e837f12a
JK
52262012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5227
5228 * gdb.mi/mi2-prompt.exp: New file.
5229
ccbb4f28
JB
52302012-03-13 Joel Brobecker <brobecker@adacore.com>
5231
5232 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5233
32039130
JB
52342012-03-13 Joel Brobecker <brobecker@adacore.com>
5235
5236 * gdb.ada/bp_range_type: New testcase.
5237
16899756
DE
52382012-03-13 Doug Evans <dje@google.com>
5239
5240 * gdb.base/default.exp: Delete tests for symbol-reloading.
5241 * gdb.base/help.exp: Ditto.
5242 * gdb.base/setshow.exp: Ditto.
5243 * gdb.base/gdb_history: Delete references to symbol-reloading.
5244
87b0bb13
JK
52452012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5246
5247 * gdb.base/attach-twice.c: New files.
5248 * gdb.base/attach-twice.exp: New files.
5249
0d7941a9
KS
52502012-03-08 Keith Seitz <keiths@redhat.com>
5251
5252 * lib/gdb.exp (gdb_get_line_number): Throw an
5253 error instead of returning -1.
5254 * gdb.base/break.exp: Remove unused variable
5255 bp_location5.
5256 * gdb.base/hbreak2.exp: Likewise.
5257 * gdb.base/sepdebug.exp: Likewise.
5258
f4647387
YQ
52592012-03-08 Yao Qi <yao@codesourcery.com>
5260 Pedro Alves <palves@redhat.com>
5261
5262 Fix PR server/13392.
5263 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5264 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5265 download tracepoints.
5266 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5267 (pending_tracepoint_resolved_during_trace): Likewise.
5268 (pending_tracepoint_installed_during_trace): Likewise.
5269 (pending_tracepoint_with_action_resolved): Likewise.
5270
83c532cb
KS
52712012-03-08 Keith Seitz <keiths@redhat.com>
5272
5273 * gdb.ada/array_bounds.exp: Get breakpoint for line
5274 with "START", not "STOP".
5275 * gdb.python/py-infthread.exp: Do not continue to
5276 line marked "Break here.", which is undefined.
5277
d6b6bbb7
LM
52782012-03-08 Luis Machado <lgustavo@codesourcery.com>
5279
5280 Revert:
5281
5282 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5283
5284 Implement testsuite workaround for PR breakpoints/13781.
5285 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5286 (set breakpoint condition-evaluation host): New conditional command.
5287
7fe25d9b
JK
52882012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5289
5290 Fix CU relative vs. absolute DIE offsets.
5291 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5292 one.
5293
51898c15
JK
52942012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5295
5296 Fix false FAIL on distros with relro linkage as default.
5297 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5298 -Wl,-z,norelro first.
5299
8131799e
JB
53002012-03-06 Joel Brobecker <brobecker@adacore.com>
5301
5302 * gdb.ada/bp_on_var: New testcase.
5303
ba241969
JB
53042012-03-06 Joel Brobecker <brobecker@adacore.com>
5305
5306 * gdb.ada/bp_enum_homonym: New testcase.
5307
abe49676
YQ
53082012-03-06 Yao Qi <yao@codesourcery.com>
5309
5310 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5311 x86_64-*-* and i?86-*-*.
5312 Set up KFAIL for gdb/13808.
5313
d8df103b
TT
53142012-03-05 Tom Tromey <tromey@redhat.com>
5315
5316 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5317 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5318
b7b189f3
TT
53192012-03-05 Tom Tromey <tromey@redhat.com>
5320
5321 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5322
69dc1c4d
YQ
53232012-03-04 Yao Qi <yao@codesourcery.com>
5324
5325 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5326 messages for KFAIL.
5327
3f20c47f
JK
53282012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5329
5330 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5331 (print one_two_three, indexes off, print few_reps, indexes off)
5332 (print many_reps, indexes off, print empty, indexes off)
5333 (print one_two_three, print few_reps, print many_reps, print empty):
5334 Call setup_xfail if $gcc_old.
5335
abf1152a
JK
53362012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5337
5338 Implement testsuite workaround for PR breakpoints/13781.
5339 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5340 (set breakpoint condition-evaluation host): New conditional command.
5341
a06715f8
JK
53422012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5343
5344 Code cleanup.
5345 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5346 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5347 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5348 number 1 by $bpnum. Four times.
5349
5808517f
YQ
53502012-03-03 Yao Qi <yao@codesourcery.com>
5351
5352 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5353
dfe2ac14
JK
53542012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5355
5356 Setup KFAIL for PR server/13796.
5357 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5358
8bbc467a
JB
53592012-03-02 Joel Brobecker <brobecker@adacore.com>
5360
5361 * gdb.ada/operator_bp: New testcase.
5362
c0eac87f
JB
53632012-03-02 Joel Brobecker <brobecker@adacore.com>
5364
5365 * gdb.ada/info_locals_renaming: New testcase.
5366
4f42c881
TT
53672012-03-02 Tom Tromey <tromey@redhat.com>
5368
5369 * gdb.base/nextoverexit.c: New file.
5370 * gdb.base/nextoverexit.exp: New file.
5371
7380c0c9
EBM
53722012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5373
5374 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5375 parameter.
5376
1faeff08
MR
53772012-03-01 Maciej W. Rozycki <macro@mips.com>
5378
5379 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5380 core registers.
5381
320b6f49 53822012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
5383 Maciej W. Rozycki <macro@codesourcery.com>
5384 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
5385
5386 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5387
ad5f7d6e
PA
53882012-03-01 Pedro Alves <palves@redhat.com>
5389
5390 PR gdb/13767
5391
5392 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5393 (gdb_collect_globals_test): Call it.
5394
d3dc44a6
KS
53952012-03-01 Keith Seitz <keiths@redhat.com>
5396
5397 * gdb.cp/method2.exp: Output of overload menu is now
5398 alphabetized. Update tests for "break A::method".
5399 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5400 of hard-coding them.
5401 Overload menu is alphabetized: rewrite to accommodate.
5402 Unset variables LINE and TYPES which are used in other tests.
5403 Compute the output of "info break".
5404 Update the breakpoint table after all breakpoints are deleted.
5405 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5406 compute ACTUALS and the method body based on parameters.
5407 Update expected output accordingly.
5408 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5409 unique comments to allow the use of gdb_get_line_number.
5410
54112012-03-01 Keith Seitz <keiths@redhat.com>
5412
5413 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5414 some Tcl syntax.
5415 * gdb.cp/ovldbreak.exp: Likewise.
5416
7949c2a0
KS
54172012-03-01 Keith Seitz <keiths@redhat.com>
5418
5419 * gdb.base/help.exp (help show user): Update expected result
5420 for new doc string changes (add "non-python").
5421
7d74f244
DE
54222012-03-01 Scott J. Goldman <scottjg@vmware.com>
5423
5424 * gdb.python/py-cmd.exp: Add test to verify that python commands can
5425 be put in the user-defined category and that the commands appear in
5426 "help user-defined".
5427
1b611343
JB
54282012-02-29 Joel Brobecker <brobecker@adacore.com>
5429
5430 * gdb.ada/tagged_not_init: New testcase.
5431
99b1c762
JB
54322012-02-29 Joel Brobecker <brobecker@adacore.com>
5433
5434 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5435 * gdb.ada/enum_idx_packed: New testcase.
5436
2d4a02ee
JB
54372012-02-29 Joel Brobecker <brobecker@adacore.com>
5438
5439 * gdb.ada/aliased_array: New testcase.
5440
2e6fda7d
JB
54412012-02-29 Joel Brobecker <brobecker@adacore.com>
5442
5443 * gdb.ada/whatis_array_val: New testcase.
5444
9a7f938f
JK
54452012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5446
5447 Fix disp-step-syscall.exp: fork: single step over fork.
5448 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5449 whitespaces.
5450 (single step over $syscall): Remove its check.
5451 (single step over $syscall final pc): New check.
5452
8703a944
JK
54532012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5454
5455 Support processors without SSSE3.
5456 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5457 pabsd into ...
5458 (ssse3_test): ... a new function.
5459 (main): Call ssse3_test.
5460 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5461 Update expected values everywhere.
5462 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5463 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5464 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5465 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5466 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5467 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5468 Move these tests lower.
5469 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5470 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5471 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5472 New tests.
5473
c03e6ccc
YQ
54742012-02-29 Yao Qi <yao@codesourcery.com>
5475 Pedro Alves <palves@redhat.com>
5476
5477 * gdb.trace/trace-mt.c: New.
5478 * gdb.trace/trace-mt.exp: New.
5479
7964b62a
TS
54802012-02-28 Thomas Schwinge <thomas@codesourcery.com>
5481
2c8910ba
TS
5482 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5483 numbers instead of hardcoding them.
5484 * gdb.base/annota1.c: Provide suitable markers.
5485 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5486 numbers instead of hardcoding them.
5487 * gdb.base/annota3.c: Provide suitable markers.
5488
5489 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5490 * gdb.base/annota3.c: Likewise.
5491 * gdb.base/sigall.c: Likewise.
5492 * gdb.base/signals.c: Likewise.
5493 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 5494
5a41c0b7
MR
54952012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
5496
5497 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5498 failure return path.
5499
ebbbe5c5
LM
55002012-02-27 Luis Machado <lgustavo@codesourcery.com>
5501
5502 * gdb.base/save-bp.exp: Account for new condition evaluator output.
5503
8d126d8a
LM
55042012-02-24 Luis Machado <lgustavo@codesourcery.com>
5505
5506 * gdb.base/cond-eval-mode.exp: New file.
5507
11337c2f
PA
55082012-02-24 Pedro Alves <palves@redhat.com>
5509
5510 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5511 (top level): Use with_test_prefix.
5512
13fc3e3c
PA
55132012-02-24 Pedro Alves <palves@redhat.com>
5514
5515 * gdb.threads/attach-into-signal.exp (corefunc): Use
5516 with_test_prefix.
5517
07c1b626
JK
55182012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5519
5520 Fix false FAILs on old CPUs without SSE.
5521 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
5522 Return untested for Illegal instruction.
5523
596ba138
JK
55242012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5525
5526 Fix false FAILs with glibc debug infos installed.
5527 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
5528 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
5529
aeaa2474
SA
55302012-02-22 Sterling Augustine <saugustine@google.com>
5531
5532 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
5533 constant with cast.
5534
aed555c9
PA
55352012-02-21 Pedro Alves <palves@redhat.com>
5536
5537 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
5538
78afebb4
PA
55392012-02-21 Pedro Alves <palves@redhat.com>
5540
5541 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
5542
fdcfef12
PA
55432012-02-21 Pedro Alves <palves@redhat.com>
5544
5545 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
5546 with_test_prefix.
5547
0f4d39d5
PA
55482012-02-21 Pedro Alves <palves@redhat.com>
5549
5550 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
5551 with_test_prefix here.
5552 (top level): Do it here instead. Remove `:' from the
5553 with_test_prefix string.
5554 * gdb.base/attach-pie-misread.exp: Remove the leading space the
5555 the suffix `:' from the with_test_prefix prefix string.
5556 * gdb.base/break-interp.exp: Ditto.
5557 * gdb.base/catch-load.exp: Ditto.
5558 * gdb.base/disp-step-syscall.exp: Ditto.
5559 * gdb.base/jit-so.exp: Ditto.
5560 * gdb.base/jit.exp: Ditto.
5561 * gdb.base/sepdebug.exp: Ditto.
5562 * gdb.base/solib-display.exp: Ditto.
5563 * gdb.base/solib-overlap.exp: Ditto.
5564 * gdb.base/watch-cond-infcall.exp: Ditto.
5565 * gdb.base/watchpoint.exp: Ditto.
5566 * gdb.dwarf2/dw2-noloc.exp: Ditto.
5567 * gdb.mi/mi-watch.exp: Ditto.
5568 * gdb.mi/mi2-watch.exp: Ditto.
5569 * gdb.threads/non-ldr-exc-1.exp: Ditto.
5570 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5571 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5572 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5573 * gdb.threads/watchpoint-fork.exp: Ditto.
5574 * gdb.threads/watchthreads-reorder.exp: Ditto.
5575 * gdb.trace/change-loc.exp: Ditto.
5576 * gdb.trace/pending.exp: Ditto.
5577 * gdb.trace/status-stop.exp: Ditto.
5578 * gdb.trace/strace.exp: Ditto.
5579 * gdb.trace/trace-break.exp: Ditto.
5580 * gdb.trace/unavailable.exp: Ditto.
5581 * lib/gdb.exp (with_test_prefix): Always prefix with space and
5582 suffix with colon. Adjust leading comments.
5583
6a5870ce
PA
55842012-02-21 Pedro Alves <palves@redhat.com>
5585 Tom Tromey <tromey@redhat.com>
5586
5587 * lib/gdb.exp: Add description of test prefixes.
5588 (with_test_prefix): New procedure.
5589 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
5590 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
5591 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
5592 instead of lappend to append to pf_prefix.
5593 * gdb.base/catch-load.exp: Use with_test_prefix.
5594 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
5595 * gdb.base/jit-so.exp: Use with_test_prefix.
5596 * gdb.base/jit.exp: Use with_test_prefix.
5597 * gdb.base/return-nodebug.exp (do_test): Use append instead of
5598 lappend to append to pf_prefix.
5599 * gdb.base/sepdebug.exp: Use with_test_prefix.
5600 * gdb.base/solib-display.exp: Use with_test_prefix.
5601 * gdb.base/solib-overlap.exp: Use with_test_prefix.
5602 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
5603 * gdb.base/watchpoint.exp: Use with_test_prefix.
5604 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
5605 * gdb.mi/mi-watch.exp: Use with_test_prefix.
5606 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
5607 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
5608 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
5609 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
5610 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
5611 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
5612 append instead of lappend to append to pf_prefix.
5613 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
5614 * gdb.trace/change-loc.exp: Use with_test_prefix.
5615 * gdb.trace/pending.exp: Use with_test_prefix.
5616 * gdb.trace/status-stop.exp: Use with_test_prefix.
5617 * gdb.trace/strace.exp: Use with_test_prefix.
5618 * gdb.trace/trace-break.exp: Use with_test_prefix.
5619 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
5620 instead of lappend to append to pf_prefix.
5621
35dc4a6b
JK
56222012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5623
5624 Fix racy FAILs.
5625 * gdb.base/inferior-died.c (main): Add return of 0.
5626 * gdb.base/inferior-died.exp (continue): Fix expectation of
5627 asynchronous events.
5628 (p 1): New test.
5629
c5a006e6
PA
56302012-02-20 Pedro Alves <palves@redhat.com>
5631
5632 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
5633 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
5634 gdb's internal debug output. For the non-threaded case, look for
5635 "Program received signal SIGLARM", for the threaded case, peek at
5636 the thread's siginfo.
5637
cc51a170
PA
56382012-02-20 Pedro Alves <palves@redhat.com>
5639
5640 General cleanup, make output test messages unique, and build
5641 different executable files for the non-threaded and threaded
5642 cases.
5643
5644 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
5645 Delete.
5646 (executable_nothr, executable_thr): New globals.
5647 (top level): Adjust to delete both executables.
5648 (corefunc): New parameter $executable. Set $pf_prefix instead of
5649 hand writing a prefix in tests. Issue a clean_restart and enable
5650 lin-lwp debug output here.
5651 (top level): Adjust. Use build_executable. Don't start gdb here,
5652 and don't enable lin-lwp debug output here.
5653 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
5654
c755f03d
JK
56552012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5656
5657 Fix racy FAILs.
5658 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
5659 "continue" command.
5660
6bec5e0a
JK
56612012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5662
5663 Fix for gdbserver non-extended mode.
5664 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
5665 and gdb_run_cmd.
5666
2e8265fd
TT
56672012-02-17 Tom Tromey <tromey@redhat.com>
5668
5669 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
5670 * gdb.python/py-events.exp: Check 'dir' output.
5671 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
5672
9e507076
YQ
56732012-02-17 Yao Qi <yao@codesourcery.com>
5674
5675 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
5676
32d22ab1
TT
56772012-02-16 Tom Tromey <tromey@redhat.com>
5678
5679 * gdb.base/inferior-died.c: Don't include stdio.h.
5680
9addecb9
TT
56812012-02-16 Tom Tromey <tromey@redhat.com>
5682
5683 * gdb.base/inferior-died.c: New file.
5684 * gdb.base/inferior-died.exp: New file.
5685
4cb6da1c
AR
56862012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
5687
5688 * gdb.base/break-inline.exp: New file.
5689 * gdb.base/break-inline.c: New file.
5690
3af2590d
TT
56912012-02-15 Tom Tromey <tromey@redhat.com>
5692
5693 * gdb.base/pc-fp.exp: Add "info register" tests.
5694
29988831
TT
56952012-02-15 Tom Tromey <tromey@redhat.com>
5696
5697 * gdb.base/regs.exp: Remove.
5698
10010058
PA
56992012-02-15 Pedro Alves <palves@redhat.com>
5700
5701 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
5702 the target doesn't support tracepoints.
5703 * gdb.trace/circ.exp: Ditto.
5704 * gdb.trace/collection.exp: Ditto.
5705 * gdb.trace/packetlen.exp: Ditto.
5706 * gdb.trace/passc-dyn.exp: Ditto.
5707 * gdb.trace/report.exp: Ditto.
5708 * gdb.trace/tfind.exp: Ditto.
5709 * gdb.trace/tspeed.exp: Ditto.
5710 * gdb.trace/tsv.exp: Ditto.
5711 * gdb.trace/unavailable.exp: Ditto.
5712 * gdb.trace/while-dyn.exp: Ditto.
5713
a2e0062d
PA
57142012-02-15 Pedro Alves <palves@redhat.com>
5715
5716 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
5717 gdb_test_multiple, and call unsupported instead of fail, if the
5718 remote side does not support the request.
5719
a1999d40
PA
57202012-02-15 Pedro Alves <palves@redhat.com>
5721
5722 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
5723 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
5724 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
5725 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
5726 * gdb.server/server-run.exp: Make sure gdb is disconnected.
5727 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
5728 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
5729 doesn't start with "extended-" already.
5730
7cee1e54
PA
57312012-02-15 Pedro Alves <palves@redhat.com>
5732
5733 Support extended-remote. Avoid cascading timeouts.
5734
5735 * gdb.base/attach.exp (do_attach_tests): Add expected output for
5736 the extended-remote target. If attaching with no file fails, load
5737 the file manually.
5738 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
5739
816338b5
SS
57402012-02-14 Stan Shebs <stan@codesourcery.com>
5741
5742 * gdb.base/ena-dis-br.exp: Add enable count test.
5743
cc30c4bd
PA
57442012-02-13 Pedro Alves <palves@redhat.com>
5745
5746 * config/mips-idt.exp: Delete.
5747 * gdb.base/a2-run.exp: Remove mips-idt xfails.
5748 * gdb.base/bitfields.exp: Remove mips-idt restarts.
5749 * gdb.base/break.exp: Remove mips-idt references.
5750 * gdb.base/chng-syms.exp: Ditto.
5751 * gdb.base/default.exp: Ditto.
5752 * gdb.base/funcargs.exp (funcargs_reload): Delete.
5753 (top level): Don't call it.
5754 * gdb.base/opaque.exp: Remove mips-idt restarts.
5755 * gdb.base/ptype.exp: Remove mips-idt xfails.
5756 * gdb.base/scope.exp: Remove mips-idt restarts.
5757 * gdb.base/sepdebug.exp: Remove mips-idt references.
5758 * gdb.base/watchpoint.exp (maybe_clean_restart)
5759 (maybe_reinitialize): Delete.
5760 (test_disabling_watchpoints, test_disabling_watchpoints)
5761 (test_watchpoint_triggered_in_syscall)
5762 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5763 Don't call them.
5764
57008375
JK
57652012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5766
5767 * gdb.server/server-exec-info.exp: New file.
5768
4a2d9c08
PA
57692012-02-10 Pedro Alves <palves@redhat.com>
5770
5771 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5772 always non-empty.
5773 (test_attach): Always pass $exec to test_attach_gdb.
5774
09fa21bd
TT
57752012-02-08 Tom Tromey <tromey@redhat.com>
5776
5777 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5778 before inferior is started.
5779
f0823d2c
TT
57802012-02-07 Tom Tromey <tromey@redhat.com>
5781
5782 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5783 Symbol.value.
5784 * gdb.python/py-symbol.c (qq): Set default value.
5785
57862012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
5787
5788 * gdb.python/py-symbol.c (qq): New global.
5789 * gdb.python/py-symbol.exp: Add test for frame-less
5790 lookup_symbol.
5791 * gdb.python/py-symtab.exp: Fix line number.
5792
f7e44f65
JB
57932012-02-03 Joel Brobecker <brobecker@adacore.com>
5794
5795 * gdb.ada/mi_task_arg: New testcase.
5796
4c9ed63c
PA
57972012-02-02 Pedro Alves <palves@redhat.com>
5798
5799 * gdb.reverse/until-precsave.exp: Also put "record save" under the
5800 extended timeout.
5801
c0b9f2c6
PA
58022012-02-02 Pedro Alves <palves@redhat.com>
5803
5804 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5805 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5806
5f8cefd7
PA
58072012-02-02 Pedro Alves <palves@redhat.com>
5808
5809 * gdb.base/term.exp: Rewrite.
5810 * gdb.base/term.c: New.
5811
2f3a2569
PA
58122012-02-02 Pedro Alves <palves@redhat.com>
5813
5814 * gdb.base/default.exp (run "r" abbreviation, run): Add
5815 extended-remote expected output.
5816
f149aabd
TT
58172012-02-02 Tom Tromey <tromey@redhat.com>
5818
5819 * gdb.cp/dispcxx.exp: New file.
5820 * gdb.cp/dispcxx.cc: New file.
5821
03bef283
TT
58222012-02-01 Tom Tromey <tromey@redhat.com>
5823
5824 * gdb.base/jit-simple.exp: New file.
5825 * gdb.base/jit-simple.c: New file.
5826
a79b18b5
YQ
58272012-01-30 Yao Qi <yao@codesourcery.com>
5828
5829 * gdb.base/skip.exp: Make test result unique.
5830
f0d1a53e
JK
58312012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5832
5833 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5834 compatibility with valgrind-3.7.0.
5835
4b3c9f41
PA
58362012-01-27 Pedro Alves <palves@redhat.com>
5837
5838 * gdb.base/watchpoint.exp (no_hw): New global.
5839 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5840 disable hw watchpoints.
5841 (test_wide_location_1, test_wide_location_2): If no_hw is set,
5842 don't expect hw watchpoints.
5843 (no_hw_watchpoints): Always clean restart.
5844 (do_tests): New procedure, factored out from the top level.
5845 (top level): Run tests twice. Once with hw watchpoints enabled,
5846 another time with hw watchpoints disabled.
5847
a13491c8
PA
58482012-01-27 Pedro Alves <palves@redhat.com>
5849
5850 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5851 out from the top level.
5852 (top level): Call it instead.
5853
f2c8a051
PA
58542012-01-27 Pedro Alves <palves@redhat.com>
5855
5856 * gdb.base/watchpoint.exp (top level): Re-enable hardware
5857 watchpoints sooner.
5858
654d7a9e
PA
58592012-01-27 Pedro Alves <palves@redhat.com>
5860
5861 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5862
274f47f3
PA
58632012-01-27 Pedro Alves <palves@redhat.com>
5864
5865 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5866 "You may have requested too many hardware
5867 breakpoints/watchpoints".
5868
e4d63ba2
PA
58692012-01-27 Pedro Alves <palves@redhat.com>
5870
5871 * gdb.base/watchpoint.exp (maybe_clean_restart)
5872 (maybe_reinitialize): New.
5873 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
5874 expect "hit N times".
5875 (test_disabling_watchpoints, test_complex_watchpoint)
5876 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5877 Call maybe_clean_restart.
5878 (top level): Use clean_restart. Remove "mips-idt-*"
5879 reinitialization.
5880
dbd95daf
PA
58812012-01-27 Pedro Alves <palves@redhat.com>
5882
5883 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5884
f3ad2025
PA
58852012-01-27 Pedro Alves <palves@redhat.com>
5886
5887 * gdb.base/watchpoint.exp: Clean restart after tests that don't
5888 require `initialize' anymore. Remove unnecessary `initialize'
5889 calls.
5890
100aa3ae
PA
58912012-01-27 Pedro Alves <palves@redhat.com>
5892
5893 * gdb.base/watchpoint.exp (wp_set): Delete.
5894 (initialize, test_simple_watchpoint, top level): Remove dead code.
5895
c79a8e11
PA
58962012-01-27 Pedro Alves <palves@redhat.com>
5897
5898 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5899 typo.
5900
048fe15a
PA
59012012-01-27 Pedro Alves <palves@redhat.com>
5902
5903 * config/extended-gdbserver.exp: New file.
5904 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5905 comment.
5906 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
5907 * boards/native-extended-gdbserver.exp: New file.
5908
4033a6bf
PA
59092012-01-26 Pedro Alves <palves@redhat.com>
5910
5911 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
5912 and gdb_test_multiple.
5913
3d7f4b81
PA
59142012-01-26 Pedro Alves <palves@redhat.com>
5915
5916 Make test messages unique, and more identifiable.
5917 * gdb.multi/watchpoint-multi.exp: Change test messages.
5918
484abf42
TT
59192012-01-25 Tom Tromey <tromey@redhat.com>
5920
5921 * gdb.base/solib-disc.exp: Fix regexps.
5922
edcc5120
TT
59232012-01-24 Tom Tromey <tromey@redhat.com>
5924
5925 * lib/mi-support.exp (mi_expect_stop): Add special case for
5926 solib-event.
5927 * gdb.base/catch-load-so.c: New file.
5928 * gdb.base/catch-load.exp: New file.
5929 * gdb.base/catch-load.c: New file.
5930 * gdb.base/break-interp.exp (reach_1): Update regexp.
5931
30b91c90
JK
59322012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5933
5934 Fix fuzzy results.
5935 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
5936 lpsimple and func.
5937
53fe1783
GB
59382012-01-24 Gary Benson <gbenson@redhat.com>
5939
5940 Delete #if 0'd out code.
5941 * gdb.base/default.exp (info catch): Remove.
5942 * gdb.base/gdb_history (info catch): Likewise.
5943 * gdb.base/help.exp (info catch): Likewise.
5944
d0d8b0c6
JK
59452012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5946
5947 Fix watchpoints to be specific for each inferior.
5948 * gdb.multi/watchpoint-multi.c: New file.
5949 * gdb.multi/watchpoint-multi.exp: New file.
5950
4403d8e9
JK
59512012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5952
5953 Fix watchpoints across inferior fork.
5954 * gdb.threads/watchpoint-fork-child.c: New file.
5955 * gdb.threads/watchpoint-fork-mt.c: New file.
5956 * gdb.threads/watchpoint-fork-parent.c: New file.
5957 * gdb.threads/watchpoint-fork-st.c: New file.
5958 * gdb.threads/watchpoint-fork.exp: New file.
5959 * gdb.threads/watchpoint-fork.h: New file.
5960
050a2e1d
PA
59612012-01-23 Pedro Alves <palves@redhat.com>
5962
5963 * gdb.base/call-signal-resume.exp: Allow output after "return".
5964
6a52fb62
PA
59652012-01-20 Pedro Alves <palves@redhat.com>
5966
5967 * gdb.python/py-finish-breakpoint.py: Fix typo.
5968
145b16a9
UW
59692012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
5970
5971 * gdb.base/info-proc.exp: Also run on remote targets. Main
5972 "info proc" command is now always present; whether target supports
5973 actual info proc operation is detected when attempting to issue
5974 the command.
5975
26f6125e
JK
59762012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5977
5978 * .gdbinit: Remove.
5979
eb5227ce
PA
59802012-01-19 Pedro Alves <palves@redhat.com>
5981
5982 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
5983 look at the funtions' returns.
5984 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
5985 (jprint.print(int, int)): Change return type to int. Adjust.
5986
1db33378
PP
59872012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5988
5989 PR gdb/9538
5990 * gdb.base/sepdebug.exp: New test.
5991
b9736cf8
PA
59922012-01-18 Pedro Alves <palves@redhat.com>
5993
5994 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
5995 Allow output before ^done.
5996
4aac40c8
TT
59972012-01-16 Tom Tromey <tromey@redhat.com>
5998
5999 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6000 Add tests for relative directory.
6001
cafec441
TT
60022012-01-16 Tom Tromey <tromey@redhat.com>
6003
6004 * gdb.base/printcmds.c (enum flag_enum): New.
6005 (three): New global.
6006 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6007 enum printing.
6008 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6009 FlagEnumerationPrinter.
6010 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6011 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6012 (fval): New global.
6013
abcc4978
PA
60142012-01-16 Pedro Alves <palves@redhat.com>
6015
6016 * lib/gdb.exp (banned_procedures): New variable.
6017 (banned_variables_traced): Rename to ...
6018 (banned_traced): ... this.
6019 (gdb_init): Also trace banned procedures.
6020 (gdb_finish): Also untrace banned procedures.
6021
97ccebe8
PA
60222012-01-16 Pedro Alves <palves@redhat.com>
6023
6024 Remove all calls to strace.
6025
2af7517b
JK
60262012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6027
6028 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6029 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6030
9241a8bc
PP
60312012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6032
6033 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6034 * gdb.base/pie-execl.exp: Likewise.
6035
3848a17f
KS
60362012-01-12 Keith Seitz <keiths@redhat.com>
6037
6038 PR mi/10586
6039 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6040 (do_anonymous_type_tests): New function.
6041 (main): Call do_anonymous_type_tests.
6042 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6043 (verify_everything): New procedure.
6044 * gdb.mi/mi-var-cp.cc (class A): New class.
6045 (anonymous_structs_and_unions): New function.
6046 (main): Call anonymous_structs_and_unions.
6047 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6048 (verify_everything): New procedure.
6049
440e2fca
KS
60502012-01-12 Keith Seitz <keiths@redhat.com>
6051
6052 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6053 (varobj_tree::get_path_expr): Assume that all varobjs are
6054 compound unless they are known simple types.
6055 Adjust path expressions based on parent type, path parent type,
6056 and tree language.
6057 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6058 the root varobj.
6059 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6060
675399c9
PA
60612012-01-11 Pedro Alves <palves@redhat.com>
6062
6063 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6064 core files on this machine" anymore.
6065
97ddaa9b
PH
60662012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6067
6068 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6069 (main): Repeat recurser call.
6070 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6071 equivalent to 'local_x'.
6072
ea733575 60732012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 6074 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
6075
6076 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6077
2ca0b532
PA
60782012-01-05 Pedro Alves <alves.ped@gmail.com>
6079
6080 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6081 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6082 * gdb.python/py-events.exp: Test that "step N" tripping on a
6083 breakpoint emits a breakpoint event.
6084
6e681866
JB
60852012-01-03 Joel Brobecker <brobecker@adacore.com>
6086
6087 * gdb.base/auxv.exp: Reformat the copyright notice.
6088
3c2d6aff
YQ
60892012-01-03 Yao Qi <yao@codesourcery.com>
6090
6091 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6092 (strace_trace_on_diff_addr): New.
6093 * gdb.trace/strace.c: (main): Add two local variables.
6094
0852fee3
UW
60952011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6096
6097 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6098 * gdb.cell/gcore.exp: Likewise.
6099 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6100 to verify the correct instance of main is selected.
6101
12c3e59c
JB
61022012-01-02 Joel Brobecker <brobecker@adacore.com>
6103
6104 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6105 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6106 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6107 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6108 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6109 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6110 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6111 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6112 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6113 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6114 gdb.threads/thread_check.c: Reformat copyright header.
6115
c0f378ec
EBM
61162011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6117
e4a7ca93 6118 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
6119 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6120 is not enabled.
6121
3bc96cfb
JK
61222011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6123
6124 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6125 parameter to self_exec, adjust the function.
6126 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6127 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6128 (set var do_exit = 0): Remove test.
6129 (newline at end of file): Add one.
6130
095bcf5e
JB
61312011-12-27 Joel Brobecker <brobecker@adacore.com>
6132
6133 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6134 New files.
6135
18d19bd1
JK
61362011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6137
6138 Fix racy FAILs.
6139 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6140 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6141 (main): Call pthread_barrier_init for it.
6142
e809353a
JK
61432011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6144
6145 Fix double send_gdb leading to racy FAILs.
6146 * gdb.base/break.exp (set silent break bp_location1): Replace
6147 3x send_gdb and gdb_expect by gdb_test.
6148 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6149 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6150 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6151 instead of send_gdb. Twice.
6152 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6153 3x send_gdb and gdb_expect by gdb_test.
6154 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6155
da8cb7ec
JK
61562011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6157
6158 * gdb.linespec/linespec.exp: Compile using {c++}.
6159
ae1a303e
JK
61602011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6161
6162 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6163 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6164 (verify GCC PR debug/51668): New test.
6165
cc72b2a2
KP
61662011-12-23 Kevin Pouget <kevin.pouget@st.com>
6167
6168 Introduce gdb.FinishBreakpoint in Python.
6169 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6170 py-finish-breakpoint2
6171 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6172 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6173 instead of line number.
6174 * gdb.python/py-finish-breakpoint.c: New file.
6175 * gdb.python/py-finish-breakpoint.exp: New file.
6176 * gdb.python/py-finish-breakpoint.py: New file.
6177 * gdb.python/py-finish-breakpoint2.cc: New file.
6178 * gdb.python/py-finish-breakpoint2.exp: New file.
6179 * gdb.python/py-finish-breakpoint2.py: New file.
6180
3b7962f9
JK
61812011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6182
6183 Partial fix of compatibility with gcc-4.7.
6184 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6185 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6186 Add comment to add a PASS case in the future.
6187
6538471c
JK
6188 Fix compatibility with gcc-4.7.
6189 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6190
7052e42c
UW
61912011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6192
6193 PR tdep/12797
6194 * gdb.base/callfuncs.exp: Remove KFAIL.
6195
9ac7f98e
JB
61962011-12-21 Joel Brobecker <brobecker@adacore.com>
6197
6198 * gdb.ada/task_bp: New testcase.
6199
f6eeced0
JK
62002011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6201
6202 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6203 -DNO_SECTIONS.
6204 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6205
72225e17
JK
62062011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6207
6208 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6209 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6210 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6211 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6212 conditional for gcc <= 4.5.
6213
13ac8d2c
JK
62142011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6215
6216 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6217 by XFAIL.
6218 * gdb.cp/static-method.exp (info addr A::func())
6219 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6220 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6221 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6222 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6223 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6224 (test value of F in k3_m): Likewise.
6225 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6226 Likewise.
6227
049682ba
JK
62282011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6229
6230 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6231 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6232 Remove.
6233 * gdb.threads/attachstop-mt.c: Remove.
6234 * gdb.threads/attachstop-mt.exp: Remove.
6235
2c9d8796
MK
62362011-12-17 Mark Kettenis <kettenis@gnu.org>
6237
6238 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6239
e0f9f062
DE
62402011-12-16 Doug Evans <dje@google.com>
6241
f4aa2101 6242 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
6243 * boards/native-gdbserver.exp: New file.
6244
e0f9f062
DE
6245 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6246 gdbserver output.
6247 (gdbserver_default_get_remote_address): New function.
6248 (gdbserver_start): Call gdb,get_remote_address to compute argument
6249 to "target remote" command.
6250
80b6e756
PM
62512011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6252
1c3ad6ab 6253 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
6254 python print-stack. Add set/show python print-stack
6255 off|full|message tests.
6256
1576bd00
YQ
62572011-12-15 Yao Qi <yao@codesourcery.com>
6258
6259 * gdb.trace/strace.c: New
6260 * gdb.trace/strace.exp: New.
6261
d6a0f6e0
TT
62622011-12-14 Tom Tromey <tromey@redhat.com>
6263
6264 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6265
31015e1d
DE
62662011-12-14 Doug Evans <dje@google.com>
6267
6268 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6269
7b50312a
PA
62702011-12-14 Pedro Alves <pedro@codesourcery.com>
6271
6272 PR threads/10729
6273
6274 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 6275 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 6276
924437bc
PA
62772011-12-13 Pedro Alves <pedro@codesourcery.com>
6278 Doug Evans <dje@google.com>
6279
6280 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6281 (clean_restart): Remove references to the gdb_stub target board
6282 variable.
6283 (gdb_step_for_stub): Delete.
6284
6285 * gdb.base/annota1.exp: Remove all references to [target_info
6286 exists gdb_stub], gdb_step_for_stub and usestubs.
6287 * gdb.base/annota3.exp: Ditto.
6288 * gdb.base/async.exp: Ditto.
6289 * gdb.base/break.exp: Ditto.
6290 * gdb.base/code-expr.exp: Ditto.
6291 * gdb.base/commands.exp: Ditto.
6292 * gdb.base/completion.exp: Ditto.
6293 * gdb.base/condbreak.exp: Ditto.
6294 * gdb.base/consecutive.exp: Ditto.
6295 * gdb.base/cvexpr.exp: Ditto.
6296 * gdb.base/define.exp: Ditto.
6297 * gdb.base/display.exp: Ditto.
6298 * gdb.base/ena-dis-br.exp: Ditto.
6299 * gdb.base/environ.exp: Ditto.
6300 * gdb.base/gnu-ifunc.exp: Ditto.
6301 * gdb.base/maint.exp: Ditto.
6302 * gdb.base/pending.exp: Ditto.
6303 * gdb.base/sect-cmd.exp: Ditto.
6304 * gdb.base/sepdebug.exp: Ditto.
6305 * gdb.base/unload.exp: Ditto.
6306 * gdb.base/watchpoint-solib.exp: Ditto.
6307 * gdb.cp/annota2.exp: Ditto.
6308 * gdb.cp/annota3.exp: Ditto.
6309 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6310 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6311 * gdb.mi/mi-pending.exp: Ditto.
6312 * gdb.trace/circ.exp: Ditto.
6313 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6314 * gdb.base/list.exp: Ditto.
6315
6316 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6317 breakpoint function and all references to the usestubs macro.
6318 * gdb.base/exprs.c: Ditto.
6319 * gdb.base/freebpcmd.c: Ditto.
6320 * gdb.base/bitfields.c: Ditto.
6321 * gdb.base/bitfields2.c: Ditto.
6322 * gdb.base/break.c: Ditto.
6323 * gdb.base/call-sc.c: Ditto.
6324 * gdb.base/call-signals.c: Ditto.
6325 * gdb.base/callfuncs.c: Ditto.
6326 * gdb.base/charset.c: Ditto.
6327 * gdb.base/consecutive.c: Ditto.
6328 * gdb.base/constvars.c: Ditto.
6329 * gdb.base/funcargs.c: Ditto.
6330 * gdb.base/int-type.c: Ditto.
6331 * gdb.base/interrupt.c: Ditto.
6332 * gdb.base/langs0.c: Ditto.
6333 * gdb.base/list0.c: Ditto.
6334 * gdb.base/mips_pro.c: Ditto.
6335 * gdb.base/miscexprs.c: Ditto.
6336 * gdb.base/nodebug.c: Ditto.
6337 * gdb.base/opaque0.c: Ditto.
6338 * gdb.base/pointers.c: Ditto.
6339 * gdb.base/printcmds.c: Ditto.
6340 * gdb.base/ptype.c: Ditto.
6341 * gdb.base/recurse.c: Ditto.
6342 * gdb.base/reread1.c: Ditto.
6343 * gdb.base/reread2.c: Ditto.
6344 * gdb.base/restore.c: Ditto.
6345 * gdb.base/return.c: Ditto.
6346 * gdb.base/run.c: Ditto.
6347 * gdb.base/scope0.c: Ditto.
6348 * gdb.base/sepdebug.c: Ditto.
6349 * gdb.base/setshow.c: Ditto.
6350 * gdb.base/setvar.c: Ditto.
6351 * gdb.base/sigall.c: Ditto.
6352 * gdb.base/signals.c: Ditto.
6353 * gdb.base/structs.c: Ditto.
6354 * gdb.base/structs2.c: Ditto.
6355 * gdb.base/testenv.c: Ditto.
6356 * gdb.base/twice.c: Ditto.
6357 * gdb.base/unwindonsignal.c: Ditto.
6358 * gdb.base/watchpoint.c: Ditto.
6359 * gdb.base/watchpoints.c: Ditto.
6360 * gdb.base/whatis.c: Ditto.
6361 * gdb.cp/classes.cc: Ditto.
6362 * gdb.cp/cplusfuncs.cc: Ditto.
6363 * gdb.cp/derivation.cc: Ditto.
6364 * gdb.cp/formatted-ref.cc: Ditto.
6365 * gdb.cp/misc.cc: Ditto.
6366 * gdb.cp/overload.cc: Ditto.
6367 * gdb.cp/ovldbreak.cc: Ditto.
6368 * gdb.cp/ref-params.cc: Ditto.
6369 * gdb.cp/ref-types.cc: Ditto.
6370 * gdb.cp/templates.cc: Ditto.
6371 * gdb.cp/virtfunc.cc: Ditto.
6372 * gdb.hp/gdb.aCC/run.c: Ditto.
6373 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6374 * gdb.hp/gdb.compat/xdb0.c: Ditto.
6375 * gdb.reverse/consecutive-reverse.c: Ditto.
6376 * gdb.reverse/sigall-reverse.c: Ditto.
6377 * gdb.reverse/until-reverse.c: Ditto.
6378 * gdb.reverse/watch-reverse.c: Ditto.
6379 * gdb.trace/actions.c: Ditto.
6380 * gdb.trace/circ.c: Ditto.
6381 * gdb.trace/collection.c: Ditto.
6382
fabde485
PA
63832011-12-13 Pedro Alves <pedro@codesourcery.com>
6384
6385 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6386 (func6, func7): New.
6387 (main): Call func6 and func7.
6388 * gdb.base/watchpoint.exp (test_wide_location_1)
6389 (test_wide_location_2): New.
6390 (top level): Re-enable hardware watchpoints if necessary. Call
6391 test_wide_location_1 and test_wide_location_2.
6392
ff7d1690
YQ
63932011-12-11 Yao Qi <yao@codesourcery.com>
6394
6395 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6396
a6af7abe
JB
63972011-12-11 Joel Brobecker <brobecker@adacore.com>
6398
6399 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6400 expected output for unsupported case.
6401
61638e15
JK
64022011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6403
6404 PR testsuite/12649
6405 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6406 Protect gdb_test_multiple by final $gdb_prompt match.
6407
0a00efc3
JK
64082011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6409
6410 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6411 New variable, new test.
6412 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6413 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6414 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6415 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6416 them if HAVE_GCC_45682_FIXED is not set.
6417
4511b1ba
YQ
64182011-12-10 Yao Qi <yao@codesourcery.com>
6419
6420 * gdb.trace/status-stop.exp: New.
6421 * gdb.trace/status-stop.c: New.
6422
27949e73
JK
64232011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6424
6425 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6426 timeout.
6427
d8ea7931
TT
64282011-12-08 Tom Tromey <tromey@redhat.com>
6429
6430 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6431 condition.
6432
1cc310d2
SS
64332011-12-07 Stan Shebs <stan@codesourcery.com>
6434
6435 * gdb.trace/tfind.exp: Update for output changes.
6436
d482a875
PA
64372011-12-07 Pedro Alves <pedro@codesourcery.com>
6438
6439 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6440 throws "Cannot insert catchpoints in this configuration".
6441 * gdb.ada/mi_catch_ex.exp: Likewise.
6442
f0ba3972
PA
64432011-12-06 Pedro Alves <pedro@codesourcery.com>
6444
6445 * gdb.base/break-always.exp: Test changing memory at addresses
6446 with breakpoints inserted.
6447
f8eba3c6
TT
64482011-12-06 Joel Brobecker <brobecker@acacore.com>
6449
6fdff2c5
PA
6450 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6451 involving a fully qualified function name.
f8eba3c6
TT
6452
64532011-12-06 Tom Tromey <tromey@redhat.com>
6454
6455 * gdb.ada/homonym.exp: Add three breakpoint tests.
6456
64572011-12-06 Tom Tromey <tromey@redhat.com>
6458
6459 * gdb.base/solib-weak.exp (do_test): Remove kfail.
6460 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6461 * gdb.objc/objcdecode.exp: Update for output changes.
6462 * gdb.linespec/linespec.exp: New file.
6463 * gdb.linespec/lspec.cc: New file.
6464 * gdb.linespec/lspec.h: New file.
6465 * gdb.linespec/body.h: New file.
6466 * gdb.linespec/base/two/thefile.cc: New file.
6467 * gdb.linespec/base/one/thefile.cc: New file.
6468 * gdb.linespec/Makefile.in: New file.
6469 * gdb.cp/templates.exp (test_template_breakpoints): Update for
6470 output changes.
6471 * gdb.cp/re-set-overloaded.exp: Remove kfail.
6472 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
6473 makes one breakpoint.
6474 * gdb.cp/method2.exp (test_break): Update for output changes.
6475 * gdb.cp/mb-templates.exp: Update for output changes.
6476 * gdb.cp/mb-inline.exp: Update for output changes.
6477 * gdb.cp/mb-ctor.exp: Update for output changes.
6478 * gdb.cp/ovsrch.exp: Use fully-qualified names.
6479 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
6480 has multiple matches.
6481 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
6482 error message change.
6483 * gdb.base/list.exp (test_list_filename_and_number): Update for
6484 error message change.
6485 * gdb.base/break.exp: Disable pending breakpoints. Update for
6486 output changes.
6487 * configure.ac: Add gdb.linespec.
6488 * configure: Rebuild.
6489 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6490
c642a434
UW
64912011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
6492
6493 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6494 last_break register on s390*-*-* targets.
6495
b18003d1
JB
64962011-12-06 Joel Brobecker <brobecker@adacore.com>
6497
6498 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6499 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6500 of parameter X in procedure Foo.
6501
fe96589c
SS
65022011-12-05 Stan Shebs <stan@codesourcery.com>
6503
6504 * gdb.trace/tfind.exp: Update help string matches.
6505
1820ab47
JK
65062011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6507
6508 * gdb.server/ext-run.exp (get process list): Accept also systemd
6509 as PID 1.
6510
e11ac3a3
JK
65112011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6512 Pedro Alves <pedro@codesourcery.com>
6513
6514 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6515 starting GDB.
6516 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6517 $use_gdb_stub.
6518 * gdb.base/display.exp: Likewise.
6519 * gdb.base/ending-run.exp: Likewise.
6520 * gdb.base/list.exp (test_listsize): Likewise.
6521 * gdb.base/setshow.exp: Likewise.
6522 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
6523 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
6524 check by global $use_gdb_stub.
6525 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
6526 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
6527 (default_gdb_init): Unset global $use_gdb_stub.
6528 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
6529 by global $use_gdb_stub.
6530 * lib/gdbserver-support.exp: Extend comments for set_board_info
6531 gdb_protocol and gdb,socketport.
6532 (gdbserver_start_extended): Set global gdbserver_protocol and
6533 gdbserver_gdbport. Clear global use_gdb_stub.
6534 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
6535 from target use_gdb_stub.
6536 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
6537
1d41d75c
DE
65382011-12-03 Doug Evans <dje@google.com>
6539
6540 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
6541 (gdb_step_for_stub): Add comments.
6542
d6d7a51a
MR
65432011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
6544
6545 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
6546 to the caller.
6547 (gdb_test_multiple): Likewise.
6548
05acf274
JK
65492011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6550
6551 Fix gdb.mi/mi-solib.exp without system debug info installed.
6552 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
6553 expect attribute, return 0 for it. Update comments.
6554
2268b414
JK
65552011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6556
6557 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
6558 (corrupted list): Adjust the expectation.
6559
585861ea
JK
65602011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6561
6562 PR threads/13448
6563 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
6564 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
6565 * gdb.threads/tls-var-main.c: New file.
6566 * gdb.threads/tls-var.c: New file.
6567 * gdb.threads/tls-var.exp: New file.
6568
968643aa
JK
65692011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6570
6571 PR testsuite/12649
6572 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
6573 Protect gdb_test_multiple by final $gdb_prompt match.
6574 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
6575 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
6576 (test_tracepoints): Likewise.
6577
9750bca9
JK
65782011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6579
6580 PR breakpoints/13346
6581 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
6582 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
6583 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
6584
ac1349b7
JB
65852011-12-01 Joel Brobecker <brobecker@adacore.com>
6586
6587 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
6588 * gdb.ada/homonym/homonym.adb: For use of all types defined
6589 locally inside both Get_Value subprograms.
6590
26d44faf
JK
65912011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6592
6593 Fix racy FAILs.
6594 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
6595 of send_gdb.
6596
514f6425
UW
65972011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6598
6599 * gdb.base/testenv.exp: Skip on remote targets. Unset global
6600 environment variable after test completed.
6601
4255c8d2
UW
66022011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6603
6604 * gdb.base/solib-nodir.exp: Skip if remote target.
6605 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
6606 application. Call gdb_load_shlibs.
6607 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
6608
a35ad96a
JB
66092011-11-29 Joel Brobecker <brobecker@adacore.com>
6610
6611 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
6612
1a1d5513
JB
66132011-11-28 Joel Brobecker <brobecker@adacore.com>
6614
6615 * gdb.ada/fullname_bp: New testcase.
6616
50b4ddf8
JK
66172011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6618
6619 PR testsuite/12649
6620 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
6621 Wrap send_gdb into a new gdb_test.
6622
fb0aec57
JK
6623 Code cleanup.
6624 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
6625 Convert send_gdb and gdb_expect to gdb_test_multiple.
6626
2376d946
JK
66272011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6628
6629 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
6630
1eec78bd
KS
66312011-11-23 Keith Seitz <keiths@redhat.com>
6632
6633 * lib/mi-support.exp (varobj_tree): New namespace and procs.
6634 (mi_varobj_tree_test_children_callback): New proc.
6635 (mi_walk_varobj_tree): New proc.
6636
36dfb11c
TT
66372011-11-22 Tom Tromey <tromey@redhat.com>
6638
6639 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
6640 Add "use_mi_command" argument.
6641 (mi_run_cmd, mi_run_with_cli): New procs.
6642 * gdb.mi/solib-lib.c: New file.
6643 * gdb.mi/solib-main.c: New file.
6644 * gdb.mi/mi-solib.exp: New file.
6645
0e965dd0
DE
66462011-11-21 Doug Evans <dje@google.com>
6647
6648 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
6649 _Unwind_DebugHook is missing.
6650
f196051f
SS
66512011-11-20 Stan Shebs <stan@codesourcery.com>
6652
6653 * gdb.trace/tstatus.exp: New.
6654 * gdb.trace/actions.c: Include string.h.
6655
bfccc43c
YQ
66562011-11-18 Yao Qi <yao@codesourcery.com>
6657
6658 * gdb.trace/pending.exp: New.
6659 * gdb.trace/pending.c: New.
6660 * gdb.trace/pendshr1.c: New.
6661 * gdb.trace/pendshr2.c: New.
6662 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
6663 tracepoint location becomes pending.
6664 (tracepoint_change_loc_2): New.
6665
73cd8ab1
DM
66662011-11-16 David S. Miller <davem@davemloft.net>
6667
6668 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
6669 target is sparc*-*-linux*
6670
77426730
PK
66712011-11-15 Paul Koning <paul_koning@dell.com>
6672
6673 * gdb.python/py-type.exp: New testcases for exceptions on scalar
6674 types.
6675
ed59ded5
DE
66762011-11-14 Doug Evans <dje@google.com>
6677
6678 * gdb.base/shell.exp: New file.
6679
405f8e94
SS
66802011-11-14 Stan Shebs <stan@codesourcery.com>
6681
6682 * gdb.trace/ftrace.c: New.
6683 * gdb.trace/ftrace.exp: New.
6684
1e4d1764
YQ
66852011-11-14 Yao Qi <yao@codesourcery.com>
6686
6687 * gdb.trace/change-loc-1.c: New.
6688 * gdb.trace/change-loc-2.c: New.
6689 * gdb.trace/change-loc.c: New.
6690 * gdb.trace/change-loc.exp: New.
6691 * gdb.trace/change-loc.h: New.
6692 * gdb.trace/trace-break.c (marker): Define new symbol.
6693 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 6694 New.
1e4d1764
YQ
6695 (break_trace_same_addr_6): New.
6696
71eba9c2 66972011-11-12 Matt Rice <ratmice@gmail.com>
6698
6699 * gdb.base/info-macros.exp: Make tests for info definitions
6700 test info macro. Add tests for info macro argument processing.
6701 Rename a few tests.
6702
1d93e29a
KS
67032011-11-11 Keith Seitz <keiths@redhat.com>
6704
6705 PR gdb/12843
6706 * gdb.base/linespecs.exp: New file.
6707
a4b5b48a
DE
67082011-11-11 Doug Evans <dje@google.com>
6709
6710 * gdb.threads/print-threads.exp: Extend timeout for slower
6711 tests.
6712
f6b47be4
DE
67132011-11-10 Doug Evans <dje@google.com>
6714
792a0230
DE
6715 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
6716 "record to end of main" test.
6717
f6b47be4
DE
6718 * gdb.python/py-type.c (TS): New typedef.
6719 (ts): New global.
6720 * gdb.python/py-type.exp: Test field list of typedef.
6721
22355c90
JB
67222011-11-10 Joel Brobecker <brobecker@adacore.com>
6723
6724 * gdb.ada/small_reg_param: New testcase.
6725
a7860e76
TT
67262011-11-09 Tom Tromey <tromey@redhat.com>
6727
6728 * gdb.cp/destrprint.exp: New file.
6729 * gdb.cp/destrprint.cc: New file.
6730
72a2e3dc
MI
67312011-11-08 Meador Inge <meadori@codesourcery.com>
6732
6733 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
6734 (switch_stack_to_other): New test function.
6735 * gdb.arch/thumb-prologue.exp: New test cases.
6736
c7195df2 67372011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
6738
6739 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
6740
d3895d7d
YQ
67412011-11-08 Yao Qi <yao@codesourcery.com>
6742
6743 * gdb.exp (supports_process_record): New.
6744 (supports_reverse): New.
6745 * gdb.reverse/break-precsave.exp: Call support_process_record
6746 to run test conditionally.
6747 * gdb.reverse/consecutive-precsave.exp: Likewise.
6748 * gdb.reverse/i386-precsave.exp: Likewise.
6749 * gdb.reverse/machinestate-precsave.exp: Likewise.
6750 * gdb.reverse/solib-precsave.exp: Likewise.
6751 * gdb.reverse/step-precsave.exp: Likewise.
6752 * gdb.reverse/until-precsave.exp: Likewise.
6753 * gdb.reverse/watch-precsave.exp: Likewise.
6754 * gdb.reverse/break-reverse.exp: Call support_reverse to run
6755 test conditionally.
6756 * gdb.reverse/consecutive-reverse.exp: Likewise.
6757 * gdb.reverse/finish-precsave.exp: Likewise.
6758 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6759 * gdb.reverse/finish-reverse.exp: Likewise.
6760 * gdb.reverse/i386-reverse.exp: Likewise.
6761 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6762 * gdb.reverse/machinestate.exp: Likewise.
6763 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6764 * gdb.reverse/sigall-precsave.exp: Likewise.
6765 * gdb.reverse/sigall-reverse.exp: Likewise.
6766 * gdb.reverse/solib-reverse.exp: Likewise.
6767 * gdb.reverse/step-reverse.exp: Likewise.
6768 * gdb.reverse/until-reverse.exp: Likewise.
6769 * gdb.reverse/watch-reverse.exp: Likewise.
6770
a59306a3
YQ
67712011-11-05 Yao Qi <yao@codesourcery.com>
6772
6773 * gdb.trace/trace-break.exp: Add test on setting two
6774 fast tracepoints at the same address.
6775
87769f59
JK
67762011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6777
6778 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6779
3065dfb6
SS
67802011-11-02 Stan Shebs <stan@codesourcery.com>
6781
6782 * gdb.trace/collection.c: Add code using strings.
6783 * gdb.trace/collection.exp: Add tests of string collection.
6784
89e208db
JK
67852011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6786
6787 * gdb.base/skip-solib.exp (executable_main): New variable.
6788 (binfile_main): Base it on that.
6789 Use $executable_main in clean_restart calls. Drop gdb_exit and
6790 gdb_start calls.
6791
405e54e9
JK
67922011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6793
6794 Fix racy FAILs.
6795 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6796 breakpoint_re globals import by async. Set string_regex to .* for
6797 async. Remove the optional thread_selected_re and breakpoint_re
6798 globals expectations.
6799
58e8570a
JM
68002011-11-01 Joseph Myers <joseph@codesourcery.com>
6801
6802 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6803 well as Cygwin.
6804
7b35ec7f 68052011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
6806
6807 Add tests for skip command.
89e208db
JK
6808 * gdb.base/skip-solib-lib.c: New
6809 * gdb.base/skip-solib-main.c: New
6810 * gdb.base/skip-solib.exp: New
6811 * gdb.base/skip.c: New
6812 * gdb.base/skip.exp: New
6813 * gdb.base/skip1.c: New
6814 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 6815
b9fd1791
PA
68162011-10-31 Yao Qi <yao@codesourcery.com>
6817 Pedro Alves <pedro@codesourcery.com>
6818
6fdff2c5
PA
6819 * gdb.trace/trace-break.c: New.
6820 * gdb.trace/trace-break.exp: New.
b9fd1791 6821
4323fecc
JK
68222011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6823
6824 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6825 break-here-2.
6826
0e5bf2a8
PA
68272011-10-28 Pedro Alves <pedro@codesourcery.com>
6828
6829 * gdb.threads/no-unwaited-for-left.c: New.
6830 * gdb.threads/no-unwaited-for-left.exp: New.
6831 * gdb.threads/non-ldr-exc-1.c: New.
6832 * gdb.threads/non-ldr-exc-1.exp: New.
6833 * gdb.threads/non-ldr-exc-2.c: New.
6834 * gdb.threads/non-ldr-exc-2.exp: New.
6835 * gdb.threads/non-ldr-exc-3.c: New.
6836 * gdb.threads/non-ldr-exc-3.exp: New.
6837 * gdb.threads/non-ldr-exc-4.c: New.
6838 * gdb.threads/non-ldr-exc-4.exp: New.
6839
3a3dad98
JK
68402011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6841
6842 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6843 * gdb.base/attach-pie-misread.exp: Likewise.
6844 * gdb.base/break-interp.exp: Likewise.
6845 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6846 testcases for use_gdb_stub.
6847 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6848 (continue): New testcase.
6849 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6850 * gdb.threads/attach-into-signal.exp: Likewise.
6851 * gdb.threads/attach-stopped.exp: Likewise.
6852 * gdb.threads/attachstop-mt.exp: Likewise.
6853
d6a5d40c
PK
68542011-10-28 Paul Koning <paul_koning@dell.com>
6855
6856 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6857
ca539be8
JK
68582011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6859
6860 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6861 (mi_gdb_test): Import globals thread_selected_re
6862 and breakpoint_re. Expect them optionally at the regex start.
6863
d234ef5c
DE
68642011-10-27 Doug Evans <dje@google.com>
6865
6866 * gdb.python/python.exp: Test source -s.
6867
ab964825
PK
68682011-10-26 Paul Koning <paul_koning@dell.com>
6869
6870 * gdb.python/lib-types.cc (struct A): New structure.
6871 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 6872
54d8a644
PK
68732011-10-25 Paul Koning <paul_koning@dell.com>
6874
6875 PR python/13327
d234ef5c 6876
54d8a644
PK
6877 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6878 fetch_lazy method.
6879
b0221781
YQ
68802011-10-24 Yao Qi <yao@codesourcery.com>
6881
6882 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6883 target is tic6x-*-*.
6884
6cda5a20
JB
68852011-10-21 Joel Brobecker <brobecker@adacore.com>
6886
6887 * gdb.ada/mi_task_info/task_switch.adb: New file.
6888 * gdb.ada/mi_task_info.exp: New file.
6889
5ed9db04
JK
68902011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6891
6892 * gdb.cp/expand-psymtabs-cxx.exp: New file.
6893 * gdb.cp/expand-psymtabs-cxx.cc: New file.
6894
9df2fbc4
PM
68952011-10-20 Phil Muldoon <pmuldoon@redhat.com>
6896
6897 PR python/12656
6898
6899 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6900 global_block tests.
6901
736086ba
TT
69022011-10-18 Tom Tromey <tromey@redhat.com>
6903
6904 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6905
4af31552
TT
69062011-10-18 Tom Tromey <tromey@redhat.com>
6907
6908 * gdb.base/source.exp: Don't include full file name in test name.
6909 * gdb.python/python.exp: Don't include full file name in test
6910 name.
6911
43136979
AR
69122011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6913
6914 * gdb.base/attach-pie-noexec.c: New files.
6915 * gdb.base/attach-pie-noexec.exp: New files.
6916
543a9323
JM
69172011-10-17 Joseph Myers <joseph@codesourcery.com>
6918
6919 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
6920 prompt for each extra line in command.
6921
21ae7a4d
JK
69222011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6923
6924 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
6925 Revert the part of:
6926 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6927 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6928 Change the expected string.
6929
20ec36d9
JK
69302011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6931
6932 Fix results with system glibc debug info installed.
6933 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
6934 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
6935 Accept also __libc_ symbol prefix and no prefix.
6936
6501c2fc
KS
69372011-10-14 Keith Seitz <keiths@redhat.com>
6938
6939 PR c++/13225
6940 * gdb.cp/converts.cc (foo3_1): New function.
6941 (foo3_2): New functions.
6942 * gdb.cp/converts.exp: Add tests for int to pointer conversion
6943 and null pointer conversions of integer constant zero.
6944 Add test to check if all arguments are checked for incompatible
6945 conversion BADNESS.
6946
55b1fd0c
TT
69472011-10-14 Tom Tromey <tromey@redhat.com>
6948
6949 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
6950 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
6951 linespec.
6952
22c05d8a
JK
69532011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6954
6955 Fix internal error regression.
6956 * gdb.dwarf2/implptr-optimized-out.S: New file.
6957 * gdb.dwarf2/implptr-optimized-out.exp: New file.
6958
1d6edc3c
JK
69592011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6960
6961 Fix empty DWARF expressions DATA vs. SIZE conditionals.
6962 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
6963 (loclist): New.
6964 (4): New abbrev.
6965 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
6966 Use prepare_for_testing, remove clean_restart.
6967 (p arraynoloc, p arraycallnoloc): New tests.
6968
9ec72168
JK
69692011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6970
6971 * gdb.cp/namespace-enum.exp (executable): New variable.
6972 (binfile): Use ${objdir}/${subdir}/ prefix.
6973 Use ${executable} for clean_restart.
6974
9c6c53f7
SA
69752011-10-11 Sterling Augustine <saugustine@google.com>
6976
6977 * gdb.cp/Makefile.in: Add namespace-enum test.
6978 * gdb.cp/namespace-enum.exp: New file.
6979 * gdb.cp/namespace-enum.c: New file.
6980 * gdb.cp/namespace-enum-main.c: New file.
6981
fac7ceb3
UW
69822011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
6983
6984 * gdb.python/py-shared.exp: Relax filename check to handle remote:
6985 sysroot.
6986
941b2081
JK
69872011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6988
6989 Reimplement @entry in input expressions.
6990 * gdb.base/exprs.c (v_int_array_init): New variable.
6991 * gdb.base/exprs.exp (print v_int_array_init)
6992 (print *v_int_array_init@1, print *v_int_array_init@2)
6993 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
6994 (print v_int_array_init[1]@1): New tests.
6995
0344e878
JM
69962011-10-10 Joseph Myers <joseph@codesourcery.com>
6997
6998 * gdb.cp/gdb2495.exp: Do not include directories in filename in
6999 expected message.
7000
5a56e9c5
DE
70012011-10-09 Doug Evans <dje@google.com>
7002
7003 * gdb.base/alias.exp: Add tests for alias command.
7004
2bda9cc5
JK
70052011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7006
7007 * gdb.arch/amd64-entry-value.s: New file.
7008 * gdb.mi/mi2-amd64-entry-value.s: New file.
7009
a471c594
JK
70102011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7011
7012 Display @entry parameter values even for references.
7013 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7014 functions.
7015 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7016 reference and datap_input.
7017 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7018 breakpoints.
7019 (continue to breakpoint: entry_reference: reference)
7020 (entry_reference: bt at entry)
7021 (continue to breakpoint: entry_reference: breakhere_reference)
7022 (entry_reference: bt, entry_reference: ptype regparam)
7023 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7024 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7025 (entry_reference: p regcopy, entry_reference: p nodataparam)
7026 (entry_reference: p nodataparam@entry): New tests.
7027
36b11add
JK
70282011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7029
7030 Support @entry in input expressions.
7031 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7032 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7033 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7034 (tailcall: p j@entry): New tests.
7035 * gdb.cp/koenig.cc (A::entry): New function.
7036 (main): Call it.
7037 * gdb.cp/koenig.exp (p entry (c)): New test.
7038
e18b2753
JK
70392011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7040
7041 Display @entry parameter values (without references).
7042 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7043 (different, validity, invalid): New functions.
7044 (main): Call them.
7045 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7046 stacktest, breakhere_stacktest, different, breakhere_different,
7047 breakhere_validity and breakhere_invalid.
7048 (entry: bt): Update for @entry.
7049 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7050 (entry_validity: *, entry_invalid: *): Many new tests.
7051 * gdb.base/break.exp
7052 (run until breakpoint set at small function, optimized file): Accept
7053 also the @entry suffix.
7054 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7055 * gdb.mi/mi2-amd64-entry-value.c: New files.
7056 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7057
2d6c5dc2
JK
70582011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7059
7060 Protect entry values against self tail calls.
7061 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7062 (main): Call self.
7063 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7064 (set debug entry-values 1, self: bt debug entry-values): New tests.
7065
111c6489
JK
70662011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7067
7068 Recognize virtual tail call frames.
7069 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7070 (amb_b, amb_a): New.
7071 (main): Call a and b.
7072 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7073 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7074 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7075 New tests.
7076
8e3b41a9
JK
70772011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7078
7079 Implement basic support for DW_TAG_GNU_call_site.
7080 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7081 * gdb.arch/amd64-entry-value.cc: New file.
7082 * gdb.arch/amd64-entry-value.exp: New file.
7083
181cebd4
JK
70842011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7085
7086 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7087 * gdb.dwarf2/implptr-64bit.S: New file.
7088 * gdb.dwarf2/implptr-64bit.exp: New file.
7089
741f5e3c
JK
70902011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7091
7092 Fix initial language detection with -readnow.
7093 * gdb.cp/readnow-language.cc: New file.
7094 * gdb.cp/readnow-language.exp: New file.
7095
a73d2258
JK
70962011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7097
7098 Fix printed anonymous struct name.
7099 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7100
af369495
JM
71012011-10-09 Joseph Myers <joseph@codesourcery.com>
7102
7103 * gdb.base/solib-symbol.exp: Do not include directories in
7104 filenames in expected messages.
7105
1fa57852
DE
71062011-10-07 Doug Evans <dje@google.com>
7107
7108 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7109
bd054e06
KP
71102011-10-07 Kevin Pouget <kevin.pouget@st.com>
7111
7112 Allow Python notification of new object-file loadings.
7113 * gdb.python/py-events.exp: Test newobjfile event.
7114 * gdb.python/py-events.py: Register newobjfile callback.
7115 * gdb.python/py-events.c: Add call to shared library
7116 * gdb.python/py-events-shlib.c: New file.
7117
8031b6f8
JM
71182011-10-06 Joseph Myers <joseph@codesourcery.com>
7119
7120 * gdb.base/fixsection.exp: Do not include directories in filename
7121 in expected message.
7122
7fea6923
PM
71232011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7124
7125 Add tests for passing of environment variables to inferior.
7126 * gdb.base/testenv.c: New test source.
7127 * gdb.base/testenv.exp: New expect test.
7128
687f2a88
PK
71292011-10-04 Paul Koning <paul_koning@dell.com>
7130
7131 * gdb.python/py-value.c (main): Break before return.
7132
cb6be26b
KP
71332011-10-04 Kevin Pouget <kevin.pouget@st.com>
7134
7135 PR python/12691: Add the inferior to Python exited event
7136 * gdb.python/py-events.exp: Test the inferior attribute of exited
7137 event with a fork.
7138 * gdb.python/py-events.py: Print inferior number on exit.
7139 * gdb.python/py-events.c: Fork the inferior.
7140
fb213700
EBM
71412011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7142
7143 * gdb.base/jit.exp: Add testcase name to log message
7144
aa2071bd
PK
71452011-10-03 Paul Koning <paul_koning@dell.com>
7146 Jan Kratochvil <jan.kratochvil@redhat.com>
7147
7148 * gdb.python/py-value.exp
7149 (python inval = gdb.parse_and_eval('*(int*)0'))
7150 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7151 (set argc=2, python print argc_lazy): New tests.
7152
dd11a36c
JB
71532011-10-02 Joel Brobecker <brobecker@adacore.com>
7154
7155 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7156
46f886f1
JK
71572011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7158 Pedro Alves <pedro@codesourcery.com>
7159
7160 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7161 can_read_0, test for it.
7162 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7163 (parse_and_eval with memory error): ... here, make it untested if
7164 can_read_0.
7165
c5cb204f
MP
71662011-09-30 Marek Polacek <mpolacek@redhat.com>
7167
7168 * gdb.python/python.exp (verify pagination beforehand)
7169 (verify pagination afterwards): Fix race by splitting the line.
7170
68fb0ec0
JM
71712011-09-29 Joseph Myers <joseph@codesourcery.com>
7172
7173 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7174 for 64-bit multilibs from i?86-* targets.
7175
6aee0d90
MP
71762011-09-29 Marek Polacek <mpolacek@redhat.com>
7177
7178 * lib/gdb.exp: Fix a typo in one of the comments.
7179
e9101ff5
MP
71802011-09-29 Marek Polacek <mpolacek@redhat.com>
7181
7182 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7183 matching pattern.
7184
7a81bdbf
PK
71852011-09-28 Paul Koning <paul_koning@dell.com>
7186
7187 * gdb.python/py-type.c (enum E): New.
7188 * gdb.python/py-type.exp (test_fields): Add tests for Python
7189 mapping access to fields.
7190 (test_enums): New test for field access on enums.
7191
6710bf39
SS
71922011-09-27 Stan Shebs <stan@codesourcery.com>
7193
7194 * gdb.trace/collection.exp: Test collection of $_ret.
7195
b2a6bdeb
AT
71962011-09-22 Andreas Tobler <andreast@fgznet.ch>
7197
7198 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7199 list of compilation switches for <*-*-freebsd*>.
7200
3c9057f3
SS
72012011-09-19 Stan Shebs <stan@codesourcery.com>
7202
7203 * gdb.trace/tspeed.exp: New file.
7204 * gdb.trace/tspeed.c: New file.
7205
34518530
YQ
72062011-09-18 Yao Qi <yao@codesourcery.com>
7207
7208 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7209 instructions.
7210 (test_adr_32bit, test_pop_pc): Likewise.
7211 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7212 Thumb instructions.
7213 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7214 in gdb_test_multiple.
7215 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7216
ab254057
YQ
72172011-09-17 Yao Qi <yao@codesourcery.com>
7218
7219 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7220 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7221 support single step to signal handler.
7222
9c317b71
YQ
72232011-09-17 Yao Qi <yao@codesourcery.com>
7224
7225 * gdb.base/disp-step-fork.c: New.
7226 * gdb.base/disp-step-syscall.exp: New.
7227 * gdb.base/disp-step-vfork.c: New.
7228
a8123151
JB
72292011-09-16 Joel Brobecker <brobecker@adacore.com>
7230
7231 * gdb.ada/tasks.exp: Make the expected output for
7232 the `info tasks' tests more resilient to spacing
7233 changes.
7234
63a9aad8
JK
72352011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7236
7237 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7238 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7239
2aa48337
KP
72402011-09-15 Kevin Pouget <kevin.pouget@st.com>
7241
7242 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7243 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7244
6839b47f
KP
72452011-04-30 Kevin Pouget <kevin.pouget@st.com>
7246
7247 Handle multiple breakpoint hits in Python interface:
7248 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7249 presence.
7250 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7251 breakpoint hits.
7252
0935723e
JK
72532011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7254 Jan Kratochvil <jan.kratochvil@redhat.com>
7255
7256 * gdb.python/py-events.exp: Remove pretty printing comment.
7257 * gdb.python/py-evsignal.exp: New file.
7258 * gdb.python/py-evthreads.c: Include signal.h.
7259 (thread3): Remove variable count3. Remove variable bad and use raise
7260 instead.
7261 (thread2): Remove variable count2. Move thread3 pthread_create here,
7262 merge pthread_join to a single line.
7263 (main): Remove variable count1. Merge pthread_join with pthread_create
7264 to a single line.
7265 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7266 KFAIL python/12966 for gdbserver. Test return value of
7267 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7268 gdb_expect by gdb_test and gdb_test_multiple.
7269 (thread 2, thread 3): New tests.
7270
4801a9a3
PA
72712011-09-12 Matt Rice <ratmice@gmail.com>
7272 Pedro Alves <pedro@codesourcery.com>
7273
7274 PR gdb/13175
7275
7276 * gdb.base/interp.exp: New tests.
7277 * gdb.base/interp.c: New file.
7278
24ece742
DE
72792011-09-12 Doug Evans <dje@google.com>
7280
7281 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7282 * gdb.dwarf2/typeddwarf.exp: Ditto.
7283
7f062217
JK
72842011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7285
7286 Fix compatibility with x32 arch.
7287 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7288 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7289 is_x86_like_target.
7290 * testsuite/gdb.trace/collection.exp: Likewise.
7291 * testsuite/gdb.trace/report.exp: Likewise.
7292 * testsuite/gdb.trace/unavailable.exp: Likewise.
7293 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7294 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7295 (is_x86_like_target): Check also is_amd64_regs_target.
7296
08711b9a
JK
72972011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7298
7299 PR breakpoints/12435
7300 * gdb.arch/amd64-prologue-xmm.c: New file.
7301 * gdb.arch/amd64-prologue-xmm.exp: New file.
7302 * gdb.arch/amd64-prologue-xmm.s: New file.
7303
b99b5f66
JK
73042011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7305
7306 * gdb.dwarf2/dw2-param-error-main.c: New file.
7307 * gdb.dwarf2/dw2-param-error.S: New file.
7308 * gdb.dwarf2/dw2-param-error.exp: New file.
7309
a391a2f6
PA
73102011-09-08 Pedro Alves <pedro@codesourcery.com>
7311
7312 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7313 inferior's pid and look for a core dump named core.$pid. Use
7314 `remote_file' commands on the host instead of hand coding shell
7315 commands on the build.
7316 * gdb.base/valgrind-db-attach.exp: Kill the program before
7317 finishing the test.
7318
7d8e6458 73192011-09-02 Matt Rice <ratmice@gmail.com>
7320
7321 * lib/prompt.exp: New file for testing the first prompt.
7322 * gdb.python/py-prompt.exp: Ditto.
7323 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7324
68e77c9e
PA
73252011-09-02 Pedro Alves <pedro@codesourcery.com>
7326
7327 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7328 0, before testing gcore.
7329
9655e943
JK
73302011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7331
df6dc84d
JK
7332 * dw2-ifort-parameter-debug.S: Update copyright year.
7333 * dw2-ifort-parameter.c: Update copyright year.
7334 * dw2-ifort-parameter.exp: Update copyright year.
7335
9655e943
JK
7336 * dw2-ifort-parameter-debug.S: New file.
7337 * dw2-ifort-parameter.c: New file.
7338 * dw2-ifort-parameter.exp: New file.
7339
353d1d73
JK
73402011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7341
7342 * gdb.base/commands.exp (error_clears_commands_left): New function.
7343 (): Call it.
7344
5c07461a
JK
73452011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7346
7347 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7348 (C): Initialize `a'.
7349 * gdb.mi/mi-inheritance-syntax-error.exp
7350 (-data-evaluate-expression $path): Expect `a' as 5.
7351
0d932b2f
MK
73522011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7353
7354 PR mi/11912
7355 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7356 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7357 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7358 keyword in output of -var-info-path-expression.
7359
bdb54049
JK
73602011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7361
7362 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7363 * gdb.trace/collection.exp: Likewise.
7364 * gdb.trace/report.exp: Likewise.
7365 * gdb.trace/unavailable.exp: Likewise.
7366 * gdb.trace/while-dyn.exp: Likewise.
7367
59cde39c
KS
73682011-08-18 Keith Seitz <keiths@redhat.com>
7369
7370 PR c++/12266
7371 * gdb.cp/meth-typedefs.cc: New file.
7372 * gdb.cp/meth-typedefs.exp: New file.
7373
fa3a4f15
PM
73742011-08-17 Phil Muldoon <pmuldoon@redhat.com>
7375
6fdff2c5 7376 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 7377
c1049fca
JK
73782011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7379
7380 * gdb.arch/i386-dr3-watch.exp
7381 (watchpoint on gap1 does not fit debug registers)
7382 (delete all watchpoints): Fix racy expect strings.
7383
d93f7b5c
YQ
73842011-08-14 Yao Qi <yao@codesourcery.com>
7385
7386 * gdb.base/maint.exp: set data_section to ".neardata".
7387 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7388 * gdb.base/savedregs.exp: Handle SIGILL.
7389 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7390 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7391
457e09f0
DE
73922011-08-12 Doug Evans <dje@google.com>
7393
7394 * gdb.python/py-symbol.exp: Add test for symbol.type.
7395
5d0bb2fb
UW
73962011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
7397
7398 * gdb.threads/pthreads.exp: Enable on non-native configurations.
7399 * gdb.mi/mi-pthreads.exp: Likewise.
7400 * gdb.mi/mi2-pthreads.exp: Likewise.
7401 * gdb.mi/gdb669.exp.exp: Likewise.
7402
fcdfa280
PA
74032011-08-09 Pedro Alves <pedro@codesourcery.com>
7404
7405 * lib/mi-support.exp (detect_async): Rename to...
7406 (mi_detect_async): ... this.
7407 * gdb.mi/mi-nonstop-exit.exp: Adjust.
7408 * gdb.mi/mi-nonstop.exp: Adjust.
7409 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7410 * gdb.mi/mi-nsintrall.exp: Adjust.
7411 * gdb.mi/mi-nsmoribund.exp: Adjust.
7412 * gdb.mi/mi-nsthrexec.exp: Adjust.
7413
9d8fa392
PA
74142011-08-09 Pedro Alves <pedro@codesourcery.com>
7415
7416 * gdb.base/display.c (do_loops): New `p_i' local.
7417 * gdb.base/display.exp: Test displaying a variable that is
7418 temporarily at a bad address.
7419
b6cede78
JK
74202011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7421
7422 * gdb.dwarf2/dw2-op-stack-value.S: New file.
7423 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7424
67bedb8c
JK
74252011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7426
7427 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
7428 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7429 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 7430
af6e93b2
PA
74312011-08-05 Pedro Alves <pedro@codesourcery.com>
7432
7433 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7434 procedure.
7435 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7436
1cf0e11f
YQ
74372011-08-05 Yao Qi <yao@codesourcery.com>
7438
7439 * gdb.base/callfuncs.exp: Set language after main.
7440 * gdb.cp/cplusfuncs.exp: Likewise.
7441 * gdb.cp/inherit.exp: Likewise.
7442
a1e28cb2
UW
74432011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7444
7445 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7446 * gdb.base/watch-vfork.exp: Skip on remote targets.
7447
d4f5bbb9
UW
74482011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7449
7450 * gdb.threads/thread-find.exp: Support remote targets.
7451
724f4f80
UW
74522011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7453
7454 * gdb.base/jit.exp: Download solib_binfile to target.
7455 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
7456 and call dlopen without full path name.
7457 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7458 dlopen without full path name.
7459
934709f0
PW
74602011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7461
7462 * gdb.base/break-always.exp: Complete the test
7463 with duplicated breakpoints and enabling/disabling them.
7464
c26106c4
TT
74652011-08-02 Tom Tromey <tromey@redhat.com>
7466
7467 PR gdb/11289:
7468 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
7469
9300444e 74702011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
7471
7472 PR gdb/13045
7473 * gdb.base/float.exp: Add new test case for PR gdb/13045
7474 * gdb.base/float.c: New file.
7475
00bd41d6
PM
74762011-07-28 Phil Muldoon <pmuldoon@redhat.com>
7477
7478 * gdb.python/py-mi.exp: Test printers returning string hint, and
7479 also not returning a value.
7480 * gdb.python/py-prettyprint.c: Add testcase for above.
7481 * gdb.python/py-prettyprint.py: Add test printer for above.
7482
d24f74ce
JK
74832011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7484
7485 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7486 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7487 (.Ldie30) Add as field "data4".
7488 (.Ldie32) Rename field "b" to "shl".
7489 (abbrev4) Change for the "data4" field.
7490 (abbrev5, abbrev6) Remove.
7491 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7492 (p &s.shl): ... here. Add comment.
7493 (p &s.data4): New.
7494
bb7da2bf
JK
74952011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7496
7497 Fix crash on lval_computed values.
7498 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7499
11081198
JK
75002011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7501
7502 * gdb.base/help.exp (help whatis): Update the expected string.
7503
3c6e0cb3
JK
75042011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7505
7506 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7507 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7508 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7509 Change the expected string.
7510
efa80663
PA
75112011-07-26 Pedro Alves <pedro@codesourcery.com>
7512
7513 * gdb.base/watchpoint.exp
7514 (test_disable_enable_software_watchpoint): New procedure.
7515 (top level): Run it.
7516
db8e4570
UW
75172011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
7518
7519 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
7520 executable file "${binfile}", C++ version "${binfile}-cxx".
7521 * gdb.python/py-prettyprint.exp: Likewise.
7522 * gdb.python/py-symbol.exp: Likewise.
7523 * gdb.python/py-type.exp: Likewise.
7524 * gdb.python/py-value.exp: Likewise.
7525 * gdb.python/py-template.exp (test_template_arg): Pass full executable
7526 file name instead of just suffix.
7527
543305c9
JK
75282011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7529
7530 Fix implicit pointer offsets.
7531 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
7532 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
7533 (continue to breakpoint: continue to baz breakpoint for implptr)
7534 (sanity check element 0, sanity check element 1)
7535 (enter the inlined function, check element 0 for the offset)
7536 (check element 1 for the offset)
7537 (continue to breakpoint: ignore the second baz breakpoint): New tests.
7538 (set foo breakpoint for implptr): Update the breakpoint number.
7539
b3215adc
UW
75402011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7541
7542 * gdb.python/py-mi.exp: Use different file names for different
7543 versions of the executable under test.
7544 * gdb.python/py-prettyprint.exp: Likewise.
7545 * gdb.python/py-symbol.exp: Likewise.
7546 * gdb.python/py-template.exp: Likewise.
7547 * gdb.python/py-type.exp: Likewise.
7548 * gdb.python/py-value.exp: Likewise.
7549
182b9acc
UW
75502011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7551
7552 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
7553 flag after restarting GDB if necessary.
7554
e6052b5d
UW
75552011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7556
7557 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
7558
1ced966e
PA
75592011-07-22 Pedro Alves <pedro@codesourcery.com>
7560
7561 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
7562 backend doesn't leave used debug registers behind.
7563
3543a589
TT
75642011-07-22 Tom Tromey <tromey@redhat.com>
7565
7566 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
7567 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
7568 argument.
7569 * gdb.dwarf2/typeddwarf-amd64.S: New file.
7570
14d15303 75712011-07-21 Matt Rice <ratmice@gmail.com>
7572
7573 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
7574 in mostlyclean rule. Add files ending in .core.
7575
9b158ba0 75762011-07-21 Matt Rice <ratmice@gmail.com>
7577
7578 PR macros/12999
7579 * gdb.base/info-macros.c: New test sources.
7580 * gdb.base/info-macros.exp: New tests.
7581
d17b6f81
PM
75822011-07-21 Phil Muldoon <pmuldoon@redhat.com>
7583
7584 * gdb.python/python.exp: Add prompt substitution tests.
7585
918dd910
JK
75862011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7587
7588 Fix crash if referenced CU is aged out.
7589 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
7590 New.
7591 * gdb.dwarf2/implptr.exp: Likewise.
7592
0e37a63c
JK
75932011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7594
7595 * gdb.dwarf2/implptr.S: Rebuilt.
7596 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
7597 (bar): Use them for j, k, l.
7598 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
7599 COMPILE.
7600 (print j in implptr:bar): Update for the intp typedef.
7601 (print p[0].x in implptr:foo): Use more exact regex.
7602
f65cf84c
TT
76032011-07-18 Tom Tromey <tromey@redhat.com>
7604
7605 * gdb.cp/static-method.exp: Add missing single quote.
7606
d5b4a7be
YQ
76072011-07-18 Yao Qi <yao@codesourcery.com>
7608
7609 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
7610 supported.
7611 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7612 * gdb.mi/mi-nonstop.exp: Likewise.
7613 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7614 * gdb.mi/mi-nsintrall.exp: Likewise.
7615 * gdb.mi/mi-nsmoribund.exp: Likewise.
7616 * gdb.mi/mi-nsthrexec.exp: Likewise.
7617 * gdb.python/py-evthreads.exp: Likewise.
7618
e9ea2662
JK
76192011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7620
7621 Code cleanup.
7622 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
7623 it. Substitute it instead of test_compiler_info everywhere.
7624
ce451573
UW
76252011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7626
7627 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
7628 remote targets as well.
7629
756d88a7
UW
76302011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7631
7632 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
7633 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
7634
31f83dc5
UW
76352011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7636
7637 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
7638 a remote machine, not the host.
7639 (gdb_compile_shlib): Set soname if target is remote.
7640
059241a0
PP
76412011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7642
7643 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
7644
28a0b48c 76452011-07-13 Matt Rice <ratmice@gmail.com>
7646
7647 * gdb.python/py-objfile-script-gdb.py: Renamed to
7648 py-objfile-script-gdb.py.in.
7649 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
7650 py-objfile-script-gdb.py.
7651 * gdb.python/py-objfile-script.exp: Update reference to
7652 py-objfile-script-gdb.py.
7653
9a771b67
JK
76542011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7655
7656 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
7657 reference undefined label.
7658
04ad99e6
JK
76592011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7660
7661 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
7662 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
7663 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
7664 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
7665
713389e0
PM
76662011-07-11 Phil Muldoon <pmuldoon@redhat.com>
7667
6fdff2c5 7668 PR python/12438
713389e0 7669 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 7670 deprecated tests. Add set/show python print-backtrace tests.
713389e0 7671
97d146f8
JK
76722011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7673
7674 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
7675 debug info.
7676
facde0e5 76772011-07-06 Matt Rice <ratmice@gmail.com>
7678
7679 * gdb.python/python.exp: Update filename paths.
7680 * gdb.python/py-symtab.exp: Ditto.
7681
438640d1
MP
76822011-07-06 Marek Polacek <mpolacek@redhat.com>
7683
7684 * gdb.python/py-evthreads.exp: Add missing `$'.
7685
33a365df
MF
76862011-07-06 Jie Zhang <jie.zhang@analog.com>
7687
7688 * config/bfin.exp: New file.
7689 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
7690 * gdb.asm/bfin.inc: New file.
7691
8f7ae686
MP
76922011-07-06 Marek Polacek <mpolacek@redhat.com>
7693
df46027d 7694 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
7695 the whole output.
7696
eb2a6f42
TT
76972011-07-05 Tom Tromey <tromey@redhat.com>
7698
7699 * gdb.java/jprint.java (jprint.hi): New field.
7700 * gdb.java/jprint.exp: Print string.
7701
177b42fe
TJB
77022011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
7703
7704 * gdb.base/call-sc.c: Fix typos.
7705 * gdb.base/ifelse.exp: Likewise.
7706 * gdb.base/structs.c: Likewise.
7707
3b2a0cf2
JB
77082011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7709
7710 * gdb.base/jit-so.exp: New test.
7711 * gdb.base/jit-dlmain.c: New file.
7712 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
7713
46fc714c
JK
77142011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7715
7716 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
7717 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
7718 * gdb.cp/pr9167.exp (p b): Likewise.
7719 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
7720 (test value of P in inner_m, test type of Z in inner_m): Call
7721 setup_xfail for gcc <= 4.5.
46fc714c 7722
418c7cf7
JK
77232011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7724
7725 * gdb.cp/paren-type.cc: New files.
7726 * gdb.cp/paren-type.exp: New files.
7727
3d50dd94
JK
77282011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7729
7730 Stop on first linespec terminator instead of eating what we can.
7731 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
7732 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
7733 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
7734 (break C::f()): ... this one.
7735 (break C::operator()()): New test.
7736 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
7737 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
7738 test.
7739
dcf9f4ab
JK
77402011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7741
7742 Fall back linespec to minimal symbols.
7743 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
7744 error message.
7745 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7746 * gdb.cp/minsym-fallback-main.cc: New file.
7747 * gdb.cp/minsym-fallback.cc: New file.
7748 * gdb.cp/minsym-fallback.exp: New file.
7749 * gdb.cp/minsym-fallback.h: New file.
7750
3f542ed1
JK
77512011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7752
7753 * gdb.cp/no-dmgl-verbose.cc: New file.
7754 * gdb.cp/no-dmgl-verbose.exp: New file.
7755
77562011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
7757
7758 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7759 __GI_.
7760 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7761 (f): New function.
7762 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7763 (complete p 'func<short>(): ... here.
7764 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7765 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7766 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7767 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7768 Make them KFAIL gcc/49546.
7769
00eb2c4a
JB
77702011-07-01 Joel Brobecker <brobecker@adacore.com>
7771
7772 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7773
85a20c42
JK
77742011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7775
7776 Test GCC PR debug/49546.
7777 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7778 (test type of F in k3_m, test value of F in k3_m): New.
7779 * gdb.cp/temargs.cc (struct S3, struct K3): New.
7780 (main): New variable k3. Call k3.k3_m.
7781
d2d43431
JB
77822011-07-01 Jean-Charles Delay <delay@adacore.com>
7783
7784 * gdb.ada/packed_array.exp: Fix expected outout.
7785
54ae186f
JB
77862011-07-01 Jean-Charles Delay <delay@adacore.com>
7787
7788 * gdb.ada/packed_array.exp: fixed expected output.
7789
8f17729f
JB
77902011-07-01 Joel Brobecker <brobecker@adacore.com>
7791
7792 * gdb.ada/same_enum: New testcase.
7793
f5aa6869
JB
77942011-07-01 Joel Brobecker <brobecker@adacore.com>
7795
7796 * gdb.ada/ptr_typedef: New testcase.
7797
828292f2
JB
77982011-07-01 Joel Brobecker <brobecker@adacore.com>
7799
7800 * gdb.ada/arrayptr.exp: Add ptype test.
7801
18920c42
JB
78022011-07-01 Joel Brobecker <brobecker@adacore.com>
7803
7804 * gdb.ada/char_enum: New testcase.
7805
3536d9e3 78062011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
7807
7808 * gdb.base/dump.exp (capture_pointer_with_type): New.
7809 Get value from address instead of name.
7810 Start GDB once, and do `dump' and `restore'
7811 tests together.
7812
db863c42
MF
78132011-06-30 Jie Zhang <jie.zhang@analog.com>
7814 Mike Frysinger <vapier@gentoo.org>
7815
7816 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7817 helper functions for getting/setting remotetimeout variable.
7818 * lib/gdb.exp (gdb_load): If the target is remote, set
7819 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7820 with $loadtimeout. Set $load_ok to 0 before doing the load.
7821 Instead of returning, immediately, set $load_ok to 0. Call
7822 set_remotetimeout with $oldremotetimeout, and then return if
7823 $load_ok is 1.
7824
e9e642a8
AB
78252011-06-30 Andrew Burgess <aburgess@broadcom.com>
7826
7827 * gdb.python/py-template.exp: Don't run this test if the target
7828 does not support c++ tests.
7829
32019081
JK
78302011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7831
7832 Fix non-only rename list for Fortran modules import.
7833 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7834 tests.
7835 * gdb.fortran/module.f90 (module moduse): New.
7836 (program module): use moduse, test var_x, var_y and var_z.
7837
0ecee54c
TT
78382011-06-29 Tom Tromey <tromey@redhat.com>
7839
7840 PR testsuite/12040:
7841 * gdb.fortran/array-element.exp: Use f90, not f77.
7842 * gdb.fortran/complex.exp: Use f90, not f77.
7843 * gdb.fortran/derived-type.exp: Use f90, not f77.
7844 * gdb.fortran/library-module.exp: Use f90, not f77.
7845 * gdb.fortran/logical.exp: Use f90, not f77.
7846 * gdb.fortran/module.exp: Use f90, not f77.
7847 * gdb.fortran/multi-dim.exp: Use f90, not f77.
7848 * gdb.fortran/subarray.exp: Use f90, not f77.
7849
3b2b8fea
TT
78502011-06-29 Tom Tromey <tromey@redhat.com>
7851
7852 * gdb.fortran/charset.exp: New file.
7853 * gdb.fortran/charset.f90: New file.
7854
42159ca5
TT
78552011-06-29 Tom Tromey <tromey@redhat.com>
7856
7857 PR testsuite/12040:
7858 * lib/future.exp: New file, mostly extracted from ada.exp.
7859 Rewrote compatibility code to use rename.
7860 (gdb_find_gfortran): New proc.
7861 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7862 gfortran patch.
7863 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7864 Move to future.exp.
7865 * lib/gdb.exp: Always load future.exp.
7866
af69a5ce
YQ
78672011-06-28 Yao Qi <yao@codesourcery.com>
7868
7869 * gdb.cp/exception.cc: Don't include iostream.
7870 (bar): Remove print statement.
7871 (catcher): New.
7872 (main): Remove print statements. Call function catcher.
7873 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7874 Set breakpoint on catcher, and check the value of parameter.
7875
ab5c6a72
YQ
78762011-06-23 Yao Qi <yao@codesourcery.com>
7877
6fdff2c5
PA
7878 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7879 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 7880
9497469f
MP
78812011-06-23 Marek Polacek <mpolacek@redhat.com>
7882
7883 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7884 mi_gdb_test.
7885
b9132588
MP
78862011-06-23 Marek Polacek <mpolacek@redhat.com>
7887
5d197ed0 7888 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 7889
e55595ca
MP
78902011-06-23 Marek Polacek <mpolacek@redhat.com>
7891
5d197ed0
MP
7892 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7893
78942011-06-23 Marek Polacek <mpolacek@redhat.com>
7895
7896 * gdb.mi/mi2-basics.exp: Fix races. Honour the
7897 `test_exec_and_symbol_mi_operatons' return value.
7898 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7899 gdb_test_multiple.
7900 (test_exec_and_symbol_mi_operatons): Likewise.
7901 (test_path_specification): Likewise.
e55595ca 7902
be777e08
YQ
79032011-06-23 Yao Qi <yao@codesourcery.com>
7904
7905 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
7906 supported.
7907 * lib/gdb.exp (support_displaced_stepping): New.
7908
615556d6
YQ
79092011-06-23 Yao Qi <yao@codesourcery.com>
7910
7911 * gdb.threads/execl.exp: Skip on remote target.
7912
833b0ca7
MP
79132011-06-21 Marek Polacek <mpolacek@redhat.com>
7914
5d197ed0 7915 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
7916 mi_gdb_test.
7917
1ee4023a
MP
79182011-06-20 Marek Polacek <mpolacek@redhat.com>
7919
5d197ed0 7920 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 7921
d0b1d624
MP
79222011-06-20 Marek Polacek <mpolacek@redhat.com>
7923
5d197ed0 7924 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
7925 mi_gdb_test.
7926
79aa92c1
MP
79272011-06-20 Marek Polacek <mpolacek@redhat.com>
7928
5d197ed0 7929 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 7930
5ce5db06
YQ
79312011-06-14 Yao Qi <yao@codesourcery.com>
7932
7933 gdb/testsuite/
7934 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
7935
533a737e
JK
79362011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7937
7938 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
7939
d0e53741
TT
79402011-06-10 Tom Tromey <tromey@redhat.com>
7941
7942 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
7943 Add tests for pointer-to-member-function.
7944 * gdb.cp/temargs.cc (S::somefunc): New function.
7945 (K2): New class.
7946 (main): Instantiate K2; call method.
7947
b5916bbd
JB
79482011-06-08 Joel Brobecker <brobecker@adacore.com>
7949
7950 * gdb.python/py-inferior.c (f2): Make str an array rather
7951 than a pointer.
7952 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
7953
5be4dfca
JK
79542011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7955
7956 * gdb.base/async-shell.c: New file.
7957 * gdb.base/async-shell.exp: New file.
7958
9f47e254
PA
79592011-06-06 Pedro Alves <pedro@codesourcery.com>
7960
7961 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
7962
64b9b334
JB
79632011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
7964
7965 From Stephen Kitt <steve@sk2.org>
7966 * gdb.base/help.exp: Adjust following some spelling corrections
7967 in GDB.
7968
dbc0f131
YQ
79692011-06-01 Yao Qi <yao@codesourcery.com>
7970
7971 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
7972
fd336a18
KS
79732010-05-31 Keith Seitz <keiths@redhat.com>
7974
7975 PR c++/12750
7976 * gdb.cp/static-method.cc: New file.
7977 * gdb.cp/static-method.exp: New file.
7978
fa8b9902
KS
79792010-05-31 Keith Seitz <keiths@redhat.com>
7980
7981 PR symtab/12704
7982 * gdb.cp/anon-ns.cc: New file.
7983 * gdb.cp/anon-ns.exp: New file.
7984
0a5b1e09
PA
79852011-05-31 Pedro Alves <pedro@codesourcery.com>
7986
7987 * gdb.arch/i386-dr3-watch.c: New file.
7988 * gdb.arch/i386-dr3-watch.exp: New file.
7989
0578b8d1
YQ
79902011-05-30 Yao Qi <yao@codesourcery.com>
7991
7992 * gdb.base/callfuncs.c (t_structs_fc): New.
7993 (t_structs_dc, t_structs_ldc): New.
7994 (t_double_many_args):
7995 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
7996 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
7997 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
7998 * gdb.base/callfuncs.exp: Call new functions.
7999
6680506e
YQ
80002011-05-30 Yao Qi <yao@codesourcery.com>
8001
ff4d2c60
YQ
8002 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8003 Call rerun_and_prepare for each test to isolate effects.
8004
80052011-05-30 Yao Qi <yao@codesourcery.com>
8006
8007 * gdb.base/varargs.c (find_max_float_real): New.
8008 (find_max_double_real, find_max_long_double_real): New.
8009 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
8010 * lib/gdb.exp (setup_kfail_for_target): New.
8011
e43ec454
YQ
80122011-05-30 Yao Qi <yao@codesourcery.com>
8013
8014 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8015 (callcd, callce, callcf, callc1a, callc1b): New.
8016 (callc2a, callc2b): New.
8017 * gdb.base/funcargs.exp (complex_args): New.
8018 (complex_integral_args, complex_float_integral_args): New.
8019 * lib/gdb.exp (support_complex_tests): New. Determine
8020 whether to run test cases on _Complex types.
8021
432b4d03
JK
80222011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8023
8024 * gdb.threads/leader-exit.c: New file.
8025 * gdb.threads/leader-exit.exp: New file.
8026
6caf069d
MP
80272011-05-27 Marek Polacek <mpolacek@redhat.com>
8028
9497469f 8029 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 8030
97fce28b
MP
80312011-05-27 Marek Polacek <mpolacek@redhat.com>
8032
8033 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8034 remove the `supported' variable.
8035 * gdb.mi/mi-nonstop.exp: Likewise.
8036 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8037 * gdb.mi/mi-nsintrall.exp: Likewise.
8038 * gdb.mi/mi-nsmoribund.exp: Likewise.
8039 * gdb.mi/mi-nsthrexec.exp: Likewise.
8040
9da8c2a0
PA
80412011-05-26 Pedro Alves <pedro@codesourcery.com>
8042
8043 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8044
2c03e5be
PA
80452011-05-26 Pedro Alves <pedro@codesourcery.com>
8046
8047 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8048
2e21250d
KS
80492011-05-24 Keith Seitz <keiths@redhat.com>
8050
8051 PR breakpoint/12803
8052 * gdb.cp/cmpd-minsyms.cc (a): New method.
8053 (b): New method.
8054 (c): New method.
8055 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8056
cdac0397
PA
80572011-05-24 Pedro Alves <pedro@codesourcery.com>
8058
8059 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8060 watchpoint's command list didn't execute when the watchpoint went
8061 out of scope.
8062
ee5683ab
PM
80632011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8064
8065 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8066 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8067 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8068 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8069 * gdb.arch/i386-permbkpt.exp: Likewise.
8070 * gdb.arch/i386-prologue.exp: Likewise.
8071 * gdb.arch/i386-size-overlap.exp: Likewise.
8072 * gdb.arch/i386-size.exp: Likewise.
8073 * gdb.arch/i386-unwind.exp: Likewise.
8074 * gdb.reverse/i386-precsave.exp: Likewise.
8075 * gdb.reverse/i386-reverse.exp: Likewise.
8076 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8077 * gdb.reverse/i387-env-reverse.exp: Likewise.
8078 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8079
c91c8c16
PA
80802011-05-24 Pedro Alves <pedro@codesourcery.com>
8081
8082 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8083 file doesn't error, using MI.
8084
c50491a7
TT
80852011-05-23 Tom Tromey <tromey@redhat.com>
8086
8087 * gdb.base/charset.exp (string_display): Add tests to assign to
8088 arrays.
8089 * gdb.base/charset.c (short_array, int_array, long_array): New.
8090
4a07b7da
PA
80912011-05-20 Pedro Alves <pedro@codesourcery.com>
8092
8093 Cope with async mode.
8094
4a07b7da
PA
8095 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8096 into gdb_test + mi_expect_stop.
8097
b275f2d2
PA
80982011-05-20 Pedro Alves <pedro@codesourcery.com>
8099
8100 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8101 (callme): Remove printf call.
8102
eec52c44
PM
81032011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8104
8105 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8106 quote pattern to avoid problems with Cygwin/mingw expect versions.
8107 * gdb.base/default.exp (show convenience): Use double
8108 quote pattern for regular expressions.
8109
b3c8eb43
JK
81102011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8111
8112 Fix -readnow for -gdwarf-4 unused type units.
8113 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8114 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8115
ed731959
JK
81162011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8117
8118 * gdb.base/kill-after-signal.c: New file.
8119 * gdb.base/kill-after-signal.exp: New file.
8120
3b48433d
PA
81212011-05-16 Pedro Alves <pedro@codesourcery.com>
8122
8123 * gdb.ada/start.exp: Call untested with the correct test filename.
8124 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8125 test filename. Make the test's binary unique.
8126 * gdb.arch/i386-signal.exp: Call untested with the correct test
8127 filename.
8128 * gdb.arch/i386-size-overlap.exp: Ditto.
8129 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8130 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8131 * gdb.cp/call-c.exp: Ditto.
8132 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8133 filename. Make the test's binary unique.
8134 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8135 * gdb.python/py-mi.exp: Ditto.
8136 * gdb.python/Makefile.in (EXECUTABLES): Update.
8137 * gdb.reverse/i386-precsave.exp: Ditto.
8138 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8139 test filename.
8140 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8141 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8142 unique.
8143 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8144 test filename.
8145 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8146 * gdb.trace/tfile.exp: Ditto.
8147
ba4a8bdd
YQ
81482011-05-14 Yao Qi <yao@codesourcery.com>
8149
8150 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8151 type.
8152
dbaefcf7
DE
81532011-05-13 Doug Evans <dje@google.com>
8154
8155 * gdb.python/py-objfile-script.exp: New file.
8156 * gdb.python/py-objfile-script.c: New file.
8157 * gdb.python/py-objfile-script-gdb.py: New file.
8158 * testsuite/gdb.python/py-section-script.exp: Test
8159 "info auto-load-scripts".
8160
9930639c
TT
81612011-05-13 Tom Tromey <tromey@redhat.com>
8162
8163 * gdb.dwarf2/clztest.exp: New file.
8164 * gdb.dwarf2/clztest.c: New file.
8165 * gdb.dwarf2/clztest.S: New file.
8166
05272e11
DE
81672011-05-13 Doug Evans <dje@google.com>
8168
cc63ef9b
DE
8169 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8170 String16 tests.
05272e11 8171
6edba76f
TT
81722011-05-13 Tom Tromey <tromey@redhat.com>
8173
8174 * lib/gdb.exp (is_x86_like_target): New proc.
8175 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8176 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8177 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8178 -nostdlib to compiler.
8179 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8180 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8181 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8182 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8183 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8184
028d0ed5
TJB
81852011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8186
8187 * gdb.python/py-function.exp: Test setting a value from a function
8188 which executes a command.
8189
8a9b8146
TT
81902011-05-12 Tom Tromey <tromey@redhat.com>
8191
8192 * gdb.dwarf2/typeddwarf.S: New file.
8193 * gdb.dwarf2/typeddwarf.c: New file.
8194 * gdb.dwarf2/typeddwarf.exp: New file.
8195
10483e8e
MP
81962011-05-12 Marek Polacek <mpolacek@redhat.com>
8197
8198 * gdb.mi/mi-basics.exp: Fix races. Honour the
8199 `test_exec_and_symbol_mi_operatons' return value.
8200 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8201 gdb_test_multiple.
8202 (test_exec_and_symbol_mi_operatons): Likewise.
8203 (test_path_specification): Likewise.
8204
faf067f1
JK
82052011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8206
8207 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8208 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8209 Replace `file copy' and `file rename' by `file mtime'. Twice.
8210
7ff911a3
JK
82112011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8212
8213 * gdb.base/readline-ask.c: New file.
8214 * gdb.base/readline-ask.exp: New file.
8215 * gdb.base/readline-ask.inputrc: New file.
8216
a536c6d7
UW
82172011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8218
8219 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8220 to avoid race condition.
8221 * gdb.cell/coremaker.c: Use small stack size.
8222 * gdb.cell/ea-standalone.exp: Use file name without path as
8223 argument to c_to.
8224 * gdb.cell/fork.exp: Allow other output when continuing to end.
8225
d472a426
JK
82262011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8227
8228 * gdb.threads/corethreads.c: New file.
8229 * gdb.threads/corethreads.exp: New file.
8230
82312011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
8232
8233 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8234 Try to compile the test using -Wl,-z,norelro first.
8235 (load_core): New variable libthread_db_seen, initialize it.
8236 (zeroed-threads cannot be listed): Protect it by XFAIL on
8237 !$libthread_db_seen.
8238
8be455d7
JK
82392011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8240
8241 PR 12573
8242 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8243 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8244 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8245
1976171a
JK
82462011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8247
8248 * gdb.cp/psymtab-parameter.cc: New file.
8249 * gdb.cp/psymtab-parameter.exp: New file.
8250
7db6f30f
JK
82512011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8252
8253 Fix a race.
8254 * gdb.cp/static-print-quit.exp (print c): Split to ...
8255 (print c - <return>, print c - q <return>, print c - to quit):
8256 ... these. Make the testfile untested on gdb-7.1.
8257
85161e9e 82582011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
8259
8260 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8261 gdb_rename_execfile, gdb_touch_execfile): New.
8262 * gdb.base/reread.exp: Use new procs to handle multiple
8263 exec files.
8264
0c51be18
YQ
82652011-05-05 Yao Qi <yao@codesourcery.com>
8266
8267 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8268 (test_adr_32bit, test_pop_pc): New.
8269 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8270 (test_adr_32bit, test_pop_pc): New.
8271
4d393d60
JM
82722011-05-04 Joseph Myers <joseph@codesourcery.com>
8273
8274 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8275 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8276 targets.
8277 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8278 handle targets.
8279
8ffd0459
JK
82802011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8281
8282 * gdb.base/completion.exp (complete help info wat): Rename to ...
8283 (complete 'help info wat'): ... here.
8284 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8285 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8286
8e28d804
PA
82872011-05-04 Pedro Alves <pedro@codesourcery.com>
8288
8289 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8290 gdb_test and explicit $gdb_prompt/timeout matches.
8291
3eb2ef34
YQ
82922011-05-04 Yao Qi <yao@codesourcery.com>
8293
8294 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8295 and __thumb2__.
8296
aaaf81a3
MP
82972011-05-03 Marek Polacek <mpolacek@redhat.com>
8298
8299 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8300 in place of `gdb_test "delete breakpoints"'. This eliminates two
8301 testcases.
8302
c4cbc0df
PA
83032011-05-02 Pedro Alves <pedro@codesourcery.com>
8304
8305 PR testsuite/12649
8306 Fix races.
8307
8308 * gdb.base/completion.exp: Remove all sleep calls. Remove
8309 unnecessary regexs. Don't explicitly expect anything after the
8310 prompt. Eat the prompt if necessary.
8311
b4cbb4a3
EBM
83122011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8313
8314 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8315 accept to show the caller line again as well as the line after.
8316
d65aec65
PM
83172011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8318
8319 PR mi/12531
8320
8321 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8322 compile target.
8323 * gdb.python/py-prettyprint.exp: Add C++ object for
8324 CPLUS_FAKE_CHILD test.
8325
30852783
UW
83262011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8327
8328 * gdb.base/signest.exp: New file.
8329 * gdb.base/signest.c: Likewise.
8330
c7b1f0d9
JK
83312011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8332
8333 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8334 thread and breakpoint notifications.
8335
559a7a62
JK
83362011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8337
8338 * gdb.base/fortran-sym-case.c: New file.
8339 * gdb.base/fortran-sym-case.exp: New file.
8340 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8341 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8342 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8343
8344e389
JK
83442011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8345
8346 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8347 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8348 false #1', `if true else false #2' and `if true else false #3'.
8349
2484c66b
UW
83502011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8351
8352 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8353 while delivering signal.
8354
8d3788bd
VP
83552011-04-27 Vladimir Prus <vladimir@codesourcery.com>
8356
8357 MI breakpoint notifications.
8358
8359 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
8360 * testsuite/gdb.mi/mi2-cli.exp: Adust.
8361 * testsuite/gdb.mi/mi-watch.exp: Adust.
8362 * testsuite/gdb.mi/mi2-watch.exp: Adust.
8363 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8364 notifications.
8d3788bd 8365
3e03848b
JK
83662011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8367
8368 * gdb.base/gdbindex-stabs-dwarf.c: New file.
8369 * gdb.base/gdbindex-stabs.c: New file.
8370 * gdb.base/gdbindex-stabs.exp: New file.
8371
918c9108
YQ
83722011-04-25 Yao Qi <yao@codesourcery.com>
8373
8374 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8375 with /*...*/.
8376 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8377
90556b8c
JK
83782011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8379
8380 * gdb.python/py-value.exp (test_objfiles): Name the first test
8381 `py-value in file.filename'.
8382
03f2bd59
JK
83832011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8384
8385 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8386 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8387 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8388 !gdbserver_reconnect_p..
8389 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8390
7b08b9eb
JK
83912011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8392
8393 * gdb.cp/cpcompletion.exp (complete class methods)
8394 (complete class methods beginning with F): Move them above runto. New
8395 comment about the runto delimiter.
8396
b78974c3
PA
83972011-04-20 Pedro Alves <pedro@codesourcery.com>
8398
8399 * gdb.base/maint.exp: Test that "maint print registers" works
8400 without a running program.
8401
20429c40 84022011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 8403
20429c40
MP
8404 * gdb.base/setshow.exp: Fix racy tests.
8405 ($old_gdb_prompt): New variable.
8406
7a9dd1b2
TT
84072011-04-19 Tom Tromey <tromey@redhat.com>
8408
8409 * gdb.mi/mi-nsmoribund.exp:
8410 * gdb.hp/gdb.objdbg/objdbg01.exp:
8411 * gdb.base/structs.exp (test_struct_returns):
8412 * gdb.base/call-sc.exp (test_scalar_returns):
8413 * gdb.base/bigcore.exp: Remove duplicate words.
8414
02835898
JK
84152011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8416
8417 * gdb.base/break-interp-lib.c (v, vptr): New variables.
8418 * gdb.base/break-interp.exp (test_attach): New comment.
8419
254f582e
JK
84202011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8421
8422 * gdb.threads/gcore-thread.exp ($core0file): New variable.
8423 (clear __stack_user.next, clear stack_used.next)
8424 (save a zeroed-threads corefile): New test.
8425 Call core_load for $core0file.
8426 (zeroed-threads cannot be listed): New test.
8427
4fe85f5c
JK
84282011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8429
8430 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8431 filename.
8432 ($srcfile): Preserve the original value.
8433 ($testfile): Match it the .exp filename.
8434 ($corefile): New variable. Substitute it around.
8435 Use clean_restart.
8436 ($prev_timeout): Remove.
8437 (load_core): Move core loading into this proc.
8438 Fix restore of $timeout if load_core fails.
8439
63524580
JK
84402011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8441
8442 * gdb.base/eu-strip-infcall.c: New file.
8443 * gdb.base/eu-strip-infcall.exp: New file.
8444
90359a16
JK
84452011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8446
8447 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8448 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8449
626e7282
JK
84502011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8451
8452 Fix Python access to inlined frames.
8453 * gdb.python/py-frame-inline.c: New file.
8454 * gdb.python/py-frame-inline.exp: New file.
8455
3363d018
EBM
84562011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
8457
8458 * gdb.base/gdb1090.exp: Change breakpoint location to read the
8459 content of 's24' correctly (avoiding "optimized out").
8460 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8461
28781456
JK
84622011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8463
8464 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8465
4a4106ca
TJB
84662011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8467
8468 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8469 expect a colon in watch -location output.
8470
d26ccb4f
JK
84712011-04-13 Marek Polacek <mpolacek@redhat.com>
8472
df46027d 8473 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
8474 New testcase `expect response to define backtrace'. Also remove
8475 redundant `default' block.
8476
e1ab1f9c
JK
84772011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8478
8479 * gdb.python/py-prettyprint.c (struct hint_error): New.
8480 (main): New variable hint_error.
8481 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8482 "print hint_error".
8483 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8484 (register_pretty_printers): Register it.
8485
0c2e6019
TT
84862011-04-04 Tom Tromey <tromey@redhat.com>
8487
8488 * gdb.cp/maint.exp (test_help): Update.
8489 (test_namespace): Likewise.
8490
af57139d
JB
84912011-04-01 Joel Brobecker <brobecker@adacore.com>
8492
8493 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8494 * gdb.ada/arrayptr.exp: Add new tests.
8495
956a9fb9
JB
84962011-04-01 Joel Brobecker <brobecker@adacore.com>
8497
8498 * gdb.ada/mi_catch_ex: New testcase.
8499
d0c4d642
PA
85002011-04-01 Pedro Alves <pedro@codesourcery.com>
8501
8502 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8503 base::overload(void) method without specifying "const".
8504
18819fa6
UW
85052011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
8506
8507 * gdb.arch/thumb-singlestep.S: New file.
8508 * gdb.arch/thumb-singlestep.exp: Likewise.
8509
a4c8e806
TT
85102011-03-31 Tom Tromey <tromey@redhat.com>
8511
8512 * gdb.python/py-prettyprint.py (exception_flag): New global.
8513 (NoStringContainerPrinter._iterator.next): Check it.
8514 * gdb.python/py-prettyprint.c (main): New variable nstype2.
8515 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8516
53832f31
TT
85172011-03-29 Tom Tromey <tromey@redhat.com>
8518
8519 * gdb.cp/anon-struct.cc: New file.
8520 * gdb.cp/anon-struct.exp: New file.
8521
e4620230
JK
85222011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8523
8524 Test STT_GNU_IFUNC support.
8525 * gdb.base/gnu-ifunc-lib.c: New file.
8526 * gdb.base/gnu-ifunc.c: New file.
8527 * gdb.base/gnu-ifunc.exp: New file.
8528
d0fb5eae
JK
85292011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8530
8531 Support a ring of related breakpoints.
8532 * gdb.base/watchpoint-delete.c: New file.
8533 * gdb.base/watchpoint-delete.exp: New file.
8534
20106cfb
JK
85352011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8536
8537 * gdb.ada/arrayparam.exp (print first after function call): Use
8538 explicit package name. Add a comment
8539 (print lasta after function call): Rename ...
8540 (print last after function call): ... it and use explicit package
8541 name.
8542 (print length after function call): Use explicit package name.
8543 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
8544 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
8545 (multiple matches for symbol i): Rename ...
8546 (multiple matches for symbol integervar): ... it.
8547 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
8548 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
8549
e7ab5e63
AB
85502011-03-25 Andrew Burgess <aburgess@broadcom.com>
8551
8552 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
8553 environment variable to make grep output more predictable. Move
8554 all the environment setup into gdb_init so it's done once per test
8555 case rather than each time we start gdb.
8556
9ef07c8c
TT
85572011-03-24 Tom Tromey <tromey@redhat.com>
8558
8559 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
8560 test.
8561
dd90784c
JK
85622011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8563
8564 * gdb.dwarf2/dw2-entry-value-main.c: New file.
8565 * gdb.dwarf2/dw2-entry-value.S: New file.
8566 * gdb.dwarf2/dw2-entry-value.exp: New file.
8567
05775840
PM
85682011-03-22 Phil Muldoon <pmuldoon@redhat.com>
8569
6fdff2c5 8570 PR python/12183
05775840
PM
8571
8572 * gdb.python/py-function.exp: Add GdbError tests.
8573
8661b11b
PA
85742011-03-18 Pedro Alves <pedro@codesourcery.com>
8575
8576 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
8577 (reglocal_test_func, statlocal_test_func): New functions.
8578 (globals_test_func): Call new functions.
8579 * gdb.trace/unavailable.exp (gdb_collect_args_test)
8580 (gdb_collect_locals_test): New procedure.
8581 (gdb_trace_collection_test): Call new procedures.
8582
0fdb4f18
PA
85832011-03-18 Pedro Alves <pedro@codesourcery.com>
8584
8585 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
8586 (test_register, test_register_unavailable): New procedures.
8587 (gdb_unavailable_registers_test): New procedure.
8588 (gdb_trace_collection_test): Call it.
8589
99c3dc11
PM
85902011-03-18 Phil Muldoon <pmuldoon@redhat.com>
8591
6fdff2c5 8592 PR python/12149
99c3dc11
PM
8593
8594 * gdb.python/python.exp: Add gdb.write tests.
8595
29703da4
PM
85962010-03-17 Phil Muldoon <pmuldoon@redhat.com>
8597
8598 * gdb.python/Makefile.in: Add py-objfile.
8599 * gdb.python/py-objfile.exp: New file.
8600 * gdb.python/py-objfile.c: New file.
8601 * gdb.python/py-block.exp: Add is_valid tests.
8602 * gdb.python/py-inferior.exp: Ditto.
8603 * gdb.python/py-infthread.exp: Ditto.
8604 * gdb.python/py-symbol.exp: Ditto.
8605 * gdb.python/py-symtab.exp: Ditto.
8606
598997c8
KS
86072011-03-16 Keith Seitz <keiths@redhat.com>
8608
8609 PR c++/12273
8610 * gdb.cp/cmpd-minsyms.exp: New test.
8611 * gdb.cp/cmpd-minsyms.cc: New file.
8612
8613 PR c++/11734
8614 * gdb.cp/ovsrch.exp: New test.
8615 * gdb.cp/ovsrch.h: New file.
8616 * gdb.cp/ovsrch1.cc: New file.
8617 * gdb.cp/ovsrch2.cc: New file.
8618 * gdb.cp/ovsrch3.cc: New file.
8619 * gdb.cp/ovsrch4.cc: New file.
8620
c91513d8
PP
86212011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8622
8623 PR gdb/12528
8624 * gdb.base/Makefile.in: Adjust EXECUTABLES.
8625 * gdb.base/break-on-linker-gcd-function.exp: New test.
8626 * gdb.base/break-on-linker-gcd-function.cc: New file.
8627
7470fc63
AT
86282011-03-15 Andreas Tobler <andreast@fgznet.ch>
8629
8630 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
8631
959e7469
PM
86322011-03-15 Phil Muldoon <pmuldoon@redhat.com>
8633
8634 * lib/gdb.exp (gdb_unload): Add another termination case.
8635
9373cf26
JK
86362011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8637
8638 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
8639 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
8640 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
8641 Provide a stub byte there.
8642 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
8643 DW_AT_entry_pc.
8644 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
8645
24e9cda0
UW
86462011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
8647
8648 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
8649 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
8650 "generic ABI, auto".
8651 (altivec_abi_tests): Accept vectors returned by reference.
8652
7371cf6d
PM
86532010-03-14 Phil Muldoon <pmuldoon@redhat.com>
8654
8655 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
8656
ce77046a
UW
86572011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
8658
8659 * gdb.python/py-section-script.exp: Skip test if no Python support.
8660
176400c3
UW
86612011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8662
8663 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
8664
ecec24e6
PM
86652011-03-10 Phil Muldoon <pmuldoon@redhat.com>
8666
8667 * gdb.python/py-parameter.exp: Update tests to the new Python
8668 parameter API. Add "no documentation" test. Add deprecated API
8669 backward compatibility test.
8670
5dbdd470
TT
86712011-03-09 Tom Tromey <tromey@redhat.com>
8672
8673 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
8674 gdb_continue_to_end.
8675
b66e66ee
MK
86762011-03-09 Mark Kettenis <kettenis@gnu.org>
8677
8678 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
8679 tabs.
8680
eceb0c5f
TT
86812011-03-09 Tom Tromey <tromey@redhat.com>
8682
8683 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
8684 parentheses.
8685 (gdb_continue_to_end): Add "allow_extra" parameter. Use
8686 $command.
8687 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8688 argument to gdb_continue_to_end.
8689 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
8690 argument to gdb_continue_to_end.
8691 * gdb.cp/annota3.exp: Fix regex.
8692 * gdb.cp/annota2.exp: Fix regex.
8693 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
8694 gdb_continue_to_end.
8695 * gdb.base/call-signal-resume.exp: Revert earlier patch.
8696 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
8697 gdb_continue_to_end.
8698
63154eca
PA
86992011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8700
8701 * gdb.server/ext-run.exp
8702 (load new file without any gdbserver inferior): New test.
8703
967d1f9b
TT
87042011-03-07 Tom Tromey <tromey@redhat.com>
8705
8706 * Makefile.in (TAGS): Rewrite.
8707
d68dcbb9
JK
87082011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8709
8710 * gdb.trace/report.exp (12.1: trace report #1): New match for the
8711 initial commands echo. New match for `Found trace'. Anchor all the
8712 other matches. Anchor and match for `No trace frame found' the final
8713 match.
8714
6bf58e63
TT
87152011-03-07 Tom Tromey <tromey@redhat.com>
8716
8717 * Makefile.in (TAGS): New target.
8718
fda326dd
TT
87192011-03-07 Tom Tromey <tromey@redhat.com>
8720
8721 * lib/opencl.exp (skip_opencl_tests): Update for exit message
8722 change.
8723 * lib/mi-support.exp (mi_gdb_test): Update for exit message
8724 change.
8725 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
8726 exit message change.
8727 (skip_altivec_tests): Update for exit message change.
8728 (skip_vsx_tests): Likewise.
8729 (gdb_continue_to_end): Likewise. Add 'command' argument.
8730 * lib/cell.exp (skip_cell_tests): Update for exit message change.
8731 * gdb.threads/tls.exp: Update for exit message change.
8732 * gdb.threads/thread-unwindonsignal.exp: Use
8733 gdb_continue_to_end.
8734 * gdb.threads/step.exp (step_it): Update for exit message change.
8735 (continue_all): Likewise.
8736 * gdb.threads/print-threads.exp (test_all_threads): Update for
8737 exit message change.
8738 * gdb.threads/interrupted-hand-call.exp: Use
8739 gdb_continue_to_end.
8740 * gdb.threads/execl.exp: Use gdb_continue_to_end.
8741 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
8742 gdb_continue_to_end.
8743 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
8744 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8745 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8746 * gdb.cp/method.exp: Update for exit message change.
8747 * gdb.cp/mb-templates.exp: Update for exit message change.
8748 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8749 * gdb.cp/annota3.exp: Update for exit message change.
8750 * gdb.cp/annota2.exp: Update for exit message change.
8751 * gdb.cell/fork.exp: Use gdb_continue_to_end.
8752 * gdb.base/term.exp: Update for exit message change.
8753 * gdb.base/step-test.exp (test_i): Update for exit message change.
8754 * gdb.base/sigstep.exp (advance): Update for exit message change.
8755 (advancei): Likewise.
8756 * gdb.base/siginfo.exp: Update for exit message change.
8757 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8758 * gdb.base/reread.exp: Use gdb_continue_to_end.
8759 * gdb.base/langs.exp: Use gdb_continue_to_end.
8760 * gdb.base/interrupt.exp: Update for exit message change.
8761 * gdb.base/gdb1555.exp: Update for exit message change.
8762 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8763 * gdb.base/ending-run.exp: Update for exit message change.
8764 * gdb.base/chng-syms.exp: Update for exit message change.
8765 * gdb.base/checkpoint.exp: Update for exit message change.
8766 * gdb.base/catch-syscall.exp (check_for_program_end): Use
8767 gdb_continue_to_end.
8768 (test_catch_syscall_with_wrong_args): Likewise.
8769 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8770 * gdb.base/break-interp.exp (test_ld): Update for exit message
8771 change.
8772 * gdb.base/bang.exp: Update for exit message change.
8773 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8774 (do_call_attach_tests): Likewise.
8775 * gdb.base/a2-run.exp: Update for exit message change.
8776 * gdb.arch/ppc-dfp.exp: Update for exit message change.
8777 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8778 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8779
dd19bd70
JK
87802011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8781
8782 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8783
30e62689
TT
87842011-03-03 Tom Tromey <tromey@redhat.com>
8785
8786 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8787 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8788 * gdb.hp/gdb.aCC/configure.ac: Remove.
8789 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8790 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8791 * gdb.hp/gdb.base-hp/configure.ac: Remove.
8792 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8793 * gdb.hp/gdb.compat/configure (Makefile): Remove.
8794 * gdb.hp/gdb.compat/configure.ac: Remove.
8795 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8796 * gdb.hp/gdb.defects/configure (Makefile): Remove.
8797 * gdb.hp/gdb.defects/configure.ac: Remove.
8798 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8799 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8800 * gdb.hp/gdb.objdbg/configure.ac: Remove.
8801 * gdb.hp/configure.ac: Remove.
8802 * gdb.hp/configure: Remove.
8803 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8804 substitution.
8805 (Makefile): Remove rule.
8806 * gdb.cell/configure.ac: Remove.
8807 * gdb.cell/configure: Remove.
8808 * gdb.stabs/Makefile.in (Makefile): Remove.
8809 (distclean): Don't remove config.status or config.log.
8810 * gdb.stabs/configure (Makefile): Remove.
8811 * gdb.stabs/configure.ac: Remove.
8812 * configure: Rebuild.
8813 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8814 Remove stabs- and cell-specific logic. Test for existence of
8815 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
8816 subdirectories, gdb.cell, and and gdb.stabs.
8817 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8818
c171f854
JB
88192011-03-03 Joel Brobecker <brobecker@adacore.com>
8820
8821 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8822 end of buffer.
8823
9a5193cb
JB
88242011-03-02 Joel Brobecker <brobecker@adacore.com>
8825
8826 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8827 gdb_test when running a test where we expected no output back.
8828
9bb4c1bb
MS
88292011-02-28 Michael Snyder <msnyder@vmware.com>
8830
8831 * gdb.cp/overload.cc: Change initializer value to integer.
8832
3bd0f5ef
MS
88332011-02-27 Michael Snyder <msnyder@vmware.com>
8834
8835 * gdb.multi/base.exp: Add test for remove-inferiors.
8836
2279eaad
JB
88372011-02-26 Joel Brobecker <brobecker@adacore.com>
8838
8839 * gdb.python/py-frame.exp: Simplify the initialization phase
8840 using prepare_for_testing.
8841
c82c0b55
MS
88422011-02-25 Michael Snyder <msnyder@vmware.com>
8843
8844 * gdb.multi/base.exp: Add tests for info inferiors with args.
8845
1d94651b
JK
88462011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8847
8848 * gdb.dwarf2/dw2-ranges.S: Rename to ...
8849 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8850 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8851 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8852 asmfile3. Comment the STABS (#3) file compilation. Compile
8853 everything through assembler. Provide KFAIL for symtab/12497.
8854 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8855 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8856 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8857 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8858
3bd0f5ef
MS
88592011-02-24 Michael Snyder <msnyder@vmware.com>
8860
8861 * gdb.base/break.exp: Add tests for delete breakpoints using
8862 convenience variables and value history references.
8863
12c1418e
MS
88642011-02-24 Michael Snyder <msnyder@vmware.com>
8865
8866 * gdb.base/break.exp: Remove debugging 'printf' accidentally
8867 left behind in previous check-in.
8868
e5a67952
MS
88692011-02-23 Michael Snyder <msnyder@vmware.com>
8870
8871 * gdb.base/break.exp: Add tests for "info break" with arguments.
8872 * gdb.trace/infotrace.exp: Update patterns for error and help.
8873 * gdb.base/completion.exp: Update pattern.
8874 * gdb.base/ena-dis-br.exp: Update pattern.
8875 * gdb.base/help.exp: Update patterns.
8876
88772011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
8878
8879 * gdb.base/memattr.exp: New test.
8880 * gdb.base/memattr.c: Test load for memattr.exp.
8881
6e6fbe60
DE
88822011-02-22 Doug Evans <dje@google.com>
8883
8884 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8885
1d41d745
MS
88862011-02-22 Michael Snyder <msnyder@vmware.com>
8887
8888 * Makefile.in: Make more clean.
8889 * gdb.ada/Makefile.in: Ditto.
8890 * gdb.arch/Makefile.in: Ditto.
8891 * gdb.asm/Makefile.in: Ditto.
8892 * gdb.base/Makefile.in: Ditto.
8893 * gdb.cp/Makefile.in: Ditto.
8894 * gdb.dwarf2/Makefile.in: Ditto.
8895 * gdb.java/Makefile.in: Ditto.
8896 * gdb.mi/Makefile.in: Ditto.
8897 * gdb.modula2/Makefile.in: Ditto.
8898 * gdb.python/Makefile.in: Ditto.
8899 * gdb.server/Makefile.in: Ditto.
8900 * gdb.stabs/Makefile.in: Ditto.
8901 * gdb.threads/Makefile.in: Ditto.
8902 * gdb.trace/Makefile.in: Ditto.
8903
79ba84ca
MS
89042011-02-22 Michael Snyder <msnyder@vmware.com>
8905
df46027d 8906 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
8907 info threads.
8908
b9b35694
JB
89092011-02-22 Joel Brobecker <brobecker@adacore.com>
8910
8911 * gdb.python/py-breakpoint.exp: Fix the expected output of
8912 one of the "maint info breakpoints" tests to accept the output
8913 generated on platforms that do not have hardware watchpoints.
8914
8bfb830f
JB
89152011-02-22 Joel Brobecker <brobecker@adacore.com>
8916
8917 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
8918 clean_restart. Be a little stricter in the expected output
8919 for one of the tests. Fix a typo in one of the comments.
8920
c45f3c54
JB
89212011-02-22 Joel Brobecker <brobecker@adacore.com>
8922
8923 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
8924 Delete variable binfile, no longer use. Add or modify test
8925 comments to make them unique.
8926
b97c863c
MS
89272011-02-21 Michael Snyder <msnyder@vmware.com>
8928
8929 * Makefile.in: Update for make clean.
8930 * gdb.ada/Makefile.in: Ditto.
8931 * gdb.arch/Makefile.in: Ditto.
8932 * gdb.asm/Makefile.in: Ditto.
8933 * gdb.base/Makefile.in: Ditto.
8934 * gdb.cp/Makefile.in: Ditto.
8935 * gdb.dwarf2/Makefile.in: Ditto.
8936 * gdb.java/Makefile.in: Ditto.
8937 * gdb.mi/Makefile.in: Ditto.
8938 * gdb.modula2/Makefile.in: Ditto.
8939 * gdb.python/Makefile.in: Ditto.
8940 * gdb.server/Makefile.in: Ditto.
8941 * gdb.stabs/Makefile.in: Ditto.
8942 * gdb.threads/Makefile.in: Ditto.
8943 * gdb.trace/Makefile.in: Ditto.
8944
aea5b279
MS
89452011-02-21 Michael Snyder <msnyder@vmware.com>
8946
8947 * gdb.threads/thread-find.exp: Update patterns for changes in
8948 output of "info threads" command.
8949
e3039479
UW
89502011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8951 Ulrich Weigand <uweigand@de.ibm.com>
8952
8953 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
8954 (skip_hw_watchpoint_tests): Likewise.
8955 (skip_hw_watchpoint_multi_tests): Likewise.
8956
b800ec70
UW
89572011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
8958
8959 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
8960 (skip_hw_watchpoint_tests): Likewise.
8961 (skip_hw_watchpoint_multi_tests): Likewise.
8962 (skip_hw_watchpoint_access_tests): Likewise.
8963
8964 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
8965 * gdb.base/pr11022.exp: Likewise.
8966 * gdb.base/watch-read.exp: Likewise.
8967 * gdb.base/watch_thread_num.exp: Likewise.
8968 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8969 * gdb.base/watchpoint-hw.exp: Likewise.
8970 * gdb.base/watchpoint.exp: Likewise.
8971 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
8972 * gdb.threads/watchthreads-reorder.exp: Likewise.
8973 * gdb.threads/watchthreads.exp: Likewise.
8974 * gdb.threads/watchthreads2.exp: Likewise.
8975
91033e37
JB
89762011-02-21 Joel Brobecker <brobecker@adacore.com>
8977
8978 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
8979 the debugger is unable to find the array bounds.
8980
eeaafae2
JK
89812011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8982
8983 * gdb.cp/typedef-operator.exp: New file.
8984 * gdb.cp/typedef-operator.cc: New file.
8985
e338d953
MS
89862011-02-17 Michael Snyder <msnyder@vmware.com>
8987
8988 * gdb.threads/thread-find.exp: Fix regular expressions.
8989
e67ad678
JB
89902011-02-17 Joel Brobecker <brobecker@adacore.com>
8991
8992 * gdb.ada/packed_array: Expand testcase to test printing of
8993 unconstrained packed array.
8994
93084bca
JB
89952011-02-17 Joel Brobecker <brobecker@adacore.com>
8996
8997 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
8998
a0c78a73
PA
89992011-02-16 Pedro Alves <pedro@codesourcery.com>
9000
f65d5553 9001 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
9002 (main): Initialize it before collecting, and and clear it
9003 afterwards.
f65d5553
PA
9004 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9005 collecting with '{type} addr', where the addr expression is not an
9006 rvalue.
a0c78a73 9007
3dfcbbd2
KW
90082011-02-16 Ken Werner <ken.werner@de.ibm.com>
9009
9010 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9011 a bool variable. Expect correct OpenCL names for vector types. Use the
9012 uc3 variable name instead of referring to the uchar3 built-in type.
9013 Escape the asterisk at the half pointer test.
9014
08807d5a
PA
90152011-02-16 Pedro Alves <pedro@codesourcery.com>
9016
f65d5553 9017 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
9018 (main): Initialize it before collecting, and and clear it
9019 afterwards.
f65d5553
PA
9020 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9021 collecting overlapping memory ranges.
08807d5a 9022
60f98dde
MS
90232011-02-15 Michael Snyder <msnyder@vmware.com>
9024
9025 * gdb.base/default.exp: Add tests for thread commands.
9026 * gdb.base/help.exp: Add tests for thread commands.
9027 * gdb.threads/thread-find.exp: New test for thread find command.
9028
648cd113
KW
90292011-02-15 Ken Werner <ken.werner@de.ibm.com>
9030
9031 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9032
494e194e
YQ
90332011-02-15 Yao Qi <yao@codesourcery.com>
9034
9035 PR tdep/12352
9036 * gdb.arch/arm-disp-step.S : New test for str instruction.
9037 * gdb.arch/arm-disp-step.exp : Likewise.
9038
d9492458
TJB
90392011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9040
9041 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9042 "vector_register2_vr" test strings. Test the extended floating
9043 point registers (F32~F63).
9044 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9045 IBM XL C compiler. Make the test program use a register provided
9046 by the compiler for the lxvd2x instruction.
9047
8af8e3bc
PA
90482011-02-14 Pedro Alves <pedro@codesourcery.com>
9049
9050 * gdb.trace/unavailable.cc (class Base, class Middle, class
9051 Derived): New types.
9052 (derived_unavail, derived_partial, derived_whole): New globals.
9053 (virtual_partial): New global.
9054 (virtualp): Point at virtual_partial.
9055 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9056 related to unavailable vptr.
9057
1b28d0b3
PA
90582011-02-14 Pedro Alves <pedro@codesourcery.com>
9059
9060 * gdb.trace/unavailable.cc (a, b, c): New globals.
9061 (main): Set and clear them.
9062 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9063 `a' and `c', and check that `b' isn't collected, although `a' and
9064 `c' are.
9065
ec0a52e1
PA
90662011-02-14 Pedro Alves <pedro@codesourcery.com>
9067
9068 * gdb.trace/unavailable.cc (struct Virtual): New.
9069 (virtualp): New global pointer.
9070 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9071 printing a pointer to an object whose type has a vtable, with
9072 print object on.
9073
24e6bcee
PA
90742011-02-14 Pedro Alves <pedro@codesourcery.com>
9075
9076 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9077 value repeat handles unavailableness.
9078
39d37385
PA
90792011-02-14 Pedro Alves <pedro@codesourcery.com>
9080
9081 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9082 tests for building arrays from unavailable values, subscripting
9083 non-memory rvalue unvailable arrays, and accessing fields or
9084 baseclasses of non-lazy unavailable values,
9085 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9086 struct types.
9087 (g_smallstruct, g_smallstruct_b): New globals.
9088
06d72e16
PA
90892011-02-14 Pedro Alves <pedro@codesourcery.com>
9090
9091 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9092
bc9a5551
JK
90932011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9094
9095 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9096 * gdb.cp/overload-const.exp: New file.
9097 * gdb.cp/overload-const.cc: New file.
9098
54fcddd0
UW
90992011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9100
9101 * gdb.opencl/callfuncs.cl: New file.
9102 * gdb.opencl/callfuncs.exp: New test.
9103 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9104
d6dafb7c
UW
91052011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9106
9107 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9108 when computing result.
9109 * gdb.arch/altivec-abi.exp: Update expected results.
9110
a449c2d8
TJB
91112011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9112
9113 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9114 * gdb.base/jit.exp: Likewise.
9115 * gdb.base/pie-execl.exp: Likewise.
9116 * gdb.base/solib-nodir.exp: Likewise.
9117 * gdb.base/solib-overlap.exp: Likewise.
9118
764880b7
PA
91192011-02-07 Pedro Alves <pedro@codesourcery.com>
9120
9121 * gdb.trace/collection.c (global_pieces): New.
9122 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9123 New procedure.
9124 (gdb_trace_collection_test): Call it.
9125
505500db
SW
91262011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9127
9128 * gdb.python/py-evthreads.c: New file.
9129 * gdb.python/py-evthreads.exp: New file.
9130 * gdb.python/py-events.py: New file.
9131 * gdb.python/py-events.exp: New file.
9132 * gdb.python/py-events.c: New file.
9133
385203ed
DD
91342011-02-04 David Daney <ddaney@caviumnetworks.com>
9135
9136 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9137
9011945e
AB
91382011-02-03 Andrew Burgess <aburgess@broadcom.com>
9139
9140 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9141 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9142 boundary between two compilation units.
9143
580688f3
PA
91442011-02-02 Pedro Alves <pedro@codesourcery.com>
9145
9146 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9147 (Virtual): New structs.
9148 (virtual_o, virtual_middle_b): New globals.
9149 * gdb.cp/virtbase.exp: New tests.
9150
d3f0f853
PP
91512011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9152
9153 * gdb.base/jit.exp: New file.
9154 * gdb.base/jit-main.c: New file.
9155 * gdb.base/jit-solib.c: New file.
9156
b2030fb5
UW
91572011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9158
9159 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9160 proceed to initial kernel entry point.
9161 * gdb.opencl/datatypes.exp: Likewise.
9162 * gdb.opencl/operators.exp: Likewise.
9163 * gdb.opencl/vec_comps.exp: Likewise.
9164
2db19d1e
SW
91652011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9166
9167 * gdb.cp/nsnested.cc: New.
9168 * gdb.cp/nsnested.exp: New.
9169 * gdb.cp/nsnoimports.exp: New.
9170 * gdb.cp/nsnoimports.cc: New.
9171
6b0c4c1f
JB
91722011-01-31 Joel Brobecker <brobecker@adacore.com>
9173
9174 * gdb.base/interact.exp: Add extra tests that verify that
9175 the value of the interactive-mode setting does not change
9176 after the script is sourced.
9177
80b23b6a
JK
91782011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9179
9180 * gdb.cp/noparam.exp: New file.
9181 * gdb.cp/noparam.cc: New file.
9182
ffd5ec24
PA
91832011-01-28 Pedro Alves <pedro@codesourcery.com>
9184
9185 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9186 there's no stack or registers.
9187
a81766d8
TT
91882011-01-26 Tom Tromey <tromey@redhat.com>
9189
9190 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9191 space before string output. Add test for "set print pretty off"
9192 case.
9193
585fdaa1
PA
91942011-01-25 Pedro Alves <pedro@codesourcery.com>
9195
9196 * gdb.base/frame-args.exp: Adjust.
9197 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9198 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9199 * gdb.dwarf2/pieces.exp: Adjust.
9200 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9201 * gdb.opt/inline-locals.exp: Adjust.
9202 * gdb.threads/fork-child-threads.exp: Adjust.
9203
d468832a
KW
92042011-01-25 Ken Werner <ken.werner@de.ibm.com>
9205
9206 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9207 OpenCL kernel function. Add a comment as marker. Add address space
9208 qualifiers for the remaining program scope variables.
9209 * gdb.opencl/datatypes.cl: Likewise.
9210 * gdb.opencl/operators.cl: Likewise.
9211 * gdb.opencl/vec_comps.cl: Likewise.
9212 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9213 Add breakpoint at the marker comment.
9214 * gdb.opencl/datatypes.exp: Likewise.
9215 * gdb.opencl/operators.exp: Likewise.
9216 * gdb.opencl/vec_comps.exp: Likewise.
9217
490f124f
PA
92182011-01-24 Pedro Alves <pedro@codesourcery.com>
9219
9220 * gdb.base/printcmds.c (some_struct): New struct and instance.
9221 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9222 procedure.
9223 <global scope>: Call it.
9224
6da78614
KW
92252011-01-21 Ken Werner <ken.werner@de.ibm.com>
9226
9227 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9228 argument to the gdb_compile_opencl_hostapp call.
9229
ec64c9aa
YQ
92302011-01-19 Yao Qi <yao@codesourcery.com>
9231
9232 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9233 positve list.
9234
810cfdbb
YQ
92352011-01-19 Yao Qi <yao@codesourcery.com>
9236
9237 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9238 canonical form.
9239 Remove "xscale-*-*"
9240 * gdb.xml/tdesc-regs.exp: Likewise.
9241 * gdb.python/py-section-script.exp: Replace ARM target triplet
9242 with canonical form.
9243 Match arm*-*-symbianelf*.
9244 * gdb.base/dup-sect.exp: Likewise.
9245 * lib/dwarf.exp: New.
9246 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9247 dwarf2_support.
9248 * gdb.dwarf2/dup-psym.exp: Likewise.
9249 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9250 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9251 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9252 * gdb.dwarf2/dw2-basic.exp: Likewise.
9253 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9254 * gdb.dwarf2/dw2-const.exp: Likewise.
9255 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9256 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9257 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9258 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9259 * gdb.dwarf2/dw2-filename.exp: Likewise.
9260 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9261 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9262 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9263 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9264 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9265 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9266 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9267 * gdb.dwarf2/dw2-producer.exp: Likewise.
9268 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9269 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9270 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9271 * gdb.dwarf2/dw2-strp.exp: Likewise.
9272 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9273 * gdb.dwarf2/implptr.exp: Likewise.
9274 * gdb.dwarf2/mac-fileno.exp: Likewise.
9275 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9276 * gdb.dwarf2/pieces.exp: Likewise.
9277 * gdb.dwarf2/pr11465.exp: Likewise.
9278 * gdb.dwarf2/valop.exp: Likewise.
9279 * gdb.dwarf2/watch-notconst.exp: Likewise.
9280 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9281
4694da01
TT
92822011-01-19 Tom Tromey <tromey@redhat.com>
9283
9284 * gdb.python/py-infthread.exp: Add thread tests.
9285
b075872c
JB
92862011-01-14 Joel Brobecker <brobecker@adacore.com>
9287
9288 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9289
2c3e6e24
JB
92902011-01-14 Joel Brobecker <brobecker@adacore.com>
9291
9292 * gdb.ada/widewide: New testcase.
9293
de8fa76c
JB
92942011-01-13 Joel Brobecker <brobecker@adacore.com>
9295
9296 * gdb.base/interact.exp: New testcase.
9297
1b05df00
TT
92982011-01-12 Tom Tromey <tromey@redhat.com>
9299
9300 * gdb.mi/gdb2549.exp: Update for error message changes.
9301 * gdb.mi/mi-cli.exp: Likewise.
9302 * gdb.mi/mi-disassemble.exp: Likewise.
9303 * gdb.mi/mi-pthreads.exp: Likewise.
9304 * gdb.mi/mi-regs.exp: Likewise.
9305 * gdb.mi/mi-stack.exp: Likewise.
9306 * gdb.mi/mi-var-block.exp: Likewise.
9307 * gdb.mi/mi-var-cmd.exp: Likewise.
9308 * gdb.mi/mi2-cli.exp: Likewise.
9309 * gdb.mi/mi2-disassemble.exp: Likewise.
9310 * gdb.mi/mi2-pthreads.exp: Likewise.
9311 * gdb.mi/mi2-regs.exp: Likewise.
9312 * gdb.mi/mi2-stack.exp: Likewise.
9313 * gdb.mi/mi2-var-block.exp: Likewise.
9314 * gdb.mi/mi2-var-cmd.exp: Likewise.
9315
c2ff108b
JK
93162011-01-12 Andrew Burgess <aburgess@broadcom.com>
9317 Jan Kratochvil <jan.kratochvil@redhat.com>
9318
9319 PR fortran/11104 and DWARF unbound arrays detection.
9320 * gdb.fortran/multi-dim.exp: New file.
9321 * gdb.fortran/multi-dim.f90: New file.
9322
b716877b
AB
93232011-01-12 Andrew Burgess <aburgess@broadcom.com>
9324
9325 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9326 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9327 add new tests for opcode dumping.
9328
6c162d5e
TT
93292011-01-11 Tom Tromey <tromey@redhat.com>
9330
9331 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9332
77b06cd7
TJB
93332010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9334
9335 Convert hardware watchpoints to use breakpoint_ops.
9336 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9337 type is not supported.
9338 * gdb.base/foll-fork.exp: Likewise.
9339 * gdb.base/foll-vfork.exp: Likewise.
9340
f39a75d0
PM
93412011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9342
9343 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9344 Use load_lib gdb-python.exp.
9345 * gdb.python/python.exp: Ditto.
9346 * gdb.python/py-function.exp: Ditto.
9347
fc529d80
AS
93482011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9349
9350 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9351
fb03cb59
JK
93522011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9353
9354 * configure: Regenerate.
9355
d8e22779
TT
93562011-01-06 Tom Tromey <tromey@redhat.com>
9357
9358 * gdb.python/py-frame.exp: Test gdb.newest_frame.
9359
09050809
JB
93602011-01-06 Joel Brobecker <brobecker@adacore.com>
9361
fc529d80
AS
9362 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9363 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9364 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9365 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9366 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9367 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9368 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9369 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9370 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9371 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9372 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9373 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9374 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9375 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9376 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9377 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9378 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9379 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9380 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9381 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9382 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9383 gdb.ada/uninitialized_vars.exp,
9384 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9385 Simplify by using clean_restart.
09050809 9386
8ed5dd9e
JB
93872011-01-06 Joel Brobecker <brobecker@adacore.com>
9388
9389 Add marker to be used as anchor for inserting breakpoints.
9390 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9391 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9392 Likewise.
9393
9394 Remove uses of gdb_start_cmd.
9395 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9396 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9397
9398 Do not run testcase if testing with GDBserver.
9399 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9400 if testing with GDBserver.
9401
368a124f
JB
94022011-01-06 Joel Brobecker <brobecker@adacore.com>
9403
9404 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9405 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9406 copyright header.
9407
44944448
JB
94082011-01-05 Joel Brobecker <brobecker@adacore.com>
9409
9410 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9411 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9412 testsuite/gdb.fortran/complex.f,
9413 testsuite/gdb.fortran/derived-type.f90,
9414 testsuite/gdb.fortran/library-module-lib.f90,
9415 testsuite/gdb.fortran/library-module-main.f90,
9416 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9417 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9418 Copyright year update.
9419
31886ea6
JB
94202011-01-05 Joel Brobecker <brobecker@adacore.com>
9421
9422 * gdb.base/langs1.f: Add copyright header.
9423
ebedcab5
JK
94242011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9425
9426 * gdb.base/morestack.exp: New file.
9427 * gdb.base/morestack.c: New file.
9428
de1eb2f9
JK
94292011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9430
9431 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9432
9e87a409
JB
94332010-12-29 Joel Brobecker <brobecker@adacore.com>
9434
9435 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9436 * gdb.ada/arrayptr.exp: Add test printing that new variable.
9437
720d1a40
JB
94382010-12-29 Joel Brobecker <brobecker@adacore.com>
9439
9440 * gdb.ada/lang_switch.exp: Correct expected parameter value.
9441
a283af87
AS
94422010-12-25 Andreas Schwab <schwab@linux-m68k.org>
9443
5d3d9cba
AS
9444 * gdb.threads/tls.exp: Fix typo.
9445
a283af87
AS
9446 * gdb.threads/thread-specific.exp (get_thread_list): Update.
9447 * gdb.threads/execl.exp: Update.
9448
2a20745c
YQ
94492010-12-23 Yao Qi <yao@codesourcery.com>
9450
9451 * gdb.arch/arm-disp-step.exp: New.
9452 * gdb.arch/arm-disp-step.S: New.
9453
a7658b96
TT
94542010-12-21 Tom Tromey <tromey@redhat.com>
9455
9456 * gdb.threads/execl.exp: Update.
9457 * gdb.threads/linux-dp.exp: Update.
9458 * gdb.threads/manythreads.exp: Update.
9459 * gdb.threads/tls.exp: Update.
9460
5b79abe7
TT
94612010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9462
9463 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9464 (NextOverThrowDerivates) <resumebpt>: New.
9465 (resumebpt_test): New.
9466 (main): Call resumebpt_test.
9467 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9468
0914bcdb
SS
94692010-12-12 Stan Shebs <stan@codesourcery.com>
9470
9471 * gdb.trace/tsv.exp: Test print command on trace state variables.
9472
305aeedc
TT
94732010-12-09 Tom Tromey <tromey@redhat.com>
9474
9475 * gdb.base/interp.exp: Add regression test.
9476
186c406b
TT
94772010-12-09 Tom Tromey <tromey@redhat.com>
9478
9479 * gdb.java/jnpe.java: New file.
9480 * gdb.java/jnpe.exp: New file.
9481 * gdb.cp/nextoverthrow.exp: New file.
9482 * gdb.cp/nextoverthrow.cc: New file.
9483
aae1c79a
DE
94842010-12-07 Doug Evans <dje@google.com>
9485
9486 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9487 of data-directory.
9488 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9489 updated.
9490 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9491
60f98dde 94922010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
9493
9494 * gdb.base/callfuncs.exp: Test for skip_float_tests.
9495 * gdb.base/call-sc.exp: Ditto.
9496 * gdb.base/finish.exp: Ditto.
9497 * gdb.base/return.exp: Ditto.
9498 * gdb.base/return2.exp: Ditto.
9499
5fa290c1
DE
95002010-11-30 Doug Evans <dje@google.com>
9501
9502 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9503 (gdb_expect_list): Fix spelling errors in comments.
9504 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9505 send_gdb/gdb_expect_list where applicable.
9506 * gdb.base/call-ar-st.exp: Ditto.
9507 * gdb.base/funcargs.exp: Ditto.
9508 * gdb.base/gcore.exp: Ditto.
9509 * gdb.base/page.exp: Ditto.
9510 * gdb.base/sigaltstack.exp: Ditto.
9511 * gdb.base/siginfo.exp: Ditto.
9512 * gdb.base/sigstep.exp: Ditto.
9513 * gdb.base/trace-commands.exp: Ditto.
9514
4e04c971
DE
95152010-11-29 Doug Evans <dje@google.com>
9516
9517 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
9518 printer-name;subprinter-name.
9519
8cf6f0b1
TT
95202010-11-29 Tom Tromey <tromey@redhat.com>
9521
9522 * gdb.dwarf2/implptr.exp: New file.
9523 * gdb.dwarf2/implptr.c: New file.
9524 * gdb.dwarf2/implptr.S: New file.
9525
94b6973e
PM
95262010-11-29 Phil Muldoon <pmuldoon@redhat.com>
9527
fc529d80 9528 PR python/12199
94b6973e
PM
9529
9530 * gdb.python/py-breakpoint.exp: Test the delete method.
9531
8358c15c
JK
95322010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9533
9534 Fix step_resume_breakpoint unsaved during an infcall.
9535 * gdb.base/step-resume-infcall.exp: New file.
9536 * gdb.base/step-resume-infcall.c: New file.
9537
f6df29bc
TJB
95382010-11-24 Edjunior Machado <emachado@br.ibm.com>
9539
9540 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
9541
f2b5a5cf
TJB
95422010-11-24 Edjunior Machado <emachado@br.ibm.com>
9543
9544 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
9545 on ppc64's symbols; "finish" and "return" commands must accept to
9546 show the caller line again as well as the line after.
9547 * gdb.asm/powerpc64.inc: New file.
9548
6b0ecdc2
DE
95492010-11-23 Doug Evans <dje@google.com>
9550
9551 * lib/gdb.exp (gdb_test_sequence): New function.
9552 (gdb_expect_list): Add verbose -log call for each pattern.
9553 * gdb.base/signals.exp (test_handle_all_print): Call it.
9554 Reduce timeout increment from 6 minutes to 1 minute.
9555 * gdb.server/ext-run.exp: Call it.
9556
ea976c60
PM
95572010-11-23 Phil Muldoon <pmuldoon@redhat.com>
9558
f2b5a5cf 9559 PR python/12212
ea976c60
PM
9560
9561 * gdb.python/python.exp: Check that selected_thread raises an
9562 error when no inferior is loaded.
9563
c0efa795
JK
95642010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9565
9566 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
9567 * gdb.dwarf2/dw2-stack-boundary.S: New file.
9568
ec3aa567
JK
95692010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9570
9571 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
9572 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
9573
d8249011
DE
95742010-11-18 Doug Evans <dje@google.com>
9575
9576 * gdb.server/ext-run.exp: Fix intermittent failures.
9577
d4eba7d1
NF
95782010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9579
9580 * gdb.stabs/gdb11479.exp: Use runto_main.
9581
b04c2f88
NF
95822010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9583
9584 * gdb.base/break-entry.exp: Skip if using a stub.
9585
ae9d7ce4
NF
95862010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9587
9588 * gdb.python/py-inferior.exp: Pack values in target endianness.
9589
621c8364
TT
95902010-11-12 Tom Tromey <tromey@redhat.com>
9591
9592 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
9593 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
9594 MemoryError.
9595 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
9596 type.
9597 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
9598 MemoryError.
9599 (test_subscript_regression): Update exception type.
9600
84f4c1fe
PM
96012010-11-11 Phil Muldoon <pmuldoon@redhat.com>
9602
9603 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
9604 breakpoint tests.
9605
a1442452
PA
96062010-11-09 Pedro Alves <pedro@codesourcery.com>
9607
9608 * gdb.base/watchpoint.exp: Test "watch -location" with an
9609 innacessible location.
9610
efd11a33
JK
96112010-11-09 Edjunior Machado <emachado@br.ibm.com>
9612 Luis Machado <luisgpm@br.ibm.com>
9613
9614 * gdb.base/maint.exp: Expect "." prefix.
9615 * gdb.base/nodebug.exp: Expect "." Likewise.
9616 * gdb.base/sepsymtab.exp: Expect "." Likewise.
9617 * gdb.base/watchpoint-cond-gone.exp: Likewise.
9618 * gdb.base/watchpoint.exp: Expect a software watch to be created for
9619 POWER server processors.
9620
aa00efb5
JK
96212010-11-08 Edjunior Machado <emachado@br.ibm.com>
9622 Luis Machado <luisgpm@br.ibm.com>
9623
9624 * gdb.base/break-entry.exp: convert entry point for
9625 ppc64 and expect leading `.' on ppc64's symbols
9626
99e7ae30
DE
96272010-11-05 Doug Evans <dje@google.com>
9628
9629 * gdb.base/help.exp: Update expected output.
b521dba8
DE
9630 * gdb.python/py-param.exp: Delete, contents moved to ...
9631 * gdb.python/py-parameter.exp: ... here. New file.
9632 Add test for gdb.parameter ("directories").
99e7ae30 9633
f4b8a18d
KW
96342010-11-05 Ken Werner <ken.werner@de.ibm.com>
9635
9636 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
9637 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
9638 * configure: Regenerate.
9639 * gdb.opencl/Makefile.in: New File.
9640 * gdb.opencl/datatypes.exp: Likewise.
9641 * gdb.opencl/datatypes.cl: Likewise.
9642 * gdb.opencl/operators.exp: Likewise.
9643 * gdb.opencl/operators.cl: Likewise.
9644 * gdb.opencl/vec_comps.exp: Likewise.
9645 * gdb.opencl/vec_comps.cl: Likewise.
9646 * gdb.opencl/convs_casts.exp: Likewise.
9647 * gdb.opencl/convs_casts.cl: Likewise.
9648 * lib/opencl.exp: Likewise.
9649 * lib/opencl_hostapp.c: Likewise.
9650 * lib/opencl_kernel.cl: Likewise.
9651 * lib/cl_util.c: Likewise.
9652 * lib/cl_util.c: Likewise.
9653 * gdb.base/default.exp (set language): Add "opencl" to the list of
9654 languages.
9655
a9d5ef47
SW
96562010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
9657
9658 * gdb.cp/overload.exp: Added test for inheritance overload.
9659 * gdb.cp/overload.cc: Ditto.
9660 * gdb.cp/oranking.exp: Removed releveant kfails.
9661
03eb1c79
JK
96622010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9663 Joel Brobecker <brobecker@adacore.com>
9664
9665 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
9666 check test_compiler_info.
9667
dbc98a8b
KW
96682010-11-03 Ken Werner <ken.werner@de.ibm.com>
9669
9670 * gdb.base/gnu_vector.exp: Adjust expect messages.
9671
120bd360
KW
96722010-11-03 Ken Werner <ken.werner@de.ibm.com>
9673
9674 * gdb.base/gnu_vector.exp: Add unary operator tests.
9675
c37f7098
KW
96762010-11-03 Ken Werner <ken.werner@de.ibm.com>
9677
9678 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
9679
7b51bc51
DE
96802010-11-02 Doug Evans <dje@google.com>
9681
9682 * gdb.python/py-pp-maint.c: New file.
9683 * gdb.python/py-pp-maint.exp: New file.
9684 * gdb.python/py-pp-maint.py: New file.
9685
50c97f38
TT
96862010-11-02 Tom Tromey <tromey@redhat.com>
9687
9688 * gdb.base/default.exp: Remove "scheme" from language list.
9689
a289b8f6
JK
96902010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9691
9692 Revert:
9693 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9694 * gdb.threads/sigstep-threads.exp: New file.
9695 * gdb.threads/sigstep-threads.c: New file.
9696
cd017491
MS
96972010-10-20 Michael Snyder <msnyder@vmware.com>
9698
9699 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
9700
8e6a5956
UW
97012010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9702
9703 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
9704 Skip test completely if gdb,no_hardware_watchpoints.
9705
2c04da0d
UW
97062010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9707
9708 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
9709 strict, but do not check for any particular function name within libc.
9710
79afc5ef
SW
97112010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9712
9713 * gdb.cp/smartp.exp: New test.
9714 * gdb.cp/smartp.cc : New test.
9715
026ffab7
SW
97162010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9717
9718 * gdb.cp/converts.exp: Test pointer to bool conversion.
9719 Test pointer to long conversion.
9720 * gdb.cp/oranking.exp: Removed relevant kfail.
9721
3a772aa4
TT
97222010-10-18 Tom Tromey <tromey@redhat.com>
9723
9724 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
9725 argument to lazy_string.
9726 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
9727 (pp_ls.to_string): Use it.
9728 * gdb.python/py-prettyprint.c (main): Move declarations to top.
9729 Add "estring2" local.
9730
5fc3827b
JK
97312010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9732
9733 Fix s390x compatibility.
9734 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
9735 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
9736
8aeb23f3
JK
97372010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9738
9739 * gdb.threads/sigstep-threads.exp: New file.
9740 * gdb.threads/sigstep-threads.c: New file.
9741
c1e56572
JK
97422010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9743
9744 * gdb.base/pie-execl.exp: New file.
9745 * gdb.base/pie-execl.c: New file.
9746
92163a10
JK
97472010-10-13 Doug Evans <dje@google.com>
9748 Jan Kratochvil <jan.kratochvil@redhat.com>
9749
9750 PR exp/12117
9751 * gdb.cp/ptype-cv-cp.cc: New file.
9752 * gdb.cp/ptype-cv-cp.exp: New file.
9753
7062b0a0
SW
97542010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
9755
9756 * gdb.cp/converts.cc: New test program.
9757 * gdb.cp/converts.exp: New test.
9758 * gdb.cp/overload.exp: Added test for void* vs int*.
9759 * gdb.cp/overload.exp: Ditto.
9760 * gdb.cp/oranking.exp: Removed related kfail.
9761
0e3509db
DE
97622010-10-13 Doug Evans <dje@google.com>
9763
9764 * lib/gdb-python.exp (gdb_check_python_config): New function.
9765 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9766 * gdb.python/lib-types.cc: New file.
9767 * gdb.python/lib-types.exp: New file.
9768
8dc78533
JK
97692010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9770
9771 * gdb.python/py-error.exp: New file.
9772 * gdb.python/py-error.py: New file.
9773
93c17e06
JK
97742010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9775
9776 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9777 gdb_test_multiple.
9778
d8b34041
JK
97792010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9780
9781 * gdb.base/break-interp.exp: Use ldlags for linking flags.
9782 * gdb.base/prelink.exp: Likewise.
9783 * gdb.base/solib-nodir.exp: Likewise.
9784 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9785 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9786 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9787
e0cc584e
UW
97882010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
9789
9790 * break-interp.exp (test_ld): Use two separate gdb_expect statements
9791 for the "info files" test to avoid timeouts on slow machines.
9792
cfc353b1
JK
97932010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9794
9795 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9796 (main): Make openlib dummy call.
9797
d3d7896d
JK
97982010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9799
9800 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9801 * break-interp.exp (reach): Move the core body ...
9802 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
9803 (test_ld): Provide always real argument, even to the linker. Replace
9804 dl_main by _dl_debug_state.
9805
5e533c94
JK
98062010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9807
9808 Fix results of prelinked PIEs on ppc*.
9809 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9810 Accept also DISPLACEMENT "PRESENT".
9811 (main): Replace "ZERO" displacements by "PRESENT".
9812
33540610
SW
98132010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
9814
9815 * gdb.cp/oranking.exp: New test.
9816 * gdb.cp/oranking.cc: New test program.
9817
3bdf2bbd
KW
98182010-10-08 Ken Werner <ken.werner@de.ibm.com>
9819
9820 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9821 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9822
2f608a3a
KW
98232010-10-06 Ken Werner <ken.werner@de.ibm.com>
9824
9825 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9826 lush, lynx) New constant.
9827 * gdb.base/constvars.exp: Test const array types.
9828 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9829
aa2e2d8d
DE
98302010-10-06 Doug Evans <dje@google.com>
9831
9832 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9833 of syscall staging area.
9834
2844d6b5
KW
98352010-10-06 Ken Werner <ken.werner@de.ibm.com>
9836
9837 * gdb.base/gnu_vector.c: Add variable c4.
9838 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9839 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9840
7d8ac8bb
MR
98412010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
9842
9843 * gdb.arch/altivec-abi.exp: Fix a typo.
9844
84a02e58
MR
98452010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
9846
9847 * lib/mi-support.exp (thread_selected_re): Correct pattern used
9848 to match a thread ID.
9849
b18e6318
JK
98502010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9851
9852 Fix s390x testcase compatibility.
9853 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9854
a2c09bd0
DE
98552010-10-01 Doug Evans <dje@google.com>
9856
9857 * lib/gdb-python.exp: New file.
9858 * gdb.python/py-block.exp: Use it.
9859 * gdb.python/py-breakpoint.exp: Ditto.
9860 * gdb.python/py-frame.exp: Ditto.
9861 * gdb.python/py-inferior.exp: Ditto.
9862 * gdb.python/py-param.exp: Ditto.
9863 * gdb.python/py-prettyprint.exp: Ditto.
9864 * gdb.python/py-shared.exp: Ditto.
9865 * gdb.python/py-symbol.exp: Ditto.
9866 * gdb.python/py-symtab.exp: Ditto.
9867 * gdb.python/py-type.exp: Ditto.
9868 * gdb.python/py-value.exp: Ditto.
9869 * gdb.python/python.exp: Ditto.
9870
38f12cfc
TT
98712010-09-30 Tom Tromey <tromey@redhat.com>
9872
9873 * gdb.base/anon.exp: New file.
9874 * gdb.base/anon.c: New file.
9875
9ae8282d
TT
98762010-09-30 Tom Tromey <tromey@redhat.com>
9877
9878 * gdb.base/completion.exp: Test completion through anonymous
9879 union.
9880 * gdb.base/break1.c (struct some_struct): Add anonymous union.
9881
e9e07ba6
JK
98822010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9883
9884 Fix printing parameters of inlined functions.
9885 * gdb.dwarf2/dw2-inline-param.exp: New file.
9886 * gdb.dwarf2/dw2-inline-param-main.c: New file.
9887 * gdb.dwarf2/dw2-inline-param.S: New file.
9888
cd2effb2
JK
98892010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9890
9891 PR corefiles/12071.
9892 * gdb.base/corefile.exp (quit with a process, no question: load core)
9893 (quit with a core file): New tests.
9894
bceffbf3
JK
98952010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9896
9897 Fix GDB crash on inferior calls with self-referencing classes.
9898 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9899 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9900 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9901
1736ad11
JK
99022010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9903
9904 Fix lost siginfo_t for inferior calls.
9905 * gdb.base/siginfo-infcall.exp: New file.
9906 * gdb.base/siginfo-infcall.c: New file.
9907
a176ad92
JB
99082010-09-22 Joel Brobecker <brobecker@adacore.com>
9909
9910 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
9911
c2b0a229
JK
99122010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9913
9914 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
9915 New test.
9916 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
9917
e8ae22d1
JB
99182010-09-22 Joel Brobecker <brobecker@adacore.com>
9919
9920 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
9921 type of our const type.
9922
ec322823
SW
99232010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
9924
9925 * gdb.cp/pr12028.cc: New.
9926 * gdb.cp/pr12028.exp: New.
9927
72929c62
JB
99282010-09-22 Joel Brobecker <brobecker@adacore.com>
9929
9930 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
9931
875b4ff5 99322010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 9933 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
9934
9935 PR mi/11407
9936 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
9937 * gdb.mi/dw2-ref-missing-frame-main.c New File.
9938 * gdb.mi/dw2-ref-missing-frame.S New File.
9939 * gdb.mi/dw2-ref-missing-frame.exp New File.
9940
7155d578
TT
99412010-09-14 Tom Tromey <tromey@redhat.com>
9942
9943 PR symtab/8399:
9944 * gdb.threads/tls.exp: Remove kfail. Update expected output.
9945
515ed532
TT
99462010-09-14 Tom Tromey <tromey@redhat.com>
9947
9948 PR exp/11803:
9949 * gdb.threads/tls.exp: Use C++.
9950 (check_thread_local): Use K::another_thread_local.
9951 * gdb.threads/tls.c (class K): New.
9952 (another_thread_local): Now a member of K.
9953 (spin): Update. No longer K&R C.
9954
450ca57c
SW
99552010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
9956
9957 * gdb.cp/koenig.cc: created class for testing member lookup.
9958 * gdb.cp/koenig.exp: Added test for member lookup.
9959
dbd492a3
JK
99602010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9961
9962 Fix false FAILs on sourcetree topdir directory containing "kill".
9963 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
9964 source line matching regexp.
9965
8d4d924b
JK
99662010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9967
9968 * gdb.python/python.exp (set height 0, collect help from uiout)
9969 (verify help to uiout): New tests.
9970
8e64f2a0
JK
99712010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9972
9973 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
9974 is_lp64_target to check 64bit target.
9975
4569eed2
JK
99762010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9977
9978 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
9979 (test_ld) <powerpc64-*>: New.
9980
5e1617b1
DJ
99812010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9982
9983 * gdb.cp/templates.exp (test_template_args): Allow "struct".
9984
c767944b
DJ
99852010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9986
9987 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
9988 (FunctionArg::method): New function.
9989 (empty, arg): New variables.
9990 (main): Call arg.method.
9991 * gdb.cp/templates.exp (test_template_args): New function.
9992 (do_tests): Call it.
9993
27d3a3fc
UW
99942010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
9995
9996 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
9997 of "next" to proceed over pthread_exit call.
9998
55b7ce7f
UW
99992010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10000
10001 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10002 "maint print statistics" output to prevent expect timeouts.
10003
809df446
JK
100042010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10005
10006 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10007 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10008 (test_float_rejected): ... here.
10009 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10010 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10011 (test_float_rejected): ... here.
10012 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10013 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10014 (test_float_rejected): ... here.
10015 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10016 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10017 (test_float_rejected): ... here.
10018
8464be76
DJ
100192010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10020
10021 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10022 before disabling hardware watchpoints.
10023 (test_inaccessible_watchpoint): Check that hardware watchpoints
10024 are used. Test for watchpoints on a constant address.
10025
14dba4b4
JK
100262010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10027
10028 * gdb.base/ui-redirect.exp: New file.
10029
3f3540e1 100302010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 10031 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
10032
10033 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10034
0f254bb7
DE
100352010-08-31 Doug Evans <dje@google.com>
10036
10037 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10038
03f17ccf
TT
100392010-08-30 Tom Tromey <tromey@redhat.com>
10040
10041 PR python/11792:
10042 * gdb.python/py-value.exp (test_subscript_regression): Add
10043 dynamic_type test.
10044
640617ad
DJ
100452010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10046
10047 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10048 instead of running to main. Do not test the main function.
10049 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10050 Add new main.
10051
2ed91d1b
PA
100522010-08-26 Pedro Alves <pedro@codesourcery.com>
10053
10054 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10055 one test.
10056
673bfd45
DE
100572010-08-24 Doug Evans <dje@google.com>
10058
10059 PR symtab/11942
10060 * gdb.dwarf2/dw4-sig-types.cc: New file.
10061 * gdb.dwarf2/dw4-sig-types.h: New file.
10062 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10063 * gdb.dwarf2/dw4-sig-types.exp: New file.
10064
f9ffd4bb
TT
100652010-08-23 Tom Tromey <tromey@redhat.com>
10066
10067 PR python/11145:
10068 * gdb.python/py-value.c (Base, Derived): New types.
10069 (base): New global.
10070 * gdb.python/py-value.exp (test_subscript_regression): Add
10071 dynamic_cast test.
10072
d839c8a4
TT
100732010-08-23 Tom Tromey <tromey@redhat.com>
10074
10075 PR python/10676:
10076 * gdb.python/py-type.exp (test_fields): Add tests for type
10077 equality.
10078
702c2711
TT
100792010-08-23 Tom Tromey <tromey@redhat.com>
10080
10081 PR python/11915:
10082 * gdb.python/py-type.exp (test_fields): Add tests for array.
10083
832bafd3
KS
100842010-08-23 Keith Seitz <keiths@redhat.com>
10085
10086 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10087 have any children. Create a new abbrev for it.
10088 Add missing terminal sequence to .debug_abbrev.
10089
c37bf528
KS
100902010-08-20 Keith Seitz <keiths@redhat.com>
10091
10092 PR symtab/11465:
10093 * gdb.dwarf2/pr11465.exp: New test.
10094 * gdb.dwarf2/pr11465.S: New file.
10095 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10096 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10097
4572cbac
TJB
100982010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10099
10100 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10101 registers. Update data sets with the new v2_double element in the
10102 VSX register union. Add vector_register3_vr data set for the AltiVec
10103 registers. Use gdb_test_no_output instead of send_gdb.
10104
e7fbb131
PA
101052010-08-19 Pedro Alves <pedro@codesourcery.com>
10106
10107 * gdb.python/py-shared.exp: New file, factored out from
10108 python.exp.
10109 * gdb.python/py-shared.c: New file.
10110 * gdb.python/py-shared-sl.c: New file.
10111 * gdb.python/python-1.c: New file.
10112 * gdb.python/python-sl.c: Delete.
10113 * gdb.python/python.c: Mention python-1.c.
10114 * gdb.python/python.exp: Move shared library tests to
10115 py-shared.exp.
10116 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10117 (MISCELLANEOUS): New.
10118 (clean mostlyclean): Also remove $MISCELLANEOUS.
10119
d30f5e1f
DE
101202010-08-19 Doug Evans <dje@google.com>
10121
10122 PR exp/11926
10123 * gdb.base/printcmds.exp (test_float_accepted): New function.
10124 Move existing float tests there. Add tests for floats with suffixes.
10125 (test_float_rejected): New function.
10126 * gdb.java/jv-print.exp (test_float_accepted): New function.
10127 (test_float_rejected): New function.
10128 * gdb.objc/print.exp: New file.
10129 * gdb.pascal/print.exp: New file.
10130 * lib/objc.exp: New file.
10131
7b3fd859
PM
101322010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10133
10134 * gdb.base/default.exp (info set): Avoid full buffer error and force
10135 reading up to final gdb prompt.
10136 (show): Likewise.
10137
c92817ce
TT
101382010-08-18 Tom Tromey <tromey@redhat.com>
10139
10140 PR symtab/11919:
10141 * gdb.base/completion.exp: Add test.
10142
f1208f9e
DE
101432010-08-18 Doug Evans <dje@google.com>
10144
10145 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10146 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10147 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10148 Simplify, early exit if runto_main fails.
10149 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10150 (set_lang_fortran): Moved to lib/fortran.exp.
10151 * gdb.fortran/types.exp: load_lib fortran.exp.
10152 (set_lang_fortran): Moved to lib/fortran.exp.
10153 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10154 * gdb.java/jprint.exp (set_lang_java): Ditto.
10155 * gdb.java/jv-exp.exp: load_lib java.exp.
10156 If set_lang_java fails, issue a warning instead of failure to be
10157 consistent with other set_lang_foo uses.
10158 (set_lang_java): Moved to lib/java.exp.
10159 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10160 If set_lang_java fails, issue a warning instead of failure to be
10161 consistent with other set_lang_foo uses.
10162 * gdb.pascal/types.exp: load_lib pascal.exp.
10163 (set_lang_pascal): Moved to lib/pascal.exp.
10164 * lib/fortran.exp: New file.
10165 * lib/java.exp (set_lang_java): New function.
10166 * lib/pascal.exp (set_lang_pascal): New function.
10167
2f06b485
YQ
101682010-08-18 Yao Qi <yao@codesourcery.com
10169
10170 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10171 func_nofb_start and func_loopfb_start, so that address of functions
10172 is equal to these labels on Thumb.
10173
96e25403
YQ
101742010-08-18 Yao Qi <yao@codesourcery.com>
10175
10176 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10177 to reflect latest c source file.
10178
36e6adc4
JK
101792010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10180
10181 * gdb.cp/infcall-dlopen.exp: New file.
10182 * gdb.cp/infcall-dlopen.cc: New file.
10183 * gdb.cp/infcall-dlopen-lib.cc: New file.
10184
f431efe5
PA
101852010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10186 Pedro Alves <pedro@codesourcery.com>
10187
10188 PR breakpoints/11371
10189
10190 * gdb.base/watch-cond-infcall.exp: New file.
10191 * gdb.base/watch-cond-infcall.c: New file.
10192
06a64a0b
TT
101932010-08-16 Tom Tromey <tromey@redhat.com>
10194
10195 * gdb.base/help.exp: Update.
10196 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10197 watchpoint.
10198 (test_watch_location): New proc.
10199 (test_watchpoint_in_big_blob): Delete watchpoint.
10200 * gdb.base/watchpoint.c (func5): New function.
10201 (main): Call it.
10202
70ebf4ed
DE
102032010-08-16 Doug Evans <dje@google.com>
10204
10205 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10206
ca5c20b6
PM
102072010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10208
10209 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10210 tests.
10211
7346b668
KW
102122010-08-11 Ken Werner <ken.werner@de.ibm.com>
10213
10214 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10215 * gdb.base/gnu_vector.c: New File.
10216 * gdb.base/gnu_vector.exp: Likewise.
10217
cb2e07a6
PM
102182010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10219
10220 * gdb.python/python.c: New File.
10221 * gdb.python/python-sl.c: New File.
10222 * gdb.python/python.exp: Test solib_address and decode_line
10223 * functions.
10224
5da1313b
JK
102252010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10226
10227 * gdb.python/python.exp (show height, set height 10)
10228 (verify pagination beforehand, verify pagination beforehand: q)
10229 (gdb.execute does not page, verify pagination afterwards)
10230 (verify pagination afterwards: q): New.
10231
49c3ccf7
DE
102322010-08-02 Doug Evans <dje@google.com>
10233
10234 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10235 because of an older gcc, change test2
10236 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10237 to unsupported.
10238
42c0c4f1
KH
102392010-07-30 Kazu Hirata <kazu@codesourcery.com>
10240
10241 * gdb.base/break-always.exp: Do not expect full paths to file
10242 names.
10243 * gdb.base/commands.exp: Likewise.
10244
d3765805
DE
102452010-07-30 Doug Evans <dje@google.com>
10246
c98ee71b
DE
10247 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10248 xfail them when run with older gccs.
10249
fd961404
DE
10250 * lib/gdb.exp (build_executable): Forward "c++" option to
10251 get_compiler_info.
10252
999adef4
DE
10253 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10254 "python print ttype.template_argument(1)" and
10255 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10256 if using gcc 4.4 or earlier.
10257
d3765805
DE
10258 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10259 attach-to-debugger handling.
10260
1276c759
JK
102612010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10262
10263 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10264 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10265 (main): Use copyreloc.
10266 * gdb.base/prelink.exp (split debug of executable)
10267 (.dynbss vs. .bss address shift): New tests.
10268
88caa9b9
PA
102692010-07-29 Pedro Alves <pedro@codesourcery.com>
10270
10271 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10272 in gdb_test_multiple.
10273
c6f2ac43
PA
102742010-07-29 Pedro Alves <pedro@codesourcery.com>
10275
10276 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10277 environment.
10278
326fd672
TT
102792010-07-28 Tom Tromey <tromey@redhat.com>
10280
10281 PR python/11060:
10282 * gdb.python/py-type.c (Temargs): New template.
10283 (temvar): New variable.
10284 * gdb.python/py-type.exp (test_template): New proc.
10285
3ce3b1ba
PA
102862010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10287
10288 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10289 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10290
34eaf542
TT
102912010-07-28 Tom Tromey <tromey@redhat.com>
10292
10293 PR c++/9946:
10294 * gdb.cp/temargs.exp: New file.
10295 * gdb.cp/temargs.cc: New file.
10296
d41b819e
JK
102972010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10298
10299 * gdb.base/help.exp (help disassemble): Update the content.
10300
26ab7092
JK
103012010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10302
10303 * gdb.threads/ia64-sigill.exp: New file.
10304 * gdb.threads/ia64-sigill.c: New file.
10305
5283e9e1
TT
103062010-07-27 Tom Tromey <tromey@redhat.com>
10307
10308 * gdb.opt/inline-cmds.c (ATTR): New define.
10309 (func1): Use it.
10310 (func2): Likewise.
10311 (func3): Likewise.
10312 (outer_inline1): Likewise.
10313 (outer_inline2): Likewise.
10314 * gdb.opt/inline-bt.c (ATTR): New define.
10315 (func1): Use it.
10316 (func2): Likewise.
10317 * gdb.opt/inline-locals.c (ATTR): New define.
10318 (func1): Use it.
10319 (func2): Likewise.
10320
e992ef73
TT
103212010-07-27 Tom Tromey <tromey@redhat.com>
10322
10323 * gdb.stabs/gdb11479.c (hack): New function.
10324 (test): Use it.
10325 (test2): Use it.
10326 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10327 (int32_search_buf, int64_search_buf): No longer static.
10328 (x): Remove.
10329 * gdb.base/relocate.c (hack): New function.
10330
5374244e
PM
103312010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10332
10333 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10334 * gdb.python/py-value.c (func1): New function.
10335 (func2): Likewise.
10336
a99aee83
CV
103372010-07-26 Corinna Vinschen <vinschen@redhat.com>
10338
10339 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10340 as not to clash with .data section.
10341
a04ba985
JG
103422010-07-26 Jerome Guitton <guitton@adacore.com>
10343
10344 * gdb.base/code_elim.exp: New file.
10345 * gdb.base/code_elim1.c: New file.
10346 * gdb.base/code_elim2.c: New file.
10347
23bd0f7c
PA
103482010-07-21 Pedro Alves <pedro@codesourcery.com>
10349
10350 PR symtab/11827
10351
10352 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10353 (some_volatile_enum): New variable.
10354 * gdb.base/printcmds.exp (test_print_enums): New.
10355 <top level>: Call it.
10356
883df6dd
SW
103572010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
10358
10359 * gdb.cp/fpointer.cc: New test.
10360 * gdb.cp/fpointer.exp: New test.
10361
569b05a5
JK
103622010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10363
10364 * gdb.base/solib-nodir.exp: New file.
10365 * lib/gdb.exp (runto): New case for a GDB internal error.
10366
51d7d803
JK
103672010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10368 Ulrich Weigand <uweigand@de.ibm.com>
10369 Tom Tromey <tromey@redhat.com>
10370
10371 * gdb.base/charset-malloc.c: New file.
10372 * gdb.base/charset.c (malloc_stub): New prototype.
10373 (main): Call it instead of malloc itself.
10374 * gdb.base/charset.exp: Use only prepare_for_testing.
10375 (binfile): Remove the variable.
10376
c0edd9ed
JK
103772010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10378
10379 Make core files the process_stratum.
10380 * gdb.base/corefile.exp (run: load core again)
10381 (run: sanity check we see the core file, run: with core)
10382 (run: core file is cleared, attach: load core again)
10383 (attach: sanity check we see the core file, attach: with core)
10384 (attach: core file is cleared): New tests.
10385 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
10386
3cbaedff
KW
103872010-07-14 Ken Werner <ken.werner@de.ibm.com>
10388
10389 * gdb.arch/altivec-abi.exp: New tests.
10390
91158a56
TT
103912010-07-13 Tom Tromey <tromey@redhat.com>
10392
10393 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10394 (main): Use it.
10395 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10396
0f5238ed
TT
103972010-07-13 Tom Tromey <tromey@redhat.com>
10398
10399 * gdb.base/label.exp: New file.
10400 * gdb.base/label.c: New file.
10401
add265ae
L
104022010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
10403 H.J. Lu <hongjiu.lu@intel.com>
10404
10405 * lib/gdb.exp (is_ilp32_target): New.
10406 (is_lp64_target): Likewise.
10407
10408 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10409 target.
10410 * gdb.arch/amd64-disp-step.exp: Likewise.
10411 * gdb.arch/amd64-dword.exp: Likewise.
10412 * gdb.arch/amd64-i386-address.exp: Likewise.
10413 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 10414
add265ae
L
10415 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10416 target.
10417 * gdb.arch/i386-bp_permanent.exp: Likewise.
10418 * gdb.arch/i386-byte.exp: Likewise.
10419 * gdb.arch/i386-disp-step.exp: Likewise.
10420 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10421 * gdb.arch/i386-prologue.exp: Likewise.
10422 * gdb.arch/i386-size-overlap.exp: Likewise.
10423 * gdb.arch/i386-size.exp: Likewise.
10424 * gdb.arch/i386-sse.exp: Likewise.
10425 * gdb.arch/i386-unwind.exp: Likewise.
10426 * gdb.arch/i386-word.exp: Likewise.
10427
10428 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10429 test only when building 64-bit executables. Do not hard-code
10430 -m64 option.
10431
2dfb8c17
DE
104322010-07-07 Doug Evans <dje@google.com>
10433
10434 * lib/gdb.exp (gdb_test_list_exact): New function.
10435 * gdb.base/default.exp (show convenience): Call it, add tests for
10436 $_sdata = void, $_thread = 0.
10437
4e5799b6
JK
104382010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10439 Joel Brobecker <brobecker@adacore.com>
10440
10441 Fix re-run of PIE executable, PR shlibs/11776.
10442 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10443 Remove $displacement_main to match the solib-svr4.c change. New "kill"
10444 and re-"run" of the inferior.
10445
1a219cc7
JK
104462010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10447 Joel Brobecker <brobecker@adacore.com>
10448
10449 Cope with missing /usr/sbin/prelink.
10450 * lib/prelink-support.exp (prelink_no):
10451 <result == 1 && $output is "no such file or directory">: New.
10452 (prelink_yes): Likewise. Return on failed prelink_no.
10453
5e3b36f8
JK
104542010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10455 Joel Brobecker <brobecker@adacore.com>
10456
10457 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
10458 build_executable by build_executable_own_libs. Replace "prelink -R"
10459 execution by a call of prelink_yes. Comment why "prelink -r" needs no
10460 change.
10461 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
10462 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
10463 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10464 Replace build_executable by build_executable_own_libs's function
10465 build_executable_own_libs.
10466 (prelinkNO): Create new stub to call prelink_no.
10467 (prelinkYES): Create new stub to call prelink_yes.
10468 (test_attach): Rename calls of copy to file_copy.
10469 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10470 (copy): Move to ...
10471 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
10472 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10473 * gdb.base/prelink.exp: Disable testcase also for is_remote and
10474 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
10475 special flags by gdb_compile_shlib. Replace second gdb_compile by
10476 build_executable_own_libs. Replace "prelink -R" execution by a call of
10477 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
10478 a second call of prelink_yes. Replace restart commands by
10479 clean_restart.
10480 (prelink): Rename to ...
10481 (seen displacement message): ... this test. Extend its expectation
10482 strictness.
10483
86e4bafc
JK
104842010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10485
10486 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10487 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10488 displacement message exactly once.
10489
3cd07d20
JK
104902010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10491 Joel Brobecker <brobecker@adacore.com>
10492
10493 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
10494 its restore after the <$relink_args != ""> loop. new comment.
10495
0a1e94c7
JK
104962010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10497 Joel Brobecker <brobecker@adacore.com>
10498
10499 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10500 code for it. New variable relink_args.
10501 (prelinkYES): Call prelinkNO.
10502 (test_attach): Accept new parameter relink_args. Re-prelink the binary
10503 in such case. Move the core code to ...
10504 (test_attach_gdb): ... a new function. Send GDB command "file".
10505 Extend expected "Attaching to " string.
10506
2f70bcfb
TT
105072010-07-02 Tom Tromey <tromey@redhat.com>
10508
10509 * gdb.base/bitops.exp: Remove extraneous "pass".
10510
a17ac5b0
TT
105112010-07-02 Ken Werner <ken.werner@de.ibm.com>
10512
10513 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10514
dc10affe
PA
105152010-07-01 Pedro Alves <pedro@codesourcery.com>
10516
d41c0fc8
PA
10517 * gdb.base/help.exp: Adjust expected output.
10518
105192010-07-01 Pedro Alves <pedro@codesourcery.com>
10520
10521 * gdb.base/help.exp: Adjust expected output.
dc10affe 10522
0a600c36
JK
105232010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10524
10525 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
10526 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
10527 c++/11702.
10528
37cc8bfe
JK
105292010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10530 Doug Evans <dje@google.com>
10531
10532 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
10533 add .dynamic entry'.
10534
254e6b9e
DE
105352010-06-29 Doug Evans <dje@google.com>
10536
10537 Test PR c++/11702.
10538 * gdb.cp/m-static.exp: Add testcase.
10539 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
10540
595939de 105412010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
10542 Tom Tromey <tromey@redhat.com>
10543 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
10544
10545 * gdb.python/py-inferior.c: New File.
10546 * gdb.python/py-infthread.c: New File.
10547 * gdb.python/py-inferior.exp: New File.
10548 * gdb.python/py-infthread.exp: New File.
10549
98751a41
JK
105502010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10551
10552 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
10553 (ptype ::C::OtherFileClass typedefs): New.
10554 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
10555 (C::OtherFileClass::cOtherFileClassVar2): New.
10556 (C::OtherFileClass::cOtherFileClassVar_use): Use also
10557 cOtherFileClassVar2.
10558 (C::cOtherFileType2, C::cOtherFileVar2): New.
10559 (C::cOtherFileVar_use): use also cOtherFileVar2.
10560 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
10561
41f62f39
JK
105622010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10563
10564 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
10565 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
10566 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
10567 (print ::C::cOtherFileVar)
10568 (whatis C::OtherFileClass::cOtherFileClassType)
10569 (whatis ::C::OtherFileClass::cOtherFileClassType)
10570 (print C::OtherFileClass::cOtherFileClassVar)
10571 (print ::cOtherFileClassVar)
10572 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
10573 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
10574 trailing content.
10575 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
10576 (C::OtherFileClass::cOtherFileClassVar)
10577 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
10578 (C::cOtherFileVar, C::cOtherFileVar_use): New.
10579
af53d231
JK
105802010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10581
10582 Test PR c++/11703 and PR gdb/1448.
10583 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
10584 gdb/1448.
10585
9655fd1a
JK
105862010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10587
10588 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
10589 (main) <rtti_data>: New.
10590 * gdb.cp/virtbase.exp (print rtti_data): New.
10591
824cc8dd
JK
105922010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10593 Joel Brobecker <brobecker@adacore.com>
10594
10595 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
10596
6036c742
JK
105972010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10598
10599 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
10600
de6a0421
DE
106012010-06-28 Doug Evans <dje@google.com>
10602
10603 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
10604
b2dae948
DE
106052010-06-27 Doug Evans <dje@google.com>
10606
10607 * gdb.cp/m-static.exp: Update expected test output.
10608
0f3bb72e
PH
106092010-06-25 Paul Hilfinger <hilfinger@adacore.com>
10610
889bf7c5
PA
10611 * gdb.gdb/selftest.exp: Adjust expected message for
10612 capturing start-up runtime.
0f3bb72e 10613
bc9f0842
TT
106142010-06-25 Tom Tromey <tromey@redhat.com>
10615
10616 PR python/10808:
10617 * gdb.python/python.exp: Add new tests.
10618
099ef718
SW
106192010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
10620
10621 * gdb.cp/operator.cc: Created an import loop.
10622 * gdb.cp/operator.exp: Added testcase for import loop.
10623
5868a632
JK
106242010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10625
10626 Test PR python/11407.
10627 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
10628 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
10629 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
10630 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
10631 executable_nofb and executable_fb. New variables srcsfile, objsfile,
10632 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
10633 binfile. Call gdb_compile with clean_restart twice.
10634 (func_nofb print, func_nofb backtrace, func_loopfb print)
10635 (func_loopfb backtrace): New.
10636
af76db58
JK
106372010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10638
10639 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
10640 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
10641 by a hand made one.
10642 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
10643 i?86 requirement. Remove variables srcfile and binfile. New variable
10644 sources, executable_nofb and executable_fb. Call prepare_for_testing.
10645
f2c7657e
UW
106462010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10647
10648 * gdb.cell/dwarfaddr.exp: New file.
10649 * gdb.cell/dwarfaddr.S: New file.
10650
628fe4e4
JK
106512010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10652
10653 Test PR 9436.
10654 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
10655
f1421989
HZ
106562010-06-24 Hui Zhu <teawater@gmail.com>
10657
10658 * gdb.base/eval.exp: New file.
10659
d03285ec
UW
106602010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10661
10662 * gdb.cell/fork.exp: New file.
10663 * gdb.cell/fork.c: Likewise.
10664 * gdb.cell/fork-spu.c: Likewise.
10665
41b2c92d
PM
106662010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
10667
10668 * lib/gdb.exp (banned_variables_traced): New global variable.
10669 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
10670 (gdb_init): Use `trace add variable' instead of obsolete
10671 `trace variable'.
10672
d5bc977f
DE
106732010-06-21 Doug Evans <dje@google.com>
10674
10675 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
10676
d2ed6730
UW
106772010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10678
10679 * gdb.arch/spu-ls.exp: New file.
10680 * gdb.arch/spu-ls.c: Likewise.
10681
6aed2dbc
SS
106822010-06-18 Stan Shebs <stan@codesourcery.com>
10683
10684 * gdb.threads/thread-specific.exp: Add tests of $_thread.
10685
e0756905
UW
106862010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10687
10688 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
10689 * gdb.base/watch-cond.exp: Likewise.
10690 * gdb.python/py-breakpoint.exp: Likewise.
10691
d8053d4d
PA
106922010-06-18 Pedro Alves <pedro@codesourcery.com>
10693
10694 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
10695 clean_restart, make sure every test has a distinct message, and
10696 that messages don't include the executable' full path.
10697
81ce510c
DE
106982010-06-17 Doug Evans <dje@google.com>
10699
10700 * gdb.arch/i386-size.exp: Updated expected output for
10701 DISASSEMBLY_OMIT_FNAME.
10702
65d79d4b
SDJ
107032010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10704 Sergio Durigan Junior <sergiodj@redhat.com>
10705
10706 * gdb.base/watch-notconst.c: New file.
10707 * gdb.base/watch-notconst.S: New file.
10708 * gdb.base/watch-notconst2.c: New file.
10709 * gdb.base/watch-notconst2.S: New file.
10710 * gdb.base/watch-notconst.exp: New file.
10711 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
10712 (func4): Add operations on `global_ptr_ptr'.
10713 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
10714 routine to test watchpoints created with a constant expression.
10715 (test_inaccessible_watchpoint): Include tests for watchpoints
10716 created with a constant expression.
10717
df0f4836
KB
107182010-06-14 Kevin Buettner <kevinb@redhat.com>
10719
10720 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10721 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
10722 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
10723 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
10724 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10725 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10726 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
10727 of `_start'.
10728
b769def5
UW
107292010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10730
10731 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
10732 not supported on the target.
10733 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10734 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10735 * gdb.mi/mi-nsintrall.exp: Likewise.
10736 * gdb.mi/mi-nsmoribund.exp: Likewise.
10737 * gdb.mi/mi-nsthrexec.exp: Likewise.
10738
d914c394
SS
107392010-06-11 Stan Shebs <stan@codesourcery.com>
10740
10741 * gdb.base/permissions.exp: New file.
10742
107432010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
10744
10745 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10746 does not support ELF executable class.
10747
f3ce5b9c
UW
107482010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10749
10750 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10751
8e46892c
JK
107522010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10753
10754 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10755 (runto): Catch "The target does not support running in non-stop mode.".
10756
6cc55c64
MS
107572010-06-11 Michael Snyder <msnyder@vmware.com>
10758
10759 * gdb.base/setshow.exp (set language asm): Don't use
10760 gdb_test_no_output, fails on some targets.
10761
caddefa4
UW
107622010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10763
10764 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10765 * gdb.cp/pr9167.exp: Likewise.
10766
468b1aa7
UW
107672010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10768
10769 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10770
5c3552dc
UW
107712010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10772
10773 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10774
02e6fe6a
UW
107752010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10776
10777 * gdb.base/charset.c (main): Make sure malloc gets linked in.
10778
0e03807e
TT
107792010-06-11 Tom Tromey <tromey@redhat.com>
10780
10781 PR gdb/9977, PR exp/11636::
10782 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10783 (pieces_test_f6): Update expected output.
10784
2bdf28a0
JK
107852010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10786
10787 * gdb.base/moribund-step.exp: New.
10788
f6978de9
MS
107892010-06-08 Michael Snyder <msnyder@vmware.com>
10790
10791 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 10792 * gdb.ada/boolean_expr.exp:
f6978de9
MS
10793 * gdb.ada/frame_args.exp: Ditto.
10794 * gdb.ada/lang_switch.exp: Ditto.
10795 * gdb.ada/ptype_arith_binop.exp: Ditto.
10796 * gdb.ada/ref_param.exp: Ditto.
10797 * gdb.ada/type_coercion.exp:Ditto.
10798
10799 * gdb.asm/asm-source.exp: Ditto.
10800
10801 * gdb.base/attach.exp: Ditto.
10802 * gdb.base/bitfields2.exp: Ditto.
10803 * gdb.base/call-signal-resume.exp: Ditto.
10804 * gdb.base/callfuncs.exp: Ditto.
10805 * gdb.base/commands.exp: Ditto.
10806 * gdb.base/dbx.exp: Ditto.
10807 * gdb.base/default.exp: Ditto.
10808 * gdb.base/dump.exp: Ditto.
10809 * gdb.base/exprs.exp: Ditto.
10810 * gdb.base/freebpcmd.exp: Ditto.
10811 * gdb.base/interrupt.exp: Ditto.
10812 * gdb.base/list.exp: Ditto.
10813 * gdb.base/long_long.exp: Ditto.
10814 * gdb.base/maint.exp: Ditto.
10815 * gdb.base/ptype.exp: Ditto.
10816 * gdb.base/return.exp: Ditto.
10817 * gdb.base/setshow.exp: Ditto.
10818 * gdb.base/sigbpt.exp: Ditto.
10819 * gdb.base/sigrepeat.exp: Ditto.
10820
10821 * gdb.cp/classes.exp: Ditto.
10822
10823 * gdb.dwarf2/dw2-restore.exp: Ditto.
10824
10825 * gdb.gdb/selftest.exp: Ditto.
10826
10827 * gdb.multi/base.exp: Ditto.
10828 * gdb.multi/bkpt-multi-exec.exp: Ditto.
10829
10830 * gdb.python/py-block.exp: Ditto.
10831 * gdb.python/py-prettyprint.exp: Ditto.
10832 * gdb.python/py-template.exp: Ditto.
10833
10834 * gdb.server/ext-attach.exp: Ditto.
10835 * gdb.server/ext-run.exp: Ditto.
10836 * gdb.server/server-mon.exp: Ditto.
10837
10838 * gdb.threads/fork-thread-pending.exp: Ditto.
10839 * gdb.threads/hand-call-in-threads.exp: Ditto.
10840 * gdb.threads/interrupted-hand-call.exp: Ditto.
10841 * gdb.threads/linux-dp.exp: Ditto.
10842 * gdb.threads/manythreads.exp: Ditto.
10843 * gdb.threads/print-threads.exp: Ditto.
10844 * gdb.threads/pthreads.exp: Ditto.
10845 * gdb.threads/schedlock.exp: Ditto.
10846 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10847 * gdb.threads/threadapply.exp: Ditto.
10848
de7ff789
MS
108492010-06-08 Michael Snyder <msnyder@vmware.com>
10850
889bf7c5 10851 * gdb.ada/exec_changed.exp:
de7ff789
MS
10852 Use ".*" instead of "" as wildcard regexp.
10853
10854 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10855 * gdb.base/call-ar-st.exp: Ditto.
10856 * gdb.base/checkpoint.exp: Ditto.
10857 * gdb.base/default.exp: Ditto.
10858 * gdb.base/dump.exp: Ditto.
10859 * gdb.base/ending-run.exp: Ditto.
10860 * gdb.base/fileio.exp: Ditto.
10861 * gdb.base/miscexprs.exp: Ditto.
10862 * gdb.base/pointers.exp: Ditto.
10863 * gdb.base/readline.exp: Ditto.
10864 * gdb.base/reread.exp: Ditto.
10865 * gdb.base/restore.exp: Ditto.
10866 * gdb.base/shlib-call.exp: Ditto.
10867 * gdb.base/valgrind-db-attach.exp: Ditto.
10868 * gdb.base/volatile.exp: Ditto.
10869 * gdb.base/watchpoints.exp: Ditto.
10870
10871 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10872
10873 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10874 * gdb.python/py-value.exp: Ditto.
10875
10876 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10877 * gdb.trace/circ.exp: Ditto.
10878 * gdb.trace/collection.exp: Ditto.
10879 * gdb.trace/packetlen.exp: Ditto.
10880 * gdb.trace/passc-dyn.exp: Ditto.
10881 * gdb.trace/report.exp: Ditto.
10882 * gdb.trace/tfile.exp: Ditto.
10883 * gdb.trace/tfind.exp: Ditto.
10884 * gdb.trace/while-dyn.exp: Ditto.
10885
3bebe2f2
JK
108862010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10887
10888 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10889
5c631832
JK
108902010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10891
10892 Test PR 10640.
10893 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10894
4c3376c8
SW
108952010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
10896
10897 * gdb.cp/koenig.exp: Test for ADL operators.
10898 * gdb.cp/koenig.cc: Added ADL operators.
10899 * gdb.cp/operator.exp: New test.
10900 * gdb.cp/operator.cc: New test.
10901
dc226d5a
MS
109022010-06-04 Michael Snyder <msnyder@vmware.com>
10903
dfb88a23
MS
10904 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10905 * gdb.base/pending.exp: Ditto.
f7ae76b3 10906
dc226d5a
MS
10907 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
10908
967cf477
DE
109092010-06-04 Doug Evans <dje@google.com>
10910
10911 * gdb.python/py-prettyprint.exp: Add new test for enabled and
10912 disabled printers.
10913 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
10914 (enable_lookup_function): New function.
10915
eb801841
TT
109162010-06-04 Tom Tromey <tromey@redhat.com>
10917
10918 * gdb.python/py-value.exp (test_value_hash): Don't test equality
10919 of hash and id.
10920
38979823
JK
109212010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10922
10923 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
10924 newline.
10925 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
10926 (empty verbose non-noisy clear, empty verbose noisy clear)
10927 (empty non-verbose noisy clear): Likewise.
10928
35ec993f
MS
109292010-06-03 Michael Snyder <msnyder@vmware.com>
10930
10931 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
10932 * gdb.base/display.exp: Ditto.
10933 * gdb.base/find.exp: Ditto.
10934 * gdb.base/ifelse.exp: Ditto.
10935 * gdb.base/multi-forks.exp: Ditto.
10936 * gdb.base/recurse.exp: Ditto.
10937 * gdb.base/setshow.exp: Ditto.
10938 * gdb.base/value-double-free.exp: Ditto.
10939 * gdb.base/watch-vfork.exp: Ditto.
10940 * gdb.base/watch_thread_num.exp: Ditto.
10941 * gdb.base/watchpoint-solib.exp: Ditto.
10942 * gdb.base/watchpoint.exp: Ditto.
10943 * gdb.base/watchpoints.exp: Ditto.
10944
10945 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
10946 * gdb.cp/overload.exp: Ditto.
10947 * gdb.cp/virtfunc.exp: Ditto.
10948
10949 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
10950
889bf7c5 10951 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
10952 Replace gdb_test with gdb_test_no_output.
10953
889bf7c5 10954 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
10955 Replace gdb_test with gdb_test_no_output.
10956 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10957 * gdb.threads/watchthreads.exp: Ditto.
10958 * gdb.threads/watchthreads2.exp: Ditto.
10959
10960 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
10961 * gdb.trace/tfind.exp: Ditto.
10962
c22decce
JB
109632010-06-03 Joel Brobecker <brobecker@adacore.com>
10964
10965 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
10966 successful test if message is the empty string.
10967
fd5700c7
JK
109682010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10969
10970 * gdb.fortran/module.exp (stopped language detection): New test.
10971
f55ee35c
JK
109722010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10973
10974 Support DW_TAG_module as separate namespaces.
10975 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
10976 gdb.fortran/library-module-lib.f90: New.
10977 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
10978 (print i): Remove.
10979 (continue to breakpoint: i-is-1, print var_i value 1)
10980 (continue to breakpoint: i-is-2, print var_i value 2)
10981 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
10982 (print var_d, print var_i value 14, ptype modmany, complete `modm)
10983 (complete `modmany, complete `modmany`, complete `modmany`var)
10984 (show language, setting breakpoint at module): New tests.
10985 * gdb.fortran/module.f90 (module mod): Remove.
10986 (module mod1, module mod2, module modmany, subroutine sub1)
10987 (subroutine sub2, program module): New.
10988
b8e8282f
JK
109892010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10990
10991 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
10992 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
10993 * gdb.cp/anon-union.exp (pass): Rename to ...
10994 (print z 2): ... here.
b8e8282f 10995
019ebafc
MS
109962010-06-02 Michael Snyder <msnyder@vmware.com>
10997
e68d8fd4
MS
10998 * gdb.trace/actions.exp: Use gdb_test_no_output.
10999 * gdb.trace/circ.exp: Ditto.
11000 * gdb.trace/packetlen.exp: Ditto.
11001 * gdb.trace/save-trace.exp: Ditto.
11002 * gdb.trace/tracecmd.exp: Ditto.
11003 * gdb.trace/tsv.exp: Ditto.
11004
12b5d08a
MS
11005 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11006 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11007 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11008 * gdb.threads/manythreads.exp: Ditto.
11009 * gdb.threads/print-threads.exp: Ditto.
11010 * gdb.threads/pthreads.exp: Ditto.
11011 * gdb.threads/schedlock.exp: Ditto.
11012 * gdb.threads/staticthreads.exp: Ditto.
11013 * gdb.threads/thread-specific.exp: Ditto.
11014 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11015 * gdb.threads/threadapply.exp: Ditto.
11016 * gdb.threads/watchthreads.exp: Ditto.
11017 * gdb.threads/watchthreads2.exp: Ditto.
11018
89493308
MS
11019 * gdb.python/py-block.exp: Use gdb_test_no_output.
11020 * gdb.python/py-prettyprint.exp: Ditto.
11021 * gdb.python/py-template.exp: Ditto.
11022 * gdb.python/py-value.exp: Ditto.
11023
11024 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11025 * gdb.reverse/watch-reverse.exp: Ditto.
11026
11027 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11028 * gdb.server/ext-run.exp: Ditto.
11029
019ebafc
MS
11030 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11031 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11032 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11033 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11034 * gdb.dwarf2/dw2-producer.exp: Ditto.
11035 * gdb.dwarf2/mac-fileno.exp: Ditto.
11036
11037 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11038 * gdb.gdb/selftest.exp: Ditto.
11039
11040 * gdb.multi/base.exp: Use gdb_test_no_output.
11041
11042 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11043
3e0ca3a5
JK
110442010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11045
11046 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11047
9db70545
MS
110482010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11049
a8d52276
MS
11050 * gdb.cp/class2.exp: Use gdb_test_no_output.
11051 * gdb.cp/classes.exp: Ditto.
11052 * gdb.cp/extern-c.exp: Ditto.
11053 * gdb.cp/inherit.exp: Ditto.
11054 * gdb.cp/maint.exp: Ditto.
11055 * gdb.cp/mb-inline.exp: Ditto.
11056 * gdb.cp/mb-templates.exp: Ditto.
11057 * gdb.cp/method2.exp: Ditto.
11058 * gdb.cp/misc.exp: Ditto.
11059 * gdb.cp/ovldbreak.exp: Ditto.
11060 * gdb.cp/punctuator.exp: Ditto.
11061 * gdb.cp/templates.exp: Ditto.
11062 * gdb.cp/virtbase.exp: Ditto.
11063
889bf7c5 11064 * gdb.threads/attach-stopped.exp:
9db70545 11065 Replace uses of send_gdb / gdb_expect.
889bf7c5 11066 * gdb.threads/attachstop-mt.exp:
9db70545 11067 Replace uses of send_gdb / gdb_expect.
889bf7c5 11068 * gdb.threads/gcore-thread.exp:
9db70545 11069 Replace uses of send_gdb / gdb_expect.
889bf7c5 11070 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
11071 Replace uses of send_gdb / gdb_expect.
11072 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 11073 * gdb.threads/print-threads.exp:
9db70545
MS
11074 Replace uses of send_gdb / gdb_expect.
11075 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11076 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11077 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11078
11079 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11080 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11081 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11082 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11083 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11084 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11085 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11086 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11087 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11088 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11089 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11090
359cc68c
JK
110912010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11092
11093 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11094
7d3fe98e
SW
110952010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11096
11097 * gdb.cp/koenig.exp: Added new test case.
11098 * gdb.cp/koenig.cc: Ditto.
11099
27d3a1a2
MS
111002010-06-01 Michael Snyder <msnyder@vmware.com>
11101
11102 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11103 * gdb.base/arrayidx.exp: Ditto.
11104 * gdb.base/attach.exp: Ditto.
11105 * gdb.base/auxv.exp: Ditto.
11106 * gdb.base/bigcre.exp: Ditto.
11107 * gdb.base/break-always.exp: Ditto.
11108 * gdb.base/break-interp.exp: Ditto.
11109 * gdb.base/break.exp: Ditto.
11110 * gdb.base/breakpoint-shadow.exp: Ditto.
11111 * gdb.base/call-ar-st.exp: Ditto.
11112 * gdb.base/call-sc.exp: Ditto.
11113 * gdb.base/call-signal-resume.exp: Ditto.
11114 * gdb.base/callfuncs.exp: Ditto.
11115 * gdb.base/catch-syscall.exp: Ditto.
11116 * gdb.base/charset.exp: Ditto.
11117 * gdb.base/code-expr.exp: Ditto.
11118 * gdb.base/commands.exp: Ditto.
11119 * gdb.base/cond-expr.exp: Ditto.
11120 * gdb.base/condbreak.exp: Ditto.
11121 * gdb.base/cursal.exp: Ditto.
11122 * gdb.base/cvexpr.exp: Ditto.
11123 * gdb.base/default.exp: Ditto.
11124 * gdb.base/del.exp: Ditto.
11125 * gdb.base/detach.exp: Ditto.
11126 * gdb.base/display.exp: Ditto.
11127 * gdb.base/ena-dis-br.exp: Ditto.
11128 * gdb.base/eval-skip.exp: Ditto.
11129 * gdb.base/foll-fork.exp: Ditto.
11130 * gdb.base/foll-vfork.exp: Ditto.
11131 * gdb.base/frame-args.exp: Ditto.
11132 * gdb.base/funcargs.exp: Ditto.
11133 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11134 * gdb.base/gdbvars.exp: Ditto.
11135 * gdb.base/help.exp: Ditto.
11136 * gdb.base/ifelse.exp: Ditto.
11137 * gdb.base/included.exp: Ditto.
11138 * gdb.base/list.exp: Ditto.
11139 * gdb.base/macscp.exp: Ditto.
11140 * gdb.base/maint.exp: Ditto.
11141 * gdb.base/multi-fork.exp: Ditto.
11142 * gdb.base/overlays.exp: Ditto.
11143 * gdb.base/page.exp: Ditto.
11144 * gdb.base/pending.exp: Ditto.
11145 * gdb.base/pointers.exp: Ditto.
11146 * gdb.base/pr11022.exp: Ditto.
11147 * gdb.base/prelink.exp: Ditto.
11148 * gdb.base/printcmds.exp: Ditto.
11149 * gdb.base/psymtab.exp: Ditto.
11150 * gdb.base/randomize.exp: Ditto.
11151 * gdb.base/relational.exp: Ditto.
11152 * gdb.base/relocate.exp: Ditto.
11153 * gdb.base/remote.exp: Ditto.
11154 * gdb.base/sepdebug.exp: Ditto.
11155 * gdb.base/set-lang-auto.exp: Ditto.
11156 * gdb.base/setshow.exp: Ditto.
11157 * gdb.base/setvar.exp: Ditto.
11158 * gdb.base/signals.exp: Ditto.
11159 * gdb.base/signull.exp: Ditto.
11160 * gdb.base/sigstep.exp: Ditto.
11161 * gdb.base/sizeof.exp: Ditto.
11162 * gdb.base/solib-disc.exp: Ditto.
11163 * gdb.base/store.exp: Ditto.
11164 * gdb.base/structs.exp: Ditto.
11165 * gdb.base/structs2.exp: Ditto.
11166 * gdb.base/subst.exp: Ditto.
11167 * gdb.base/term.exp: Ditto.
11168 * gdb.base/trace-commands.exp: Ditto.
11169 * gdb.base/unwindonsignal.exp: Ditto.
11170 * gdb.base/valgrind-db-attach.exp: Ditto.
11171 * gdb.base/varargs.exp: Ditto.
11172 * gdb.base/watch-cond.exp: Ditto.
11173 * gdb.base/watch_thread_num.exp: Ditto.
11174 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11175 * gdb.base/watchpoint.exp: Ditto.
11176 * gdb.base/whatis-exp.exp: Ditto.
11177
f8d3bf8f
MS
111782010-06-01 Michael Snyder <msnyder@vmware.com>
11179
11180 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11181 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11182 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11183 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11184 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11185 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11186 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11187 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11188 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11189 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11190 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11191 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11192 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11193 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11194 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11195
3f9e0d32
JK
111962010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11197
11198 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11199 trailing newline.
11200 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11201 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11202 (p *args): ... here and remove excessive trailing newline.
11203
f629457d
JB
112042010-05-31 Joel Brobecker <brobecker@adacore.com>
11205
11206 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11207
09eef106
JK
112082010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11209
11210 Accept the new Linux kernel "t (tracing stop)" string.
11211 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11212 Update comment.
11213 (state_wait) <T (tracing stop)>: New.
11214 (main): Update the state_wait expect string.
11215
94f31136
PA
112162010-05-28 Pedro Alves <pedro@codesourcery.com>
11217
11218 * limits.c, limits.exp: Delete files.
11219 * Makefile.in (clean mostlyclean): Adjust.
11220 * tracecmd.exp: Adjust.
11221
096554ab
JK
112222010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11223
11224 * gdb.base/tui-layout.exp: New.
11225
27d3a1a2 112262010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 11227
889bf7c5 11228 * gdb.reverse/break-precsave.exp:
bcd2dc50 11229 Replace uses of send_gdb / gdb_expect.
889bf7c5 11230 * gdb.reverse/break-reverse.exp:
bcd2dc50 11231 Replace uses of send_gdb / gdb_expect.
889bf7c5 11232 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 11233 Replace uses of send_gdb / gdb_expect.
889bf7c5 11234 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 11235 Replace uses of send_gdb / gdb_expect.
889bf7c5 11236 * gdb.reverse/finish-precsave.exp:
bcd2dc50 11237 Replace uses of send_gdb / gdb_expect.
889bf7c5 11238 * gdb.reverse/finish-reverse.exp:
bcd2dc50 11239 Replace uses of send_gdb / gdb_expect.
889bf7c5 11240 * gdb.reverse/i386-precsave.exp:
bcd2dc50 11241 Replace uses of send_gdb / gdb_expect.
889bf7c5 11242 * gdb.reverse/i386-reverse.exp:
bcd2dc50 11243 Replace uses of send_gdb / gdb_expect.
889bf7c5 11244 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 11245 Replace uses of send_gdb / gdb_expect.
889bf7c5 11246 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 11247 Replace uses of send_gdb / gdb_expect.
889bf7c5 11248 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 11249 Replace uses of send_gdb / gdb_expect.
889bf7c5 11250 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 11251 Replace uses of send_gdb / gdb_expect.
889bf7c5 11252 * gdb.reverse/machinestate.exp:
bcd2dc50 11253 Replace uses of send_gdb / gdb_expect.
889bf7c5 11254 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 11255 Replace uses of send_gdb / gdb_expect.
889bf7c5 11256 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 11257 Replace uses of send_gdb / gdb_expect.
889bf7c5 11258 * gdb.reverse/solib-precsave.exp:
bcd2dc50 11259 Replace uses of send_gdb / gdb_expect.
889bf7c5 11260 * gdb.reverse/solib-reverse.exp:
bcd2dc50 11261 Replace uses of send_gdb / gdb_expect.
889bf7c5 11262 * gdb.reverse/step-precsave.exp:
bcd2dc50 11263 Replace uses of send_gdb / gdb_expect.
889bf7c5 11264 * gdb.reverse/step-reverse.exp:
bcd2dc50 11265 Replace uses of send_gdb / gdb_expect.
889bf7c5 11266 * gdb.reverse/until-precsave.exp:
bcd2dc50 11267 Replace uses of send_gdb / gdb_expect.
889bf7c5 11268 * gdb.reverse/until-reverse.exp:
bcd2dc50 11269 Replace uses of send_gdb / gdb_expect.
889bf7c5 11270 * gdb.reverse/watch-precsave.exp:
bcd2dc50 11271 Replace uses of send_gdb / gdb_expect.
889bf7c5 11272 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
11273 Replace uses of send_gdb / gdb_expect.
11274
3def43e0
JK
112752010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11276
11277 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11278 excessive newline.
11279
27d3a1a2 112802010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
11281
11282 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
11283 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11284 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11285 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11286 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11287 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11288 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11289 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11290 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11291 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11292 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11293 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11294 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11295 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11296 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11297 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11298 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11299 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11300 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 11301
27d3a1a2 113022010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 11303
22454424
MS
11304 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11305 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11306
11307 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11308 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11309 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11310
889bf7c5 11311 * gdb.reverse/consecutive-reverse.exp:
22454424 11312 Replace uses of send_gdb / gdb_expect.
889bf7c5 11313 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
11314 Replace uses of send_gdb / gdb_expect.
11315
11316 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11317 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11318 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 11319 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
11320 Replace uses of send_gdb / gdb_expect.
11321 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11322 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11323 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11324 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11325 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11326 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11327 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11328 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11329 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
11330
113312010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 11332
22454424 11333 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11334
22454424 11335 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11336
22454424
MS
11337 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11338 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11339 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11340 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11341 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11342 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11343 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11344 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11345 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11346
6e5f2c59
TT
113472010-05-25 Tom Tromey <tromey@redhat.com>
11348
11349 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11350
bbc8b958
TT
113512010-05-25 Tom Tromey <tromey@redhat.com>
11352
11353 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11354 argument order.
11355 * gdb.base/macscp.exp: Fix setup_kfail argument order.
11356 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11357 order.
11358 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11359 order.
11360 * gdb.base/call-sc.exp (setup_kfails): Remove.
11361 (setup_compiler_kfails): Remove.
11362 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11363 argument order.
11364 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11365 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11366 (advancei): Fix setup_kfail argument order.
11367 * gdb.base/radix.exp: Fix setup_kfail argument order.
11368 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11369 order.
11370 * gdb.base/structs.exp (setup_kfails): Remove.
11371 (setup_compiler_kfails): Fix setup_kfail argument order.
11372 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11373 order.
11374 * gdb.java/jmain.exp: Fix setup_kfail argument order.
11375 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11376 setup_kfail argument order.
11377 * gdb.cp/overload.exp: Fix setup_kfail argument order.
11378
83d1babf
TT
113792010-05-25 Tom Tromey <tromey@redhat.com>
11380
11381 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11382
6acb16a2
MS
113832010-05-25 Michael Snyder <msnyder@vmware.com>
11384
11385 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11386 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11387 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11388 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11389 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11390 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11391 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11392 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11393 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
11394 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11395 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11396 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11397 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11398 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11399 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11400 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11401 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11402 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11403 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11404 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11405 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11406 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11407 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
11408 * gdb.base/default.exp: Replace send_gdb with gdb_test.
11409 * gdb.base/define.exp: Replace send_gdb with gdb_test.
11410 * gdb.base/display.exp: Replace send_gdb with gdb_test.
11411 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11412 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11413 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11414 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11415 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11416 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11417 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11418 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11419 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11420 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11421 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11422 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11423 * gdb.base/help.exp: Replace send_gdb with gdb_test.
11424 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11425 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11426 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
11427 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11428 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11429 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11430 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11431 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 11432 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
11433
114342010-05-25 Doug Evans <dje@google.com>
11435
11436 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11437 gdb.string_to_argv.
ad3986f0 11438
d3b1e874
TT
114392010-05-21 Tom Tromey <tromey@redhat.com>
11440
11441 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11442 Call it.
11443 * gdb.dwarf2/pieces.S: Update.
11444 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11445
cb826367
TT
114462010-05-21 Tom Tromey <tromey@redhat.com>
11447
11448 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11449 Call it.
11450 * gdb.dwarf2/pieces.c (struct C): New.
11451 (f6): New function.
11452 * gdb.dwarf2/pieces.S: Replace.
11453
74de6778
TT
114542010-05-21 Tom Tromey <tromey@redhat.com>
11455
11456 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11457 Call it.
11458
afd74c5f
TT
114592010-05-21 Tom Tromey <tromey@redhat.com>
11460
11461 * gdb.dwarf2.pieces.exp: New file.
11462 * gdb.dwarf2.pieces.S: New file.
11463 * gdb.dwarf2.pieces.c: New file.
11464
a7b75dfd 114652010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 11466 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
11467
11468 * lib/gdb.exp (gdb_test_no_output): New function.
11469 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11470 when testing commands that should produce no output.
11471
c81c812a
JB
114722010-05-17 Joel Brobecker <brobecker@adacore.com>
11473
11474 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11475 parameter that we want to watch being a constant.
11476
0cce5bd9
JB
114772010-05-17 Joel Brobecker <brobecker@adacore.com>
11478
11479 * gdb.ada/cond_lang: New testcase.
11480
47050449
JB
114812010-05-17 Joel Brobecker <brobecker@adacore.com>
11482
11483 * lib/gdb.exp (banned_variables): New variable/constant.
11484 (gdb_init): Add write trace on variables listed in banned_variables.
11485 (gdb_finish): Remove write traces on variables listed in
11486 banned_variables.
11487
77c01586
JB
114882010-05-17 Joel Brobecker <brobecker@adacore.com>
11489
11490 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11491 * gdb.cp/koenig.exp: Likewise.
11492
88d4aea7
PM
114932010-05-14 Phil Muldoon <pmuldoon@redhat.com>
11494
889bf7c5 11495 PR python/11482
88d4aea7
PM
11496
11497 * gdb.python/py-value.exp (test_value_hash): New function.
11498
f5a010c0
PM
114992010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
11500
11501 PR exp/11530.
11502 * gdb.base/gdb11530.c: New file.
11503 * gdb.base/gdb11530.exp: New file.
11504
8ef4892f
JK
115052010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11506
11507 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11508 * gdb.dwarf2/dw2-modula2-self-type.S: New.
11509
7322dca9
SW
115102010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
11511
11512 * gdb.cp/koenig.exp: New test.
11513 * gdb.cp/koenig.cc: New test program.
11514
02e7ea18
JB
115152010-05-05 Joel Brobecker <brobecker@adacore.com>
11516
11517 Remove the use of prms_id and bug_id throughout the testsuite.
11518
e1c34c5d
PM
115192010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
11520
11521 PR exp/11349.
11522 * testsuite/gdb.cp/ref-types.exp: Add test to examine
11523 use a reference local variable.
11524
8e1d0c49
JK
115252010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11526
11527 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
11528 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
11529 variable different_dir. Move debugfile into a full directory pathname
11530 under DIFFERENT_DIR.
11531 * lib/gdb.exp (separate_debug_filename): Remove.
11532 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
11533 variable debug_dir and mkdir of it. Update function comments.
11534
e66408ed
PA
115352010-04-29 Pedro Alves <pedro@codesourcery.com>
11536
11537 PR gdb/11557
11538
11539 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
11540 files.
11541
d7b32ed3
PM
115422010-04-29 Phil Muldoon <pmuldoon@redhat.com>
11543
889bf7c5 11544 * gdb.python/py-param.exp: New File.
d7b32ed3 11545
6aecb9c2
JB
115462010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
11547
11548 * gdb.base/default.exp: Fix "set language" test.
11549
bdf92a1c
PM
115502010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
11551
11552 PR breakpoints/11531.
11553 * gdb.base/gdb11531.c: New file.
11554 * gdb.base/gdb11531.exp: New file.
11555
3f172e24
TT
115562010-04-26 Tom Tromey <tromey@redhat.com>
11557
11558 * gdb.base/completion.exp: Add tests for completion and deprecated
11559 commands.
11560
64af4c92
JK
115612010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11562
11563 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
11564 (print /x char_array): Escape curly brackets.
11565
492928e4
JK
115662010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11567
11568 Fix deadlock on looped list of loaded shared objects.
11569 * gdb.base/solib-corrupted.exp: New.
11570
66d09542
DE
115712010-04-23 Doug Evans <dje@google.com>
11572
11573 * gdb.python/py-section-script.c: New file.
11574 * gdb.python/py-section-script.exp: New file.
11575 * gdb.python/py-section-script.py: New file.
11576
8bd10a10
CM
115772010-04-20 Chris Moller <cmoller@redhat.com>
11578
11579 PR 10179
11580
11581 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
11582 * gdb.base/pr10179-a.c:
11583 * gdb.base/pr10179-b.c:
11584 * gdb.base/pr10179.exp: New files.
11585
c0201579
JK
115862010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11587
11588 Fix crashes on dangling display expressions.
11589 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
11590 is SEP.
11591 (lib_flags): Remove the "debug" keyword.
11592 (libsepdebug): New variable for iterating new loop.
11593 (save_pf_prefix): New variable wrapping the loop.
11594 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
11595 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
11596
793b0ff8
PM
115972010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11598
11599 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
11600
097f51f7
PM
116012010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11602
11603 PR stabs/11479.
11604 * gdb.stabs/gdb11479.exp: New file.
11605 * gdb.stabs/gdb11479.c: New file.
11606
9a22f0d0
PM
116072010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11608
11609 * gdb.base/charset.c (Strin16, String32): New variables.
11610 * gdb.base/charset.exp (gdb_test): Test correct display
11611 of 16 or 32 bit strings.
11612
116132010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
11614
11615 PR 9167
11616 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
11617 * gdb.cp/pr9167.cc: New file.
11618 * gdb.cp/pr9167.exp: New file.
11619
11620
6e354e5e
PM
116212010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
11622
11623 PR pascal/11492.
11624 * gdb.pascal/gdb11492.pas: New file.
11625 * gdb.pascal/gdb11492.exp: New file.
11626
be942545
JB
116272010-04-20 Joel Brobecker <brobecker@adacore.com>
11628
1667e6e3 11629 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 11630
0c3acc09
JB
116312010-04-20 Joel Brobecker <brobecker@adacore.com>
11632
11633 * gdb.ada/dyn_loc: New testcase.
11634
ec31cde5
CM
116352010-04-20 Chris Moller <cmoller@redhat.com>
11636
11637 PR 10867
889bf7c5 11638
ec31cde5
CM
11639 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
11640 * gdb.cp/pr10687.cc: New file.
11641 * gdb.cp/pr10687.exp: New file.
11642
11643
ce4b0682
SDJ
116442010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11645 Sergio Durigan Junior <sergiodj@redhat.com>
11646
11647 * gdb.fortran/logical.exp: New testcase.
11648 * gdb.fortran/logical.f90: New file.
11649
3436961f
DE
116502010-04-19 Doug Evans <dje@google.com>
11651
11652 * gdb.base/help.exp (help source): Update expected output.
11653
4d836c09
JK
116542010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11655
11656 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
11657 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
11658 gdb_exit and return.
11659 (executable): New variable.
11660 (binfile): Use it.
11661
6149aea9
PA
116622010-04-19 Pedro Alves <pedro@codesourcery.com>
11663
11664 PR breakpoints/8554.
11665
11666 * gdb.trace/save-trace.exp: Adjust.
11667
ed41462c
L
116682010-04-17 H.J. Lu <hongjiu.lu@intel.com>
11669
11670 PR corefiles/11511
11671 * gdb.arch/system-gcore.exp: New.
11672 * gdb.arch/gcore.c: Likewise.
11673
3f7b2faa
DE
116742010-04-15 Doug Evans <dje@google.com>
11675
fa33c3cd
DE
11676 * gdb.python/py-progspace.c: New file.
11677 * gdb.python/py-progspace.exp: New file.
11678
3f7b2faa
DE
11679 * gdb.base/source.exp: Add tests for "source -s".
11680
79f283fe
PM
116812010-04-14 Phil Muldoon <pmuldoon@redhat.com>
11682
11683 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
11684 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
11685 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
11686 * gdb.python/py-mi.exp: New test for to_string returning None.
11687
fc8eb08a
PM
116882010-04-12 Phil Muldoon <pmuldoon@redhat.com>
11689
11690 * gdb.python/py-breakpoint.c: Make result global.
11691
26e197f6
JK
116922010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11693
11694 Fix non-GNU make compatibility.
11695 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
11696
adc36818
PM
116972010-04-09 Phil Muldoon <pmuldoon@redhat.com>
11698
11699 * gdb.python/py-breakpoint.exp: New File.
11700 * gdb.python/py-breakpoint.C: Ditto.
11701
64e17368
SS
117022010-04-08 Stan Shebs <stan@codesourcery.com>
11703
11704 * gdb.trace/actions.exp: Clear default-collect.
11705 * gdb.trace/save-trace.exp: Clear default-collect.
11706
fff5cc64
PM
117072010-04-08 Phil Muldoon <pmuldoon@redhat.com>
11708
11709 * gdb.python/py-value: Add null string variable.
11710 (test_lazy_string): Test zero length, NULL address lazy
11711 strings.
11712
a055a187
L
117132010-04-07 H.J. Lu <hongjiu.lu@intel.com>
11714
11715 * gdb.arch/i386-avx.c: New.
11716 * gdb.arch/i386-avx.exp: Likewise.
11717
11718 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
11719
96e39866
DE
117202010-04-06 Doug Evans <dje@google.com>
11721
11722 * gdb.base/source-test.gdb: New file.
11723 * gdb.base/source.exp: Test source -v.
11724
5984a431
UW
117252010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11726
11727 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
11728
ec8a089a
PM
117292010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
11730
11731 * gdb.stabs/aout.sed: Convert all backslash to double backslash
11732 within one line, unless it is followed by a double quote.
11733 * gdb.stabs/hppa.sed: Idem.
11734 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
11735 * gdb.stabs/weird.exp: Check for correct parsing of
11736 char and string constants.
ec8a089a
PM
11737 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
11738 in .stabs to .stabx substitution.
11739
fce3c1f0
SS
117402010-04-05 Stan Shebs <stan@codesourcery.com>
11741
11742 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
11743 constant global.
11744 * gdb.trace/tfile.exp: Try to print them.
11745
d77f58be
SS
117462010-04-04 Stan Shebs <stan@codesourcery.com>
11747
11748 * gdb.base/completion.exp: Update for new "info watchpoints".
11749 * gdb.base/default.exp: Ditto.
11750 * gdb.base/help.exp: Ditto.
11751 * gdb.base/watchpoint.exp: Ditto.
11752 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 11753
af54718e
SS
117542010-04-04 Stan Shebs <stan@codesourcery.com>
11755
11756 * gdb.trace/tfile.exp: Sharpen tfind test.
11757
74d1f91e
JK
117582010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11759
11760 * gdb.base/break-entry.exp: New.
11761
eb8e76db 117622010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 11763 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
11764
11765 * gdb.reverse/i386-sse-reverse.exp: New file.
11766 * gdb.reverse/i386-sse-reverse.c: New file.
11767
bf65cad8
PA
117682010-04-02 Pedro Alves <pedro@codesourcery.com>
11769
11770 * gdb.trace/tfind.exp: Adjust expected disassembly output.
11771
fff87407
SS
117722010-04-01 Stan Shebs <stan@codesourcery.com>
11773
11774 * gdb.trace/actions.exp: Tweak expected output.
11775 * gdb.trace/while-stepping.exp: Tweak expected output.
11776
fe01d668
L
117772010-04-01 H.J. Lu <hongjiu.lu@intel.com>
11778
11779 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11780
86b17b60
PA
117812010-04-01 Pedro Alves <pedro@codesourcery.com>
11782
11783 * gdb.base/commands.exp: Adjust.
11784 * gdb.cp/extern-c.exp: Adjust.
11785
2c58c0a9
PA
117862010-04-01 Pedro Alves <pedro@codesourcery.com>
11787
11788 * gdb.trace/collection.c (local_test_func): Define a local struct,
11789 and instanciate it.
11790
0db9b91c
PA
117912010-04-01 Pedro Alves <pedro@codesourcery.com>
11792
11793 * gdb.trace/collection.exp (gdb_collect_args_test)
11794 (gdb_collect_argarray_test): XFAIL the tests that assume the
11795 argarray argument's elements are collected.
11796
8072405b
JK
117972010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11798
11799 * gdb.dwarf2/dw2-bad-parameter-type.exp,
11800 gdb.dwarf2/dw2-bad-parameter-type.S: New.
11801
8bf6485c
SS
118022010-03-31 Stan Shebs <stan@codesourcery.com>
11803
11804 * gdb.trace/save-trace.exp: Test save/restore of default-collect
11805 and tracepoint conditionals.
11806 (gdb_verify_tracepoints): Delete unused return.
11807
fd7f724a
KS
118082010-03-26 Keith Seitz <keiths@redhat.com>
11809
11810 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11811 appear in the output before main.
11812 Remove KFAIL for gdb/2215 aka bz 9320.
11813
8d9e7719
DE
118142010-03-30 Doug Evans <dje@google.com>
11815
0906dd0b
DE
11816 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11817 by dejagnu.
11818 * gdb.arch/amd64-dword.exp: Ditto.
11819
8d9e7719
DE
11820 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11821 match.
11822 (break printf): Ditto.
11823
1da644f0
SW
118242010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
11825
11826 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11827 gcc < 4.4.
11828 * gdb.cp/shadow.exp: Ditto.
11829
a8121990
PA
118302010-03-29 Pedro Alves <pedro@codesourcery.com>
11831
11832 * gdb.trace/collection.exp (run_trace_experiment): Make sure
11833 "tstart" is silent.
11834
6e79d367
PA
118352010-03-29 Pedro Alves <pedro@codesourcery.com>
11836
11837 * gdb.trace/collection.exp (executable): New.
11838 (binfile): Use it.
11839 (fpreg, spreg, pcreg): New.
11840 (test_register): Use gdb_test_multiple. Pass /x to print.
11841 (prepare_for_trace_test): New.
11842 (run_trace_experiment): Use "continue", not gdb_run_cmd.
11843 (gdb_collect_args_test, gdb_collect_argstruct_test)
11844 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11845 prepare_for_trace_test.
11846 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
11847 fpreg, spreg and pcreg.
11848 (gdb_collect_expression_test, gdb_collect_globals_test): Use
11849 prepare_for_trace_test.
11850 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
11851 try to detect tracing support here. Don't set breakpoints at
11852 `begin' or `end' here.
11853 <global scope>: Use clean_restart. Run to main before checking
11854 for tracing support. Check for for tracing support here.
11855
09248348
JK
118562010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11857
11858 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11859 " as $displacement" to "seen displacement message".
11860
d350db38
PA
118612010-03-28 Pedro Alves <pedro@codesourcery.com>
11862
11863 * gdb.trace/while-dyn.exp (executable): New variable.
11864 (binfile): Use it.
11865 (test_while_stepping): New function. Move most tests here. Call
11866 it once for each of the while-stepping, stepping and ws aliases.
11867
907af001
UW
118682010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11869
11870 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11871 that do not provide the tagless_struct type name at all.
11872 (test_print_anon_union): Do not check value of uninitialized
11873 union member. Do not use cp_test_ptype_class, so we can accept
11874 "long" as well as "long int".
11875
610197fd
PA
118762010-03-26 Pedro Alves <pedro@codesourcery.com>
11877
11878 * gdb.trace/tfile.c (tohex, bin2hex): New.
11879 (write_error_trace_file): Hexify error description.
11880
6c28cbf2
SS
118812010-03-25 Stan Shebs <stan@codesourcery.com>
11882
11883 * gdb.trace/tfile.c: Generate an additional trace file, improve
11884 portability.
11885 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11886 files in a better way.
11887
e62b8c7e
KS
118882010-03-25 Keith Seitz <keiths@redhat.com>
11889
11890 * gdb.java/jprint.exp: XFAIL printing of static class members
11891 because of GCC debuginfo problem.
11892
82ccf5a5
JK
118932010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11894
11895 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11896
293e2f9e
DJ
118972010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11898
11899 * gdb.base/completion.exp: Allow long instead of long int.
11900 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11901 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
11902 variable p.
11903 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11904 * gdb.base/pointers.exp: Allow long instead of long int.
11905 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
11906 * gdb.base/step-line.exp: Allow a directory before the source file name.
11907
95a42b64
TT
119082010-03-24 Tom Tromey <tromey@redhat.com>
11909
11910 PR breakpoints/9352:
11911 * gdb.base/default.exp: Update.
11912 * gdb.base/commands.exp: Update.
11913 * gdb.cp/extern-c.exp: Test setting commands on multiple
11914 breakpoints at once.
11915
2390201f
DJ
119162010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11917
11918 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
11919 if gdb,nosignals.
11920 * gdb.base/watchpoints.c: Do not include unnecessary headers.
11921 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
11922 exited".
11923
8c9a6790
SS
119242010-03-24 Stan Shebs <stan@codesourcery.com>
11925
11926 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
11927
a6c727b2
DJ
119282010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11929
11930 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
11931 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
11932 argument. Handle "short" and "long".
11933 (Top level): Pass overprototyped output for old_fptr and xptr.
11934
4dfd5423
PA
119352010-03-23 Pedro Alves <pedro@codesourcery.com>
11936
11937 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
11938 format strings and add casts to avoid compiler warnings.
11939
119402010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
11941
11942 * lib/trace-support.exp (gdb_trace_setactions):
11943 Don't expect whitespace after ">" prompt.
11944 * gdb.trace/actions.exp: Adjust for output changes.
11945 * gdb.trace/while-stepping.exp: Likewise.
11946
c847d045
JK
119472010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11948
11949 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
11950 and r157645).
11951
5f717f1d
JK
119522010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11953
11954 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
11955 New.
11956
7d6d51d5
DJ
119572010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
11958
11959 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
11960 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
11961
3b11a015
SS
119622010-03-19 Stan Shebs <stan@codesourcery.com>
11963
11964 * gdb.trace/ax.exp: New file.
11965
d7d158ed
DE
119662010-03-19 Doug Evans <dje@google.com>
11967
6bb85cd1
DE
11968 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
11969 output from gcc.
11970
d7d158ed
DE
11971 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
11972 named /usr/sbin/prelink<foo>.
11973
4daf5ac0
SS
119742010-03-18 Stan Shebs <stan@codesourcery.com>
11975
11976 * gdb.trace/circ.exp: Test circular-trace-buffer.
11977 * gdb.trace/tfile.exp: Update tstatus test.
11978
e8d05480
JB
119792010-03-18 Joel Brobecker <brobecker@adacore.com>
11980
11981 * gdb.dwarf2/dw2-anonymous-func.S: New file.
11982 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
11983
441b986a
UW
119842010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11985
11986 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
11987
4247603b
PA
119882010-03-18 Pedro Alves <pedro@codesourcery.com>
11989
11990 * gdb.base/default.exp: Adjust the expected output of the finish
11991 and until commands when the inferior is not being run.
11992
13387711
SW
119932010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
11994
11995 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
11996 * gdb.cp/nsusing.exp: Ditto.
11997
6e31430b
TT
119982010-03-15 Tom Tromey <tromey@redhat.com>
11999
12000 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12001 * gdb.cp/userdef.cc (operator==): New function.
12002 (main): New locals mem1, mem2.
12003
e2d69cb5
JZ
120042010-03-15 Jie Zhang <jie@codesourcery.com>
12005
12006 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12007 Declare and use new loadtimeout variable.
12008
f572f0a9
DJ
120092010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12010
12011 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12012 Use gdb_load later.
12013
51f4c0b0
PA
120142010-03-14 Pedro Alves <pedro@codesourcery.com>
12015
12016 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12017 literal. Add missing endlines to prints to stderr.
12018
1c809c68
TT
120192010-03-12 Tom Tromey <tromey@redhat.com>
12020
12021 PR c++/9708:
12022 * gdb.cp/m-static.exp: Add regression test.
12023 * gdb.cp/m-static.cc (method): New method.
12024 (main): Call it.
12025
00ae8fef
SW
120262010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12027
12028 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12029 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12030
759f0f0b
PA
120312010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12032
21e24d21
PA
12033 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12034
120352010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12036
759f0f0b
PA
12037 * lib/gdb.exp (skip_stl_tests): New.
12038 (gdb_compile): Symbian needs -ldl.
12039 (shlib_target_file): New.
12040 (shlib_symbol_file): New.
12041 (gdb_load_shlibs): Use shlib_target_file.
12042 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12043 * gdb.cp/exception.exp: Use skip_stl_tests.
12044 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12045 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12046 * gdb.cp/mb-templates.exp: Ditto.
12047 * gdb.base/commands.exp: Relax regexes.
12048 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12049 shlib_target_file and shlib_symbol_file.
12050 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12051 sections.
12052 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12053 * gdb.base/solib-disc.exp: Use
12054 shlib_target_file and shlib_symbol_file.
12055 * gdb.base/unload.exp: Don't skip on symbian. Use
12056 shlib_target_file and shlib_symbol_file.
12057 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12058
6a8f2671 120592010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 12060
6a8f2671
PA
12061 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12062 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12063 Issue a tfind end before looking for a tracepoint frame.
12064 * gdb.trace/tfind.exp: Adjust tstatus output.
12065 Adjust disassembly output.
12066 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12067
ccf26247
JK
120682010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12069
12070 * gdb.base/break-interp.exp: Create new displacement parameter value
12071 for the test_ld calls.
12072 (reach): New parameter displacement, verify its content. New push of
12073 pf_prefix "reach-$func:". Import global expect_out.
12074 (test_core): New parameter displacement, verify its content. New push
12075 of pf_prefix "core:". New command "set verbose on". Import global
12076 expect_out.
12077 (test_attach): New parameter displacement, verify its content. New
12078 push of pf_prefix "attach:". New command "set verbose on". Import
12079 global expect_out.
12080 (test_ld): New parameter displacement, pass it to the reach, test_core
12081 and test_attach calls and verify its content in the "ld.so exit" test.
12082 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12083 (prelink): Update expected text, use gdb_test.
12084
e469c7fb
DE
120852010-03-10 Doug Evans <dje@google.com>
12086
12087 * gdb.base/checkpoint.exp: Fix comment.
12088 Lengthen timeout while doing >600 checkpoints test.
12089 Rename duplicate "kill all one" test to keep test names unique.
12090
60e1c644
PA
120912010-03-10 Pedro Alves <pedro@codesourcery.com>
12092
12093 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12094
cec808ec
KS
120952010-03-08 Keith Seitz <keiths@redhat.com>
12096
889bf7c5
PA
12097 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12098 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12099 (dm_type_long): New function.
12100 (dm_type_unsigned_short): New function.
12101 (dm_type_unsigned_long): New function.
12102 (myint): New typedef.
12103 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12104 long, unsigned shor and long, operator char*, and typedef.
12105 (test_lookup_operator_functions): Add operator char* test.
12106 (test_paddr_operator_functions): Likewise.
12107 (test_paddr_overloaded_functions): Use probe values for
12108 short, long, and unsigned short and long.
12109 (test_paddr_hairy_functions): If the demangler probe detected
12110 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12111 demangler.
12112 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12113 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12114 and "print null_pmf".
12115 Add test "ptype a.*pmf".
12116 * gdb.cp/overload.exp: Allow optional "int" to appear with
12117 "short" and "long".
12118 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12119 long expect value for men_overload1arg.
12120 Allow "int" to appear with "short" and "long".
12121 When testing "info break", add argument for main (void).
12122 Also allow "int" to appear with "short" and "long".
12123 Ditto with "unsigned" and "long long".
cec808ec
KS
12124 * gdb.java/jmain.exp: Do not enclose methods names in single
12125 quotes.
12126 * gdb.java/jmisc.exp: Likewise.
12127 * gdb.java/jprint.exp: Likewise.
12128 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12129
12130 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12131 * gdb.cp/exception.exp (backtrace after first throw)
12132 (backtrace after second throw): Allow a namespace before __cxa_throw.
12133 (backtrace after first catch, backtrace after second catch): Allow
12134 a namespace before __cxa_begin_catch.
12135
12136 * gdb.cp/cpexprs.exp: New file.
12137 * gdb.cp/cpexprs.cc: New file.
12138
12139 From Daniel Jacobowitz <dan@codesourcery.com>
12140 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12141 to use string_to_regexp.
12142 (ctor, dtor): New functions. Use them to match constructor
12143 and destructor function types.
12144 (Top level): Use runto_main.
12145
f870a310
TT
121462010-03-05 Tom Tromey <tromey@redhat.com>
12147
12148 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12149 gdb.target_charset.
12150 (pp_ns.to_string): Likewise.
12151
0c199f28
KS
121522010-03-04 Keith Seitz <keiths@redhat.com>
12153
12154 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12155 can be quoted. Test that both the filename and function/line
12156 portions can be quoted at the same time.
12157
c7437ca6
PA
121582010-03-04 Pedro Alves <pedro@codesourcery.com>
12159
12160 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12161
b111b805
DE
121622010-03-03 Doug Evans <dje@google.com>
12163
24486cb7
DE
12164 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12165 libc contains libpthread.
12166
b111b805
DE
12167 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12168 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12169 of gdb_compile. Add another pattern to match android backtrace.
12170
a0e0ef55
TT
121712010-03-03 Tom Tromey <tromey@redhat.com>
12172
12173 PR gdb/11345:
12174 * gdb.base/printcmds.exp (test_printf): Add test.
12175
1ba53b71
L
121762010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12177
12178 * gdb.arch/amd64-byte.exp: New.
12179 * gdb.arch/amd64-dword.exp: Likewise.
12180 * gdb.arch/amd64-pseudo.c: Likewise.
12181 * gdb.arch/amd64-word.exp: Likewise.
12182 * gdb.arch/i386-byte.exp: Likewise.
12183 * gdb.arch/i386-pseudo.c: Likewise.
12184 * gdb.arch/i386-word.exp: Likewise.
12185
f5dff777
DJ
121862010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12187
12188 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12189 types. Add structreg, bitfields, and flags registers.
12190 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12191 registers.
12192
90884b2b
L
121932010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12194
12195 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12196 (load_description): Set architecture if defined.
12197
dc00d89f
PM
121982010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12199
12200 * gdb.python/py-frame.exp: Add read_var block tests.
12201 * gdb.python/py-frame.c (block): New function.
12202
0e095b7e
JK
122032010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12204 Daniel Jacobowitz <dan@codesourcery.com>
12205
12206 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12207
624f1a65
DM
122082010-02-25 David S. Miller <davem@davemloft.net>
12209
12210 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12211 fix logic for setting all_syscalls_numbers.
12212
f3e9a817
PM
122132010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12214
12215 * Makefile.in: Add py-block and py-symbol.
12216 * gdb.python/py-symbol.exp: New File.
12217 * gdb.python/py-symtab.exp: New File.
12218 * gdb.python/py-block.exp: New File.
12219 * gdb.python/py-symbol.c: New File.
12220 * gdb.python/py-block.c: New File.
12221
f6bbabf0
PM
122222010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12223
12224 PR python/11314
12225 * lib/gdb.exp (skip_python_tests): New function.
12226 * gdb.python/py-cmd.exp: Use skip_python_tests.
12227 * gdb.python/py-frame.exp: Likewise.
12228 * gdb.python/py-function.exp: Likewise.
12229 * gdb.python/py-prettyprint.exp: Likewise.
12230 * gdb.python/py-template.exp: Likewise.
12231 * gdb.python/py-type.exp: Likewise.
12232 * gdb.python/py-value.exp: Likewise.
12233
85d721b8
PA
122342010-02-22 Pedro Alves <pedro@codesourcery.com>
12235
12236 PR9605
12237
12238 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12239
48e32051
TT
122402010-02-19 Tom Tromey <tromey@redhat.com>
12241
12242 PR c++/8693, PR c++/9496:
12243 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12244 regression tests.
12245
ac9c0048
JK
122462010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12247
12248 Fix compatibility with m68k as.
12249 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12250 Use only /* comments */.
12251
57bb97a4
UW
122522010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12253
12254 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12255 * configure: Regenerate.
12256
7d1bf85c
DJ
122572010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12258
12259 * gdb.python/py-type.exp: Check for Python support.
12260
061b5285
PA
122612010-02-17 Pedro Alves <pedro@codesourcery.com>
12262
12263 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12264 `regsub' syntax available.
12265
f8a8bc2c
PA
122662010-02-17 Pedro Alves <pedro@codesourcery.com>
12267
12268 * gdb.base/shmain.c (main): Remove printf call.
12269 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12270 * gdb.base/unload.c (main): Make format of fprintf a string
12271 literal. Add missing endlines to prints to stderr.
12272 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12273
6f451e5e
TT
122742010-02-17 Tom Tromey <tromey@redhat.com>
12275
12276 * gdb.java/jprint.java (jprint.props): New field.
12277 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12278
12d79008
PA
122792010-02-17 Pedro Alves <pedro@codesourcery.com>
12280
ef801a0e 12281 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
12282 available.
12283
d252f7e5
DJ
122842010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12285
12286 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12287 creation to support remote host testing.
12288
67bdab6c
DJ
122892010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12290
12291 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12292 Recognize "command not found".
12293
bb391223
DJ
122942010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12295
12296 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12297 single-stepping.
12298
70362913
DJ
122992010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12300
12301 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12302 if arguments are not supported.
12303
493f3c00
DJ
123042010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12305
12306 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12307 be const or non-const.
12308
8034c749
DJ
123092010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12310
12311 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12312 mi_send_resuming_command to send -exec-continue.
12313
791dfb64
DJ
123142010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12315
12316 * gdb.base/list.exp (test_list_filename_and_function): Add test
12317 with single quotes.
12318 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12319 matching.
12320 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12321 Add KFAIL'd tests for PR gdb/11289.
12322
7c5fe868
DJ
123232010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12324
12325 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12326
fdc498b8
DJ
123272010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12328
12329 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12330 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12331 a temporary directory.
12332
b519e2a6
DJ
123332010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12334
12335 * gdb.base/charset.exp: Use a single regular expression to match
12336 show host-charset and show target-charset output.
12337
74164c56
JK
123382010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12339
12340 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12341 "Illegal process-id" expect string more exact.
12342 (attach to digits-starting nonsense is prohibited): New.
12343
701ed6dc
JK
123442010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12345
12346 * gdb.base/prelink.exp (set verbose on): New.
12347
889bf7c5 123482010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
12349
12350 * mi-reverse.exp: New file. Test for reverse option to the
12351 following MI commands: exec-continue, exec-finish, exec-next,
12352 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 12353
dadf0e9c
JB
123542010-02-09 Joel Brobecker <brobecker@adacore.com>
12355
12356 * gdb.ada/ptype_tagged_param: New testcase.
12357
714f19d5
TT
123582010-02-08 Tom Tromey <tromey@redhat.com>
12359
12360 PR c++/8017:
12361 * gdb.cp/overload.exp: Add tests.
12362 * gdb.cp/overload.cc (struct K): New.
12363 (namespace N): New.
12364 (main): Call new functions.
12365 (K::staticoverload): Define.
12366
889bf7c5 123672010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
12368
12369 PR gdb/10728
12370 * gdb.cp/pr10728-x.h: New file.
12371 * gdb.cp/pr10728-x.cc: New file.
12372 * gdb.cp/pr10728-y.cc: New file.
12373 * gdb.cp/pr10728.exp: New file.
12374 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12375
889bf7c5 123762010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
12377
12378 PR gdb/9067
12379 * gdb.cp/pr9067.exp: New
12380 * gdb.cp/pr9067.cc: New
12381 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12382
7b356089
JB
123832010-02-08 Joel Brobecker <brobecker@adacore.com>
12384
12385 * lib/gdb.exp (gdb_test_timeout): New global variable.
12386 Set it to timeout if not already set.
12387 (gdb_init): Reset the value of timeout to gdb_test_timeout.
12388
1be00882
DE
123892010-02-05 Doug Evans <dje@google.com>
12390
12391 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12392 user.
12393
82856980
SW
123942010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
12395
12396 PR c++/7935:
12397 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12398
1a334831
TT
123992010-02-04 Tom Tromey <tromey@redhat.com>
12400
12401 * gdb.cp/virtbase.exp: Make test case names unique.
12402
9c3c02fd
TT
124032010-02-02 Tom Tromey <tromey@redhat.com>
12404
12405 * gdb.cp/virtbase.exp: Add regression tests.
12406 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12407 (main): Instantiate RHC.
12408
0cc2414c
TT
124092010-02-02 Tom Tromey <tromey@redhat.com>
12410
12411 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12412 type-printing change.
12413
edf3d5f3
TT
124142010-02-02 Tom Tromey <tromey@redhat.com>
12415
12416 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12417 * gdb.cp/virtbase.cc: New file.
12418 * gdb.cp/virtbase.exp: New file.
12419 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12420
e4b7f41c
JK
124212010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12422
12423 PR libc/11214:
12424 * gdb.threads/current-lwp-dead.c: Include features.h.
12425 (HAS_NOMMU): New.
12426 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12427
b381ea14
JK
124282010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12429
12430 * gdb.base/symbol-without-target_section.exp,
12431 gdb.base/symbol-without-target_section.c: New.
12432
c593ac0e
DJ
124332010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12434
12435 * gdb.base/bigcore.exp: Reset increased timeout.
12436 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12437
db25f29d
DJ
124382010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12439
12440 * gdb.base/gcore.exp (capture_command_output): Use
12441 gdb_test_multiple.
12442
f9d67f43
DJ
124432010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12444
12445 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12446 * gdb.arch/thumb2-it.exp (test_it_break): New function.
12447 (Top level): Call it.
12448
177321bd
DJ
124492010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12450
12451 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12452
97f2ed50
DJ
124532010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12454
12455 * gdb.base/call-strs.exp, gdb.base/default.exp,
12456 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12457 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12458 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12459 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12460 gdb.base/watchpoint-solib.exp: Save and restore timeout.
12461 * gdb.base/ending-run.exp: Correct restore of timeout.
12462 * gdb.base/page.exp: Remove unnecessary timeout setting.
12463
e4e2711a
JB
124642010-01-29 Joel Brobecker <brobecker@adacore.com>
12465
12466 * gdb.ada/rec_return: New testcase.
12467
ba581dc1
JB
124682010-01-29 Joel Brobecker <brobecker@adacore.com>
12469
12470 * gdb.ada/call_pn: New testcase.
12471
4ea95be9
DJ
124722010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12473
12474 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12475 (Top level): Use it to resume.
12476 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12477 the Thumb mode displaced stepping error as unsupported.
12478
df83a9bf
SW
124792010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
12480
889bf7c5
PA
12481 * gdb.cp/nsusing.exp: Added more tests.
12482 * gdb.cp/nsrecurs.exp: Ditto.
12483 * gdb.cp/nsusing.cc: Added test functions.
12484 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 12485
40b27cdc
JK
124862010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12487
12488 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12489 absolute directory pathnames in gdb.sum file.
12490
de958931
SW
124912010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
12492
12493 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12494 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12495
708ead4e
TT
124962010-01-26 Tom Tromey <tromey@redhat.com>
12497
12498 PR exp/7643:
12499 * gdb.base/printcmds.exp (test_print_string_constants): Remove
12500 setup_kfail.
12501
b14e635e
SW
125022010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
12503
12504 * gdb.cp/nsrecurs.exp: New test.
12505 * gdb.cp/nsrecurs.cc: New test program.
12506 * gdb.cp/nsstress.exp: New test.
12507 * gdb.cp/nsstress.cc: New test program.
12508 * gdb.cp/nsdecl.exp: New test.
12509 * gdb.cp/nsdecl.cc: New test program.
12510
8540c487
SW
125112010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
12512
12513 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12514 imported into file scope.
12515 Marked test as xfail.
12516 * gdb.cp/namespace-using.cc (marker5): New function.
12517 * gdb.cp/shadow.exp: New test.
12518 * gdb.cp/shadow.cc: New test program.
12519 * gdb.cp/nsimport.exp: New test.
12520 * gdb.cp/nsimport.cc: New test program.
12521
421d5d99
TT
125222010-01-25 Tom Tromey <tromey@redhat.com>
12523
12524 PR gdb/11049:
12525 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
12526 with "set print null-stop on".
12527
691f8dc1
JK
125282010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12529
12530 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
12531 Adjust it for DISASSEMBLY_OMIT_FNAME.
12532
0b92b5bb
TT
125332010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12534
12535 PR symtab/11199:
12536 * gdb.dwarf2/member-ptr-forwardref.exp,
12537 gdb.dwarf2/member-ptr-forwardref.S: New.
12538
23787403
JK
125392010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12540
12541 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
12542 (thread1_func): Protect thread1_tid with thread1_tid_cond by
12543 thread1_tid_mutex. Remove gdbstop_mutex handling.
12544 (thread2_func): Protect thread2_tid with thread2_tid_cond by
12545 thread2_tid_mutex. Remove gdbstop_mutex handling.
12546 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
12547 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
12548 pthread_cond_wait conditionalizations by while loops.
12549
b966cb8a
TT
125502010-01-20 Tom Tromey <tromey@redhat.com>
12551
12552 PR backtrace/10770:
12553 * gdb.dwarf2/pr10770.exp: New file.
12554 * gdb.dwarf2/pr10770.c: New file.
12555 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
12556
fcae584b
VP
125572010-01-20 Vladimir Prus <vladimir@codesourcery.com>
12558
12559 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
12560 that target was removed, and the test always runs native anyway.
12561
a0f49112
JK
125622010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12563
12564 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
12565 gdb.base/watchpoint-cond-gone-stripped.c: New.
12566
ceeb3d5a
TT
125672010-01-19 Tom Tromey <tromey@redhat.com>
12568
12569 PR c++/8000:
12570 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
12571 existing tests.
12572 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
12573 (main): Use AAA::SomeEnum.
12574
dd322c54
JK
125752010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12576
12577 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
12578 (test_ignore_count): Declare line_callme_body global.
12579 (run to breakpoint with ignore count): Use line_callme_body.
12580 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
12581 (set line_main_hello, set line_main_return): Reindent.
12582 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
12583 New.
12584 (continue to callee4): Use line_callee4_body.
12585 (check *stopped from CLI command): Use line_callee4_next.
12586 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
12587 (set line_main_hello, set line_main_return): Reindent.
12588 (set line_callee4_head, set line_callee4_body): New.
12589 (continue to callee4): Use line_callee4_body.
12590
4e8f195d
TT
125912010-01-18 Tom Tromey <tromey@redhat.com>
12592
12593 PR c++/9680:
12594 * gdb.cp/casts.cc: Add new classes and variables.
12595 * gdb.cp/casts.exp: Test new operators.
12596
9e14a9ba
JB
125972010-01-18 Tom Tromey <tromey@redhat.com>
12598 Thiago Jung Bauermann <bauerman@br.ibm.com>
12599
12600 * gdb.python/source2.py: New file.
12601 * gdb.python/source1: New file.
12602 * gdb.python/python.exp: Test "source" command.
12603
00bf0b85
SS
126042010-01-15 Stan Shebs <stan@codesourcery.com>
12605
12606 * gdb.trace/tfile.c: New file.
12607 * gdb.trace/tfile.exp: New file.
889bf7c5 12608
55235ad7
JK
126092010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12610
12611 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
12612
9f2982ff
JK
126132010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12614
12615 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
12616
bbfba9ed
JK
126172010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12618
12619 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
12620 (libfunc): New parameter action. Implement also selectable "sleep".
12621 * gdb.base/break-interp-main.c: Include assert.h.
12622 (libfunc): New parameter action.
12623 (main): New parameters argc and argv. Assert argc. Pass argv.
12624 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
12625 (test_attach): New proc.
12626 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
12627 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
12628
61f0d762
JK
126292010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12630
12631 * gdb.base/break-interp.exp (test_core): New proc.
12632 (test_ld): Call it.
12633
06a6f270
JK
126342010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12635
12636 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
12637 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
12638 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
12639 and gdb_compile_shlib. Use new -Wl compiler options.
12640 (dl bt, main bt): New tests.
12641
51bee8e9
JK
126422010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12643
12644 Support PIEs with no symfile_objfile.
12645 * gdb.base/break-interp.exp: New argument at the test_ld calls.
12646 (test_ld): New parameter trynosym.
12647 (test_ld <$trynosym>): New block.
12648
b8040f19
JK
126492010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12650
12651 * gdb.base/break-interp.exp: New file.
12652
be759fcf
PM
126532010-01-13 Phil Muldoon <pmuldoon@redhat.com>
12654
12655 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
12656 * gdb.python/py-prettyprint.py (pp_ls): New printer.
12657 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
12658 test.
12659 * gdb.python/py-prettyprint.c: Define lazystring test structure.
12660 * gdb.python/py-mi.exp: Add lazy string test.
12661
dc146f7c
VP
126622010-01-13 Vladimir Prus <vladimir@codesourcery.com>
12663
12664 * lib/mi-support.exp (mi_check_thread_states): Handle
12665 core number in thread listing.
12666
b4ba55a1
JB
126672010-01-12 Joel Brobecker <brobecker@adacore.com>
12668
12669 * gdb.base/maint.exp: Adjust the expected output for the
12670 "maint print type" test. Use gdb_test_multiple instead of
12671 gdb_sent/gdb_expect.
12672
08e24bd4
DE
126732010-01-11 Doug Evans <dje@google.com>
12674
6496a609
DE
12675 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
12676 from gdbserver_download. All callers updated.
12677
08e24bd4
DE
12678 * gdb.server/ext-run.exp: "info os processes" requires xml support.
12679
b5cfddf5
JK
126802010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12681
12682 Implement binary numbers parsing.
12683 * gdb.base/printcmds.exp (test_integer_literals_accepted)
12684 (test_integer_literals_rejected): New binary tests.
12685
3725885a
RW
126862010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12687
12688 * gdb.cell/configure: Regenerate.
12689
37aeb5df
JK
126902010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12691
12692 * gdb.base/corefile.exp: Move the core finding block out and call it as
12693 core_find, new variable $corefile, replace corefile by $corefile and
12694 [file tail $corefile] for usage vs. test names resp.
12695 * lib/gdb.exp (core_find): Move it as a new function here. New
12696 parameter binfile and deletefiles. New variable $destcore. Pre-delete
12697 $destcore. Return "" on error.
12698
d521f563
JK
126992010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12700
12701 Workaround PR binutils/10802.
12702 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
12703 (twice).
12704
28f24826
DJ
127052010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12706
12707 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
12708
2de75e71
JB
127092010-01-08 Joel Brobecker <brobecker@adacore.com>
12710
12711 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
12712 call, to avoid interruption.
12713
fe00719b 127142010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
12715
12716 * gdb.stabs/weird.def (args93): New.
12717
d0ef5df8
DE
127182010-01-07 Doug Evans <dje@google.com>
12719
12720 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
12721
3a08d52f
TT
127222010-01-07 Tom Tromey <tromey@redhat.com>
12723
12724 * gdb.base/source.exp: Use correct line number.
12725
7a697b8d
SS
127262010-01-05 Stan Shebs <stan@codesourcery.com>
12727
12728 * gdb.trace/tracecmd.exp: Test ftrace.
12729
7803799a
UW
127302010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12731
12732 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
12733
c54eabfa
JK
127342010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12735
12736 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
12737 "uint_for_mi_testing".
12738
02e7ef19
JB
127392010-01-01 Joel Brobecker <brobecker@adacore.com>
12740
12741 Test indented comment in file being sourced.
12742 * gdb.base/commands.exp: Test indented comment in file being sourced.
12743
abd775ce
JB
127442010-01-01 Joel Brobecker <brobecker@adacore.com>
12745
12746 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12747 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12748 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12749 notice.
12750
79b55b82
JB
127512010-01-01 Joel Brobecker <brobecker@adacore.com>
12752
12753 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12754 notice.
12755
8997583e
JK
127562010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12757
12758 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12759 missing $after_stopped and comma (,) expectation.
12760
6da95a67
SS
127612009-12-31 Stan Shebs <stan@codesourcery.com>
12762
12763 * gdb.trace/actions.exp: Test teval action.
889bf7c5 12764
218d2fc6
TJB
127652009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12766
12767 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12768 (top level): Call test_watchpoint_in_big_blob.
12769 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12770 watchpoints.
12771 (func3): Write to buf.
12772
236f1d4d
SS
127732009-12-29 Stan Shebs <stan@codesourcery.com>
12774
12775 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 12776
f61e138d
SS
127772009-12-28 Stan Shebs <stan@codesourcery.com>
12778
12779 * gdb.trace/tsv.exp: New file.
12780 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 12781
0219b378
DJ
127822009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
12783
12784 * gdb.base/find.c (main): Reference search buffers.
12785 * gdb.base/included.c (main): Reference integer.
12786 * gdb.base/ptype.c (charfoo): Declare.
12787 (intfoo): Call charfoo.
12788 * gdb.base/scope0.c (useitp): New function.
12789 (usestatics): Use useitp.
12790 (useit): Add a type for val.
12791 * gdb.base/scope1.c (useit1): Take a pointer argument.
12792 (usestatics1): Update calls to useit1.
12793 * gdb.cp/call-c.cc: Declare foo.
12794 (main): Call foo.
12795 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12796 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12797 (main): Call C::ensureRefs and ensureOtherRefs.
12798 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12799 variables.
12800 (ensureOtherRefs): New function.
12801 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12802 * gdb.cp/templates.cc (main): Call t5i.value.
12803
3f78692f
JK
128042009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12805
12806 Fix compatibility with G++-4.5.
12807 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12808 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12809 (uncaught return): Remove.
12810
429374b8
JK
128112009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12812 Phil Muldoon <pmuldoon@redhat.com>
12813
12814 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12815 (bp_location13, bp_location14, bp_location17, bp_location18)
12816 (marker3_proto, marker4_proto): New variables.
12817 (breakpoint info): Update output.
12818 (run until breakpoint at marker3, run until breakpoint at marker4): New
12819 tests.
12820
859825b8
JK
128212009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12822
12823 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12824 Replace the printf call of Y by provided "y-set-1" label. New block
12825 for the second shared library.
12826 * gdb.base/unload.exp: Compile also the second library, call
12827 gdb_load_shlibs also for it. Use now gdb_breakpoint.
12828 (single pending breakpoint info): Rename to ...
12829 (pending breakpoint info before run): ... this extended test.
12830 (libfile2, libname2, libsrcfile2, libsrc2)
12831 (lib_sl2): New variables.
12832 (exec_opts): Set also SHLIB_NAME2.
12833 (pending breakpoint info on first run at shrfunc1)
12834 (pending breakpoint info on second run at shrfunc1)
12835 (pending breakpoint info on second run at shrfunc2)
12836 (print y from libfile, print y from libfile2): New tests.
12837 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12838 * gdb.base/unloadshr2.c: New.
12839
e6a386cd
HZ
128402009-12-22 Hui Zhu <teawater@gmail.com>
12841
12842 * gdb.reverse/sigall-reverse.exp: Adjust.
12843
9e19b45e
VP
128442009-12-21 Vladimir Prus <vladimir@codesourcery.com>
12845
12846 PR gdb/10884
12847
12848 * gdb.mi/var-cmd.c (do_bitfield_tests): New
12849 (main): Call do_bitfield_tests.
aacf5b1e 12850 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 12851
d53a7b30
JB
128522009-12-20 Joel Brobecker <brobecker@adacore.com>
12853
12854 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12855 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12856 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12857 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12858 gdb.modula2/unbounded1.c: Update copyright header.
12859
191ca0a1
CM
128602009-12-10 Chris Moller <moller@mollerware.com>
12861
12862 PR gdb/9399
12863 * gdb.cp/virtfunc2.exp: New tests
12864 * gdb.cp/virtfunc2.cc: New tests
12865 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12866
0fa6cf1b
MS
128672009-12-10 Oza Pawandeep (paawan1982@yahoo.com
12868
12869 * gdb.reverse/i387-env-reverse.c: New file.
12870 * gdb.reverse/i387-env-reverse.exp: New file.
12871 * gdb.reverse/i387-stack-reverse.c: New file.
12872 * gdb.reverse/i387-stack-reverse.exp: New file.
12873
361ae042
PM
128742009-12-08 Phil Muldoon <pmuldoon@redhat.com>
12875
12876 * gdb.python/py-type.exp (test_range): New test.
12877
bfd31e71
PM
128782009-12-03 Phil Muldoon <pmuldoon@redhat.com>
12879
12880 PR python/10805
12881
12882 * gdb.python/py-type.exp: New file.
12883 * gdb.python/py-type.c: New file.
12884 * Makefile.in: Add py-type.
12885
57a1d736
TT
128862009-12-03 Tom Tromey <tromey@redhat.com>
12887
12888 * gdb.python/py-value.exp (test_parse_and_eval): New
12889 function.
12890
1f3b5d1b
PP
128912009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12892
12893 PR gdb/11022
12894
12895 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
12896 * gdb.base/pr11022.c: New test.
12897
8b7dbdc9
JK
128982009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12899
12900 Fix spurious false FAILs.
12901 * gdb.base/structs.c (chartest): New.
12902 (main): Fill-in chartest.
12903 * gdb.base/structs.exp (anychar_re, first): New.
12904 (start_structs_test): Import global anychar_re and first.
12905 New gdb_test call "set print elements 300; ${testfile}"
12906 (start_structs_test <$first>): New block.
12907 (any): Import global anychar_re. New variable ac. Use ${ac}.
12908
6a53b2ec
JK
129092009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12910
12911 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
12912
d7167b4c
JK
129132009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12914
12915 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
12916 Force $srcfile file.
12917 * gdb.base/foll-fork.c (callee): Comment out the printf call.
12918
b1798462
UW
129192009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12920
12921 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
12922 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
12923 * gdb.threads/watchthreads-reorder.exp: Likewise.
12924
b6199126
DJ
129252009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
12926
12927 PR gdb/8704
12928
12929 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
12930 "if", and "thread". Correct matching in the previous test.
12931
b22a0510
DJ
129322009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
12933
12934 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
12935
930636d2
MS
129362009-11-23 Michael Snyder <msnyder@vmware.com>
12937
12938 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
12939 * gdb.reverse-watch-precsave.exp: Ditto.
12940
21a0512e
PP
129412009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
12942
12943 * gdb.asm/asm-source.exp: Adjust.
12944 * gdb.base/help.exp: Adjust.
889bf7c5 12945
fc30d5e0
PA
129462009-11-22 Pedro Alves <pedro@codesourcery.com>
12947
12948 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
12949 (do_syscall_tests_without_xml): Set data-directory to
12950 /the/path/to/nowhere.
12951
f6bc2008
PA
129522009-11-21 Pedro Alves <pedro@codesourcery.com>
12953
12954 * gdb.threads/local-watch-wrong-thread.c,
12955 gdb.threads/local-watch-wrong-thread.exp: New files.
12956
8c2fb5de
PA
129572009-11-21 Pedro Alves <pedro@codesourcery.com>
12958
12959 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
12960 assume new `regsub' syntax available.
12961
ebec9a0f
PA
129622009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12963
a79d3c27
JK
12964 * gdb.base/watchpoint-hw-hit-once.exp,
12965 gdb.base/watchpoint-hw-hit-once.c: New.
12966
129672009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12968
12969 * gdb.threads/watchthreads-reorder.exp,
12970 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 12971
276a961b
MK
129722009-11-17 Nathan Sidwell <nathan@codesourcery.com>
12973
12974 * gdb.xml/tdesc-regs.exp: Use for m68k.
12975
4867c1fb
PA
129762009-11-15 Pedro Alves <pedro@codesourcery.com>
12977
12978 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
12979
f6838f81
DJ
129802009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12981
12982 * lib/gdb.exp (current_target_name): New procedure.
12983 (gdb_wrapper_target): New variable.
12984 (gdb_wrapper_init): Set gdb_wrapper_target.
12985 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
12986 wrapper.
12987
4ac4dd3f
DJ
129882009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12989
12990 * gdb.base/remote.exp: Delete the slowest load test.
12991 Do not load with fixed packet sizes.
12992
a7881759
DJ
129932009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12994
12995 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
12996
97a5b505
DJ
129972009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12998
12999 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13000 srcfile when setting a breakpoint.
13001
d3e1fc54
DJ
130022009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13003
13004 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13005 macros.
13006
7cbcbded
DJ
130072009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13008
13009 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13010 to be in memory.
13011 * gdb.base/display.c (force_mem): New.
13012 (do_loops): Use it. Add breakpoint comments.
13013 (do_vars): Add a breakpoint comment.
13014 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13015 line numbers.
13016
bdea3a92
NF
130172009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13018
13019 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13020 instead of a bare "run".
13021
269f82e5
PP
130222009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13023
13024 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 13025
a69b7d9d
DJ
130262009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13027
13028 * lib/cell.exp (skip_cell_tests): Clean up test files before
13029 returning.
13030
b598bfda
DJ
130312009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13032
13033 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13034 and the breakpoint menu. Do not call perror if a prompt is seen.
13035 Consume the following GDB prompt.
13036 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13037 * gdb.cp/namespace.exp: Use gdb_test.
13038 * gdb.cp/templates.exp: Use gdb_test.
13039 (test_template_breakpoints): Use gdb_test_multiple.
13040
87728fa0
DJ
130412009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13042
13043 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13044 (marker4): Reference values.
13045
b67c692f
DJ
130462009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13047
13048 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13049 is missing.
13050
f0df251a
DJ
130512009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13052
13053 * gdb.base/break.c (need_malloc): New.
13054 * gdb.base/constvars.c (main): Reference crass and crisp.
13055 * gdb.base/gdb1821.c (main): Reference bar.
13056 * gdb.cp/gdb1355.cc (main): Reference s1.
13057 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13058 (main): Call them.
13059 * gdb.cp/hang2.cc (dummy2): Define.
13060 * gdb.cp/hang3.cc (dummy3): Define.
13061 * gdb.cp/m-data.cc (main): Reference shadow.
13062
bdf7534a
NF
130632009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13064 Nathan Froyd <froydnj@codesourcery.com>
13065
13066 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13067 remote host.
13068
f24fce77
NF
130692009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13070
13071 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13072 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13073 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13074 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13075 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13076 * gdb.dwarf2/dw2-producer.exp: Likewise.
13077 * gdb.dwarf2/mac-fileno.exp: Likewise.
13078 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13079 py-prettyprint.py to the remote host.
13080 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13081
40f0318e
KS
130822009-11-11 Keith Seitz <keiths@redhat.com>
13083
13084 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13085 use it instead of "Foo".
13086 * gdb.cp/classes.exp (do_tests): Add a test to access
13087 a method through a typedef'd class name.
13088
f3d9f7fb
NF
130892009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13090
13091 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13092 exponents.
13093 * gdb.base/pointers.exp: Likewise.
13094 * gdb.cp/ref-types.exp: Likewise.
13095
a4216f37
KS
130962009-11-11 Keith Seitz <keiths@redhat.com>
13097
13098 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13099 new[] and delete[].
13100 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13101 "void".
13102 (probe_demangler): Remove all single-quoting of
13103 method and variable names.
13104 (info_func_regexp): Remove the word "void" from any
13105 occurrence of "(void)".
13106 (print_addr_2): Remove all single-quoting of
13107 method names.
13108 (print_addr_2_kfail): Likewise.
13109 (print_addr): Single-quote C function names before
13110 passing to print_addr_2.
13111 (test_paddr_operator_functions): Remove single-quoting
13112 for method names.
13113 Add tests for operator new[] and operator delete[].
13114
9b14d7aa
JK
131152009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13116
13117 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13118
85feb311
KS
131192009-11-09 Keith Seitz <keiths@redhat.com>
13120
13121 * gdb.cp/overload.exp: Add tests for resolving overloaded
13122 methods in expression parsing/evaluation.
13123
fa335448
DJ
131242009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13125
13126 * lib/gdb.exp (default_gdb_version): Use --version instead of
13127 --command.
13128
ec3c07fc
NS
131292009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13130
13131 * lib/gdb.exp (gdb_compile_test): New.
13132 (skip_ada_tests, skip_java_tests): New.
13133 (gdb_compile): Use gdb_compile_test for f77.
13134 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13135 * lib/java.exp (compile_java_from_source): Remove runtests check,
13136 use gdb_compile_test to record result.
13137 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13138 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13139 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13140 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13141 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13142 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13143 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13144 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13145 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13146 adjust gdb_compile invocations.
13147
b8b4e42b
JK
131482009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13149
13150 * Makefile.in (abs_builddir): New.
13151 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13152 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13153 `$(abs_builddir)/site.exp'.
13154
f8b7eaf3
DJ
131552009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13156
13157 * config/m68k-emc.exp, lib/emc-support.exp,
13158 gdb.trace/gdb_c_test.c: Delete.
13159 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13160 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13161 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13162 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13163 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13164 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13165 casing for m68k-*-elf.
13166
c4187697
NS
131672009-11-03 Pedro Alves <pedro@codesourcery.com>
13168
13169 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13170 * gdb.arch/i386-prologue.exp: Likewise.
13171 * gdb.arch/i386-unwind.exp: Likewise.
13172
db16b772
DJ
131732009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13174
13175 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13176
bcf71277
DJ
131772009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13178
13179 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13180
0105cee2
DJ
131812009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13182
13183 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13184
24ddea62
JK
131852009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13186
13187 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13188
287ccc17
JK
131892009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13190
13191 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13192 * gdb.base/sepdebug2.c: New file.
13193
08bca259 131942009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
13195
13196 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13197 the modified warnings for catch syscall. Verify if GDB was compiled
13198 with support for lib expat, and choose which tests to run depending
13199 on this.
13200
5d4e2b76
VP
132012009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13202
13203 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13204 that composite commands are parsed OK. And also test
13205 that breakpoint commands do work.
13206
240e538a
MS
132072009-10-23 Michael Snyder <msnyder@vmware.com>
13208
13209 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13210 to allow for new disassembly style.
13211
9c419145
PP
132122009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13213
13214 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 13215
02506ff1
MS
132162009-10-22 Michael Snyder <msnyder@vmware.com>
13217
13218 * gdb.reverse/break-precsave.exp: New test.
13219 * gdb.reverse/consecutive-precsave.exp: Ditto.
13220 * gdb.reverse/finish-precsave.exp: Ditto.
13221 * gdb.reverse/i386-precsave.exp: Ditto.
13222 * gdb.reverse/machinestate-precsave.exp: Ditto.
13223 * gdb.reverse/sigall-precsave.exp: Ditto.
13224 * gdb.reverse/solilb-precsave.exp: Ditto.
13225 * gdb.reverse/step-precsave.exp: Ditto.
13226 * gdb.reverse/until-precsave.exp: Ditto.
13227 * gdb.reverse/watch-precsave.exp: Ditto.
13228
4cf866a3
MS
132292009-10-22 Michael Snyder <msnyder@vmware.com>
13230
13231 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13232 for gdb_expect. Adjust one test's expect strings for the new
13233 format of disassemble.
13234 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13235 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13236 gdb_test_multiple.
13237 * gdb.reverse/step-reverse.exp: Delete 'return'.
13238 * gdb.reverse/until-reverse.exp: Delete blank lines.
13239 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13240
2b28d209
PP
132412009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13242
13243 * gdb.base/consecutive.exp: Adjust.
13244 * gdb.base/display.exp: Likewise.
13245 * gdb.base/pc-fp.exp: Likewise.
13246 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 13247
33b9c32b
MS
132482009-10-19 Michael Snyder <msnyder@vmware.com>
13249
13250 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13251 * gdb.reverse/finish-reverse.c: Ditto.
13252 * gdb.reverse/sigall-reverse.c: Ditto.
13253 * gdb.reverse/solib-reverse.c: Ditto.
13254 * gdb.reverse/step-reverse.c: Ditto.
13255 * gdb.reverse/watch-reverse.c: Ditto.
13256
6c95b8df
PA
132572009-10-19 Pedro Alves <pedro@codesourcery.com>
13258 Stan Shebs <stan@codesourcery.com>
13259
13260 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13261 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13262 "Executing new program".
13263 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13264 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13265 left listed after having been killed.
13266 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13267 * gdb.base/maint.exp: Adjust test.
13268
13269 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13270 * gdb.multi/Makefile.in: New.
13271 * gdb.multi/base.exp: New.
13272 * gdb.multi/goodbye.c: New.
13273 * gdb.multi/hangout.c: New.
13274 * gdb.multi/hello.c: New.
13275 * gdb.multi/bkpt-multi-exec.c: New.
13276 * gdb.multi/bkpt-multi-exec.exp: New.
13277 * gdb.multi/crashme.c: New.
13278
279017b7
TG
132792009-10-13 Tristan Gingold <gingold@adacore.com>
13280
13281 * gdb.base/sepdebug.exp: Check debug info are found.
13282
0413d738
PA
132832009-10-08 Pedro Alves <pedro@codesourcery.com>
13284
13285 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13286 bits.
13287
c628eecc
JK
132882009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13289
13290 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13291
38af1bfe
JB
132922009-10-07 Joel Brobecker <brobecker@adacore.com>
13293
13294 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13295 of the comments.
13296
2b0adecd
PM
132972009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13298
13299 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13300 * gdb.base/annota3.exp: Idem.
13301 * gdb.base/maint.exp: Idem.
13302
8d417781
PM
133032009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13304
889bf7c5 13305 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
13306 to default.
13307
bb61102d
PM
133082009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13309
889bf7c5 13310 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
13311 mingw and cygwin targets.
13312
ace5c364
PM
133132009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13314 Pedro Alves <pedro@codesourcery.com>
13315
889bf7c5 13316 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
13317 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13318
c2d494a0
PM
133192009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13320
e1b52ce2
PM
13321 * gdb.base/shr1.c: Use %p in format string.
13322 * gdb.base/unload.c: Avoid warning in fprintf.
13323 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 13324
209f53f5
PM
133252009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13326
13327 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13328 long type.
13329 (test_unlink): Correct printf string.
13330 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13331 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13332
8172766a
JK
133332009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13334
13335 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13336 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13337 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13338
0f73703c
UW
133392009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13340
13341 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13342 * gdb.objc/nondebug.exp: Likewise.
13343
b32306ca
UW
133442009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13345
13346 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13347 target_info setting.
13348
13349 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13350 that detect new threads during "info threads".
13351
0057022f
UW
133522009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13353
13354 * gdb.threads/manythreads.c (main): Increase thread stack size
13355 to 2*PTHREAD_STACK_MIN.
13356 * gdb.threads/multi-create.c (main): Likewise.
13357 (create_function): Likewise.
13358
f29c0325
UW
133592009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13360
13361 * gdb.base/dump.exp: Pass difference of pointer types instead
13362 of integer types as offset to restore in intarr3.srec case.
13363
fcb34849
UW
133642009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13365
13366 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13367
d5142e3b
UW
133682009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13369
13370 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13371
087b74b2 133722009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 13373
087b74b2
PM
13374 New test for two watchpoints, with disabling of
13375 the first inserted.
13376 * testsuite/gdb.base/watchpoints.c: New file.
13377 * testsuite/gdb.base/watchpoints.exp: New file.
13378
96c07c5b
TT
133792009-09-25 Tom Tromey <tromey@redhat.com>
13380
13381 * gdb.base/charset.exp: Test utf-16 strings with Python.
13382
b8899f2b
TT
133832009-09-25 Tom Tromey <tromey@redhat.com>
13384
13385 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13386 UCS-4.
13387 * gdb.base/charset.c (utf_32_string): Rename.
13388 (init_utf32): Rename.
13389 (main): Update.
13390
329719ec
TT
133912009-09-22 Tom Tromey <tromey@redhat.com>
13392
13393 * gdb.python/py-function.exp: Add regression tests.
13394
11ef0d76
KS
133952009-09-21 Keith Seitz <keiths@redhat.com>
13396
13397 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13398 with invalid operator.
13399
3fe8f3b3
KS
134002009-09-21 Keith Seitz <keiths@redhat.com>
13401
13402 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13403 and destructor using typedef name of class.
13404 * gdb.cp/classes.cc (class Base1): Add a destructor.
13405 (base1): New typedef.
13406 (use_methods): Instanitate an object of type base1.
13407 * gdb.cp/templates.exp (test_template_typedef): New procedure.
13408 (do_tests): Call test_template_typedef.
13409 * gdb.cp/templates.cc (Baz::~Baz): New method.
13410 (intBazOne): New typedef.
13411 (main): Instantiate intBazOne.
13412
7a9fe101
PM
134132009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13414
13415 PR python/10633
13416
13417 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13418 Function.
13419 (run_lang_tests): Add print elements test.
13420
2e4d963f
PM
134212009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13422
13423 * gdb.python/py-value.exp (test_subscript_regression): New
13424 function. Test for invalid subscripts.
13425 * gdb.python/py-value.c (main): Add test array, and pointer to it.
13426 (ptr_ref): New function.
13427
ec7e75e7
PP
134282009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13429
13430 * gdb.base/default.exp: Fix "show convenience".
13431
0cc7d26f
TT
134322009-09-15 Tom Tromey <tromey@redhat.com>
13433
13434 * lib/mi-support.exp (mi_create_varobj): Update.
13435 (mi_create_floating_varobj): Likewise.
13436 (mi_create_dynamic_varobj): New proc.
13437 (mi_varobj_update): Update.
13438 (mi_varobj_update_with_type_change): Likewise.
13439 (mi_varobj_update_kv_helper): New proc.
13440 (mi_varobj_update_dynamic_helper): Rewrite.
13441 (mi_varobj_update_dynamic): New proc.
13442 (mi_list_varobj_children): Update.
13443 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13444 * gdb.python/python-prettyprint.py (pp_outer): New class.
13445 (pp_nullstr): Likewise.
13446 (lookup_function): Register new printers.
13447 * gdb.python/python-prettyprint.c (struct substruct): New type.
13448 (struct outerstruct): Likewise.
13449 (substruct_test): New function.
13450 (struct nullstr): New type.
13451 (string_1, string_2): New globals.
13452 (main): Add new tests.
13453 * gdb.python/python-mi.exp: Added regression tests.
13454 * gdb.mi/mi2-var-display.exp: Update.
13455 * gdb.mi/mi2-var-cmd.exp: Update.
13456 * gdb.mi/mi2-var-child.exp: Update.
13457 * gdb.mi/mi2-var-block.exp: Update.
13458 * gdb.mi/mi-var-invalidate.exp: Update.
13459 * gdb.mi/mi-var-display.exp: Update.
13460 * gdb.mi/mi-var-cmd.exp: Update.
13461 * gdb.mi/mi-var-child.exp: Update.
13462 * gdb.mi/mi-var-block.exp: Update.
13463 * gdb.mi/mi-break.exp: Update.
13464 * gdb.mi/gdb701.exp: Update.
13465
a96d9b2e
SDJ
134662009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13467
13468 * Makefile.in: Inclusion of catch-syscall object.
13469 * gdb.base/catch-syscall.c: New file.
13470 * gdb.base/catch-syscall.exp: New file.
13471
b43b923a
MS
134722009-09-12 Michael Snyder <msnyder@vmware.com>
13473
13474 * gdb.reverse/step-reverse.exp: Explicitly check for targets
13475 that can support reverse debuggnig.
13476
cec03d70
TT
134772009-09-11 Tom Tromey <tromey@redhat.com>
13478
13479 * gdb.dwarf2/valop.S: New file.
13480 * gdb.dwarf2/valop.exp: New file.
13481
e23bb3fc
MK
134822009-09-11 Mark Kettenis <kettenis@gnu.org>
13483
13484 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13485
37c3696d
DE
134862009-09-10 Doug Evans <dje@google.com>
13487
13488 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13489 Add $gdb_prompt to second breakpoint regexp.
13490
5172aecb
JB
134912009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
13492
13493 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13494 names, add missing ones.
13495 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13496 * gdb.python/py-frame.c: Rename from python-frame.c.
13497 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
13498 testfile name.
13499 * gdb.python/py-function.exp: Rename from python-function.exp.
13500 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
13501 testfile name.
13502 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13503 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13504 Adjust testfile name.
13505 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13506 * gdb.python/py-template.cc: Rename from python-template.cc.
13507 * gdb.python/py-template.exp: Rename from python-template.exp.
13508 Adjust testfile name.
13509 * gdb.python/py-value.c: Rename from python-value.c.
13510 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
13511 testfile name.
13512
b554e4bd
JK
135132009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13514
13515 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13516 $bpt2address.
13517 (Second breakpoint address is valid on ia64)
13518 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
13519
9a68ae16
JM
135202009-09-03 Joseph Myers <joseph@codesourcery.com>
13521
13522 * gdb.base/ending-run.exp: Restrict regular expression matching
13523 line number to require closing brace following.
13524
146b9145
DE
135252009-09-03 Doug Evans <dje@google.com>
13526
13527 * gdb.base/store.exp (check_set): Fix typo in expected value message.
13528
787d21e1
TT
135292009-09-02 Tom Tromey <tromey@redhat.com>
13530
13531 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
13532
e7802207
TT
135332009-09-02 Tom Tromey <tromey@redhat.com>
13534
13535 * gdb.dwarf2/callframecfa.exp: New file.
13536 * gdb.dwarf2/callframecfa.S: New file.
13537
817aadd2
JK
135382009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13539
13540 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
13541 gdb.base/solib-overlap-main.c: New.
13542
4a76eae5
DJ
135432009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
13544
13545 PR gdb/10565
13546
13547 * gdb.base/bitfields.c (struct container, container): New.
13548 (main): Initialize it and call break5.
13549 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
13550
d4b96c9a
JK
135512009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13552
13553 Support constant DW_AT_data_member_location by GCC PR debug/40659.
13554 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
13555
4e22772d
JK
135562009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13557
13558 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
13559
2efab443
MS
135602009-08-26 Michael Snyder <msnyder@vmware.com>
13561
13562 * gdb.base/i386-reverse.c: New file.
13563 * gdb.base/i386-reverse.exp: New file.
13564 * gdb.base/Makefile.in: Add new files to be removed.
13565
07ab73a0
JM
135662009-08-26 Joseph Myers <joseph@codesourcery.com>
13567
13568 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
13569 environment-pwd for remote host.
13570 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
13571
676accff
KS
135722009-08-24 Keith Seitz <keiths@redhat.com>
13573
13574 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
13575 Add two new C++ completer tests which limit the output to a
889bf7c5 13576 given class.
676accff 13577
f9f7ad22
MS
135782009-08-24 Michael Snyder <msnyder@vmware.com>
13579
13580 * gdb.base/del.exp: Fix typo in comment.
13581 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
13582
81ecdfbb
RW
135832009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13584
13585 * configure: Regenerate.
13586 * gdb.hp/configure: Likewise.
13587 * gdb.hp/gdb.aCC/configure: Likewise.
13588 * gdb.hp/gdb.base-hp/configure: Likewise.
13589 * gdb.hp/gdb.compat/configure: Likewise.
13590 * gdb.hp/gdb.defects/configure: Likewise.
13591 * gdb.hp/gdb.objdbg/configure: Likewise.
13592 * gdb.stabs/configure: Likewise.
13593
cab0c772
UW
135942009-08-19 Doug Evans <dje@google.com>
13595
13596 * gdb.base/gdbvars.c: New file.
13597 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
13598
b8fa0bfa
PA
135992009-08-14 Pedro Alves <pedro@codesourcery.com>
13600
13601 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13602 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
13603
b84aa90a
PA
136042009-08-13 Pedro Alves <pedro@codesourcery.com>
13605
13606 * gdb.base/default.exp: Adjust "set language test": it's now an
13607 enum command. Larger help string moved to "help set language".
13608 * gdb.base/help.exp: Adjust "help set language" expected output,
13609 now lists all known languages.
13610
0d8f9b2c
NF
136112009-08-11 Nathan Froyd <froydnj@codesourcery.com>
13612
13613 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
13614 all frame arguments.
13615 * gdb.arch/altivec-regs.exp: Likewise.
13616
bda180e0
TT
136172009-08-07 Tom Tromey <tromey@redhat.com>
13618
13619 * gdb.base/setshow.exp: Add tests for changes to set language, set
13620 check range, and set check type.
13621
48cb2d85
VP
136222009-08-03 Vladimir Prus <vladimir@codesourcery.com>
13623
13624 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
13625 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 13626 Call it.
48cb2d85 13627
1ea34204
UW
136282009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13629
13630 * configure.ac: Run gdb.cell tests when appropriate.
13631 * configure: Regenerate.
13632 * lib/cell.exp: New file.
13633 * gdb.cell: New directory.
13634 * gdb.cell/configure.ac: New file.
13635 * gdb.cell/configure: New file.
13636 * gdb.cell/Makefile.in: New file.
13637 * gdb.cell/arch.exp: New file.
13638 * gdb.cell/break.c: New file.
13639 * gdb.cell/break.exp: New file.
13640 * gdb.cell/break-spu.c: New file.
13641 * gdb.cell/bt.c: New file.
13642 * gdb.cell/bt2-spu.c: New file.
13643 * gdb.cell/bt-spu.c: New file.
13644 * gdb.cell/bt.exp: New file.
13645 * gdb.cell/coremaker.c: New file.
13646 * gdb.cell/coremaker-spu.c: New file.
13647 * gdb.cell/core.exp: New file.
13648 * gdb.cell/gcore.exp: New file.
13649 * gdb.cell/data.c: New file.
13650 * gdb.cell/data.exp: New file.
13651 * gdb.cell/data-spu.c: New file.
13652 * gdb.cell/ea-cache.exp: New file.
13653 * gdb.cell/ea-cache.c: New file.
13654 * gdb.cell/ea-cache-spu.c: New file.
13655 * gdb.cell/ea-standalone.c: New file.
13656 * gdb.cell/ea-standalone.exp: New file.
13657 * gdb.cell/ea-test.c: New file.
13658 * gdb.cell/ea-test.exp: New file.
13659 * gdb.cell/f-regs.exp: New file.
13660 * gdb.cell/mem-access.c: New file.
13661 * gdb.cell/mem-access.exp: New file.
13662 * gdb.cell/mem-access-spu.c: New file.
13663 * gdb.cell/ptype.exp: New file.
13664 * gdb.cell/registers.exp: New file.
13665 * gdb.cell/size.c: New file.
13666 * gdb.cell/sizeof.exp: New file.
13667 * gdb.cell/size-spu.c: New file.
13668 * gdb.cell/solib.exp: New file.
13669 * gdb.cell/solib-symbol.exp: New file.
13670
85e747d2
UW
136712009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13672
13673 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
13674
58d6951d
DJ
136752009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
13676
13677 * gdb.base/float.exp: Handle VFP registers.
13678
6e0a4f15
MS
136792009-07-14 Michael Snyder <msnyder@vmware.com>
13680
dcd5da87
MS
13681 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
13682 to bring gdb to the beginning of the calling line.
13683
6e0a4f15
MS
13684 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
13685 confusing the i386 epilogue unwinder.
13686
782b2b07
SS
136872009-07-14 Stan Shebs <stan@codesourcery.com>
13688
13689 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
13690
f662c3bc
MS
136912009-07-14 Michael Snyder <msnyder@vmware.com>
13692
13693 * gdb.reverse/step-reverse.exp (stepi into function call):
13694 Call instruction may not be first instruction in the line.
13695 (reverse stepi from a function call): Used wrong line number.
13696
8f313923
JK
136972009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13698
13699 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
13700
4662c76e
JK
137012009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13702
13703 Fix gdb.base/macscp.exp when using custom inputrc.
13704 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
13705 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
13706 env(TERM) set.
13707 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
13708 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
13709
aa81e255
JK
137102009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13711
13712 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
13713 * gdb.base/annota1.exp (thread_test): Import global $testfile.
13714 Change the compilation target to match the testcase name.
13715 * gdb.base/sect-cmd.exp: Change the compilation target to match the
13716 testcase name.
13717 * a2-run.exp: Use for setup prepare_for_testing. Change the
13718 compilation target to match the testcase name.
13719 * gdb.base/commands.exp: Likewise.
13720 * gdb.base/finish.exp: Likewise.
13721 * gdb.base/float.exp: Likewise.
13722 * gdb.base/info-target.exp: Likewise.
13723 * gdb.base/relational.exp: Likewise.
13724 * gdb.base/term.exp: Likewise.
13725 * gdb.base/until.exp: Likewise.
13726 * gdb.base/volatile.exp: Likewise.
13727 * gdb.base/whatis-exp.exp: Likewise.
13728
4c93b1d7
HZ
137292009-07-11 Hui Zhu <teawater@gmail.com>
13730
13731 * gdb.base/help.exp (disassemble): Update expected help text.
13732
812f7342
TT
137332009-07-09 Tom Tromey <tromey@redhat.com>
13734
13735 * lib/gdb.exp: Handle TRANSCRIPT.
13736 (remote_spawn, remote_close, send_gdb): New procs.
13737
fbb8f299
PM
137382009-07-10 Phil Muldoon <pmuldoon@redhat.com>
13739
13740 * gdb.python/python-prettyprint.c: Add counted null string
13741 structure.
13742 * gdb.python/python-prettyprint.exp: Print null string. Test for
13743 embedded nulls.
13744 * gdb.python/python-prettyprint.py (pp_ns): New Function.
13745 * gdb.python/python-value.exp (test_value_in_inferior): Add
13746 variable length string fetch tests.
13747 * gdb.python/python-value.c (main): Add strings for string fetch tests.
13748
c0ac0ec7
JK
137492009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13750
13751 * gdb.base/dump.exp (inaccessible memory is reported): New test.
13752
30b66ecc
TT
137532009-07-07 Tom Tromey <tromey@redhat.com>
13754
13755 * gdb.base/call-rt-st.exp: Update for change to escape output.
13756 * gdb.base/callfuncs.exp: Likewise.
13757 * gdb.base/charset.exp: Likewise.
13758 * gdb.base/constvars.exp: Likewise.
13759 * gdb.base/long_long.exp: Likewise.
13760 * gdb.base/pointers.exp: Likewise.
13761 * gdb.base/printcmds.exp: Likewise.
13762 * gdb.base/setvar.exp: Likewise.
13763 * gdb.base/store.exp: Likewise.
13764 * gdb.cp/ref-types.exp: Likewise.
13765 * gdb.mi/mi-var-child.exp: Likewise.
13766 * gdb.mi/mi-var-display.exp: Likewise.
13767 * gdb.mi/mi2-var-display.exp: Likewise.
13768 * gdb.base/charset.exp: Test octal escape sequence length.
13769 Update for change to escape output.
13770
187c4a2b
JK
137712009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13772
13773 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13774
d80a43f9
DJ
137752009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
13776
13777 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13778
047427a8
JK
137792009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13780
13781 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13782 gdbserver increasing $portnum if "Can't bind address" has been seen.
13783
8b5a0f4f
PA
137842009-07-05 Pedro Alves <pedro@codesourcery.com>
13785
13786 * gdb.base/ending-run.exp: Add "step out of main" pattern for
13787 mingw32ce.
13788
7d93ba58
PA
137892009-07-05 Pedro Alves <pedro@codesourcery.com>
13790
13791 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13792 VFP format.
13793
2277426b
PA
137942009-07-02 Pedro Alves <pedro@codesourcery.com>
13795
13796 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13797 linux. Adjust to use "inferior", "info inferiors", "detach
13798 inferior" and "kill inferior" instead of "restart", "info fork",
13799 "detach fork" and "delete fork".
13800 * gdb.base/ending-run.exp: Spell out "info".
13801 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13802 the "kill" command.
13803
5af949e3
UW
138042009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13805
13806 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13807 change to prefix TLS offset in hex with 0x.
13808
5d3729b5
UW
138092009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13810
13811 * gdb.base/default.exp: Update test case for "x" changes.
13812
af589bd0
TG
138132009-07-01 Tristan Gingold <gingold@adacore.com>
13814
13815 * gdb.base/bigcore.exp: Make darwin untested.
13816
40974f91
JK
138172009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13818
13819 * gdb.base/completion.exp (directory completion): Create the directory.
13820 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13821 escapeuniquesub.
13822 (directory completion 2): Expect now ${escapeuniquesub}.
13823 (Glob remaining of directory test): Remove one excessive newline.
13824 Expect the real output.
13825
59dd3af6
JK
138262009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13827
13828 Fix `make check//%' target after `make check' has been ran.
13829 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
13830 a mkdir call.
13831 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13832 (%/.dir): Remove.
13833
f4e164aa
JK
138342009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13835
13836 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13837 the expected result record.
13838
69af2122
JK
138392009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13840
13841 Remove racy FAILs relying just on the timeouts.
13842 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13843 (annotation_level 2): Remove racy FAILs.
13844
2fd481e1
PP
138452009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13846
13847 gdb/10275
889bf7c5
PA
13848 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13849
c38f313d
DJ
138502009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
13851
13852 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13853
8b777f02
VP
138542009-06-30 Vladimir Prus <vladimir@codesourcery.com>
13855
13856 * gdb.mi/mi-stack.exp: Testing symbolic options
13857 to -stack-list-locals and -stack-list-arguments.
13858
00c7eacf
JK
138592009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13860
13861 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13862
6bc80edc
TT
138632009-06-29 Tom Tromey <tromey@redhat.com>
13864
13865 * dg-extract-results.sh: New file.
13866 * Makefile.in (FORCE_PARALLEL): New variable.
13867 (CHECK_TARGET): New conditional variable.
13868 (check): Use CHECK_TARGET.
13869 (DO_RUNTEST): New variable.
13870 (check-single): New target.
13871 (TEST_DIRS): New variable.
13872 (TEST_TARGETS): Likewise.
13873 (check-parallel): New target.
13874 (check-gdb.%): New pattern.
13875 (BASE1_FILES): New variable.
13876 (BASE2_FILES): Likewise.
13877 (check-gdb.base%): New pattern.
13878 (%/.dir): New pattern.
13879 * configure: Rebuild.
13880 * aclocal.m4 (AM_CONDITIONAL): New defun.
13881 * configure.ac: Check whether user is using GNU make.
13882 (GMAKE): New conditional.
13883
794684b6
SW
138842009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
13885
13886 * gdb.cp/namespace-nested-import.cc: New test.
13887 * gdb.cp/namespace-nested-import.exp: New test.
13888
edb3359d
DJ
138892009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
13890
13891 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13892 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13893 * gdb.opt/Makefile.in (EXECUTABLES): Update.
13894 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13895 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13896 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13897 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13898 gdb.opt/inline-markers.c: New files.
13899 * lib/gdb.exp (skip_inline_frame_tests): New function.
13900 (skip_inline_var_tests): New function.
13901
cf657a0c
AS
139022009-06-27 Andreas Schwab <schwab@linux-m68k.org>
13903
13904 * gdb.cp/exception.exp: Don't require $hex before inner frame in
13905 backtrace.
13906
28d41a99
MS
139072009-06-27 Michael Snyder <msnyder@vmware.com>
13908
13909 * gdb.reverse: New directory.
13910 * gdb.reverse/break-reverse.c: New test.
13911 * gdb.reverse/break-reverse.exp: New test.
13912 * gdb.reverse/consecutive-reverse.c: New test.
13913 * gdb.reverse/consecutive-reverse.exp: New test.
13914 * gdb.reverse/finish-reverse.c: New test.
13915 * gdb.reverse/finish-reverse.exp: New test.
13916 * gdb.reverse/machinestate.c: New test.
13917 * gdb.reverse/ms1.c: New test.
13918 * gdb.reverse/machinestate.exp: New test.
13919 * gdb.reverse/Makefile.in: New file.
13920 * gdb.reverse/shr2.c: New test.
13921 * gdb.reverse/solib-reverse.c: New test.
13922 * gdb.reverse/solib-reverse.exp: New test.
13923 * gdb.reverse/step-reverse.c: New test.
13924 * gdb.reverse/step-reverse.exp: New test.
13925 * gdb.reverse/until-reverse.c: New test.
13926 * gdb.reverse/ur1.c: New test.
13927 * gdb.reverse/until-reverse.exp: New test.
13928 * gdb.reverse/watch-reverse.c: New test.
13929 * gdb.reverse/watch-reverse.exp: New test.
13930 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
13931 * configure: Regenerate.
13932
fe3c8b0d
DE
139332009-06-26 Doug Evans <dje@google.com>
13934
13935 * gdb.base/psymtab.exp: Turn off pending breakpoints.
13936
3a72a602
PM
139372009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
13938
13939 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
13940 windows problem for 'file delete $binfile'.
13941
27aa8d6a
SW
139422009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
13943
13944 * gdb.cp/namespace-using.exp: New test.
13945 * gdb.cp/namespace-using.cc: New test.
13946
8ac055f8
JB
139472009-05-20 Joel Brobecker <brobecker@adacore.com>
13948
13949 * gdb.ada/variant_record_packed_array: New testcase.
13950
85e306ed
TT
139512009-06-23 Tom Tromey <tromey@redhat.com>
13952
13953 * gdb.base/charset.exp (test_combination): Regression test.
13954 * gdb.base/charset.c (my_wchar_t): New typedef.
13955 (myvar): New global.
13956 (main): Set myvar.
13957
56643c5e
PM
139582009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
13959
13960 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
13961 target.
13962
1fac167a
UW
139632009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13964
13965 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
13966
7ccb0be9
UW
139672009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13968
13969 * gdb.mi/gdb680.exp: Update test for error message.
13970
568d6575
UW
139712009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13972
13973 * gdb.base/annota1.exp: Allow multiple occurrences of the
13974 frames-invalid annotation.
13975 * gdb.cp/annota2.exp: Likewise.
13976
7cd1089b
PM
139772009-06-15 Phil Muldoon <pmuldoon@redhat.com>
13978
13979 * gdb.cp/gdb2495.cc: New file.
13980 * gdb.cp/gdb2495.exp: New file.
13981
72c63395
JK
139822009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13983
13984 Report error on GDB crash during runto.
13985 * lib/gdb.exp (runto <eof>): New.
13986
3788363d
DJ
139872009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
13988
13989 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
13990 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
13991 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
13992 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
13993 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
13994 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
13995 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
13996 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
13997 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
13998 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
13999 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14000 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14001 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14002 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14003 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14004 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14005 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14006 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14007 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14008 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14009 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14010 gdb.trace/passcount.exp, gdb.trace/report.exp,
14011 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14012 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14013 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14014 executable.
14015
17592de3
PA
140162009-06-07 Pedro Alves <pedro@codesourcery.com>
14017
14018 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14019 defined before referencing it.
14020
701e355d
DE
140212009-06-03 Doug Evans <dje@google.com>
14022
14023 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14024 * gdb.arch/i386-see.c: Ditto.
14025
f2292c65
PM
140262009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14027
14028 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14029 (check_macro): Return 1 if undefined.
14030 If first test fails, check if macro debug information is available,
14031 and report unsupported test if no macro information is found.
14032
5a437975
DE
140332009-05-29 Doug Evans <dje@google.com>
14034
14035 * gdb.threads/hand-call-in-threads.exp: New.
14036 * gdb.threads/hand-call-in-threads.c: New.
14037
c141c696
MS
140382009-05-29 Michael Snyder <msnyder@vmware.com>
14039
14040 * gdb.base/break-always.exp: Change "1" to "on".
14041 Add confirmation check.
14042
b3444185
PA
140432009-05-28 Pedro Alves <pedro@codesourcery.com>
14044
14045 * gdb.threads/threxit-hop-specific.c: New.
14046 * gdb.threads/threxit-hop-specific.exp: New.
14047 * gdb.threads/thread-execl.c: New.
14048 * gdb.threads/thread-execl.exp: New.
14049
b6313243
TT
140502009-05-27 Tom Tromey <tromey@redhat.com>
14051 Thiago Jung Bauermann <bauerman@br.ibm.com>
14052
14053 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14054 (mi_child_regexp): Likewise.
14055 (mi_list_varobj_children_range): Likewise.
14056 (mi_get_features): Likewise.
14057 (mi_list_varobj_children): Rewrite.
14058 * gdb.python/python-mi.exp: New file.
14059
a6bac58e
TT
140602009-05-27 Tom Tromey <tromey@redhat.com>
14061 Thiago Jung Bauermann <bauerman@br.ibm.com>
14062 Phil Muldoon <pmuldoon@redhat.com>
14063 Paul Pluzhnikov <ppluzhnikov@google.com>
14064
14065 * gdb.python/python-prettyprint.exp: New file.
14066 * gdb.python/python-prettyprint.c: New file.
14067 * gdb.python/python-prettyprint.py: New file.
14068 * gdb.base/display.exp: print/r is now valid.
14069
2c74e833
TT
140702009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14071 Tom Tromey <tromey@redhat.com>
14072 Pedro Alves <pedro@codesourcery.com>
14073 Paul Pluzhnikov <ppluzhnikov@google.com>
14074
14075 * gdb.python/python-template.exp: New file.
14076 * gdb.python/python-template.cc: New file.
14077 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14078 tests.
14079 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14080 Call it.
14081 (test_value_after_death): New proc.
14082 * gdb.python/python-value.c (PTR): New typedef.
14083 (main): New variable 'x'.
14084
89c73ade
TT
140852009-05-27 Tom Tromey <tromey@redhat.com>
14086
14087 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14088 tests.
14089 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14090 Call it.
14091
a75724bc
PA
140922009-05-27 Pedro Alves <pedro@codesourcery.com>
14093
14094 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14095
e58b0e63
PA
140962009-05-24 Pedro Alves <pedro@codesourcery.com>
14097
14098 * gdb.threads/fork-thread-pending.c: New.
14099 * gdb.threads/fork-thread-pending.exp: New.
14100
4ac36638
JK
141012009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14102
14103 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14104 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14105
889bf7c5 141062009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 14107
889bf7c5 14108 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 14109
b242c3c2
PA
141102009-05-17 Pedro Alves <pedro@codesourcery.com>
14111
14112 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14113 `gdb_get_line_number'. Call `callee' in both parent and child.
14114 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14115 `gdb_get_line_number' instead of hardcoding line numbers.
14116 (catch_fork_unpatch_child): New procedure to test detaching
14117 breakpoints from child fork.
14118 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14119 hardcoding line numbers.
14120 (do_fork_tests): Run `catch_fork_unpatch_child'.
14121
ee342b23
VP
141222009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14123
14124 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14125 of structure type enters or leaves the scope, it
14126 is reported by -var-update.
14127
e2009e98
DE
141282009-05-11 Doug Evans <dje@sebabeach.org>
14129
14130 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 14131 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
14132 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14133
00903456
JK
141342009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14135
14136 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14137
dc621c35
DE
141382009-04-30 Doug Evans <dje@google.com>
14139
14140 * gdb.threads/watchthreads2.exp: New testcase.
14141 * gdb.threads/watchthreads2.c: New testcase.
14142
9ab4e744
DE
141432009-04-29 Doug Evans <dje@google.com>
14144
14145 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14146 * gdb.cp/mb-ctor.cc: Ditto.
14147 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14148 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14149 * gdb.cp/mb-inline1.cc: Call it.
14150 * gdb.cp/mb-inline2.cc: Ditto.
14151 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14152 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14153
484086b7
JK
141542009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14155
14156 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14157 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14158 Replace all uses of `decimal' by `nonzero'.
14159 (info macro FROM_COMMANDLINE): New test.
14160
379a77b5
TT
141612009-04-27 Tom Tromey <tromey@redhat.com>
14162
14163 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14164
b92b73c2
DE
141652009-04-27 Doug Evans <dje@google.com>
14166
14167 * gdb.threads/watchthreads.c (main): Initialize args before starting
14168 the threads. Plus formatting cleanup.
14169 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14170 biased scheduling of one thread.
14171
945a118d
JG
141722009-04-27 Jerome Guitton <guitton@adacore.com>
14173
14174 * gdb.cp/templates.cc (GetMax): New template.
14175 (main): Declare two instances of GetMax.
14176 * gdb.cp/templates.exp: Add new test.
14177
d389af10
JK
141782009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14179
14180 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14181
e7f86de9
JM
141822009-04-22 Joseph Myers <joseph@codesourcery.com>
14183
14184 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14185
334cc82d
TT
141862009-04-15 Tom Tromey <tromey@redhat.com>
14187
14188 * gdb.base/charset.exp: Add regression test.
14189
d12672cc
JB
141902009-04-14 Joel Brobecker <brobecker@adacore.com>
14191
14192 * gdb.base/exe-lock.exp: New testcase.
14193
18e8c3bc
TT
141942009-04-13 Tom Tromey <tromey@redhat.com>
14195
14196 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14197 operator on Frame.
14198
5ecd5cbe
UW
141992009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14200
14201 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14202 * gdb.server/ext-attach.exp: Likewise.
14203
7309f756
VP
142042009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14205
14206 Eliminate some sleep usage.
14207
889bf7c5
PA
14208 * gdb.mi/basics.c (do_nothing): New.
14209 (main): Use do_nothing instead of printf, so that
14210 not to introduce race condition between output of
14211 inferiour and output of gdb. Do not use sleep as it
14212 is not generally available on embedded targets.
7309f756 14213
f4b95f6f
PA
142142009-04-02 Pedro Alves <pedro@codesourcery.com>
14215
14216 * gdb.server/ext-attach.exp: Expect an optional process id after
14217 "Detached from remote process".
14218
de40b933
JK
142192009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14220
14221 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14222 gdb.dwarf2/dw2-unresolved.exp: New.
14223
2ae101a4
PA
142242009-04-02 Pedro Alves <pedro@codesourcery.com>
14225
14226 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14227 mi_run_to_main.
14228
56a8e183
PA
142292009-04-02 Pedro Alves <pedro@codesourcery.com>
14230
14231 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14232 mi_run_to_main. Skip thread exit test on remote targets.
14233 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14234 mi_run_to_main.
14235 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14236 mi_run_to_main.
14237 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14238 when expecting ^connected. Detect when the target doesn't support
14239 non-stop mode.
14240 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14241 supported. Return -1 on error, 0 on success.
14242 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14243 (mi_runto): Return mi_runto_helper's result explicitly.
14244
c35fafde
PA
142452009-04-01 Pedro Alves <pedro@codesourcery.com>
14246
14247 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14248
f8a8dce6
JB
142492009-04-01 Tom Tromey <tromey@redhat.com>
14250
14251 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14252 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14253 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14254 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14255
71c25dea
TT
142562009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14257 Jan Kratochvil <jan.kratochvil@redhat.com>
14258
14259 PR gdb/931
14260 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14261 output.
14262 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14263 for gdb/931.
14264 * dw2-strp.S (DW_AT_language): Change to C++.
14265 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14266
02d9a9ce
JB
142672009-03-31 Joel Brobecker <brobecker@adacore.com>
14268
14269 * gdb.ada/tasks: New testcase.
14270
1042e4c0
SS
142712009-03-30 Stan Shebs <stan@codesourcery.com>
14272
14273 * gdb.trace/actions.exp: Update to match new info trace format.
14274 * gdb.trace/deltrace.exp: Ditto.
14275 * gdb.trace/infotrace.exp: Ditto.
14276 * gdb.trace/passcount.exp: Ditto.
14277 * gdb.trace/save-trace.exp: Ditto.
14278 * gdb.trace/while-stepping.exp: Ditto.
14279 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14280
f8f6f20b
TJB
142812009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14282
14283 * gdb.python/python-frame.c: New file.
14284 * gdb.python/python-frame.exp: New file.
14285
c0c6f777
TJB
142862009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14287
14288 * gdb.python/python-value.exp: Add tests for the address
14289 attribute.
14290
3cb51905
AS
142912009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14292
14293 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14294
88fc996f
DE
142952009-03-26 Doug Evans <dje@google.com>
14296
14297 * gdb.mi/mi-nonstop-exit.exp: New file.
14298 * gdb.mi/non-stop-exit.c: New file.
14299
56ef84b1
TT
143002009-03-26 Tom Tromey <tromey@redhat.com>
14301
14302 Update for change to prologue skipping:
14303 * gdb.mi/mi2-simplerun.exp: Update.
14304 * gdb.mi/mi2-break.exp: Update.
14305 * gdb.mi/mi-simplerun.exp: Update.
14306 * gdb.mi/mi-break.exp: Update.
14307 * gdb.base/ending-run.exp: Update.
14308
def2b000
TJB
143092009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14310
14311 * gdb.python/python-value.exp (test_value_in_inferior): Test
14312 gdb.Value.is_optimized_out attribute.
14313
442ddf59
JK
143142009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14315
14316 * gdb.dwarf2/dw2-noloc-main.c: New file.
14317 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14318 (.text): Remove.
14319 (.data): New.
14320 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14321 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14322 (DW_TAG_subprogram func_cu1, noloc): Remove.
14323 (main): New.
14324 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14325 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14326 (file_symbols): New procedure.
14327
a8df5de4
TT
143282009-03-25 Tom Tromey <tromey@redhat.com>
14329
14330 * gdb.base/charset.exp (valid_target_charset): New proc.
14331 Use it to skip tests on invalid charsets.
14332
cc1d7add
PM
143332009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14334
14335 * gdb.base/completion.exp: Add a test for directory completion.
14336
bcd5727b
JK
143372009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14338
14339 Fix a racy FAIL.
14340 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14341 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14342
cc924cad
TJB
143432009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14344
14345 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14346 * gdb.python/python-function.exp: Add test for function returning
14347 a GDB value.
14348
bc3b79fd
TJB
143492009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14350
14351 * gdb.python/python-function.exp: New file.
14352
6c7a06a3
TT
143532009-03-20 Tom Tromey <tromey@redhat.com>
14354
14355 * gdb.base/store.exp: Update for change to escape output.
14356 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14357 to escape output.
14358 * gdb.base/pointers.exp: Update for change to escape output.
14359 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14360 to escape output.
14361 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14362 escape output.
14363 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14364 to escape output.
14365 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14366 escape output.
14367 * gdb.base/setvar.exp: Update for change to escape output.
14368 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14369 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14370 to escape output.
14371 (test_print_string_constants): Likewise.
14372 * gdb.base/charset.exp (valid_host_charset): Check size of
14373 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
14374 cases. Handle "auto"-related output.
14375 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14376 (uvar, Uvar): New globals.
14377
c31af87b
JG
143782009-03-19 Jerome Guitton <guitton@adacore.com>
14379
14380 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14381 deltas.
14382 * gdb.ada/fixed_points.exp: Ditto.
14383
51272cf2
PA
143842009-03-18 Pedro Alves <pedro@codesourcery.com>
14385
14386 * return-nodebug.c: Don't include stdio.h.
14387 (init): Delete.
14388 (func): Delete definition and provide extern declaration.
14389 (t): New.
14390 (main): Don't call printf. Call func and store its result in t.
14391 * return-nodebug1.c: New.
14392 * return-nodebug.exp: Don't expect stdio output. Instead, print
14393 the global variable t. Drop printf formatters and cast types from
14394 foreach loop. Don't use prepare_for_testing. Compile
14395 return-nodebug.c and return-nodebug1.c in separate steps. Don't
14396 define FORMAT or CAST.
14397
d24948ac
PP
143982009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14399
14400 * gdb.base/solib-display.exp: Disable test for remote targers.
14401
61ff14c6
JK
144022009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14403
14404 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14405
cb4dce93
JK
144062009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14407
14408 Fix a racy FAIL.
14409 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14410 code from `follow parent, print pids'.
14411 (`follow child, print pids', `follow parent, print pids'): Call it.
14412 Replace `gdb_test "break..."' by gdb_breakpoint.
14413
f7c60c5e
VP
144142009-03-13 Vladimir Prus <vladimir@codesourcery.com>
14415
14416 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 14417 sync and async modes.
f7c60c5e 14418
383ace49
JB
144192009-03-12 Joel Brobecker <brobecker@adacore.com>
14420
14421 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14422 that was checked in by mistake. Remove loading of ada.exp, since
14423 this is not necessary in this case.
14424
4ce102af
JB
144252009-03-12 Joel Brobecker <brobecker@adacore.com>
14426
14427 * gdb.ada/ptype_arith_binop.exp: New testcase.
14428
529a2aef
JB
144292009-03-12 Joel Brobecker <brobecker@adacore.com>
14430
14431 * gdb.ada/mod_from_name: New testcase.
14432
8a38181c
JB
144332009-03-12 Joel Brobecker <brobecker@adacore.com>
14434
14435 * gdb.ada/tick_last_segv: New testcase.
14436
11436dee
VP
144372009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14438
61ff14c6 14439 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 14440
1f31650a
VP
144412009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14442
61ff14c6
JK
14443 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14444 include the token in ^running and frame info in *stopped.
1f31650a 14445
a3247a22
PP
144462009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14447
14448 * solib-display.exp: New file.
14449 * solib-display-main.c: New file.
14450 * solib-display-lib.c: New file.
61ff14c6 14451
aae64587
PA
144522009-03-05 Pedro Alves <pedro@codesourcery.com>
14453
14454 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14455
44aabfbc
JK
144562009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14457
14458 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14459 (list_and_check_macro): Use more specific test name.
14460 (next to definition): Make the test names unique.
14461
c087fcd3
PM
144622009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
14463
14464 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 14465
c86cf029
VP
144662009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14467
14468 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14469 notifications.
14470 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14471 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14472 * lib/mi-support.exp (library_loaded_re): New.
14473 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14474
3ea85240
VP
144752009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14476
14477 * gdb.gdb/observer.exp: Use test_notification observer, not
14478 normal_stop, everywhere.
14479 (test_normal_stop_notifications): Rename to...
14480 (test_notifications): ...this.
14481 (test_observer_normal_stop): Rename to...
14482 (test_observer): ...this.
14483
1903f0e6
DE
144842009-02-16 Doug Evans <dje@google.com>
14485
14486 * gdb.arch/amd64-disp-step.S (test_int3): New test.
14487 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14488 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14489 (test_prefixed_syscall,test_int3): New tests.
14490 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14491 (test_prefixed_syscall,test_int3): New tests.
14492
1d33d6ba
VP
144932009-02-14 Vladimir Prus <vladimir@codesourcery.com>
14494
3cb51905
AS
14495 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14496 (mi_expect_interrupt): Likewise.
14497 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14498 response.
1d33d6ba 14499
faafb047
PM
145002009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14501
14502 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14503 * gdb.base/pc-fp.exp (get_valueofx): Remove.
14504 Replace calls to get_valueofx by get_hexadecimal_valueof.
14505
417e16e2
PM
145062009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14507
14508 * lib/gdb.exp (get_valueof): Accept anything as a return value.
14509 (get_integer_valueof): New procedure.
14510 (get_sizeof): Use new get_integer_value_of.
14511 * gdb.base/sizeof.exp: Replace all uses of get_valueof
14512 by get_integer_valueof.
14513
7065b901
TT
145142009-02-13 Tom Tromey <tromey@redhat.com>
14515
14516 * gdb.base/remote.exp (get_sizeof): Remove.
14517 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
14518 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
14519 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
14520 * lib/gdb.exp (get_valueof): Move from long_long.exp.
14521 (get_sizeof): Likewise.
14522
5d7cb8df
JK
145232009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14524
14525 PR fortran/9806
14526 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
14527
b2febfff
PP
145282009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14529
14530 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
14531
4aa995e1
PA
145322009-02-06 Pedro Alves <pedro@codesourcery.com>
14533
14534 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
14535
d8906c6f
TJB
145362009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14537
14538 * gdb.python/python-cmd.exp: New file.
14539
ff4ab08d
TG
145402009-02-06 Tristan Gingold <gingold@adacore.com>
14541
14542 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
14543
aacd552b
TG
145442009-02-05 Tristan Gingold <gingold@adacore.com>
14545
14546 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
14547 pointer is dereferenced and use this signal name in regexp.
14548 * gdb.base/signull.exp: Ditto.
14549 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
14550 * gdb.base/signull.c (main): Ditto.
14551
08c637de
TJB
145522009-02-04 Tom Tromey <tromey@redhat.com>
14553 Thiago Jung Bauermann <bauerman@br.ibm.com>
14554
14555 * gdb.python/python-value.exp: Use `gdb.history' instead of
14556 `gdb.value_from_history'.
14557 (test_value_numeric_ops): Add test for conversion of enum constant.
14558 * gdb.python/python-value.c (enum e): New type.
14559 (evalue): New global.
14560 (main): Use argv.
14561
20261af8
JG
145622009-02-04 Jerome Guitton <guitton@adacore.com>
14563
14564 * gdb.ada/uninitialized_vars: New test program.
14565 * gdb.ada/uninitialized_vars.exp: New testcase.
14566
52e44b43
TT
145672009-02-02 Tom Tromey <tromey@redhat.com>
14568
14569 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
14570 * gdb.cp/pr2489.cc: Rename...
14571 * gdb.cp/pr9594.cc: ... to this.
14572
1c71341a
TT
145732009-02-02 Tom Tromey <tromey@redhat.com>
14574
14575 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
14576 * gdb.cp/pr2489.cc: New file.
14577 * gdb.cp/cpcompletion.exp: New file.
14578
a4295225
TT
145792009-02-02 Tom Tromey <tromey@redhat.com>
14580
14581 PR exp/9059:
14582 * gdb.cp/call-c.exp: Add regression test.
14583 * gdb.cp/call-c.cc (FooHandle): New typedef.
14584 (main): New variable 'handle'.
14585
592375cd
VP
145862009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14587
14588 * lib/mi-support.exp (et_mi_thread_list)
14589 (check_mi_and_console_threads): Adjust for current thread in
14590 -thread-list-ids output.
14591
41447f92
VP
145922009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14593
889bf7c5
PA
14594 * gdb.mi/mi-break.exp (test_disabled_creation): New.
14595 Call it.
41447f92 14596
35669430
DE
145972009-01-28 Doug Evans <dje@google.com>
14598
14599 * gdb.arch/amd64-disp-step.S: New file.
14600 * gdb.arch/amd64-disp-step.exp: New file.
14601 * gdb.arch/i386-disp-step.S: New file.
14602 * gdb.arch/i386-disp-step.exp: New file.
14603
09f00d9a
PM
146042009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
14605
14606 * gdb.base/find.exp: Set newline variable
14607 using quotes instead of braces to fix cygwin failures.
14608
1e8fb976
PA
146092009-01-23 Pedro Alves <pedro@codesourcery.com>
14610
14611 * gdb.base/radix.exp: Add tests to ensure that that set
14612 input-radix 0 and set output-radix 0 are really rejected.
14613
da061712
PA
146142009-01-23 Pedro Alves <pedro@codesourcery.com>
14615
14616 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
14617 copyright years.
14618
dd7e2d2b
PA
146192009-01-23 Pedro Alves <pedro@codesourcery.com>
14620
14621 PR gdb/9664:
14622 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
14623
392452f6
PA
146242009-01-22 Pedro Alves <pedro@codesourcery.com>
14625
14626 PR c++/9631:
14627 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
14628
8653e71c
PM
146292009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
14630
14631 * gdb.server/file-transfer.exp: Use EXEEXT variable for
14632 binfile definition to fix Windows OS failure.
14633
a12cc160
DJ
146342009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14635
14636 PR gdb/9346
14637 * gdb.base/interrupt.c (sigint_handler): New.
14638 (main): Install a SIGINT handler if SIGNALS is defined. Exit
14639 on error.
14640 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
14641 Test "signal SIGINT".
14642
b89667eb
DE
146432009-01-19 Doug Evans <dje@google.com>
14644
14645 * gdb.base/break.exp: Update expected gdb output.
14646 * gdb.base/sepdebug.exp: Ditto.
14647 * gdb.mi/mi-syn-frame.exp: Ditto.
14648 * gdb.mi/mi2-syn-frame.exp: Ditto.
14649 * gdb.base/call-signal-resume.exp: New file.
14650 * gdb.base/call-signals.c: New file.
14651 * gdb.base/unwindonsignal.exp: New file.
14652 * gdb.base/unwindonsignal.c: New file.
14653 * gdb.threads/interrupted-hand-call.exp: New file.
14654 * gdb.threads/interrupted-hand-call.c: New file.
14655 * gdb.threads/thread-unwindonsignal.exp: New file.
14656
adb483fe
DJ
146572009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
14658
14659 * gdb.base/define.exp: Test defining and hooking prefix commands.
14660 * gdb.python/python.exp: Update test for "show user" output.
14661
60023297
JK
146622009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14663
14664 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
14665 now the output exactly, using less wildcards. Expect also the output
14666 of gfortran-4.3. Update for the f-valprint.c modification from
14667 2008-04-22.
14668 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
14669 Remove gdb_test test names where matching the command.
14670
ccc57cf9
PA
146712009-01-01 Pedro Alves <pedro@codesourcery.com>
14672
14673 PR breakpoints/9681:
14674 * gdb.base/watchpoint.exp: Add regression test.
14675
c7a6ca08
PA
146762008-12-31 Pedro Alves <pedro@codesourcery.com>
14677
14678 * gdb.threads/attach-into-signal.exp: Don't use
14679 gdb_suppress_entire_file.
14680 * gdb.threads/attach-stopped.exp: Ditto.
14681 * gdb.threads/attachstop-mt.exp: Ditto.
14682
3a031f65
PA
146832008-12-31 Pedro Alves <pedro@codesourcery.com>
14684
14685 PR gdb/8812:
14686 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
14687
09e6485f
PA
146882008-12-29 Pedro Alves <pedro@codesourcery.com>
14689
14690 PR gdb/7536:
14691 * gdb.base/radix.exp: Add tests to ensure invalid input radices
14692 and unsupported output radices are really rejected.
14693
0cd53049
JK
146942008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14695
14696 * gdb.cp/punctuator.exp: Backslash the '$' signs.
14697
ba163c7e
TT
146982008-12-22 Tom Tromey <tromey@redhat.com>
14699
14700 * gdb.cp/punctuator.exp: New file.
14701
6f4de6c9
JK
147022008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14703
14704 * gdb.base/completion.exp (Completing non-existing component): New test.
14705
0f34d0b4
JK
147062008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14707
14708 Fix for PR gdb/8648.
14709 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
14710 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
14711 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
14712 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
14713
db2ad4c3
JK
147142008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14715
14716 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
14717
bb5ef15e
DP
147182008-12-16 Christophe Lyon <christophe.lyon@st.com>
14719
14720 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
14721 compiler actually generate code at the expected line number.
14722
90142adc
JZ
147232008-12-15 Jie Zhang <jie.zhang@analog.com>
14724
14725 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
14726
fad6eecd
TT
147272008-12-12 Tom Tromey <tromey@redhat.com>
14728
14729 * gdb.base/commands.exp (redefine_hook_test): New proc.
14730 Call it.
14731
17c8aaf5
TT
147322008-12-11 Tom Tromey <tromey@redhat.com>
14733
14734 * gdb.base/macscp.exp: New regression test.
14735
7c8adf68
TT
147362008-12-11 Tom Tromey <tromey@redhat.com>
14737
14738 * gdb.base/macscp.exp: Print "address.addr".
14739 * gdb.base/macscp1.c (struct outer): New struct.
14740 (address): New global.
14741
b05dcbb7
TT
147422008-12-09 Tom Tromey <tromey@redhat.com>
14743
14744 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14745 Call it.
14746
2d476de1
DE
147472008-12-04 Doug Evans <dje@google.com>
14748
14749 * gdb.server/ext-run.exp: Relax regexp for init program.
14750
87bdc959
TG
147512008-12-03 Tristan Gingold <gingold@adacore.com>
14752
14753 * gdb.base/macscp.exp: Generate an object file during compilation
14754 to work around Darwin dsymutil limitations.
14755
e0740f77
JK
147562008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14757
14758 Test resolving external references to TLS variables.
14759 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14760 FILE2_THREAD_LOCAL.
14761 (testfile2, srcfile2): New variables.
14762 * gdb.threads/tls.c (file2_thread_local)
14763 (function_referencing_file2_thread_local): New.
14764 * gdb.threads/tls2.c: New file.
14765
67f0aac5
JB
147662008-11-28 Joel Brobecker <brobecker@adacore.com>
14767
14768 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
14769 rather than integer, as integer might not be big enough when
14770 on 64bit targets.
67f0aac5 14771
c332165e
JG
147722008-11-27 Jerome Guitton <guitton@adacore.com>
14773
14774 * gdb.cp/formatted-ref.exp: Add equality test.
14775 * gdb.ada/formatted_ref.exp: Ditto.
14776
fc9b693c
JK
147772008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14778
14779 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14780 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14781
a9c64011
AS
147822008-11-20 Andreas Schwab <schwab@suse.de>
14783
14784 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14785 matching syscall entry point.
14786 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14787 (tcatch_vfork_then_child_follow): Likewise. Finish through
14788 vfork even if we stopped at the syscall trampoline.
14789
e2fd701e
DE
147902008-11-20 Doug Evans <dje@google.com>
14791
14792 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14793
69abc51c
TJB
147942008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
14795
14796 * gdb.arch/ppc-dfp.exp: New file.
14797 * gdb.arch/ppc-dfp.c: New file.
14798
c14c28ba
PP
147992008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14800
14801 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 14802
2e74121d
DE
148032008-11-17 Doug Evans <dje@google.com>
14804
14805 * gdb.mi/mi-syn-frame.exp: Update expected output.
14806 * gdb.mi/mi2-syn-frame.exp: Update expected output.
14807
66bb093b
VP
148082008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14809
14810 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
14811 "thread N" results in =thread-selected.
14812 * lib/mi-support (mi_run_cmd, mi_expect_stop)
14813 (mi_send_resuming_command_raw): Be prepared for
14814 =thread-selected.
14815
3d043ef6
VP
148162008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14817
a9c64011
AS
14818 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14819 * lib/mi-support.exp: Likewise.
3d043ef6 14820
808104c8
JB
148212008-11-16 Joel Brobecker <brobecker@adacore.com>
14822
14823 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14824 commands from the expected output for "help catch".
14825
00b22944
JB
148262008-11-15 Joel Brobecker <brobecker@adacore.com>
14827
14828 * gdb.ada/int_deref.exp: New testcase.
14829
59669435
TT
148302008-11-14 Nick Roberts <nickrob@snap.net.nz>
14831
14832 * gdb.mi/gdb2549.exp: New file.
14833
de04a248
DE
148342008-11-11 Doug Evans <dje@google.com>
14835
14836 * gdb.base/callexit.exp: New file.
14837 * gdb.base/callexit.c: New file.
14838
6b8ce727
DE
148392008-11-10 Doug Evans <dje@google.com>
14840
14841 * lib/gdb.exp (GDBFLAGS): Move -nx ...
14842 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
14843 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14844 (default_gdb_start,default_gdb_exit): Ditto.
14845 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14846 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14847 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14848 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14849 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14850 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14851
1b14b8aa
AS
148522008-11-03 Andreas Schwab <schwab@suse.de>
14853
14854 * gdb.base/hashline2.exp: Fix typo.
14855 * gdb.base/hashline3.exp: Likewise.
14856
f3134b88
TT
148572008-10-30 Tom Tromey <tromey@redhat.com>
14858
14859 * gdb.base/pointers.exp: Add test.
14860 * gdb.base/pointers.c (k, S): New typedefs.
14861 (instance): New global.
14862
c2226152
AS
148632008-10-30 Andreas Schwab <schwab@suse.de>
14864
14865 * gdb.base/args.exp: Add tests for newlines.
14866
462f405c
JB
148672008-10-30 Joel Brobecker <brobecker@adacore.com>
14868
14869 gdb.base/foll-exec.exp: Update the expected output of a couple
14870 of "info breakpoints" tests.
14871
79a45b7d
TT
148722008-10-28 Tom Tromey <tromey@redhat.com>
14873
14874 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14875
adc13a14
PA
148762008-10-24 Pedro Alves <pedro@codesourcery.com>
14877
14878 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14879 gdb_start_cmd.
14880 Use runto_main before any test that requires execution.
14881
252fbfc8
PA
148822008-10-23 Pedro Alves <pedro@codesourcery.com>
14883
14884 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14885 instead of SIGINT.
14886
28148e3d
JB
148872008-10-22 Joel Brobecker <brobecker@adacore.com>
14888
14889 * gdb.base/completion.exp: Update expected output following
14890 the addition of the "info tasks" command.
14891
c209f847
TT
148922008-10-22 Tom Tromey <tromey@redhat.com>
14893
14894 * gdb.base/exprs.exp (test_expr): Add test for string
14895 concatenation.
14896
f177e350
PA
148972008-10-19 Pedro Alves <pedro@codesourcery.com>
14898
14899 * configure.ac: Output gdb.python/Makefile.
14900 * configure: Regenerate.
14901 * gdb.python/Makefile.in: New.
14902
cce89356
JB
149032008-10-16 Joel Brobecker <brobecker@adacore.com>
14904
14905 * gdb.base/foll-fork.exp: Adjust the expected output to match
14906 the new description for fork/vfork catchpoints in the "info
14907 breakpoints" output.
14908
176d289d
TJB
149092008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14910
14911 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
14912
a08702d6
TJB
149132008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14914
14915 * gdb.python/python-value.c: New file.
14916 * gdb.python/python-value.exp: New file.
14917
1c5cfe86
PA
149182008-10-15 Pedro Alves <pedro@codesourcery.com>
14919
14920 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
14921
5a98ad69
DP
149222008-10-15 Denis Pilat <denis.pilat@st.com>
14923
41702f1b 14924 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 14925
dcb1a1e2
TT
149262008-10-09 Tom Tromey <tromey@redhat.com>
14927
14928 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
14929 'fprintf' and 'stderr'.
14930
9124fe48
JB
149312008-10-07 Joel Brobecker <brobecker@adacore.com>
14932
14933 * gdb.ada/ref_tick_size.exp: New testcase.
14934
45452591
DE
149352008-10-06 Doug Evans <dje@google.com>
14936
14937 * gdb.dwarf2/dw2-cu-size.exp: New file.
14938 * gdb.dwarf2/dw2-cu-size.S: New file.
14939
14940 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
14941 .Ltype_int for clarity.
14942
4fc5b208
PP
149432008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14944
14945 PR gdb/2384:
14946 * gdb.cp/gdb2384.exp: Extended to test more cases.
14947 * gdb.cp/gdb2384.cc: Likewise.
14948 * gdb.cp/gdb2384-base.h: Likewise.
14949 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 14950
d78df370
JK
149512008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14952
14953 * gdb.base/maint.exp (maint print type): Remove printing
14954 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
14955
9a044a89
TT
149562008-09-30 Tom Tromey <tromey@redhat.com>
14957
14958 * gdb.base/macscp.exp: Add completion tests.
14959 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
14960 (TWENTY_THREE): Likewise.
14961 (FORTY_EIGHT): Likewise.
14962
506800a9
TT
149632008-09-30 Tom Tromey <tromey@redhat.com>
14964
14965 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
14966 everywhere.
14967 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
14968
1a6f01b5
JK
149692008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14970
14971 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
14972 testcase is derived from. Fix racy dependency on an expected PID
14973 number. No longer support the testcase on Linux kernel 2.4.x.
14974
2fae03e8
TT
149752008-09-27 Tom Tromey <tromey@redhat.com>
14976
14977 * gdb.base/macscp.exp: Add tests for stringification, splicing,
14978 and varargs.
14979
1ad15515
PA
149802008-09-22 Pedro Alves <pedro@codesourcery.com>
14981
14982 * lib/mi-support.exp (mi_expect_interrupt): New.
14983 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
14984 from gdb.mi/mi-nonstop.exp.
14985 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
14986 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
14987 lib/mi-support.exp.
14988 Use mi_check_thread_states throughout. Avoid ".*" and do not
14989 require an anchor after -exec-run.
14990
d0b76dc6
DJ
149912008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
14992
14993 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
14994 stop is pending. Avoid ".*" when two stops are pending.
14995 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
14996 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
14997 newlines in fullnames.
14998 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
14999 (mi_expect_stop): Update comments. Only anchor in sync mode.
15000 Do not match newlines.
15001 (mi_send_resuming_command_raw): Always return status.
15002 (mi_get_stop_line): Do not match more than one line by accident.
15003 Only anchor in sync mode.
15004 (mi_run_inline_test): If -exec-next fails, give up.
15005
9990c830
UW
150062008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15007
15008 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15009 on SPU.
15010
ebcf6f00
JB
150112008-09-10 Joel Brobecker <brobecker@adacore.com>
15012
15013 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15014
b6db24e5
JB
150152008-09-10 Joel Brobecker <brobecker@adacore.com>
15016
15017 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15018 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15019 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15020 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15021 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15022 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15023 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15024 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15025 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15026 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15027 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15028 Include the "= " sequence in the expected output of print tests.
15029
2bf448e0
JB
150302008-09-10 Joel Brobecker <brobecker@adacore.com>
15031
15032 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15033 description for boolean types.
15034
d51fd4c8
PA
150352008-09-09 Pedro Alves <pedro@codesourcery.com>
15036
15037 * gdb.base/hook-stop-continue.c: New.
15038 * gdb.base/hook-stop-continue.exp: New.
15039
694182d2
DJ
150402008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15041
15042 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15043
3b8a7fc0
JG
150442008-09-08 Jerome Guitton <guitton@adacore.com>
15045
15046 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15047 (stack_check_probe_2, stack_check_probe_loop_1)
15048 (stack_check_probe_loop_2): New functions.
15049 (main): Add call to these new functions.
15050 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15051 functions, check that the breakpoint is inserted at the appropriate
15052 location.
15053 (insert_breakpoint): Slightly refine this procedure so that it can
15054 be called several times in the test.
15055
96cc0ae8
JG
150562008-09-08 Jerome Guitton <guitton@adacore.com>
15057
15058 * gdb.base/stack-checking.c: New file.
15059 * gdb.base/stack-checking.exp: New file.
15060
1f08b409
TJB
150612008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15062
15063 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15064 * gdb.arch/altivec-regs.exp: Likewise.
15065 * gdb.arch/vsx-regs.exp: Likewise.
15066
3099e1c4
TJB
150672008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15068
15069 * gdb.arch/ppc-fp.exp: New file.
15070 * gdb.arch/ppc-fp.c: New file.
15071
cc69bfc1
PP
150722008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15073
15074 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15075 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 15076
b02a33db
MS
150772008-09-04 Michael Snyder <msnyder@vmware.com>
15078
15079 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15080 as "at" (for non-debug functions such as _start).
15081
2992cbe0
UW
150822008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15083
15084 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15085 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15086 software watchpoints.
15087 * gdb.base/watch_thread_num.exp: Likewise.
15088
514f746b
AR
150892008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15090
15091 * gdb.arch/i386-bp_permanent.exp: New test.
15092
876cecd0
TT
150932008-08-24 Tom Tromey <tromey@redhat.com>
15094
15095 * gdb.base/maint.exp: Update "maint print type".
15096
80f73d71
VP
150972008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15098
15099 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15100 support. Adjust the order of "*running" notifications.
15101 * gdb.mi/non-stop.c: Don't cast from int to void* and
15102 back.
15103
d9c78d7d
MK
151042008-08-20 Mark Kettenis <kettenis@gnu.org>
15105
15106 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15107 expect to find it in the "info frame" output.
15108
97a2d1d3
DJ
151092008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15110
15111 * gdb.base/interp.exp: Always consume both prompts.
15112
b96e2927
PA
151132008-08-20 Pedro Alves <pedro@codesourcery.com>
15114
15115 * gdb.base/pending.exp: Test pending breakpoints without symbols
15116 loaded.
15117
8cf6e61a
VP
151182008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15119
15120 * lib/mi-support.exp (mi_expect_stop): Produce
15121 more details on failures.
15122 * gdb.mi/mi-nonstop.exp: New.
15123 * gdb.mi/non-stop.c: New.
15124
c6ebd6cf
VP
151252008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15126
a9c64011
AS
15127 * gdb.mi/mi-async.exp: Use 'set target-async'.
15128 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 15129
46a9b8ed
DJ
151302008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15131
15132 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15133
44feb3ce
TT
151342008-08-17 Tom Tromey <tromey@redhat.com>
15135
15136 * gdb.base/help.exp (help catch): Rewrite.
15137
311a4e6b
TJB
151382008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15139
15140 * gdb.base/define.exp: Test indented command documentation.
15141 * gdb.python/python.exp: Test indented multi-line command.
15142
604c2f83
LM
151432008-08-15 Luis Machado <luisgpm@br.ibm.com>
15144
15145 * testsuite/gdb.arch/vsx-regs.c: New source file.
15146 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15147 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15148
886a217c
TT
151492008-08-14 Tom Tromey <tromey@redhat.com>
15150
15151 * gdb.base/macscp.exp: Add regression test for "macro define" or
15152 "macro undef" with no arguments.
15153
c814a4f3
PP
151542008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15155
15156 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 15157
12ab8a60
UW
151582008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15159
15160 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15161
d57a3c85
TJB
151622008-08-06 Tom Tromey <tromey@redhat.com>
15163
15164 * gdb.python/python.exp: New file.
15165
c7b778ff
JK
151662008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15167
15168 Fix for PR gdb/1543.
15169 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15170 $LOCATION.
15171 (location): New variable.
15172 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15173 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15174 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15175 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15176 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15177 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15178 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15179 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15180 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15181 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15182 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15183 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15184 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15185 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15186 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15187 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15188 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15189 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15190 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15191 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15192 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15193 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15194 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15195 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15196 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15197 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15198 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15199 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15200 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15201 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15202 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15203 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15204 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15205 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15206 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15207 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15208 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15209 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15210 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15211 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15212 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15213 gdb.base/type-opaque.exp, gdb.base/until.exp,
15214 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15215 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15216 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15217 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15218 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15219 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15220 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15221 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15222 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15223 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15224 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15225 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15226 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15227 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15228 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15229 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15230 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15231 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15232 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15233 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15234 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15235 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15236 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15237 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15238 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15239 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15240 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15241 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15242 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15243 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15244 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15245 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15246 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15247 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15248 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15249 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15250 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15251 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15252 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15253 to bug-gdb@prep.ai.mit.edu .
15254
5e06a3d1
VP
152552008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15256
15257 * lib/mi-support.exp (mi_load_shlibs): New.
15258 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15259
9d81d21b
VP
152602008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15261
15262 * lib/mi-support.exp (get_mi_thread_list)
15263 (check_mi_and_console_threads): New, moved from ...
15264 * gdb.mi/mi-pthread.exp: ...here.
15265 * gdb.mi/gdb669.exp (get_mi_thread_list)
15266 (check_mi_and_console_threads): Delete.
15267 * gdb.mi/mi2-pthread.exp: Likewise.
15268
bae98fe0
TT
152692008-07-28 Tom Tromey <tromey@redhat.com>
15270
15271 * Makefile.in (just-check): Remove. Move body to...
15272 (check): ... here.
15273
57380f4e
DJ
152742008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15275
15276 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15277 Add a test for duplicated SIGINTs.
15278
e09490f1
DJ
152792008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15280
15281 * gdb.threads/schedlock.exp (get_args): Update to work for any
15282 value of NUM.
15283 (Top level): Report the number of threads that did not resume.
15284
6387b45f
DJ
152852008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15286
15287 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15288
62f64ff2
DJ
152892008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15290
15291 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15292 non-MI prompt.
15293
fa8de41e
TT
152942008-07-26 Tom Tromey <tromey@redhat.com>
15295
15296 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15297 (function_struct, function_struct_ptr): New globals.
15298 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15299 function pointer in a struct.
15300
ccb3ac8a
TT
153012008-07-26 Tom Tromey <tromey@redhat.com>
15302
15303 * gdb.base/macscp.exp: Add test for macro lexing bug.
15304
d7d9f01e
TT
153052008-07-18 Tom Tromey <tromey@redhat.com>
15306
15307 * gdb.base/macscp.exp: Add macro tests.
15308
9bf07184
PP
153092008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15310
15311 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15312
becf6477
PP
153132008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15314
15315 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15316
0709f7d3
PP
153172008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15318
15319 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 15320
7093c834
PP
153212008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15322
15323 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 15324
b432ffe3
JK
153252008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15326
15327 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15328
b1a268e5
VP
153292008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15330
15331 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15332
e2995f8e
KB
153332008-07-11 Kevin Buettner <kevinb@redhat.com>
15334
15335 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15336 of regexp to account for changes made to GDB in the printing of
15337 byte vectors.
15338
14032a66
TT
153392008-07-11 Tom Tromey <tromey@redhat.com>
15340
15341 * gdb.base/completion.exp: Add 'help' completion test.
15342
981505ef
JK
153432008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15344
15345 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15346
10568435
JK
153472008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15348
15349 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15350
4487aabf
PA
153512008-07-09 Pedro Alves <pedro@codesourcery.com>
15352
15353 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15354
a4a9b1c4
PA
153552008-07-09 Pedro Alves <pedro@codesourcery.com>
15356
15357 * gdb.base/fullname.exp: Restore pwd if compiling failed.
15358
3c3185ac
JK
153592008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15360
15361 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15362
7ebd49dc
VP
153632008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15364
15365 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15366 previous commit. Add a comment.
15367
84e46146
PA
153682008-06-28 Pedro Alves <pedro@codesourcery.com>
15369
15370 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15371
0f8d4a2f
VP
153722008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15373
15374 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15375
f747e0ce
PA
153762008-06-27 Pedro Alves <pedro@codesourcery.com>
15377
15378 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15379 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15380 compiling an executable, link in an object that forces unbuffered
15381 output.
15382 * lib/set_unbuffered_mode.c: New file.
15383
734a5c36
JK
153842008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15385
15386 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15387
a2840c35
VP
153882008-06-25 Vladimir Prus <vladimir@codesourcery.com>
15389
a9c64011
AS
15390 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15391 mi_expect_stop.
15392 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15393 Demand that *running is output.
15394 (detect_async): Perform checking every time.
15395 (mi_send_resuming_command): Extract everything into...
15396 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
15397 (mi_expect_stop): Don't accept any output before *stopped.
15398
6ae37fef
VP
153992008-06-13 Vladimir Prus <vladimir@codesourcery.com>
15400
15401 Robustify mi-simplerun.
a9c64011
AS
15402 * gdb.mi/basics.c (main): Add a call to sleep.
15403 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15404 * gdb.mi/mi2-cli.exp: Likewise.
15405 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 15406
b4aa76f0 154072008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
15408
15409 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15410
e1ac3328
VP
154112008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15412
a9c64011
AS
15413 * gdb.mi/mi-console.exp: Adjust.
15414 * gdb.mi/mi-syn-frame.exp: Adjust.
15415 * gdb.mi/mi2-console.exp: Adjust.
15416 * gdb.mi/mi2-syn-frame.exp: Adjust.
15417 * lib/mi-support.exp (mi_run_cmd): Adjust.
15418 (mi_send_resuming_command): Adjust.
e1ac3328 15419
f7f9a841
VP
154202008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15421
15422 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
15423 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15424 testing of stopped.
15425 * gdb.mi/mi2-syn-frame.exp: Likewise.
15426 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15427 (async, detect_async): New.
15428 (mi_expect_stop, mi_continue_to_line): Adjust expectation
15429 depending on if we're running in sync or async mode.
f7f9a841 15430
37cd5d19
TT
154312008-06-09 Tom Tromey <tromey@redhat.com>
15432
15433 * gdb.base/completion.exp: New tests for field name completion
15434 with spaces, and field name completion with '->'.
15435
65d12d83
TT
154362008-06-06 Tom Tromey <tromey@redhat.com>
15437
15438 * gdb.base/break1.c (struct some_struct): New struct.
15439 (values): New global.
15440 * gdb.base/completion.exp: Add field name completion test.
15441
ebfe2e3f
PP
154422008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15443
15444 * gdb.cp/call-c.exp: Test for incorrect handling of reference
15445 to pointer.
15446 * gdb.cp/call-c.cc: Likewise.
15447
bcf6fc3a
NR
154482008-06-06 Nick Roberts <nickrob@snap.net.nz>
15449
15450 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15451 annotation.
15452
49fd4a42 154532008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 15454 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
15455
15456 * gdb.threads/execl.c, gdb.threads/execl1.c,
15457 gdb.threads/execl.exp: New tests.
a9c64011 15458
8a34ac3f
AR
154592008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
15460 Daniel Jacobowitz <dan@codesourcery.com>
15461
15462 * gdb.cp/exception.exp: Activate test, make it work with pending
15463 catchpoints.
15464
86ae69ef
JK
154652008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15466
15467 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15468
f7f9ae2c
VP
154692008-05-28 Vladimir Prus <vladimir@codesourcery.com>
15470
a9c64011
AS
15471 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15472 now printed.
15473 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 15474
2a2d4dc3
AS
154752008-05-27 Andreas Schwab <schwab@suse.de>
15476
15477 * gdb.base/frame-args.exp: Handle arguments that are optimized
15478 out.
15479
5099e4d9
LM
154802008-05-26 Luis Machado <luisgpm@br.ibm.com>
15481
15482 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15483 quiet for ppc32 and group options into a single variable.
15484
d9c36a91
JB
154852008-05-23 Joel Brobecker <brobecker@adacore.com>
15486
15487 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15488 of zero-size elements.
15489 * gdb.ada/null_array.exp: Test printing this new array.
15490
103a8671
JK
154912008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15492
15493 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15494
07a4cc1a 154952008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
15496
15497 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15498 of the "finish" command.
15499
55f996a7
NR
155002008-05-21 Nick Roberts <nickrob@snap.net.nz>
15501
15502 * gdb.base/annota1.exp: Test for new annotation.
15503
907fc202
UW
155042008-05-16 Pedro Alves <pedro@codesourcery.com>
15505
15506 * gdb.base/fixsection.exp: New file.
15507 * gdb.base/fixsection0.c: New file.
15508 * gdb.base/fixsection1.c: New file.
15509
e8f97270
UW
155102008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15511
15512 * gdb.base/annota1.exp: Accept printf@... in place of printf.
15513 * gdb.base/annota3.exp: Likewise.
15514
ac0bb574
NF
155152008-05-13 Nathan Froyd <froydnj@codesourcery.com>
15516
15517 * gdb.base/watch_thread_num.exp: Don't run tests that require
15518 watchpoints if the target doesn't support them.
15519
6fadd07a
DE
155202008-05-12 Doug Evans <dje@google.com>
15521
15522 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
15523
6e9a4a30
JB
155242008-05-09 Joel Brobecker <brobecker@adacore.com>
15525
15526 * gdb.ada/assign_1.exp: New testcase.
15527
08388c79
DE
155282008-05-09 Doug Evans <dje@google.com>
15529
a3c83fae
DE
15530 * gdb.base/find.exp: New file.
15531 * gdb.base/find.c: New file.
08388c79 15532
bd5ddfe8
DJ
155332008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
15534
15535 * gdb.base/commands.exp (watchpoint_command_test): Handle
15536 gdb,no_hardware_watchpoints.
15537 * gdb.base/float.exp: Allow ARM targets without floating point.
15538 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
15539
b5dd68e2 155402008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 15541 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
15542
15543 * gdb.ada/lang_switch: New test program.
15544 * gdb.ada/lang_switch.exp: New testcase.
15545
382d13d1
DE
155462008-05-05 Doug Evans <dje@google.com>
15547
15548 * gdb.base/help.exp (disassemble): Update expected help text.
15549
9dd789d0
PA
155502008-05-04 Pedro Alves <pedro@codesourcery.com>
15551
15552 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
15553
611c83ae
PA
155542008-05-04 Pedro Alves <pedro@codesourcery.com>
15555
15556 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
15557 different times.
15558
ff013f42
JK
155592008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15560
15561 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
15562 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
15563 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
15564 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
15565
96dff6a2
VP
155662008-05-04 Vladimir Prus <vladimir@codesourcery.com>
15567
15568 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
15569 notification to appear.
15570
55cd6f92
DJ
155712008-05-04 Daniel Jacobowitz <dan@debian.org>
15572
15573 * gdb.base/fullname.c: New file.
15574 * gdb.base/fullname.exp: New file.
15575 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
15576
d705c43c
PA
155772008-05-03 Pedro Alves <pedro@codesourcery.com>
15578
15579 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
15580 expressions with macros.
15581
333222e1
JK
155822008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15583
15584 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
15585
5ac01682
DJ
155862008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
15587
15588 * gdb.base/completion.exp: Handle lack of other symbols beginning
15589 with "a".
15590
15591 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
15592
237fc4c9
PA
155932008-05-02 Jim Blandy <jimb@codesourcery.com>
15594
15595 * gdb.asm/asmsrc1.s: Add scratch space.
15596
ed5e9466
DJ
155972008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15598 Daniel Jacobowitz <dan@codesourcery.com>
15599
15600 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
15601 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
15602 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
15603
b39cc962
DJ
156042007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
15605
15606 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
15607
36d520f5
JB
156082008-05-01 Joel Brobecker <brobecker@adacore.com>
15609
15610 * gdb.base/info-target.exp: New testcase.
15611
8d4e3071
DJ
156122008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15613
15614 * gdb.cp/hang.exp: Use .cc instead of .C.
15615 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
15616 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
15617
6f3f3097
DJ
156182008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15619
15620 * gdb.base/gdb1250.exp: Remove perror.
15621 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
15622
5550a914
PA
156232008-04-30 Pedro Alves <pedro@codesourcery.com>
15624
15625 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
15626 .2byte.
15627
d848e687
DJ
156282008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
15629
15630 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
15631 (maybe_kfail): New.
15632
93b5768b
PA
156332008-04-25 Pedro Alves <pedro@codesourcery.com>
15634
15635 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
15636
721c02de
VP
156372008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15638
a9c64011
AS
15639 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
15640 * gdb.mi/mi2-syn-frame.exp: Likewise.
15641 * lib/mi-support.exp: Likewise.
721c02de 15642
74960c60
VP
156432008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15644
15645 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
15646 to specify regexp for the location to stop at.
15647 * gdb.base/break-always.c: New.
15648 * gdb.base/break-always.exp: New.
15649
d24317b4
VP
156502008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15651
15652 * lib/mi-support.exp (mi_runto_helper): Adjust
15653 for the original-location field.
15654 (mi_create_breakpoint, mi_list_breakpoints): New.
15655 * gdb.mi/mi-break.exp: Adjust.
15656 * gdb.mi/mi2-break.exp: Adjust.
15657 * gdb.mi/mi-pending.exp: Adjust.
15658 * gdb.mi/mi-simplerun.exp: Adjust.
15659 * gdb.mi/mi2-simplerun.exp: Adjust.
15660 * gdb.mi/mi-syn-frame.exp: Adjust.
15661 * gdb.mi/mi2-syn-frame.exp: Adjust.
15662 * gdb.mi/mi-until.exp: Adjust.
15663 * gdb.mi/mi2-until.exp: Adjust.
15664 * gdb.mi/mi-var-display.exp: Adjust.
15665 * gdb.mi/mi2-var-display.exp: Adjust.
15666 * gdb.mi/mi-watch.exp: Adjust.
15667 * gdb.mi/mi2-watch.exp: Adjust.
15668
fdc59709 156692008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 15670
a9c64011
AS
15671 * aclocal.m4: Add override.m4.
15672 * configure: Regenerate.
fdc59709 15673
8e91f023
VP
156742008-04-19 Vladimir Prus <vladimir@codesourcery.com>
15675
15676 * gdb.mi/var-cmd.c (do_at_tests): Verify that
15677 '-var-update --all-values' reports new value even the type
15678 of a variable object has changed.
15679
233a11ab
CS
156802008-04-18 Craig Silverstein <csilvers@google.com>
15681
15682 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
15683 files.
d24317b4 15684
9c1137ad
JB
156852008-04-18 Joel Brobecker <brobecker@adacore.com>
15686
15687 * gdb.ada/atomic_enum: New test program.
15688 * gdb.ada/atomic_enum.exp: New testcase.
15689
66d0bbc7
DE
156902008-04-17 Doug Evans <dje@google.com>
15691
15692 * gdb.opt/Makefile.in: Fix whitespace.
15693
100906b0
UW
156942008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
15695
15696 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
15697
4584e32e
DE
156982008-04-17 Doug Evans <dje@google.com>
15699
15700 * gdb.base/hashline1.exp: New testcase.
15701 * gdb.base/hashline2.exp: New testcase.
15702 * gdb.base/hashline2.exp: New testcase.
15703
0a320680
PA
157042008-04-17 Pedro Alves <pedro@codesourcery.com>
15705
15706 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
15707
18ac113b
AR
157082008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
15709
15710 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
15711 temporary breakpoint to match "Temporary breakpoint".
15712 * gdb.base/break.exp (delete_breakpoints): Likewise.
15713 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
15714 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
15715 * gdb.base/display.exp: Likewise.
15716 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
15717 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
15718 * gdb.base/restore.exp (restore_tests): Likewise.
15719 * gdb.base/sepdebug.exp: Likewise.
15720 * gdb.base/watchpoint.exp: Likewise.
15721 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
15722 * gdb.mi/mi-pending.exp: Likewise.
15723 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
15724 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
15725 * gdb.mi/mi-var-cmd.exp: Likewise.
15726 * gdb.mi/mi-var-display.exp: Likewise.
15727 * gdb.mi/mi2-cli.exp: Likewise.
15728 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
15729 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
15730 * gdb.mi/mi2-var-display.exp: Likewise.
15731 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
15732 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
15733 new "disp" field.
a9c64011 15734 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
15735 reason. This is to support fix for PR2424.
15736
add38693
JK
157372008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15738
15739 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
15740
fcacd99f
VP
157412008-04-13 Vladimir Prus <vladimir@codesourcery.com>
15742
15743 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 15744 field. Add more floating varobj tests.
fcacd99f 15745 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
15746 field.
15747 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15748 (main): Call do_at_tests.
15749 * lib/mi-support.exp (mi_create_floating_varobj)
15750 (mi_varobj_update_with_type_change): New.
fcacd99f 15751
de051565
MK
157522008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
15753
15754 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15755 option of -var-evaluate-expression.
15756 * gdb.mi/mi2-var-display.exp: Likewise.
15757
dbc52822
VP
157582008-04-07 Vladimir Prus <vladimir@codesourcery.com>
15759
15760 Introduce test setup helpers.
a9c64011
AS
15761 * lib/gdb.exp (build_executable, clean_restart)
15762 (prepare_for_testing): New.
15763 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15764 * gdb.base/return.exp: Likewise.
15765 * gdb.base/ending-run.exp: Likewise.
dbc52822 15766
473591da
NR
157672008-04-07 Nick Roberts <nickrob@snap.net.nz>
15768
15769 * gdb.mi/mi-async.exp: New test for asynchronous Machine
15770 Interface (MI) responses.
15771
2b2d9e11
VP
157722008-04-06 Vladimir Prus <vladimir@codesourcery.com>
15773
a9c64011
AS
15774 * gdb.cp/breakpoint.cc: New code to test conditions involving
15775 member variables.
15776 * gdb.cp/breakpoint.exp: Test condition involving member
15777 variables.
2b2d9e11 15778
bb378428
VP
157792008-04-05 Vladimir Prus <vladimir@codesourcery.com>
15780
15781 * lib/mi-support.exp (mi_expect_stop): New.
15782 (mi_run_cmd): Change the
15783 token. Use mi_send_resuming_command, use
15784 mi_expect_stop.
15785 (mi_execute_to_helper): Rename to mi_execute_to.
15786 (mi_send_resuming_command): Add more error patterns.
15787 (mi_wait_for_stop): Renamed to...
15788 (mi_get_stop_line): ...this.
15789 (mi_run_inline_test): Adjust.
15790
15791 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15792 * gdb.mi/mi-console.exp: Likewise.
15793 * gdb.mi/mi-pending.exp: Likewise.
15794 * gdb.mi/mi-simplerun.exp: Likewise.
15795 * gdb.mi/mi-stack.exp: Likewise.
15796 * gdb.mi/mi-stepi.exp: Likewise.
15797 * gdb.mi/mi-syn-frame.exp: Add comment.
15798 * gdb.mi/mi-until.exp: Likewise.
15799 * gdb.mi/mi-var-display.exp: Likewise.
15800 * gdb.mi/mi-watch.exp: Likewise.
15801 * gdb.mi/mi2-cli.exp: Likewise.
15802 * gdb.mi/mi2-console.exp: Likewise.
15803 * gdb.mi/mi2-simplerun.exp: Likewise.
15804 * gdb.mi/mi2-stack.exp: Likewise.
15805 * gdb.mi/mi2-stepi.exp: Likewise.
15806 * gdb.mi/mi2-until.exp: Likewise.
15807 * gdb.mi/mi2-var-display.exp: Likewise.
15808 * gdb.mi/mi2-watch.exp: Likewise.
15809
62172bb9
UW
158102008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15811
15812 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15813
15814 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15815
a13e061a
PA
158162008-04-04 Pedro Alves <pedro@codesourcery.com>
15817
15818 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15819 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15820 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15821 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15822 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15823 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15824 expect an mi error duplicated in stderr.
15825
eae06beb
JB
158262008-04-03 Joel Brobecker <brobecker@adacore.com>
15827
15828 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15829 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15830 Add a couple of tests that verify the behavior when the new setting
15831 is set to "cancel" and "all".
15832 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15833 "ask" before we start the testing.
15834
79c6ced6
AR
158352008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
15836
15837 * gdb.cp/casts.cc: Add class reference variables.
15838 * gdb.cp/casts.exp: New test cases for up/down casting references.
15839
6c2d1a6b
MK
158402008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
15841
15842 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15843 instead of beginning to make an extra test pass.
15844 * gdb.mi/mi2-var-display.exp: Likewise.
15845
55b411d9
MR
158462008-03-31 Maciej W. Rozycki <macro@mips.com>
15847
15848 * gdb.base/break.exp: Mark failures as such. Fix formatting.
15849
c6140da2
MD
158502008-03-31 Markus Deuling <deuling@de.ibm.com>
15851 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15852
15853 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15854 value. Add xfail for older kernels.
15855
79732189
AR
158562008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
15857
15858 Bring mi-support in line with gdb.exp.
15859 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15860 (mi_gdb_start): New function.
15861
33c3676e
MR
158622008-03-28 Maciej W. Rozycki <macro@mips.com>
15863
15864 * gdb.mi/mi-var-cmd.exp: Fix a typo.
15865
92e28119
VP
158662008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15867
15868 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15869 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 15870
9e8e3afe
VP
158712008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15872
15873 * lib/mi-support.exp (mi_create_varobj_checked): New.
15874 (mi_list_varobj_children): Allow to check for a
15875 value.
15876 (mi_list_array_varobj_children): New.
15877
15878 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15879 and mi_list_varobj_children, as opposed to hardcoding
15880 expected strings.
15881 * gdb.mi/gdb701.exp: Likewise.
15882 * gdb.mi/gdb792.exp: Likewise.
15883 * gdb.mi/mi-var-block.exp: Likewise.
15884 * gdb.mi/mi-var-cmd.exp: Likewise.
15885 * gdb.mi/mi-var-invalidate.exp: Likewise.
15886 * gdb.mi/mi2-var-block.exp: Likewise.
15887 * gdb.mi/mi2-var-child.exp: Likewise.
15888 * gdb.mi/mi2-var-cmd.exp: Likewise.
15889 * gdb.mi/mi2-var-display.exp: Likewise.
15890
9df50351
JK
158912008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15892
15893 Fix random false FAILs on i386.
15894 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15895
31e5d73a
DJ
158962008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15897
15898 PR gdb/544
15899 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15900
12f4afab
DJ
159012008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15902
15903 PR gdb/544
15904 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15905
b562a0cb
DJ
159062008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15907
15908 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
15909 fixed PR gdb/544.
15910
17faa917
DJ
159112008-03-21 Pedro Alves <pedro@codesourcery.com>
15912
15913 * gdb.threads/fork-child-threads.exp: Test next over fork.
15914
6214f497
DJ
159152008-03-21 Chris Demetriou <cgd@google.com>
15916
15917 * gdb.base/break.exp (rbreak junk): New test for rbreak
15918 "Junk at end of arguments" issue.
15919
63092375
DJ
159202008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15921
15922 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
15923 *& to work on created array elements.
15924 (Top level): Test print $pc with a file. Test string operations
15925 without a target.
15926 * gdb.base/ptype.exp: Do not expect *& to work on created array
15927 elements.
15928
b21991b0
DJ
159292008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15930
15931 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15932 gdb.threads/staticthreads.exp: Update exit query.
15933
c4b347c7
SL
159342008-03-07 Sandra Loosemore <sandra@codesourcery.com>
15935
15936 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
15937
fa4727a6
DJ
159382008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
15939
15940 * gdb.base/watchpoint.c (global_ptr, func4): New.
15941 (main): Call func4.
15942 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
15943 (test_inaccessible_watchpoint): New.
15944
2f34202f
MR
159452008-02-29 Maciej W. Rozycki <macro@mips.com>
15946
15947 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
15948 select the largest.
15949
0d6ba1b1
DJ
159502008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15951
15952 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
15953 frames-invalid annotations.
15954
e691325a
PM
159552008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
15956
a9c64011 15957 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 15958
f85b5ecc
DE
159592008-02-27 Doug Evans <dje@google.com>
15960
15961 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
15962 for bug 1738.
15963 (breakpoint_to_handler_entry): Ditto.
15964
b40e7bf3
JB
159652008-02-27 Joel Brobecker <brobecker@adacore.com>
15966
15967 * gdb.base/ending-run.exp: Use the first line of code inside
15968 function body to test breakpoints.
15969 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
15970 location where the breakpoint is inserted when using the line
15971 where a function is declared. Fix typo in the description of
15972 one of the tests.
15973 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
15974
2faca73a
PM
159752008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15976
15977 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 15978 tests.
2faca73a 15979
6f439c36
PM
159802008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15981
15982 * gdb.base/args.exp: avoid same output for tests
15983 with single quotes.
15984
54e52265
VP
159852008-02-26 Vladimir Prus <vladimir@codesourcery.com>
15986
a9c64011
AS
15987 * gdb.base/annota1.exp: Adjust for 'info break'
15988 format changes.
15989 * gdb.base/annota3.exp: Likewise.
15990 * gdb.base/break.exp: Likewise.
15991 * gdb.base/condbreak.exp: Likewise.
15992 * gdb.base/pending.exp: Likewise.
15993 * gdb.base/sepdebug.exp: Likewise.
15994 * gdb.base/unload.exp: Likewise.
15995 * gdb.cp/ovldbreak.exp: Likewise.
15996 * gdb.mi/mi-pending.exp: Likewise.
54e52265 15997
897b09ca
DE
159982008-02-07 Doug Evans <dje@google.com>
15999
16000 * gdb.cp/mb-inline.exp: New.
16001 * gdb.cp/mb-inline.h: New.
16002 * gdb.cp/mb-inline1.cc: New.
16003 * gdb.cp/mb-inline2.cc: New.
16004
b1c32d35
PM
160052008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16006
16007 * gdb.pascal/floats.pas: New test program.
16008 * gdb.pascal/floats.exp: New testcase.
16009
1a4ca44a
TJB
160102008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16011
16012 * gdb.base/callfuncs.c (t_float_many_args): New function.
16013 (t_double_many_args): New function.
16014 * gdb.base/callfuncs.exp: Add tests for exceeding float
16015 and double parameters passed through the stack.
16016
439048e8
JB
160172008-02-05 Joel Brobecker <brobecker@adacore.com>
16018
16019 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16020 gdb.ada/complete/foo.adb: New files.
16021 * gdb.ada/complete.exp: New testcase.
16022
81fe8080
DE
160232008-02-03 Doug Evans <dje@google.com>
16024
301f0ecf
DE
16025 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16026
81fe8080
DE
16027 * gdb.cp/gdb2384.exp: New file.
16028 * gdb.cp/gdb2384.cc: New file.
16029 * gdb.cp/gdb2384-base.h: New file.
16030 * gdb.cp/gdb2384-base.cc: New file.
16031
4b071aec
DE
160322008-02-02 Doug Evans <dje@google.com>
16033
16034 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16035
61137ba6
JB
160362007-02-01 Joel Brobecker <brobecker@adacore.com>
16037
16038 * gdb.ada/sym_print_name: New test program.
16039 * gdb.ada/sym_print_name.exp: New testcase.
16040
160412007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
16042
16043 * gdb.ada/nested/hello.adb: New file.
16044 * gdb.ada/nested.exp: New testcase.
16045 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16046
98deb0da
VP
160472008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16048
16049 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
16050 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16051 don't cause future evaluations of function to report
16052 creation of internal breakpoints.
98deb0da 16053
723a2275
VP
160542008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16055
16056 * gdb.mi/mi-break.exp (test_error): New.
16057 Call it.
16058
fb546a2f
LM
160592008-01-31 Luis Machado <luisgpm@br.ibm.com>
16060
16061 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16062 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16063
2d8fd90a
PM
160642008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16065
16066 * gdb.pascal/integers.pas: New test program.
16067 * gdb.pascal/integers.exp: New testcase.
16068
a7fa0ded
PM
160692008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16070
16071 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16072
5e1a1926
TJB
160732008-01-30 Luis Machado <luisgpm@br.ibm.com>
16074
16075 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16076 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16077
8d04f9f0
JB
160782008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16079
16080 * gdb.ada/formatted_ref: New test program.
16081 * gdb.ada/formatted_ref.exp: New testcase.
16082
16083 * gdb.cp/formatted-ref.cc: New file.
16084 * gdb.cp/formatted-ref.exp: New testcase.
16085
ce75a98f
JB
160862008-01-30 Joel Brobecker <brobecker@adacore.com>
16087
16088 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16089
e835f6bf
NR
160902008-01-30 Nick Roberts <nickrob@snap.net.nz>
16091
16092 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16093 (test_file_list_exec_source_file): Update to new macro-info field.
16094
d118ef87
PH
160952008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16096
16097 * gdb.ada/exprs: New test program.
16098 * gdb.ada/exprs.exp: New testcase.
16099
7d35ab09
TJB
161002008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16101
16102 * dfp-test.c (DELTA, DELTA_B): New definitions.
16103 (double_val1, double_val2, double_val3, double_val4, double_val5,
16104 double_val6, double_val7, double_val8, double_val9, double_val10,
16105 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16106 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16107 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16108 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16109 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16110 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16111 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16112 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16113 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16114 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16115 dec128_val16): New global variables.
16116 (decimal_dec128_align): New function.
16117 (decimal_mixed): Likewise.
16118 (decimal_many_args_dec32): Likewise.
16119 (decimal_many_args_dec64): Likewise.
16120 (decimal_many_args_dec128): Likewise.
16121 (decimal_many_args_mixed): Likewise.
16122 * dfp-test.exp: Add tests calling new inferior functions.
16123
2d717e4f
DJ
161242008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16125
16126 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16127 gdb.server/ext-run.exp: New files.
16128 * lib/gdbserver-support.exp (gdbserver_download): New.
16129 (gdbserver_start): New. Update gdbserver expected
16130 output.
16131 (gdbserver_spawn): Use them.
16132 (gdbserver_start_extended): New.
16133
e85a822c
DJ
161342008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16135
16136 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16137 Run on GNU/Linux.
16138 (do_exec_tests): Check for systems which do not support catchpoints.
16139 Do not match START.
16140 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16141 Run on GNU/Linux. Enable verbose output.
16142 (check_fork_catchpoints): New.
16143 (explicit_fork_child_follow, catch_fork_child_follow)
16144 (tcatch_fork_parent_follow): Update expected messages.
16145 (do_fork_tests): Use check_fork_catchpoints.
16146 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16147 Run on GNU/Linux. Enable verbose output.
16148 (check_vfork_catchpoints): New.
16149 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16150 expected messages.
16151 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16152
401ea829
JB
161532008-01-29 Jim Blandy <jimb@red-bean.com>
16154
16155 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16156 host' errors.
16157 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16158
aceaf3ad
JB
161592008-01-29 Jim Blandy <jimb@red-bean.com>
16160
16161 * gdb.threads/sigthread.c: Use barriers to ensure that
16162 child_thread and child_thread_two are always initialized before we
16163 start to use them.
16164
a5606eee
VP
161652008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16166
16167 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
16168 * gdb.base/watchpoint-solib.c: New.
16169 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 16170
c55a82bb
PM
161712008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16172
16173 * gdb.base/gdb1056.exp: Add unsigned integer test.
16174
0993fe05
DE
161752008-01-28 Doug Evans <dje@google.com>
16176
16177 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16178
4fe42e7f
JB
161792008-01-27 Jim Blandy <jimb@codesourcery.com>
16180
c7a69933
JB
16181 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16182
4fe42e7f
JB
16183 * gdb.base/expand-psymtabs.exp: Doc fix.
16184
5def8285
MK
161852008-01-26 Mark Kettenis <kettenis@gnu.org>
16186
16187 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16188
5313c911
NR
161892008-01-24 Nick Roberts <nickrob@snap.net.nz>
16190
a9c64011 16191 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
16192 -var-set-format.
16193
93815fbf
VP
161942008-01-23 Chris Demetriou <cgd@google.com>
16195
16196 * gdb.threads/thread_events.c: New testcase source file.
16197 * gdb.threads/thread_events.exp: New testcase expect file.
16198
467a88ee
NR
161992008-01-23 Nick Roberts <nickrob@snap.net.nz>
16200
16201 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
16202
16203 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
16204 -var-set-format.
16205
d8f82aba
DJ
162062008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16207 Vladimir Prus <vladimir@codesourcery.com>
16208
16209 * gdb.base/float.exp: Allow missing floating point for m68k and
16210 PowerPC.
16211
60c46647
VP
162122008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16213
16214 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
16215 ignore count.
16216 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16217 * gdb.mi/mi-cli.exp: Adjust.
16218 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 16219
c7dd36a1
PA
162202008-01-17 Pedro Alves <pedro@codesourcery.com>
16221
16222 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16223 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16224 with dummy_ptr's address.
16225 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16226 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16227 all targets.
16228 * gdb.mi/mi2-var-child.exp: Likewise.
16229
39d5313e
JB
162302008-01-09 Joel Brobecker <brobecker@adacore.com>
16231
16232 * gdb.ada/null_array: New test program.
16233 * gdb.ada/null_array.exp: New testcase.
16234
0aea4bf3
LM
162352008-01-09 Luis Machado <luisgpm@br.ibm.com>
16236
16237 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16238 with required float modifiers.
16239
0b354900
JB
162402008-01-08 Joel Brobecker <brobecker@adacore.com>
16241
16242 * gdb.ada/funcall_param: New test program.
16243 * gdb.ada/funcall_param.exp: New testcase.
16244
cdb7f5d4
JB
162452008-01-08 Joel Brobecker <brobecker@adacore.com>
16246
16247 * gdb.ada/arrayparam: New test program.
16248 * gdb.ada/arrayparam.exp: New testcase.
16249
88e2547f
JB
162502008-01-08 Joel Brobecker <brobecker@adacore.com>
16251
16252 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16253 landed. Should also fix random failures in the test following it.
16254
f6867ce0
TJB
162552008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16256
16257 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16258 for expressions with decimal float values.
16259 (test_dfp_conversions): New function to test casts to and from
16260 decimal float types.
16261 Call test_dfp_conversions.
16262 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16263 elements.
16264 (main): Initialize ds.float4 and ds.double8 elements.
16265 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16266 string to new error message.
16267 (d64_set_tests): Likewise.
16268 (d128_set_tests): Likewise.
16269 Add tests for expressions with decimal float variables. Add tests for
16270 conversions to and from decimal float types.
16271
f9c11282
JB
162722008-01-05 Joel Brobecker <brobecker@adacore.com>
16273
16274 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16275 * gdb.ada/packed_tagged.exp: New testcase.
16276
0ecbca72
JB
162772008-01-04 Joel Brobecker <brobecker@adacore.com>
16278
16279 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16280 gdb.ada/homonym/homonym_main.adb: New files.
16281 * gdb.ada/homonym.exp: New testcase.
16282
c18d3d89
JB
162832008-01-04 Joel Brobecker <brobecker@adacore.com>
16284
16285 * gdb.ada/packed_array.exp: Add testing of references to
16286 a packed array.
16287
ecc7085b
JB
162882008-01-04 Joel Brobecker <brobecker@adacore.com>
16289
16290 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16291 New files.
16292 * gdb.ada/type_coercion.exp: New testcase.
16293
c474c922
JB
162942008-01-04 Joel Brobecker <brobecker@adacore.com>
16295
16296 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16297 gdb.ada/tagged/foo.adb: New file.
16298 * gdb.ada/tagged.exp: New testcase.
16299
9005b927
JB
163002008-01-04 Joel Brobecker <brobecker@adacore.com>
16301
16302 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16303 gdb.ada/ptype_field/foo.adb: New files.
16304 * gdb.ada/ptype_field.exp: New testcase.
16305
1a6aaad8
JB
163062008-01-03 Joel Brobecker <brobecker@adacore.com>
16307
16308 * gdb.ada/print_pc.exp: New testcase.
16309
0ef22f53
JB
163102008-01-03 Joel Brobecker <brobecker@adacore.com>
16311
16312 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16313 gdb.ada/taft_type/p.adb: New files.
16314 * gdb.ada/taft_type.exp: New testcase.
16315
1689ecf8
JB
163162008-01-03 Joel Brobecker <brobecker@adacore.com>
16317
16318 * gdb.ada/array_bounds/bar.adb: New file.
16319 * gdb.ada/array_bounds.exp: New testcase.
16320
a4d0b9c3
JB
163212008-01-03 Joel Brobecker <brobecker@adacore.com>
16322
16323 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16324 gdb.ada/arrayptr/foo.adb: New files.
16325 * gdb.ada/arrayptr.exp: New testcase.
16326
a31ace00
JB
163272008-01-03 Joel Brobecker <brobecker@adacore.com>
16328
16329 * gdb.base/set-lang-auto.exp: New testcase.
16330
a97fced3
JB
163312008-01-03 Joel Brobecker <brobecker@adacore.com>
16332
16333 * gdb.ada/fun_addr/foo.adb: New file.
16334 * gdb.ada/fun_addr.exp: New testcase.
16335
ef29ce1a
JK
163362008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16337
16338 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16339 New files
16340
0fafefe3
JB
163412008-01-02 Joel Brobecker <brobecker@adacore.com>
16342
16343 * array_subscript_addr/p.adb: New file.
a9c64011 16344 * array_subscript_addr.exp: New testcase.
0fafefe3 16345
c4359f8d
JB
163462008-01-02 Joel Brobecker <brobecker@adacore.com>
16347
a9c64011 16348 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
16349 New files.
16350 * gdb.ada/str_cmp_ref.exp: New testcase.
16351
1aa1b15b
JB
163522008-01-01 Joel Brobecker <brobecker@adacore.com>
16353
16354 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16355 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 16356 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 16357
81c9b2cf
JB
163582008-01-01 Joel Brobecker <brobecker@adacore.com>
16359
16360 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16361 gdb.ada/ref_param/pck.ads: New files.
16362 * gdb.ada/ref_param.exp: New testcase.
16363
319e4674
JB
163642008-01-01 Joel Brobecker <brobecker@adacore.com>
16365
16366 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16367 gdb.ada/interface/foo.adb: New files.
16368 * gdb.ada/interface.exp: New testcase.
16369
ef682c56
JB
163702007-12-31 Jim Blandy <jimb@codesourcery.com>
16371
16372 * gdb.base/multi-forks.exp: Consume all output from child
16373 processes before proceeding to next test.
16374
f6f3eb6c
JB
163752007-12-29 Jim Blandy <jimb@codesourcery.com>
16376
16377 * configure: Regenerated.
16378
f652e42f
JB
163792007-12-27 Joel Brobecker <brobecker@adacore.com>
16380
16381 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16382 gdb.ada/fixed_cmp/fixed.adb: New files.
16383 * gdb.ada/fixed_cmp.exp: New testcase.
16384
6943e596
JB
163852007-12-27 Joel Brobecker <brobecker@adacore.com>
16386
16387 * gdb.ada/boolean_expr.exp: New testcase.
16388
aad9a193
JB
163892007-12-26 Jim Blandy <jimb@codesourcery.com>
16390
16391 * gdb.base/multi-forks.exp: Doc fix.
16392
fb5f3683
JB
163932007-12-26 Joel Brobecker <brobecker@adacore.com>
16394
16395 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16396 * gdb.ada/char_param.exp: Do not compile our test program with
16397 -gnata, this is unnecessary.
16398 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16399
384e4a9c
JB
164002007-12-24 Joel Brobecker <brobecker@adacore.com>
16401
16402 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16403 gdb.ada/print_chars/foo.adb: New files.
16404 * gdb.ada/print_chars.exp: New testcase.
16405
01e044f7
JB
164062007-12-24 Joel Brobecker <brobecker@adacore.com>
16407
16408 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16409 gdb.ada/char_param/foo.adb: New files.
16410 * gdb.ada/char_param.exp: New testcase.
16411
0ce17860
JB
164122007-12-22 Jim Blandy <jimb@codesourcery.com>
16413
16414 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16415 hard-coding source line numbers into the test.
16416 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16417 gdb_get_line_number to find.
16418
919809b9
JB
164192007-12-22 Joel Brobecker <brobecker@adacore.com>
16420
16421 * gdb.base/ptype.c (highest): New struct type.
16422 (the_highest): New variable of that type.
16423 (main): Add dummy assignment to a field of variable the_highest.
16424 * gdb.base/ptype.exp: Test type printing of our new variable.
16425
abc8a88d
PM
164262007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
16427
16428 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 16429 and record first explicitly generated thread number.
abc8a88d
PM
16430 Use that thread number for thread specific watchpoint test.
16431 Add iteration number to repetitive tests.
16432
5158f3e3
CES
164332007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16434 Jim Blandy <jimb@codesourcery.com>
16435
16436 * gdb.base/expand-psymtabs.c: New testcase
16437 source file.
16438 * gdb.base/expand-psymtabs.exp: New testcase
16439 expect file.
16440
37e4754d
LM
164412007-12-17 Luis Machado <luisgpm@br.ibm.com>
16442
16443 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16444 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16445
551e5d04
JB
164462007-12-17 Joel Brobecker <brobecker@adacore.com>
16447
16448 * gdb.ada/frame_args/foo.adb: New file.
16449 * gdb.ada/frame_args/pck.ads: New file.
16450 * gdb.ada/frame_args/pck.adb: New file.
16451 * gdb.ada/frame_args.exp: New testcase.
16452
a05ee097
JB
164532007-12-17 Joel Brobecker <brobecker@adacore.com>
16454
16455 * gdb.base/frame-args.c: New file.
16456 * gdb.base/frame-args.exp: New testcase.
16457
c162e8c9 164582007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 16459 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
16460
16461 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16462
afe8ab22 164632007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 16464
afe8ab22
VP
16465 * gdb.mi/mi-pending.exp: New.
16466 * gdb.mi/mi-pending.c: New.
16467 * gdb.mi/mi-pendshr.c: New.
16468
dfdfb3ca
JB
164692007-12-06 Jim Blandy <jimb@codesourcery.com>
16470
16471 * gdb.base/default.exp: Update expected output for 'info catch'.
16472
b7fca990
JK
164732007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16474
16475 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16476 must be set to binary.
16477
6a1afc1e
PA
164782007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
16479
16480 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16481
a6b151f1
DJ
164822007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
16483
16484 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16485 gdb.mi/mi-file-transfer.exp: New.
16486
43039443
JK
164872007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16488
16489 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16490
0ef2251b
MR
164912007-11-22 Maciej W. Rozycki <macro@mips.com>
16492
16493 * gdb.trace/backtrace.exp: Fix a typo.
16494 * gdb.trace/circ.exp: Likewise.
16495 * gdb.trace/collection.exp: Likewise.
16496 * gdb.trace/limits.exp: Likewise.
16497 * gdb.trace/report.exp: Likewise.
16498 * gdb.trace/tfind.exp: Likewise.
16499 * gdb.trace/while-dyn.exp: Likewise.
16500
5443631e
NR
165012007-11-21 Nick Roberts <nickrob@snap.net.nz>
16502
16503 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16504 objects of pointers that can't be dereferenced are now
16505 "noneditable".
16506
a4ce5b0d
UW
165072007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16508
16509 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16510 (target_cpu): Remove.
16511
d6e956e5
VP
165122007-10-15 Vladimir Prus <vladimir@codesourcery.com>
16513
16514 * gdb.base/ending-run.exp: Expect the list of cleared
16515 breakpoint to come in natural order, not the reversed one.
a9c64011 16516
214270ab
VP
165172007-11-07 Vladimir Prus <vladimir@codesourcery.com>
16518
16519 * gdb.mi/mi-var-child.c (do_child_deletion): New.
16520 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 16521
1a619819
LM
165222007-11-05 Luis Machado <luisgpm@br.ibm.com>
16523
16524 * gdb.base/printcmds.exp: New function
16525 test_printf_with_dfp.
16526
5b01a6fa
DE
165272007-11-02 Doug Evans <dje@google.com>
16528
16529 * gdb.disasm/t01_mov.s: Remove carriage returns.
16530 * gdb.disasm/t02_mova.s: Ditto.
16531 * gdb.disasm/t03_add.s: Ditto.
16532 * gdb.disasm/t04_sub.s: Ditto.
16533 * gdb.disasm/t05_cmp.s: Ditto.
16534 * gdb.disasm/t06_ari2.s: Ditto.
16535 * gdb.disasm/t07_ari3.s: Ditto.
16536 * gdb.disasm/t08_or.s: Ditto.
16537 * gdb.disasm/t09_xor.s: Ditto.
16538 * gdb.disasm/t10_and.s: Ditto.
16539 * gdb.disasm/t11_logs.s: Ditto.
16540 * gdb.disasm/t12_bit.s: Ditto.
16541 * gdb.disasm/t13_otr.s: Ditto.
16542
ec33ab7f
JK
165432007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16544
16545 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
16546
ae0d01ff
UW
165472007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16548
16549 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
16550 provide DFP support.
16551
55eddb0f
DJ
165522007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
16553
16554 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
16555 Test "set powerpc vector-abi". Skip auto-detection tests for old
16556 toolchains.
16557
7020f05c
PA
165582007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16559
16560 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
16561 with [string compare].
16562
84bc3db9
PA
165632007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16564
16565 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
16566 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
16567
5876dc88
LM
165682007-10-25 Luis Machado <luisgpm@br.ibm.com>
16569
16570 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
16571 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
16572 * gdb.opt/Makefile.in: New makefile.
16573 * Makefile.in: Create new directory "gdb.opt".
16574 * configure.ac: Add "gdb.opt" directory.
16575 * configure: Regenerated.
a9c64011 16576
c3ea9a14
DE
165772007-10-25 Doug Evans <dje@google.com>
16578
16579 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
16580 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
16581
a9c64011 165822007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
16583 Thiago Jung Bauermann <bauerman@br.ibm.com>
16584
16585 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
16586 Floating Point expressions.
16587 * gdb.base/dfp-test.exp: new file adding tests for Decimal
16588 Floating Point variables.
16589 * gdb.base/dfp-test.c: new file containing program with Decimal
16590 Floating variables, used by gdb.base/dfp-test.exp.
16591
62a24a2b
DJ
165922007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
16593
16594 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
16595
e7b1eae6
UW
165962007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16597
16598 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
16599 compiling test case with GCC.
16600 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
16601
c641edcc
UW
166022007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16603
16604 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16605 format changes.
16606
5e5ebfe6
MS
166072007-10-18 Michael Snyder <msnyder@specifix.com>
16608
16609 * gdb.base/dbx.exp: Add missing "-re " operator.
16610
e831e7b6
GM
166112007-10-16 Gaius Mulley <gaius@glam.ac.uk>
16612
16613 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
16614 * configure.ac: Removed trailing spaces after backslash.
16615 * gdb.modula2: New directory.
16616 * gdb.modula2/Makefile.in: New file.
16617 * gdb.modula2/unbounded-array.exp: New file.
16618 * gdb.modula2/unbounded1.c: New file.
16619
7cc46491
DJ
166202007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
16621
16622 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
16623
166242007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
16625
16626 * gdb.base/sigstep.c (main): Add checks for
16627 return values for setitimer call.
16628 Call setitimer again with itimer = ITIMER_REAL
16629 if first call to setitimer fails.
16630
e91528f0
KH
166312007-10-11 Kazu Hirata <kazu@codesourcery.com>
16632
16633 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
16634 of $timeout.
16635
2ec9a4f8
DJ
166362007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16637
16638 * gdb.server/server-run.exp: Test for dynamic linker symbols.
16639
166402007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
16641
16642 * lib/gdb.exp (gdb_run_cmd): Move comment outside
16643 of gdb_expect call, to avoid interruption.
16644
64b2fa04
PA
166452007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
16646
16647 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
16648 (v_unsigned_long_long, v_long_long_array)
16649 (v_signed_long_long_array, v_unsigned_long_long_array)
16650 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
16651 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
16652 [!NO_LONG_LONG]: New.
16653 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
16654 v_long_long_member.
16655
16656 (v_long_long_func, v_signed_long_long_func)
16657 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
16658 (main) [!NO_LONG_LONG]: Initialize long long variants.
16659
16660 * gdb.base/whatis.exp: If board file requests no_long_long, build
16661 test with NO_LONG_LONG defined. Test long long, signed long long,
16662 and unsigned long long variants but only if board file doesn't
16663 disable it.
16664
a912286e 166652007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 16666 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
16667
16668 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
16669 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
16670 * configure: Regenerated.
16671 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
16672 gdb.pascal/types.exp, lib/pascal.exp: New files.
16673
471ba8c9
DJ
166742007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
16675
16676 * gdb.cp/classes.exp (do_tests): Always step to the line after the
16677 call.
16678 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
16679 to return to the call.
16680 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
16681 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
16682 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
16683 * gdb.mi/mi-until.exp (test_until): Likewise.
16684 * gdb.mi/mi2-until.exp (test_until): Likewise.
16685
fef8a650
DJ
166862007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
16687
16688 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
16689 two-char array.
16690 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
16691
d983da9c
DJ
166922007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
16693
16694 * gdb.threads/watchthreads.c (thread_function): Sleep between
16695 iterations.
16696 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
16697 at once for S/390. Generate matching fails and passes.
16698
17f62551
VP
166992007-09-27 Vladimir Prus <vladimir@codesourcery.com>
16700
16701 * gdb.mi/var-cmd.c (do_children_tests): Initialize
16702 the 'struct_declarations' variable to zeros.
a9c64011 16703
ed0616c6
VP
167042007-09-24 Vladimir Prus <vladimir@codesourcery.com>
16705
16706 * gdb.cp/mb-ctor.cc: New.
16707 * gdb.cp/mb-ctor.exp: New.
16708 * gdb.cp/mb-templates.cc: New.
16709 * gdb.cp/mb-templates.exp: New.
16710
41f1b697
DJ
167112007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
16712
16713 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
16714
3f213f78
PA
167152007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
16716
16717 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
16718 targets.
16719 * configure: Regenerate.
16720
0d381245 167212007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 16722
0d381245
VP
16723 * gdb.base/annota1.exp: Adjust for 'info break'
16724 format changes.
16725 * gdb.base/annota3.exp: Likewise.
16726 * gdb.base/break.exp: Likewise.
16727 * gdb.base/condbreak.exp: Likewise.
16728 * gdb.base/pending.exp: Likewise.
16729 * gdb.base/sepdebug.exp: Likewise.
16730 * gdb.base/unload.exp: Likewise.
16731 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 16732
fe3f5fa8
VP
167332007-09-22 Vladimir Prus <vladimir@codesourcery.com>
16734
16735 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
16736 messages.
16737 * gdb.base/chng-syms.exp: Likewise.
16738 * gdb.base/unload.exp: Likewise.
a9c64011 16739
a75cf6c0
DJ
167402007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
16741
16742 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
16743
18ecae38
DJ
167442007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
16745
16746 * schedlock.c (NUM): Change to 1.
16747 (main): Use args[0] for the main thread.
16748 * schedlock.exp: Only expect two threads. Only issue one pass or fail
16749 regardless of the number of threads.
16750
5509918f
MR
167512007-09-14 Maciej W. Rozycki <macro@mips.com>
16752
4a543daf
MR
16753 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16754 type down.
16755 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16756 test.
16757 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16758 watchpoint type down.
16759 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16760 test.
16761
167622007-09-14 Maciej W. Rozycki <macro@mips.com>
16763
5509918f
MR
16764 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16765 Move all the tests here and run them twice, once using software
16766 watchpoints and once using hardware watchpoints.
16767 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16768
40b53987
DJ
167692007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
16770
16771 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16772 test.
16773
695e2681
MK
167742007-09-10 Mark Kettenis <kettenis@gnu.org>
16775
8b3fc8d8
MK
16776 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16777 build-id.
16778
695e2681
MK
16779 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16780 know about $ORIGIN. Calculate output dir from $dest instead of
16781 using ${objdir}/{$subdir}.
16782
58d69f29
MK
167832007-09-09 Mark Kettenis <kettenis@gnu.org>
16784
16785 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16786 gcore, before continuing with the test.
16787
3e347599
DJ
167882007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
16789
16790 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16791 * gdb.mi/mi-watch.exp: Likewise.
16792
ea37ba09
DJ
167932007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16794 Jim Blandy <jimb@codesourcery.com>
16795
16796 * gdb.arch/i386-sse.exp: Do not expect character constants.
16797 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16798 * gdb.base/display.exp: Allow print/s.
16799 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16800 and unsigned char array changes.
16801
2025a643
DJ
168022007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16803
16804 * gdb.base/display.exp: Add tests for printf %p.
16805
26669a27
PA
168062007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
16807
16808 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16809 the dll name to unicode.
16810
c8f021f8
JK
168112007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16812
16813 * gdb.base/default.exp (show version): Update the version text.
16814 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16815
4cf31eea
JK
168162007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16817
16818 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16819 New files.
16820
4935890f
JK
168212007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16822
16823 * lib/gdb.exp (build_id_debug_filename_get): New function.
16824 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16825 Remove the generate DEBUG file for the future testcase runs.
16826 New testcase for the NT_GNU_BUILD_ID retrieval.
16827 Move the final testing step to ...
16828 (test_different_dir): ... a new function.
16829 New parameter XFAIL to XFAIL all the tests performed.
16830 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16831 New parameter TYPE to PF_PREFIX all the tests performed.
16832
02142340
VP
168332007-08-31 Vladimir Prus <vladimir@codesourcery.com>
16834
16835 * gdb.mi/mi-var-cp.cc (path_expression): New
16836 function.
16837 * gdb.mi/mi-var-cp.exp: Run path exression tests.
16838
36acd84e
UW
168392007-08-27 Markus Deuling <deuling@de.ibm.com>
16840
16841 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16842 to fit into SPU Local Store memory.
16843
a896d121
JB
168442007-08-23 Joel Brobecker <brobecker@adacore.com>
16845
16846 * gdb.base/default.exp: Adjust the expected output of "info
16847 warranty" after the switch to GPLv3.
16848
7b433602
JB
168492007-08-23 Joel Brobecker <brobecker@adacore.com>
16850
16851 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16852 to 30000 (from 20000).
16853
e22f8b7c
JB
168542007-08-23 Joel Brobecker <brobecker@adacore.com>
16855
16856 Switch the license of all .exp files to GPLv3.
16857 Switch the license of all .f and .f90 files to GPLv3.
16858 Switch the license of all .s and .S files to GPLv3.
16859
5a0e3bd0
JB
168602007-08-23 Joel Brobecker <brobecker@adacore.com>
16861
16862 * configure.ac: Switch license to GPLv3.
16863
cc00619d
JB
168642007-08-23 Joel Brobecker <brobecker@adacore.com>
16865
16866 Switch the licensing to GPLv3 for all .ads and .adb files.
16867
8d26208a
DJ
168682007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
16869
16870 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16871 and t_int_double.
16872 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16873
4fcb9948
JB
168742007-08-17 Joel Brobecker <brobecker@adacore.com>
16875
16876 * gdb.base/step-line.c: Switch license to GPL version 3, and
16877 update copyright year.
16878 * gdb.base/step-line.inp: Likewise.
16879
b9c34f67
JB
168802007-08-17 Joel Brobecker <brobecker@adacore.com>
16881
16882 * gdb.base/gdb1555.exp: Make expected output immune to formatting
16883 changes inside gdb1555.c.
16884 * gdb.base/pending.exp: Likewise.
16885
2cc17678
DJ
168862007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
16887
16888 * config/default.exp: New file.
16889
e48883f7
DJ
168902007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16891
16892 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16893 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16894
1ab80e5b
MR
168952007-07-30 Maciej W. Rozycki <macro@mips.com>
16896
16897 * gdb.base/dump.exp: Force the correct endianness for binary
16898 formats not carrying this information.
16899
aba471f5
DJ
169002007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16901
16902 * gdb.threads/staticthreads.exp: Match .*sem_post.
16903
d4e07204
DJ
169042007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16905
16906 * gdb.base/readline.exp (operate_and_get_next): Match the final
16907 prompt.
16908
2b97317d
KB
169092007-07-23 Kevin Buettner <kevinb@redhat.com>
16910
16911 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
16912 to restarting SID.
16913
44efa07a
KB
169142007-07-18 Kevin Buettner <kevinb@redhat.com>
16915
16916 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
16917 prior to `gdb_start'.
16918
7b5ebade
KB
169192007-07-18 Kevin Buettner <kevinb@redhat.com>
16920
16921 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
16922 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
16923 Remove call to gdb_unload.
16924
255e7678
DJ
169252007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
16926 Daniel Jacobowitz <dan@codesourcery.com>
16927
16928 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16929 for __WIN32__.
16930 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
16931 * gdb.base/unload.exp: Use shared library test routines.
16932
3a40aaa0
UW
169332007-07-03 Markus Deuling <deuling@de.ibm.com>
16934
16935 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
16936 * gdb.base/solib-symbol-lib.c: Likewise.
16937 * gdb.base/solib-symbol-main.c: Likewise.
16938
b0f4b84b
DJ
169392007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
16940
16941 * config/gdbserver.exp (gdb_reconnect): New.
16942 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
16943 gdb.base/solib-disc.exp: New files.
16944 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
16945 remote debugging".
16946 (gdb_compile): Add shlib_load flag.
16947 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
16948 port.
16949 (gdbserver_reconnect): New.
16950
1b05479a
DJ
169512007-07-01 Nick Roberts <nickrob@snap.net.nz>
16952 Daniel Jacobowitz <dan@codesourcery.com>
16953
16954 * gdb.base/annota3.exp: Test for if construct.
16955
86f78eb2
DJ
169562007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
16957
16958 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
16959
6a2eb474 169602007-06-21 Chris Dearman <chris@mips.com>
a9c64011 16961 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
16962
16963 * gdb.base/display.exp: Allow a newline after display/i.
16964 * gdb.base/pc-fp.exp: Likewise.
16965 * gdb.base/sigbpt.exp: Likewise.
16966
f8b73d13
DJ
169672007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
16968
16969 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
16970 required features to be included.
16971
4339e69e
DJ
169722007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
16973
16974 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
16975 in info threads output.
16976
23d964e7
UW
169772007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16978 Markus Deuling <deuling@de.ibm.com>
16979
16980 * gdb.arch/spu-info.exp: New testcase.
16981 * gdb.arch/spu-info.c: New file.
16982
fd20f75b
DJ
169832007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
16984
16985 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
16986 tpcs_offset. Restore lr after the call.
16987 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
16988
2226f861
DJ
169892007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
16990
16991 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
16992 (gdbserver_run): Kill any running gdbserver.
16993 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
16994
d12371a9
MR
169952007-05-17 Maciej W. Rozycki <macro@mips.com>
16996
16997 * gdb.base/sigbpt.exp: Preset segv_addr.
16998
93f02886
DJ
169992007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17000
17001 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17002 (gdb_compile_shlib): Likewise.
17003 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17004 (default_gdb_init): Clear cleanfiles.
17005 (gdb_finish): Delete recorded cleanfiles.
17006 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17007
17008 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17009 Do not use isnative.
17010 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17011 gdb.base/so-impl-ld.exp: Likewise.
17012 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17013 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17014 gdb_compile.
17015
b04e06d7
VP
170162007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17017
17018 * config/unknown.exp: Remove.
17019
069ed931
UW
170202007-05-15 Markus Deuling <deuling@de.ibm.com>
17021
17022 * gdb.base/info-proc.exp: Check is_remote.
17023
09db0d03
UW
170242007-05-14 Markus Deuling <deuling@de.ibm.com>
17025
17026 * gdb.base/gcore.exp: Initialize variable core_supported.
17027
af2cbe8c
DJ
170282007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17029
17030 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17031
027c0295
DJ
170322007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17033
17034 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17035 * gdb.threads/print-threads.exp (test_all_threads): Allow
17036 negative and hexadecimal thread IDs.
17037
dc5000e7
DJ
170382007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17039
17040 * gdb.java/jprint.java (public): Avoid invalid call to static
17041 method.
17042
2e74ed18
DP
170432007-05-14 Denis Pilat <denis.pilat@st.com>
17044
17045 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17046 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17047 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17048 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17049 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17050
83547f02
UW
170512007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17052
17053 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 17054 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
17055 this mode.
17056 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17057 * gdb.base/spu.ld: New file.
17058
b18be20d
DJ
170592007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17060
17061 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17062
be444858
DJ
170632007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17064
17065 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17066
b1d53152
DJ
170672007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17068
17069 * gdb.java/jmain.exp: Handle demangled names with and without method
17070 signatures.
17071
d084b331
DJ
170722007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17073
17074 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17075 (have_a_very_merry_interrupt): Remove calls to puts.
17076 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17077 inferior output.
17078 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17079 test names.
17080
db9d7fc5
DJ
170812007-04-29 Markus Deuling <deuling@de.ibm.com>
17082 Daniel Jacobowitz <dan@codesourcery.com>
17083
17084 * gdb.base/auxv.exp (core_works): Also check is_remote.
17085 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17086
ef783a7d 170872007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 17088
ef783a7d
VP
17089 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17090 message, not the undefined 'module' variable.
17091 * gdb.base/siginfo.exp: Likewise.
17092 * gdb.base/sigstep.exp: Likewise.
17093 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17094 serialport.
17095 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17096
b7b73cae
CV
170972007-04-25 Corinna Vinschen <vinschen@redhat.com>
17098
17099 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17100 target sim fails. Return 0 otherwise.
17101 (gdb_load): Return prematurely if gdb_target_sim fails.
17102
7d90fdfa
DP
171032007-04-16 Denis Pilat <denis.pilat@st.com>
17104
17105 * gdb.base/setshow.exp: Reset height after having set it to 100.
17106
5d3e9c85
DP
171072007-04-16 Denis Pilat <denis.pilat@st.com>
17108
17109 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17110
18e75969
DP
171112007-04-16 Denis Pilat <denis.pilat@st.com>
17112
17113 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17114
25d5ea92
VP
171152007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17116
17117 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17118 tests. Run the frozen varobjs test.
17119 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 17120 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 17121
0b49cb80
JK
171222007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17123
17124 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17125 gdb.base/type-opaque.exp: New files.
17126
a73bafbc 171272007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
17128
17129 * gdb.mi/mi-var-child.c
a73bafbc
VP
17130 (do_children_tests): User char[2] instead of
17131 char so that automatic printing of pointers to char
17132 don't give unpredicable result.
17133 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17134 local variables.
17135 * gdb.mi/mi-var-child.exp: Step to right line
17136 of do_children_tests.
17137 * gdb.mi/mi2-var-child.exp: Likewise.
17138 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 17139 do_locals_tests.
a73bafbc
VP
17140 (do_children_tests): User char[2] instead of
17141 char so that automatic printing of pointers to char
a9c64011 17142 don't give unpredicable result.
a73bafbc 17143 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 17144 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
17145 Pass test name to mi_wait_for_stop.
17146
7ce59000
DJ
171472007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17148
17149 * gdb.asm/asm-source.exp: Remove d10v case.
17150 * lib/gdb.exp (skip_cplus_tests): Likewise.
17151 * gdb.asm/d10v.inc: Deleted.
17152
20389057
DJ
171532007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17154
17155 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17156
8807d78b
DJ
171572007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17158
17159 * config/netware.exp: Delete file.
17160
aa3edb8e
JB
171612007-03-29 Joel Brobecker <brobecker@adacore.com>
17162
17163 * gdb.dwarf2/dw2-noloc.S: New file.
17164 * gdb.dwarf2/dw2-noloc.exp: New file.
17165
297561ac
PA
171662007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17167
17168 * gdb.cp/method2.cc: New test.
17169 * gdb.cp/method2.exp: New test.
17170 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17171
1f81bd39
DJ
171722007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17173
17174 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17175
9453113a
DJ
171762007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17177
17178 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17179
b741e217
DJ
171802007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17181
17182 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17183 (gdb_load): Delete, replace with...
17184 (gdb_reload): ...this.
17185 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17186 * gdb.server/server-mon.exp: Likewise.
17187 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17188 (gdb_start_cmd): New.
17189 (gdb_file_cmd): Save the last loaded file.
17190 (gdb_reload): New.
17191 (gdb_gnu_strip_debug): Use transform.
17192 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17193 support here. Use new $last_loaded_file. Check mtime.
17194 (gdb_target_cmd): Handle ObjC failure case.
17195 (infer_host_exec): Delete.
17196 (gdbserver_load): Rename to...
17197 (gdbserver_run): ...this. Simplify.
17198 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17199 (mi_gdb_load): Move most contents to a new function...
17200 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17201 (mi_run_cmd): Use mi_gdb_target_load.
17202 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17203 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17204 Use gdb_run_cmd.
17205 * gdb.base/charsign.exp: Remove incorrect comment.
17206 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17207 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17208 gdb.base/start.exp: Use gdb_start_cmd.
17209
446ab585 172102007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 17211 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
17212
17213 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17214 * gdb.base/signull.exp: Similarly.
17215
bbb88ebf
UW
172162007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17217
17218 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17219 messages available to test cases (like chng-sym.exp).
17220
cb8c4a99
AS
172212007-03-14 Andreas Schwab <schwab@suse.de>
17222
17223 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17224 format changes.
17225
4e463ff5
DJ
172262007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17227
17228 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17229 (optimized_1): New.
17230 (main): Call optimized_1.
17231 (gdb2029): Correct typos. Call gdb2029_marker.
17232 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17233 for gdb2029.
17234
b6db2c47
MK
172352007-03-12 Mark Kettenis <kettenis@gnu.org>
17236
17237 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17238 as tabs. Remove redundant test pattern.
17239
70ed3737
UW
172402007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17241
17242 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17243 for /a format output.
17244
47b67b60
DJ
172452007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17246
17247 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17248 collect output incrementally.
17249
b8953b0e
UW
172502007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17251
17252 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17253 for -var-create lpcharacter test.
17254 * gdb.mi/mi2-var-cmd.exp: Likewise.
17255
7acd5c40
UW
172562007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17257
17258 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17259 pass on targets where address zero is readable.
17260
9c6759c1
UW
172612007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17262
17263 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17264 just a single architecture.
17265
a2f1aeb4
UW
172662007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17267
17268 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17269 (fetch_all_registers): New function, uses gdb_test_multiple and
17270 exp_continue to fetch inferior output line-by-line.
17271 Replace all uses of do_get_all_registers by fetch_all_registers.
17272
46579ac2
UW
172732007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17274
17275 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17276 in target_info.
17277
fc133f24
MS
172782007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17279
a9c64011 17280 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
17281 consistancy; add a default (timeout) case.
17282
7646a51d
MS
172832007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17284
17285 * gdb.base/watchpoint.exp: Fix truncated comment.
17286
dcfff61f
MS
172872007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17288
17289 * Makefile.in: Remove spurious single-quotes from sed command.
17290
664e3ee9
DJ
172912007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17292
17293 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17294 func.
17295 * gdb.mi/mi2-var-cmd.exp: Likewise.
17296
d7cc6f2f
JB
172972007-02-27 Joel Brobecker <brobecker@adacore.com>
17298
a9c64011
AS
17299 * gdb.dwarf2/dw2-producer.S: New file.
17300 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
17301
173022007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
17303
17304 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17305 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17306 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17307 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17308 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17309 Revert tests to use mi_gdb_test and include value field in output
17310 of -var-create.
17311
93d42b30
DJ
173122007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17313
17314 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17315
c499ed39
DJ
173162007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17317
17318 * gdb.base/maint.exp: Remove full paths from test names.
17319 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17320 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17321
9836f81b
JB
173222007-02-27 Joel Brobecker <brobecker@adacore.com>
17323
17324 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17325
c74d0ad8
DJ
173262007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17327
17328 * gdb.server/server-mon.exp: New test.
17329
2711e456
DJ
173302007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17331
17332 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17333
ff6f572f
DJ
173342007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17335
17336 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17337 register capitalization.
17338
fada3feb
DP
173392007-02-13 Denis Pilat <denis.pilat@st.com>
17340
17341 * gdb.mi/mi-var-invalidate.exp: New file.
17342
fb1e4ffc
DJ
173432007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17344
17345 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17346
3da939d7
DJ
173472007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17348
17349 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17350
123dc839
DJ
173512007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17352
17353 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17354 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17355
877e3645 173562007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
17357
17358 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17359 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17360 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17361 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17362 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 17363 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 17364 Update tests to include value field in output of -var-create.
a9c64011 17365
3c0a2960
AS
173662007-02-08 Andreas Schwab <schwab@suse.de>
17367
17368 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17369
108546a0
DJ
173702007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
17371
17372 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17373 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17374
d701dcab
DP
173752007-02-02 Denis Pilat <denis.pilat@st.com>
17376
17377 * gdb.threads/threadapply.exp: check that frame is not changed by
17378 the thread apply all command.
17379
783e3e2f
AS
173802007-01-31 Andreas Schwab <schwab@suse.de>
17381
6d9c3a87
AS
17382 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17383
3c50d7b9
AS
17384 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17385 in the dwarf sections.
17386 * gdb.dwarf2/mac-fileno.S: Likewise.
17387
783e3e2f
AS
17388 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17389 bspstore register on ia64.
17390
78ff580e
AS
173912007-01-29 Andreas Schwab <schwab@suse.de>
17392
cc8e9b12
AS
17393 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17394 "frame-begin" annotation.
17395
78ff580e
AS
17396 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17397 number of "frames-invalid" annotations.
17398
704a4f78
DJ
173992007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17400
17401 * gdb.base/commands.exp: Call if_commands_test.
17402 (gdb_test_no_prompt, if_commands_test): New.
17403
e741bf94
MK
174042007-01-28 Mark Kettenis <kettenis@gnu.org>
17405
17406 * gdb.threads/sigthread.c (NSIGS): Make bigger.
17407
474d0ad3
AS
174082007-01-27 Andreas Schwab <schwab@suse.de>
17409
17410 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17411 .short/.int/.quad in the dwarf sections.
17412 * gdb.dwarf2/dw2-intercu.S: Likewise.
17413 * gdb.dwarf2/dw2-intermix.S: Likewise.
17414
e784b426
JK
174152007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17416
17417 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
17418 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17419 array.
e784b426
JK
17420 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17421 * gdb.base/setvar.exp: Likewise.
17422
37f08e04
AS
174232007-01-26 Andreas Schwab <schwab@suse.de>
17424
9a01813a
AS
17425 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17426 test.
17427
37f08e04
AS
17428 * gdb.base/multi-forks.exp ("restart $i"): Also match
17429 __kernel_syscall_via_break.
17430
6e2a9270
VP
174312007-01-24 Vladimir Prus <vladimir@codesourcery.com>
17432
17433 * lib/mi-support.exp (mi_delete_varobj): New.
17434 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17435 testcase.
17436 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17437 (main): Call the above.
17438 (reference_update_test, base_in_reference_test)
17439 (reference_to_pointer): Delete the created varobjs.
a9c64011 17440
e515b470
DJ
174412007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
17442
17443 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17444 * configure: Regenerated.
17445 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17446 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17447 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17448 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17449 * lib/gdb.exp (gdb_skip_xml_test): New function.
17450
08d8bcd7
DJ
174512007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
17452
17453 * gdb.base/sigrepeat.exp: Correct error message.
17454
174552007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
17456 Daniel Jacobowitz <dan@codesourcery.com>
17457
17458 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17459 gdb.arch/i386-gnu-cfi-asm.S: New files.
17460
97c3f1f3
JK
174612007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17462
17463 * lib/gdb.exp: Abort on missing `site.exp'.
17464
cb1df416
DJ
174652007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17466 Daniel Jacobowitz <dan@codesourcery.com>
17467
17468 * gdb.base/included.c, gdb.base/included.exp,
17469 gdb.base/included.h: New files.
17470
35990120
DJ
174712007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17472
17473 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17474 (maximize_rlimit): Reduce limits on 64-bit systems.
17475
6e81a116 174762007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
17477
17478 From Marcus Deuling <deuling@de.ibm.com>:
17479 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17480 every case.
17481
6c3c41f3
NR
174822007-01-13 Nick Roberts <nickrob@snap.net.nz>
17483
17484 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17485 (test_path_specification): Use objdir instead of srcdir to always
17486 get an absolute filename.
17487
2f12c312
DJ
174882007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
17489
17490 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17491
81121995
VP
174922007-01-11 Vladimir Prus <vladimir@codesourcery.com>
17493
17494 * gdb.mi/mi-var-cp.cc (reference_update_tests):
17495 Make sure the variable we're using is in scope.
17496 (reference_to_pointer): Likewise.
17497
4741b737
DJ
174982007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17499
17500 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17501 has no debug information.
17502
054410c3
DJ
175032007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17504
17505 * gdb.base/annota1.exp: Remove extra send_gdb.
17506
818f79f6
DJ
175072007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17508
17509 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17510
f7a6bb70
DJ
175112007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17512
17513 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17514
57e66780
DJ
175152007-01-08 Nick Roberts <nickrob@snap.net.nz>
17516 Daniel Jacobowitz <dan@codesourcery.com>
17517
17518 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
17519 lcharacter or linteger change. Correct duplicated test name.
17520 * gdb.mi/mi2-var-cmd.exp: Likewise.
17521
3d799a95
DJ
175222007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
17523
17524 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
17525
175262007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 17527
a9c64011
AS
17528 * gdb.base/nofield.c: New file.
17529 * gdb.base/nofield.exp: New testcase.
51679ba9 17530
eafb94e8
NR
175312007-01-05 Nick Roberts <nickrob@snap.net.nz>
17532
17533 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
17534
17535 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
17536 test.
17537
5e572bb4
DJ
175382007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17539
17540 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
17541
74a44383
DJ
175422007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17543
17544 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
17545 when continuing.
17546
1b572db9
DJ
175472007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17548
17549 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
17550 Expect ".exe" extension.
17551
381bc39b
DJ
175522007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17553
17554 * gdb.base/charset.exp: Add explicit filename to break.
17555 * gdb.base/dbx.exp: Add explicit filename to breaks.
17556
2b70e4c6
DJ
175572007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17558
17559 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
17560 * gdb.mi/mi2-file.exp: Likewise.
17561
303b6f5d
DJ
175622007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17563
17564 Implement specification of MI tests as comments
17565 in C and C++ sources.
17566 * lib/mi-support.exp (mi_autotest_data): New variable.
17567 (mi_autotest_source): New variable.
17568 (count_newlines, mi_prepare_inline_tests)
17569 (mi_get_inline_test, mi_continue_to_line)
17570 (mi_run_inline_test, mi_tbreak)
17571 (mi_send_resuming_command, mi_wait_for_stop): New functions.
17572 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
17573 Run inline tests.
17574 * gdb.mi/mi-var-cp.cc: Define tests here.
17575
23da0d94
VP
175762007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17577
17578 Simplify usage of mi_continue_to.
17579 * lib/mi-support.exp (mi_runto_helper): Renamed
17580 from mi_runto, added new parameter 'run_or_continue'.
17581 (mi_runto): Use mi_runto_helper.
17582 (mi_continue_to): Accept just function name as parameter.
17583 Use mi_runto_helper.
17584 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
17585 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 17586
f9e18282
JB
175872006-01-04 Joel Brobecker <brobecker@adacore.com>
17588
17589 Make this testcase a bit more realistic. The current code
17590 is too simplistic, and allows the compiler to optimize out
17591 some of the entities we need for this testcase.
17592 * gdb.ada/null_record/bar.ads (Void_Star): New type.
17593 (Do_Nothing): Add extra parameter.
17594 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
17595 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
17596 by using a variable of type Void_Star.
17597
fd678c65
JB
175982006-01-04 Joel Brobecker <brobecker@adacore.com>
17599
17600 * gdb.ada/catch_ex/foo.adb: New file.
17601 * gdb.ada/catch_ex.exp: New testcase.
17602
05cfdb42
DJ
176032007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
17604
17605 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
17606 pass --image-base to linker.
17607
2e03ee74
DJ
176082007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17609 Daniel Jacobowitz <dan@codesourcery.com>
17610
17611 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
17612 secondary prompts.
17613
0d5de010
DJ
176142007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17615
17616 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
17617 output. Test the types of members and member pointers.
17618 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
17619 gdb/2092.
17620 * gdb.cp/member-ptr.exp: Search for a comment instead of a
17621 statement. Enable for GCC. Update expected output for some tests
17622 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
17623 layout.
17624 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
17625 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
17626 (Diamond::vget_base): New.
17627 (main): Add new tests.
17628 * gdb.cp/printmethod.exp: Update expected output for member functions.
17629 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
17630 print pEe->D::vg().
17631
61a771aa
DJ
176322007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17633
17634 * gdb.threads/tls.exp: Allow stops in sem_post.
17635
2fa63963
DJ
176362006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
17637
17638 * gdb.base/annota1.exp: Allow .*printf in backtraces.
17639 * gdb.base/annota3.exp: Likewise.
17640 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
17641 again (instead of timing out).
17642 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
17643 GCC bug 26475.
17644 * gdb.java/jmisc.exp: Adjust to work with method signatures including
17645 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
17646 test from jmisc1.exp.
17647 * gdb.java/jmisc1.exp: Delete.
17648 * gdb.java/jprint.exp: Adjust to work with method signatures including
17649 return types.
17650 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
17651 * gdb.threads/linux-dp.exp: Don't be confused by program output.
17652 * lib/java.exp (compile_java_from_source): Pass the correct type
17653 to target_compile.
17654
5eefc2b7
JB
176552006-12-31 Joel Brobecker <brobecker@adacore.com>
17656
17657 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
17658 (stack_align_edx): New function.
17659 (stack_align_eax): New function.
17660 (main): Add calls to stack_align_edx and stack_align_eax.
17661 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
17662 Add testing for the cases where the register used during a stack
17663 realignment is edx. Same for eax.
17664
227c54da
DJ
176652006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
17666
17667 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
17668 and generic PE targets.
17669
cab8ac94
JB
176702006-12-29 Joel Brobecker <brobecker@adacore.com>
17671
17672 * gdb.ada/array_return.exp: Update copyright date list.
17673
ba54f318
JB
176742006-12-27 Joel Brobecker <brobecker@adacore.com>
17675
17676 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
17677 (Create_Small_Float_Vector): New function.
17678 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
17679 function body.
17680 * gdb.ada/array_return/p.adb: Use new type and function from
17681 package Pck.
17682 * gdb.ada/array_return.exp: Add a test verifying that GDB is
17683 able to print the value returned by a function returning an
17684 array of float.
17685
6b7a35dd
JB
176862006-12-20 Joel Brobecker <brobecker@adacore.com>
17687
17688 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
17689 The associated tests should be PASSing.
17690
038224f6
VP
176912006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17692
17693 Test for base in references.
17694 * gdb.mi/mi-var-cp.cc: Add test code.
17695 * gdb.mi/mi-var-cp.exp: Test for bases in references.
17696 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
17697 * gdb.mi/mi2-watch.exp: Likewise.
17698 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
17699 (mi_list_varobj_children): New function.
17700
b26ed50d
VP
177012006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17702
17703 * lib/mi-support.exp
17704 (mi_runto): Accept "()" after function name.
17705 (mi_create_varobj): New function.
17706 (mi_varobj_update): New function.
17707 (mi_Check_varobj_value): New function.
17708 * gdb.mi/mi-var-cp.exp: New file.
17709 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 17710
08232497
DJ
177112006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
17712
17713 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
17714 gdb.base/weaklib2.c: New files.
17715
d394c993 177162006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 17717
ac6c2fba
NS
17718 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
17719 info. Adjust test names.
17720
8ec659a0 17721 * gdb.base/break.c (main): Move position of malloc.
d394c993 17722 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 17723
acd65feb
VP
177242006-11-28 Vladimir Prus <vladimir@codesourcery.com>
17725
17726 * gdb.mi/mi-var-cmd.exp: Check -var-update after
17727 assignement of arrays and function pointers.
17728 * gdb.mi/var-cmd.c: Add declaration necessary for above
17729 tests.
17730
f556d5e5
NS
177312006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17732
17733 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
17734
17735 * gdb.threads/linux-dp.exp: Read thread table before and after
17736 creating each philosopher and verify it.
17737
697bc68d
NS
177382006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17739 Paul Brook <paul@codesourcery.com>
17740 Daniel Jacobowitz <dan@codesourcery.com>
17741
17742 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 17743 main to remove duplication. Add start function of the form
697bc68d
NS
17744 '_*start[1-9]*'. Add RVDS start function.
17745
29d73ae4
DJ
177462006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17747
17748 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17749
c1d88655
UW
177502006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17751
17752 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17753 * gdb.asm/spu.inc: New file.
17754 * gdb.base/term.exp: Disable if [target_info exists noargs].
17755 * gdb.gdb/complaints.exp: Disable if ![isnative].
17756 * gdb.gdb/selftest.exp: Likewise.
17757 * gdb.gdb/observer.exp: Likewise.
17758 * gdb.gdb/xfullpath.exp: Likewise.
17759 * gdb.base/attach.exp: Disable on SPU target.
17760 * gdb.cp/bs145503.exp: Likewise.
17761 * gdb.cp/exception.exp: Likewise.
17762 * gdb.cp/userdef.exp: Likewise.
17763
32a13b1a
DJ
177642006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17765
17766 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17767
d8295fe9
VP
177682006-11-10 Vladimir Prus <vladimir@codesourcery.com>
17769
17770 * gdb.base/completion.exp: Fix completion tests for
17771 'info' and 'info '.
17772 * gdb.base/help.exp (help_test_raw, test_class_help)
17773 (test_prefix_command_help): Move...
17774 * lib/gdb.exp: Here.
17775 * gdb.base/main.exp: Adjust.
17776 * gdb.cp/maint.exp: Adjust.
17777 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 17778
8c394015
VP
177792006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17780
17781 * gdb.stabs/weird.exp (print_weird_var): Use
17782 gdb_test_multiple instead of gdb_expect.
17783
027fc1bc
VP
177842006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17785
17786 * gdb.base/help.exp (help_test_raw): New.
17787 (test_class_help): New.
17788 (test_prefix_command_help): New.
17789 Adjust testcases.
17790
67609209
FR
177912006-11-09 Christophe Lyon <christophe.lyon@st.com>
17792
17793 * gdb.base/constvars.c (main): Write to crass and crips, so that
17794 they are allocated by the compiler.
17795
f73adfeb
AS
177962006-10-27 Andreas Schwab <schwab@suse.de>
17797
17798 * gdb.base/multi-forks.exp: Use "detach fork" instead of
17799 "detach-fork".
17800
2f83a18e
DJ
178012006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
17802
17803 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17804 of patterns.
17805
94277a38
DJ
178062006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17807
17808 * gdb.base/sepdebug.exp: Remove debug format test.
17809 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17810 Handle no-symtab.
17811 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17812
5bd2f6e2
DJ
178132006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17814
17815 * gdb.threads/manythreads.c (thread_function, main): Don't cast
17816 int to pointer or pointer to int.
17817 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17818
8c008720
DJ
178192006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
17820
17821 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17822
9e35dae4
DJ
178232006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17824
17825 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17826
d9639e13
DJ
178272006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17828
17829 PR c++/2116
17830 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17831
390a1bd0
JB
178322006-10-06 Joel Brobecker <brobecker@adacore.com>
17833
17834 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17835 the corresponding bug has been fixed in GDB (PR/2018).
17836
dd920c33
JB
178372006-10-06 Joel Brobecker <brobecker@adacore.com>
17838
17839 * gdb.base/subst.exp: New testcase.
17840
53bbefe9
JB
178412006-10-06 Joel Brobecker <brobecker@adacore.com>
17842
17843 * gdb.ada/array_return/pck.ads: Add copyright notice.
17844 * gdb.ada/array_return/pck.adb: Likewise.
17845 * gdb.ada/array_return/p.adb: Likewise.
17846 * gdb.ada/exec_changed/first.adb: Likewise.
17847 * gdb.ada/exec_changed/second.adb: Likewise.
17848
09851417
JB
178492006-10-06 Joel Brobecker <brobecker@adacore.com>
17850
17851 * gdb.ada/watch_arg/watch.adb: New file.
17852 * gdb.ada/watch_arg.exp: New testcase.
17853
041bf30d
VP
178542006-10-02 Vladimir Prus <vladimir@codesourcery.com>
17855
17856 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 17857 via string_to_regexp.
041bf30d 17858 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 17859
f286fbdd 178602006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
17861
17862 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17863 Remove unused / obsolete files.
17864
7c07f349
NR
178652006-09-19 Nick Roberts <nickrob@snap.net.nz>
17866
17867 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17868
cd5ff84a
VP
178692006-09-17 Vladimir Prus <vladimir@codesourcery.com>
17870
17871 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17872 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 17873 the number of frames.
cd5ff84a 17874
ae018d1a
DJ
178752006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
17876
17877 * gdb.base/args.c (main): Add breakpoint marker.
17878 * gdb.base/args.exp: Use args_test for tests. Add new tests which
17879 really test empty arguments.
17880 (args_load): Delete.
17881 (args_test): New.
17882
b399c549
NR
178832006-09-13 Nick Roberts <nickrob@snap.net.nz>
17884
17885 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 17886 check for one file.
b399c549 17887
2ab1eb7a
VP
178882006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
17889
17890 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17891 HIGH_FRAME argument to -stack-list-locals can be larger than
17892 the number of frames.
a9c64011 17893
476308bf
FF
178942006-08-18 Fred Fish <fnf@specifix.com>
17895
17896 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17897 '$' in front of skip_vmx_tests_saved when setting that.
17898
8625200f
AS
178992006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
17900
17901 * gdb.base/trace-commands.exp: New file.
17902
089ec8f1
DJ
179032006-08-10 Joel Brobecker <brobecker@adacore.com>
17904 Daniel Jacobowitz <dan@codesourcery.com>
17905
17906 * gdb.base/step-bt.exp: Make hexadecimal address optional in
17907 expected output of the backtrace commands.
17908
b60f0898
JB
179092006-08-09 Joel Brobecker <brobecker@adacore.com>
17910
17911 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
17912 untested followed by return combination.
17913 * gdb.arch/altivec-regs.exp: Likewise.
17914 * gdb.arch/e500-abi.exp: Likewise.
17915 * gdb.arch/e500-regs.exp: Likewise.
17916 * gdb.arch/gdb1291.exp: Likewise.
17917 * gdb.arch/gdb1431.exp: Likewise.
17918 * gdb.arch/gdb1558.exp: Likewise.
17919 * gdb.arch/i386-prologue.exp: Likewise.
17920 * gdb.arch/i386-unwind.exp: Likewise.
17921 * gdb.asm/asm-source.exp: Likewise.
17922 * gdb.base/a2-run.exp: Likewise.
17923 * gdb.base/advance.exp: Likewise.
17924 * gdb.base/all-bin.exp: Likewise.
17925 * gdb.base/annota1.exp: Likewise.
17926 * gdb.base/annota3.exp: Likewise.
17927 * gdb.base/args.exp: Likewise.
17928 * gdb.base/arithmet.exp: Likewise.
17929 * gdb.base/assign.exp: Likewise.
17930 * gdb.base/async.exp: Likewise.
17931 * gdb.base/attach.exp: Likewise.
17932 * gdb.base/bang.exp: Likewise.
17933 * gdb.base/bigcore.exp: Likewise.
17934 * gdb.base/bitfields.exp: Likewise.
17935 * gdb.base/bitfields2.exp: Likewise.
17936 * gdb.base/break.exp: Likewise.
17937 * gdb.base/call-sc.exp: Likewise.
17938 * gdb.base/call-strs.exp: Likewise.
17939 * gdb.base/callfuncs.exp: Likewise.
17940 * gdb.base/checkpoint.exp: Likewise.
17941 * gdb.base/chng-syms.exp: Likewise.
17942 * gdb.base/code-expr.exp: Likewise.
17943 * gdb.base/commands.exp: Likewise.
17944 * gdb.base/completion.exp: Likewise.
17945 * gdb.base/cond-expr.exp: Likewise.
17946 * gdb.base/condbreak.exp: Likewise.
17947 * gdb.base/consecutive.exp: Likewise.
17948 * gdb.base/constvars.exp: Likewise.
17949 * gdb.base/corefile.exp: Likewise.
17950 * gdb.base/cvexpr.exp: Likewise.
17951 * gdb.base/dbx.exp: Likewise.
17952 * gdb.base/define.exp: Likewise.
17953 * gdb.base/detach.exp: Likewise.
17954 * gdb.base/display.exp: Likewise.
17955 * gdb.base/dump.exp: Likewise.
17956 * gdb.base/ena-dis-br.exp: Likewise.
17957 * gdb.base/ending-run.exp: Likewise.
17958 * gdb.base/environ.exp: Likewise.
17959 * gdb.base/eval-skip.exp: Likewise.
17960 * gdb.base/exprs.exp: Likewise.
17961 * gdb.base/fileio.exp: Likewise.
17962 * gdb.base/finish.exp: Likewise.
17963 * gdb.base/float.exp: Likewise.
17964 * gdb.base/foll-exec.exp: Likewise.
17965 * gdb.base/foll-fork.exp: Likewise.
17966 * gdb.base/foll-vfork.exp: Likewise.
17967 * gdb.base/freebpcmd.exp: Likewise.
17968 * gdb.base/funcargs.exp: Likewise.
17969 * gdb.base/gcore.exp: Likewise.
17970 * gdb.base/gdb1090.exp: Likewise.
17971 * gdb.base/gdb1250.exp: Likewise.
17972 * gdb.base/huge.exp: Likewise.
17973 * gdb.base/info-proc.exp: Likewise.
17974 * gdb.base/interrupt.exp: Likewise.
17975 * gdb.base/jump.exp: Likewise.
17976 * gdb.base/langs.exp: Likewise.
17977 * gdb.base/lineinc.exp: Likewise.
17978 * gdb.base/list.exp: Likewise.
17979 * gdb.base/logical.exp: Likewise.
17980 * gdb.base/long_long.exp: Likewise.
17981 * gdb.base/macscp.exp: Likewise.
17982 * gdb.base/maint.exp: Likewise.
17983 * gdb.base/mips_pro.exp: Likewise.
17984 * gdb.base/miscexprs.exp: Likewise.
17985 * gdb.base/multi-forks.exp: Likewise.
17986 * gdb.base/opaque.exp: Likewise.
17987 * gdb.base/overlays.exp: Likewise.
17988 * gdb.base/pc-fp.exp: Likewise.
17989 * gdb.base/pointers.exp: Likewise.
17990 * gdb.base/printcmds.exp: Likewise.
17991 * gdb.base/psymtab.exp: Likewise.
17992 * gdb.base/ptype.exp: Likewise.
17993 * gdb.base/recurse.exp: Likewise.
17994 * gdb.base/relational.exp: Likewise.
17995 * gdb.base/relocate.exp: Likewise.
17996 * gdb.base/remote.exp: Likewise.
17997 * gdb.base/reread.exp: Likewise.
17998 * gdb.base/restore.exp: Likewise.
17999 * gdb.base/return.exp: Likewise.
18000 * gdb.base/return2.exp: Likewise.
18001 * gdb.base/scope.exp: Likewise.
18002 * gdb.base/sect-cmd.exp: Likewise.
18003 * gdb.base/sep.exp: Likewise.
18004 * gdb.base/sepdebug.exp: Likewise.
18005 * gdb.base/setshow.exp: Likewise.
18006 * gdb.base/setvar.exp: Likewise.
18007 * gdb.base/sigall.exp: Likewise.
18008 * gdb.base/sigbpt.exp: Likewise.
18009 * gdb.base/signals.exp: Likewise.
18010 * gdb.base/signull.exp: Likewise.
18011 * gdb.base/sizeof.exp: Likewise.
18012 * gdb.base/solib.exp: Likewise.
18013 * gdb.base/step-line.exp: Likewise.
18014 * gdb.base/step-test.exp: Likewise.
18015 * gdb.base/structs.exp: Likewise.
18016 * gdb.base/structs2.exp: Likewise.
18017 * gdb.base/term.exp: Likewise.
18018 * gdb.base/twice.exp: Likewise.
18019 * gdb.base/until.exp: Likewise.
18020 * gdb.base/varargs.exp: Likewise.
18021 * gdb.base/volatile.exp: Likewise.
18022 * gdb.base/watchpoint.exp: Likewise.
18023 * gdb.base/whatis-exp.exp: Likewise.
18024 * gdb.base/whatis.exp: Likewise.
18025 * gdb.cp/ambiguous.exp: Likewise.
18026 * gdb.cp/annota2.exp: Likewise.
18027 * gdb.cp/annota3.exp: Likewise.
18028 * gdb.cp/bool.exp: Likewise.
18029 * gdb.cp/breakpoint.exp: Likewise.
18030 * gdb.cp/casts.exp: Likewise.
18031 * gdb.cp/class2.exp: Likewise.
18032 * gdb.cp/classes.exp: Likewise.
18033 * gdb.cp/cplusfuncs.exp: Likewise.
18034 * gdb.cp/ctti.exp: Likewise.
18035 * gdb.cp/derivation.exp: Likewise.
18036 * gdb.cp/exception.exp: Likewise.
18037 * gdb.cp/gdb1355.exp: Likewise.
18038 * gdb.cp/hang.exp: Likewise.
18039 * gdb.cp/inherit.exp: Likewise.
18040 * gdb.cp/local.exp: Likewise.
18041 * gdb.cp/m-data.exp: Likewise.
18042 * gdb.cp/m-static.exp: Likewise.
18043 * gdb.cp/member-ptr.exp: Likewise.
18044 * gdb.cp/method.exp: Likewise.
18045 * gdb.cp/misc.exp: Likewise.
18046 * gdb.cp/namespace.exp: Likewise.
18047 * gdb.cp/overload.exp: Likewise.
18048 * gdb.cp/ovldbreak.exp: Likewise.
18049 * gdb.cp/pr-1023.exp: Likewise.
18050 * gdb.cp/pr-1210.exp: Likewise.
18051 * gdb.cp/pr-574.exp: Likewise.
18052 * gdb.cp/printmethod.exp: Likewise.
18053 * gdb.cp/psmang.exp: Likewise.
18054 * gdb.cp/ref-params.exp: Likewise.
18055 * gdb.cp/ref-types.exp: Likewise.
18056 * gdb.cp/rtti.exp: Likewise.
18057 * gdb.cp/templates.exp: Likewise.
18058 * gdb.cp/try_catch.exp: Likewise.
18059 * gdb.cp/userdef.exp: Likewise.
18060 * gdb.cp/virtfunc.exp: Likewise.
18061 * gdb.disasm/am33.exp: Likewise.
18062 * gdb.disasm/h8300s.exp: Likewise.
18063 * gdb.disasm/mn10300.exp: Likewise.
18064 * gdb.disasm/sh3.exp: Likewise.
18065 * gdb.disasm/t01_mov.exp: Likewise.
18066 * gdb.disasm/t02_mova.exp: Likewise.
18067 * gdb.disasm/t03_add.exp: Likewise.
18068 * gdb.disasm/t04_sub.exp: Likewise.
18069 * gdb.disasm/t05_cmp.exp: Likewise.
18070 * gdb.disasm/t06_ari2.exp: Likewise.
18071 * gdb.disasm/t07_ari3.exp: Likewise.
18072 * gdb.disasm/t08_or.exp: Likewise.
18073 * gdb.disasm/t09_xor.exp: Likewise.
18074 * gdb.disasm/t10_and.exp: Likewise.
18075 * gdb.disasm/t11_logs.exp: Likewise.
18076 * gdb.disasm/t12_bit.exp: Likewise.
18077 * gdb.disasm/t13_otr.exp: Likewise.
18078 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18079 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18080 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18081 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18082 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18083 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18084 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18085 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18086 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18087 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18088 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18089 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18090 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18091 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18092 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18093 * gdb.mi/gdb701.exp: Likewise.
18094 * gdb.mi/gdb792.exp: Likewise.
18095 * gdb.mi/mi-basics.exp: Likewise.
18096 * gdb.mi/mi-break.exp: Likewise.
18097 * gdb.mi/mi-cli.exp: Likewise.
18098 * gdb.mi/mi-console.exp: Likewise.
18099 * gdb.mi/mi-disassemble.exp: Likewise.
18100 * gdb.mi/mi-eval.exp: Likewise.
18101 * gdb.mi/mi-file.exp: Likewise.
18102 * gdb.mi/mi-read-memory.exp: Likewise.
18103 * gdb.mi/mi-regs.exp: Likewise.
18104 * gdb.mi/mi-return.exp: Likewise.
18105 * gdb.mi/mi-simplerun.exp: Likewise.
18106 * gdb.mi/mi-stack.exp: Likewise.
18107 * gdb.mi/mi-stepi.exp: Likewise.
18108 * gdb.mi/mi-syn-frame.exp: Likewise.
18109 * gdb.mi/mi-until.exp: Likewise.
18110 * gdb.mi/mi-var-block.exp: Likewise.
18111 * gdb.mi/mi-var-child.exp: Likewise.
18112 * gdb.mi/mi-var-cmd.exp: Likewise.
18113 * gdb.mi/mi-var-display.exp: Likewise.
18114 * gdb.mi/mi-watch.exp: Likewise.
18115 * gdb.mi/mi2-basics.exp: Likewise.
18116 * gdb.mi/mi2-break.exp: Likewise.
18117 * gdb.mi/mi2-cli.exp: Likewise.
18118 * gdb.mi/mi2-console.exp: Likewise.
18119 * gdb.mi/mi2-disassemble.exp: Likewise.
18120 * gdb.mi/mi2-eval.exp: Likewise.
18121 * gdb.mi/mi2-file.exp: Likewise.
18122 * gdb.mi/mi2-read-memory.exp: Likewise.
18123 * gdb.mi/mi2-regs.exp: Likewise.
18124 * gdb.mi/mi2-return.exp: Likewise.
18125 * gdb.mi/mi2-simplerun.exp: Likewise.
18126 * gdb.mi/mi2-stack.exp: Likewise.
18127 * gdb.mi/mi2-stepi.exp: Likewise.
18128 * gdb.mi/mi2-syn-frame.exp: Likewise.
18129 * gdb.mi/mi2-until.exp: Likewise.
18130 * gdb.mi/mi2-var-block.exp: Likewise.
18131 * gdb.mi/mi2-var-child.exp: Likewise.
18132 * gdb.mi/mi2-var-cmd.exp: Likewise.
18133 * gdb.mi/mi2-var-display.exp: Likewise.
18134 * gdb.mi/mi2-watch.exp: Likewise.
18135 * gdb.stabs/exclfwd.exp: Likewise.
18136 * gdb.stabs/weird.exp: Likewise.
18137 * gdb.threads/gcore-thread.exp: Likewise.
18138 * gdb.trace/actions.exp: Likewise.
18139 * gdb.trace/backtrace.exp: Likewise.
18140 * gdb.trace/circ.exp: Likewise.
18141 * gdb.trace/collection.exp: Likewise.
18142 * gdb.trace/deltrace.exp: Likewise.
18143 * gdb.trace/infotrace.exp: Likewise.
18144 * gdb.trace/limits.exp: Likewise.
18145 * gdb.trace/packetlen.exp: Likewise.
18146 * gdb.trace/passc-dyn.exp: Likewise.
18147 * gdb.trace/passcount.exp: Likewise.
18148 * gdb.trace/report.exp: Likewise.
18149 * gdb.trace/save-trace.exp: Likewise.
18150 * gdb.trace/tfind.exp: Likewise.
18151 * gdb.trace/tracecmd.exp: Likewise.
18152 * gdb.trace/while-dyn.exp: Likewise.
18153 * gdb.trace/while-stepping.exp: Likewise.
18154
f4b618d1
JB
181552006-08-08 Joel Brobecker <brobecker@adacore.com>
18156
18157 * gdb.base/step-bt.c: New file.
18158 * gdb.base/step-bt.exp: New testcase.
18159
3d00d119
DJ
181602006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18161
18162 * config/monitor.exp (gdb_load): Remove support for obsolete
18163 download-write-size.
18164 * gdb.base/remote.exp: Likewise. Update all callers of
18165 gdb_timed_load.
18166
017b5bd4
DJ
181672006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18168
18169 * cursal.exp: Pass binfile to gdb_load.
18170
837c599d
DJ
181712006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18172
18173 * gdb.base/cursal.exp: Add "" to gdb_load call.
18174
8dd4540b
MK
181752006-07-29 Mark Kettenis <kettenis@gnu.org>
18176
18177 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18178 NetBSD/ELF targets.
18179
ab5c9f60
DJ
181802006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18181
18182 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18183 operator*.
18184
4c42eaff
DJ
181852006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18186
18187 * gdb.base/completion.exp: Update for change in "file" behavior.
18188 * gdb.stabs/weird.exp: Likewise.
18189 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18190 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18191
0155cc76
NS
181922006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18193
18194 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18195 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18196
16026cd7
AS
181972006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18198
18199 * gdb.base/default.exp: Update source command error message.
18200 * gdb.base/help.exp: Update 'help source' message.
18201
16963cb6
DJ
182022006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18203
18204 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18205 test.
18206
6d7fd486
AS
182072006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18208
18209 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18210
29e8a844
DJ
182112006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18212
18213 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18214
6afcfa39
DJ
182152006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18216
18217 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18218
267a692b
MK
182192006-07-17 Mark Kettenis <kettenis@gnu.org>
18220
18221 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18222 *-*-openbsd* from targets for wich we expect ARM FPA floating
18223 point format.
18224
85d2fec4
NR
182252006-07-17 Nick Roberts <nickrob@snap.net.nz>
18226
18227 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18228
182292006-07-17 Mark Kettenis <kettenis@gnu.org>
18230
18231 * gdb.base/annota3.exp: Expect frame-begin annotation.
18232
85b4c6e8
JB
182332006-07-14 Joel Brobecker <brobecker@adacore.com>
18234
18235 * gdb.base/help.exp: Adjust "help unset" test to accept
18236 any list of unset commands.
18237
fb933624
DJ
182382006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18239 Daniel Jacobowitz <dan@codesourcery.com>
18240
18241 * gdb.cp/ref-params.exp: New test.
18242 * gdb.cp/ref-params.cc: New source file.
18243 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18244
1dff4b64
MK
182452006-07-08 Mark Kettenis <kettenis@gnu.org>
18246
18247 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18248 spaces/tabs in regular expressions since they might not be there.
18249
40d2e0e3
AS
182502006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18251
18252 * gdb.base/ifelse.exp: New file.
18253
f6c957d2
NS
182542006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18255
18256 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18257 line.
18258 * gdb.base/huge.exp: Loop over compilation to find a size that
18259 is acceptable.
18260 * gdb.base/remote.exp: Correct expected strings.
18261 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18262
b9c5a23d
DJ
182632006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18264
18265 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18266
9af2e58d
DJ
182672006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18268
18269 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18270 native.
18271
30930ca5
DJ
182722006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18273
18274 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18275 enable stabs testing.
18276
aa32fa1d
DJ
182772006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18278
bd4a4c80 18279 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
18280 gdb_test_multiple does.
18281
321fef15
DJ
182822006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18283
18284 * Makefile.in (host_alias): Remove.
18285 (target_alias): Use @target_noncanonical@.
18286 (site.exp): Don't set host_alias.
18287 * aclocal.m4: Remove contents. Include acx.m4.
18288 * configure: Regenerated.
18289 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18290
e1c2defa
NS
182912006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18292
e63b55d1
NS
18293 * lib/gdb.exp (gdb_load_cmd): New.
18294
5600ea19
NS
18295 * gdb.base/fileio.c: Add system(NULL) test.
18296 * gdb.base/fileio.exp: Check it.
18297
e1c2defa
NS
18298 * gdb.base/break.c: Add 10a breakpoint at }
18299 * gdb.base/break.exp: Add test for breakpoint at }
18300 * gdb.cp/anon-union.cc: Add code at end of function.
18301 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18302 * gdb.mi/var-cmd.c: Add code at end of function.
18303 * gdb.mi/mi-var-display.exp: Adjust end of next.
18304 * gdb.mi/mi2-var-display.exp: Likewise.
18305 * gdb.base/fileio.c: Add stop function and insert calls at
18306 stopping places.
18307 * gdb.base/fileio.exp: Breakpoint stop function and remove
18308 explicit line number references.
18309
6c0112ec
JB
183102006-05-19 Joel Brobecker <brobecker@adacore.com>
18311
a9c64011
AS
18312 * gdb.base/del.exp (test_delete_alias): New function.
18313 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 18314
154189a4
FF
183152006-05-18 Fred Fish <fnf@specifix.com>
18316
18317 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18318 required. Check for spurious output after program exits normally.
18319
582e64c2
FF
183202006-05-17 Fred Fish <fnf@specifix.com>
18321
18322 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18323 gdb_load, so it works in the simulator.
18324
8ef6493a
FF
183252006-05-11 Fred Fish <fnf@specifix.com>
18326
18327 * gdb.base/bang.exp: Ignore unexpected output between the
18328 "program exited normally" and the gdb prompt, as many other
18329 tests do.
18330
692b141c
MK
183312006-05-07 Mark Kettenis <kettenis@gnu.org>
18332
18333 * gdb.base/help.exp: Make "delete checkpoint" part option for
18334 "help d" and "help delete" tests.
18335
540b8a30
UW
183362006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18337
a9c64011 18338 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
18339 expected output in some mi_gdb_test statements.
18340 * gdb.mi/mi2-basics.exp: Likewise.
18341
9b6462d9
JB
183422006-05-05 Joel Brobecker <brobecker@adacore.com>
18343
18344 * gdb.base/del.c: New file.
18345 * gdb.base/del.exp: New testcase.
18346
954de43b
DM
183472006-05-05 David S. Miller <davem@sunset.davemloft.net>
18348
18349 * gdb.base/break.exp: Do not assume a breakpoint on
18350 main will actually be in $srcfile when optimizing.
1303f75e
DM
18351 * gdb.base/savedregs.exp: Do not require that the dummy
18352 frame location match up to a symbol and source file location.
c3242428
DM
18353 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18354 will get printed without a mi_cmd_data_list_register_values prefix.
18355 (*-data-list-register-*): Correct regular expressions to expect the new
18356 pseudo d? floating point registers.
18357 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 18358
c7e64c9a
DJ
183592006-05-05 Christophe Lyon <christophe.lyon@st.com>
18360
18361 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18362 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18363 is allocated by the compiler.
18364 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18365 anons, e, anone to force their allocation by the compiler.
18366
183672006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
18368
18369 * gdb.base/help.exp: Update expected text for help d and
18370 help delete.
18371
27ce9a6d
MK
183722006-05-02 Mark Kettenis <kettenis@gnu.org>
18373
18374 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18375 NetBSD/ELF targets.
18376
8608915f
MK
183772006-04-30 Mark Kettenis <kettenis@gnu.org>
18378
18379 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18380 single-step breakpoint fails; make this a KFAIL on
18381 sparc*-*-openbsd*.
18382 * gdb.base/siginfo.exp: Likewise.
18383 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18384
b8db102d
MS
183852006-04-26 Michael Snyder <msnyder@redhat.com>
18386
18387 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18388 which may have to consume output from other forks.
18389 Add tests to make sure that "delete fork" succeeded.
18390
c702009a
MS
183912006-04-20 Michael Snyder <msnyder@redhat.com>
18392
18393 * 2006-03-22 Jim Blandy <jimb@redhat.com>
18394 Add support for the Renesas M32C and M16C.
18395
18396 * gdb.asm/asm-source.exp: Add m32c target.
18397 * gdb.asm/m32c.inc: Support for m32c target.
18398
e28493f2
AS
183992006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
18400
18401 * gdb.base/commands.exp (recursive_source_test): New test.
18402
880da185
DM
184032006-04-04 David S. Miller <davem@sunset.davemloft.net>
18404
18405 * gdb.base/float.exp: Add pattern for sparc targets.
18406
61d9b92f
DJ
184072006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18408
18409 * gdb.base/commands.exp (stray_arg0_test): New test.
18410
bd717df8
PB
184112006-03-30 Paul Brook <paul@codesourcery.com>
18412
18413 * gdb.mi/mi-until.exp: kfail broken until command.
18414 * gdb.mi/mi2-until.exp: Ditto.
18415
ec793d3c
NR
184162006-03-27 Nick Roberts <nickrob@snap.net.nz>
18417
18418 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18419
831004b7
AO
184202006-03-08 Alexandre Oliva <aoliva@redhat.com>
18421
18422 * gdb.base/prelink.exp: Anchor tested-for regular expression
18423 on gdb prompt.
18424
effe49a0
PB
184252006-03-07 Paul Brook <paul@codesourcery.com>
18426
18427 * gdb.base/assign.exp: Correct fail message.
18428
e5461016
PB
184292006-03-07 Paul Brook <paul@codesourcery.com>
18430
18431 * lib/compiler.c: Extract armcc version number.
18432 * lib/compiler.cc: Ditto.
18433
fc91c6c2
PB
184342006-03-07 Paul Brook <paul@codesourcery.com>
18435
18436 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18437 additional_flags=-w.
18438 * gdb.arch/altivec-regs.exp: Ditto.
18439 * gdb.arch/e500-abi.exp: Ditto.
18440 * gdb.arch/e500-regs.exp: Ditto.
18441 * gdb.base/all-bin.exp: Ditto.
18442 * gdb.base/annota1.exp: Ditto.
18443 * gdb.base/annota3.exp: Ditto.
18444 * gdb.base/args.exp: Ditto.
18445 * gdb.base/arithmet.exp: Ditto.
18446 * gdb.base/assign.exp: Ditto.
18447 * gdb.base/async.exp: Ditto.
18448 * gdb.base/bang.exp: Ditto.
18449 * gdb.base/break.exp: Ditto.
18450 * gdb.base/call-rt-st.exp: Ditto.
18451 * gdb.base/completion.exp: Ditto.
18452 * gdb.base/cond-expr.exp: Ditto.
18453 * gdb.base/condbreak.exp: Ditto.
18454 * gdb.base/consecutive.exp: Ditto.
18455 * gdb.base/define.exp: Ditto.
18456 * gdb.base/display.exp: Ditto.
18457 * gdb.base/ena-dis-br.exp: Ditto.
18458 * gdb.base/environ.exp: Ditto.
18459 * gdb.base/eval-skip.exp: Ditto.
18460 * gdb.base/info-proc.exp: Ditto.
18461 * gdb.base/jump.exp: Ditto.
18462 * gdb.base/logical.exp: Ditto.
18463 * gdb.base/long_long.exp: Ditto.
18464 * gdb.base/maint.exp: Ditto.
18465 * gdb.base/miscexprs.exp: Ditto.
18466 * gdb.base/pc-fp.exp: Ditto.
18467 * gdb.base/pointers.exp: Ditto.
18468 * gdb.base/relational.exp: Ditto.
18469 * gdb.base/reread.exp: Ditto.
18470 * gdb.base/sect-cmd.exp: Ditto.
18471 * gdb.base/sep.exp: Ditto.
18472 * gdb.base/sepdebug.exp: Ditto.
18473 * gdb.base/until.exp: Ditto.
18474 * gdb.base/whatis-exp.exp: Ditto.
18475 * gdb.cp/annota2.exp: Ditto.
18476 * gdb.cp/annota3.exp: Ditto.
18477 * gdb.trace/actions.exp: Ditto.
18478 * gdb.trace/backtrace.exp: Ditto.
18479 * gdb.trace/circ.exp: Ditto.
18480 * gdb.trace/collection.exp: Ditto.
18481 * gdb.trace/deltrace.exp: Ditto.
18482 * gdb.trace/infotrace.exp: Ditto.
18483 * gdb.trace/limits.exp: Ditto.
18484 * gdb.trace/packetlen.exp: Ditto.
18485 * gdb.trace/passc-dyn.exp: Ditto.
18486 * gdb.trace/passcount.exp: Ditto.
18487 * gdb.trace/report.exp: Ditto.
18488 * gdb.trace/save-trace.exp: Ditto.
18489 * gdb.trace/tfind.exp: Ditto.
18490 * gdb.trace/tracecmd.exp: Ditto.
18491 * gdb.trace/while-dyn.exp: Ditto.
18492 * gdb.trace/while-stepping.exp: Ditto.
18493 * lib/gdb.exp: Ditto.
18494 (gdb_compile): Handle nowarning option.
18495
5f4a23d9
AO
184962006-03-07 Alexandre Oliva <aoliva@redhat.com>
18497
18498 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18499 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
18500 Rename executable to prelinkt. Don't re-prelink if we didn't
18501 get a core file. Test prelink -u exit status to tell whether
18502 prelinking failed. Use gdb_test_multiple.
18503
9733fc94
DJ
185042006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
18505
18506 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18507 (do_tests): Call it.
18508
cc10cae3
AO
185092006-02-28 Alexandre Oliva <aoliva@redhat.com>
18510
18511 * gdb.base/prelink.exp: New test.
18512 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18513
15c46491
WZ
185142006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
18515
18516 * gdb.fortran/derived-type.f90: New file.
18517 * gdb.fortran/derived-type.exp: New testcase.
18518
5c9f7ded
DJ
185192006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
18520
18521 * gdb.base/default.exp: Allow ';' as a directory separator.
18522
5b96932b
AS
185232006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18524
18525 * gdb.base/help.exp (help add-symbol-file): Update.
18526
1986bccd
AS
185272006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18528
18529 * gdb.base/help.exp (help load): Update expected results.
18530
a8b7528f
FF
185312006-02-19 Fred Fish <fnf@specifix.com>
18532
18533 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
18534 specifix hex value as part of results.
18535 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 18536
f8261448
FF
185372006-02-16 Fred Fish <fnf@specifix.com>
18538
18539 * gdb.base/whatis.c: Define variables using typedefs char_addr,
18540 ushort_addr, and slong_addr, so the typedefs are not optimized
18541 away.
18542 * gdb.base/whatis.exp: Add tests using type name for struct type,
18543 union type, enum type, and typedef.
a9c64011 18544
31d8bdd2
MK
185452006-02-13 Mark Kettenis <kettenis@gnu.org>
18546
18547 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
18548
34e41e63
JB
185492006-02-13 Jim Blandy <jimb@redhat.com>
18550
18551 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
18552 case where it takes two "next" commands to skip past the init
18553 call.
18554
ac6e4f31
FF
185552006-02-12 Fred Fish <fnf@specifix.com>
18556
18557 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
18558 to handle cases where it takes two "next" commands to skip
18559 past the init call.
18560
2db2d571
JB
185612006-02-07 Joel Brobecker <brobecker@adacore.com>
18562
18563 * gdb.ada/array_return.exp: Mark the last test as expected to fail
18564 on hppa32 targets.
18565
38fcd64c
DJ
185662006-02-06 Vladimir Prus <ghost@cs.msu.su>
18567
18568 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
18569 field.
18570
1315ad46
MK
185712006-01-29 Mark Kettenis <kettenis@gnu.org>
18572
18573 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
18574
5625b943
DJ
185752006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
18576
18577 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
18578 files.
18579
80df1bbe
DJ
185802006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18581
18582 * gdb.cp/maint.exp: Set complaints to a positive value.
18583
9078e690
DJ
185842006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18585
18586 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
18587 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
18588 function name.
18589
9c903399
DJ
185902006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18591
18592 * gdb.base/checkpoint.c: Update copyright notice. Include
18593 <stdlib.h>.
18594
761ae4d6
JB
185952006-01-04 Jim Blandy <jimb@redhat.com>
18596
18597 * gdb.asm/asm-source.exp: Independently provide default values for
18598 asm-flags and debug-flags. Use 'string equal' to do the
18599 comparison, not the implicit expr's '==' operator. Remove
18600 now-unneeded assignments to asm-flags. In h8300 case, place
18601 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
18602
099ac3dd
MS
186032006-01-04 Michael Snyder <msnyder@redhat.com>
18604
18605 * gdb.base/checkpoint.c: New file.
18606 * gdb.base/checkpoint.exp: New file.
18607 * gdb.base/multi-fork.c: New file.
18608 * gdb.base/multi-fork.exp: New file.
18609 * gdb.base/pi.txt: New file (data for checkpoint.c test).
18610
f4d85314
FF
186112006-01-04 Fred Fish <fnf@specifix.com>
18612
18613 * gdb.base/ptype.c (foo): Add typedef.
18614 (intfoo): Add function.
18615 * gdb.base/ptype1.c: New file.
18616 * gdb.base/ptype.exp: Handle compilation and linking with two
18617 source files. Test that proper type for "foo" is found based
18618 on source context rather than first match found in symtabs.
18619
a1b06f35
MK
186202005-12-28 Mark Kettenis <kettenis@gnu.org>
18621
18622 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
18623 * gdb.asm/openbsd.inc: Indent commands.
18624
d082a1e2
MK
186252005-12-26 Mark Kettenis <kettenis@gnu.org>
18626
c65016bd
MK
18627 * gdb.base/freebpcmd.exp: Increase timeout.
18628
d082a1e2
MK
18629 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
18630
d3c32a0e
DJ
186312005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
18632
18633 * gdb.base/default.exp: Update check for "show version".
18634
9fdb1f50
RC
186352005-12-09 Randolph Chung <tausq@debian.org>
18636
18637 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
18638 * gdb.asm/pa64.inc: New file.
18639
5f2c56f7
RC
186402005-12-09 Randolph Chung <tausq@debian.org>
18641
18642 * gdb.asm/common.inc: Indent commands.
18643 * gdb.asm/asmsrc1.s: Likewise.
18644 * gdb.asm/asmsrc2.s: Likewise.
18645
8117349c
RC
186462005-12-09 Randolph Chung <tausq@debian.org>
18647
18648 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
18649 (get_addr_of_sym): Remove duplicate print.
18650 (gen_core): xfail hppa*-*-hpux*, update expected output.
18651 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
18652 * gdb.arch/pa64-nullify.s: New file.
18653
8f07f25a
RC
186542005-12-09 Randolph Chung <tausq@debian.org>
18655
18656 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
18657
55b39184
DJ
186582005-12-07 Christophe Lyon <christophe.lyon@st.com>
18659
18660 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
18661 code generation for these functions.
18662 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
18663 error message.
18664
31e2b00f
AS
186652005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
18666
18667 * gdb.base/help.exp (help b, help br, help bre, help brea)
18668 (help break): Update the expected message.
18669
c3d0b56e
SC
186702005-11-11 Stephane Carrez <stcarrez@nerim.fr>
18671
18672 * gdb.asm/m68hc11.inc: Setup the data section.
18673 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
18674 script for this test.
18675 (m6812-*-*): Likewise.
18676
36ae0ea9
RC
186772005-11-09 Randolph Chung <tausq@debian.org>
18678
18679 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
18680
9d6f42e9
WZ
186812005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
18682
18683 * gdb.base/break.exp: Fix a comment typo.
18684
e2126a14
EZ
186852005-11-03 Jim Blandy <jimb@redhat.com>
18686
a9c64011
AS
18687 Checked in by Elena Zannoni <ezannoni@redhat.com>
18688
889bf7c5 18689 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 18690
e0ac7199
CV
186912005-11-02 Corinna Vinschen <vinschen@redhat.com>
18692
18693 * gdb.arch/gdb1558.c: Include stdio.h.
18694
31d3fb18
MK
186952005-10-31 Mark Kettenis <kettenis@gnu.org>
18696
18697 * gdb.asm/asm-source.exp: Use -e instead of --entry.
18698
e52b687c
MK
186992005-10-31 Mark Kettenis <kettenis@gnu.org>
18700
18701 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
18702
f4711d79
PG
187032005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
18704
a9c64011
AS
18705 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18706 vscr" tests to better match output.
f4711d79 18707
987a9106
JB
187082005-10-12 Jim Blandy <jimb@redhat.com>
18709
18710 * gdb.base/structs.exp (any): New function.
18711 (test_struct_returns): Don't make any assumptions at all about
18712 what value the function returns when GDB can't set the return
18713 value.
18714
2336bb58
JB
187152005-10-09 Joel Brobecker <brobecker@adacore.com>
18716
18717 * gdb.ada/arrayidx/p.adb: New file.
18718 * gdb.ada/arrayidx.exp: New testcase
18719
187202005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
18721
18722 * gdb.ada/array_return/pck.ads: New file.
18723 * gdb.ada/array_return/pck.adb: New file.
18724 * gdb.ada/array_return/p.adb: New file.
18725 * gdb.ada/array_return.exp: New testcase.
18726
705335ea
JB
187272005-10-03 Joel Brobecker <brobecker@adacore.com>
18728
a9c64011
AS
18729 * gdb.base/arrayidx.c: New file.
18730 * gdb.base/arrayidx.exp: New testcase.
705335ea 18731
11ee9940
NR
187322005-09-29 Nick Roberts <nickrob@snap.net.nz>
18733
18734 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
18735 frames-invalid and breakpoints-invalid are no longer generated
18736 with level 3 so don't expect them in the output.
18737
39fb8e9e
BR
187382005-09-27 Bob Rossi <bob@brasko.net>
18739
a9c64011 18740 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
18741 from test. Escape the | in mi_gdb_test call.
18742 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
18743 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
18744 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18745 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18746 expected regex's in mi_gdb_test calls.
18747 * lib/mi-support.exp: Remove arbitrary .* from tests.
18748 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18749 Fully anchor GDB/MI expected results in mi_gdb_test.
18750 * lib/gdb.exp (string_to_regexp): Escape the ] character.
18751 * gdb.base/sizeof.exp: Remove escape character. Correct test.
18752
2af48f68
PB
187532005-09-26 Paul Brook <paul@codesourcery.com>
18754
18755 * long_long.exp: Exclude eabi targets from arm FPA float format test.
18756
f34502bc
WZ
187572005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18758
18759 * bfp-test.c: New file.
18760 * bfp-test.exp: New testcase.
18761
ca929517
WZ
187622005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18763
18764 * gdb.fortran/subarray.exp: New testcase to test the evaluation
18765 of subarray and substring variable.
18766 * gdb.fortran/subarray.f: New source file for the test of subarray
18767 and substring variable evaluation.
18768 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18769 of string constant.
18770
c761af65
DJ
187712005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
18772
18773 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18774 copyright dates.
18775
561d7a1d
PG
187762005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
18777
18778 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18779 powerpc altivec' test with an almost identical 'info vector' test.
18780
b2b64cc9
PG
187812005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18782
a9c64011
AS
18783 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18784 vscr" tests to match output.
b2b64cc9 18785
6ac4d15a
PG
187862005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18787
a9c64011
AS
18788 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18789 output.
6ac4d15a 18790
40e55bef
BR
187912005-09-11 Bob Rossi <bob@brasko.net>
18792
889bf7c5
PA
18793 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18794 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18795 commands that return an MI output command and an asyncronous MI output
18796 command.
40e55bef
BR
18797 * gdb.mi/mi-console.exp: Ditto.
18798
3c7385ec
BR
187992005-09-11 Bob Rossi <bob@brasko.net>
18800
18801 * gdb.mi/mi-var-child.c: Include <string.h>.
18802
a6cd0eb3
DJ
188032005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
18804
18805 * killed.exp: Correct gdb_expect syntax.
18806
2f168eed
CV
188072005-08-09 Corinna Vinschen <vinschen@redhat.com>
18808
18809 * lib/mi-support.exp (mi_gdb_load): Fix typo.
18810
ecd3fd0f
BR
188112005-08-02 Bob Rossi <bob@brasko.net>
18812
18813 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18814 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18815 Change tests to inferior-tty-set/show.
18816 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18817 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18818 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18819 inferior. Use mi_gdb_test to get GDB and Inferior output.
18820 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18821 descriptor.
18822 (mi_inferior_tty_name): Add inferior PTY file name.
18823 (mi_gdb_start): Add INFERIOR_PTY parameter.
18824 (mi_gdb_test): Add IPATTERN parameter.
18825
f1ea48cb 188262005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 18827
f1ea48cb
BR
18828 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18829 parameter to mi_gdb_test.
18830 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18831
6e650a67
DJ
188322005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18833
18834 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18835 struct_declarations.
18836 * gdb.mi/mi-var-child.exp: Step over the initialization of
18837 struct_declarations.
18838
8be260b6
DJ
188392005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18840
18841 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18842 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18843 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18844 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18845 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18846 file.
18847
4e660f07
NR
188482005-07-27 Nick Roberts <nickrob@snap.net.nz>
18849
18850 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18851 (do_children_tests): Assign values to the extra elements.
18852
18853 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18854 them for tests for "-var-update --no-values" and
a9c64011 18855 "-var-update --all-values".
4e660f07
NR
18856 Add test for "-var-list-children --simple-values".
18857
18858 * gdb.mi/basics.c (callee4): Add integer array D[3]...
18859
18860 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18861 "-stack-list-locals --simple-values" Improve doc strings and
18862 comments.
18863
6bdae935
MK
188642005-07-18 Mark Kettenis <kettenis@gnu.org>
18865
598b7a6f
MK
18866 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18867 *-*-openbsd*.
18868 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18869
6bdae935
MK
18870 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18871 sigaltsatck'.
18872
1323e929 188732005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 18874
1323e929
BR
18875 * gdb.base/default.exp (tty): Changed output of command.
18876 * gdb.base/help.exp (help tty): Ditto.
18877
b1a9c082
MK
188782005-07-12 Mark Kettenis <kettenis@gnu.org>
18879
18880 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18881
10a844a2
MK
188822005-07-10 Mark Kettenis <kettenis@gnu.org>
18883
18884 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18885 -stack-select-frame without arguments.
18886 (test_stack_frame_listing): Add test for newly implemented command
18887 -stack-info-frame.
18888
3cb3b8df
BR
188892005-07-06 Bob Rossi <bob@brasko.net>
18890
18891 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18892 command.
18893 (Copyright): Update copyright.
18894
a0c5fbcf
WZ
188952005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
18896
18897 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18898 tests to evaluate exponentiation expression.
18899
984971d0
AS
189002005-06-29 Andreas Schwab <schwab@suse.de>
18901
18902 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18903 main to avoid warnings.
18904
18905 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
18906
fe03833f
NR
189072005-06-20 Nick Roberts <nickrob@snap.net.nz>
18908
18909 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
18910 -stack-select-frame without arguments.
18911 (test_stack_frame_listing): Add test for newly implemented command
18912 -stack-info-frame.
a9c64011 18913
7a55f279
WZ
189142005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
18915
0ffa0ea5
DJ
18916 * gdb.fortran/array-element.f: New file.
18917 * gdb.fortran/array-element.exp: New testcase.
7a55f279 18918
26585198
DJ
189192005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18920
18921 * gdb.base/bigcore.exp: Correct checks for systems which can
18922 not dump a large core file.
18923
c1bd25fd
DJ
189242005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18925
18926 * gdb.base/relocate.c: Add a copyright notice.
18927 (dummy): Remove.
18928 * gdb.base/relocate.exp: Test printing the values of variables
18929 from a relocatable file.
18930
589e074d
DJ
189312005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18932
18933 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
18934 excess MI output after an error.
18935
0915f927
JB
189362005-05-29 Joel Brobecker <brobecker@adacore.com>
18937
18938 * gdb.arch/alpha-step.c: New file.
18939 * gdb.arch/alpha-step.exp: New testcase.
18940
76ff342d
DJ
189412005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
18942 Dennis Brueni <dennis@slickedit.com>
18943
18944 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
18945 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
18946 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
18947 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
18948 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
18949 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
18950 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
18951
96b0c7ac
DJ
189522005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
18953 Wu Zhou <woodzltc@cn.ibm.com>
18954
18955 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
18956 IBM's xlc compiler.
18957 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
18958 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
18959
f21565d2
JB
189602005-05-13 Jim Blandy <jimb@redhat.com>
18961
18962 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
18963 calling gdb_suppress_entire_file.
18964 * gdb.base/charset.exp: Same.
18965 * gdb.base/call-rt-st.exp: Same.
18966
6006a3a1
BR
189672005-05-05 Bob Rossi <bob_rossi@cox.net>
18968
18969 * lib/gdb.exp (fullname_syntax): Added global regex.
18970 (fullname_syntax_POSIX): Ditto.
18971 (fullname_syntax_UNC): Ditto.
18972 (fullname_syntax_DOS_CASE): Ditto.
18973 (fullname_syntax_DOS): Ditto.
18974 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
18975 fullname_syntax variable to scope and use it.
18976 (test_file_list_exec_source_files): Ditto.
18977 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
18978
c3b69c04
DJ
189792005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
18980
18981 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
18982
3c95e6af
PG
189832004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
18984
a9c64011
AS
18985 * lib/gdb.exp (skip_altivec_tests): New function, based on
18986 check_vmx_hw_available from the GCC testsuite.
18987 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
18988 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 18989
78df6c56
JB
189902005-05-02 Jim Blandy <jimb@redhat.com>
18991
18992 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
18993 calling gdb_suppress_entire_file.
18994
1690f9cf
DJ
189952005-04-30 Randolph Chung <tausq@debian.org>
18996
18997 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
18998 Slightly relax "sem_post" name checking.
18999
5ea106f7
PG
190002005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19001
19002 * gdb.base/unload.exp: Use new shared library infrastructure.
19003
bf7234cf
PG
190042005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19005
19006 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 19007 infrastructure.
bf7234cf 19008
547b869a
CV
190092005-04-29 Corinna Vinschen <vinschen@redhat.com>
19010
19011 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19012 * gdb.asm/h8300.inc: New file.
19013
f07e55f0
PG
190142005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19015
19016 * gdb.base/shlib-call.exp: Change to use new shared library
19017 infrastructure.
19018
3cbba3d1
PG
190192005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19020
a9c64011
AS
19021 * gdb.base/pending.exp: Change to use new shared library
19022 infrastructure.
3cbba3d1 19023
ed6df200
PG
190242005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19025
a9c64011
AS
19026 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19027 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 19028
8c8f4ebe
PG
190292005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19030
a9c64011
AS
19031 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19032 shared objects being adjusted and update copyright years.
8c8f4ebe 19033
607fbc54
DJ
190342005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19035
19036 * ChangeLog: Correct some 2003-01-13 dates.
19037 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19038 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19039 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19040 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19041 gdb.trace/tfind.exp: Update copyright years.
19042
57bf0e56
DJ
190432005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19044 Daniel Jacobowitz <dan@codesourcery.com>
19045
19046 * lib/gdb.exp (gdb_compile): Handle shlib=.
19047 (gdb_compile_shlib): New function.
19048
9b593790
PG
190492005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19050
a9c64011 19051 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 19052
9494c6a5
DJ
190532005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19054
19055 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19056 gdb.server.
19057 * configure.ac: Likewise.
19058 * configure: Regenerated.
19059 * gdb.gdbserver/Makefile.in: Moved to...
19060 * gdb.server/Makefile.in: ... here.
19061 * gdb.gdbserver/server.c: Moved to...
19062 * gdb.server/server.c: ... here.
19063 * gdb.gdbserver/server-run.exp: Moved to...
19064 * gdb.server/server-run.exp: ... here.
19065
6f8eac0e
DJ
190662005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19067
19068 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19069 * configure.ac: Create gdb.gdbserver/Makefile.
19070 * configure: Regenerated.
19071 * lib/gdbserver-support.exp: New file, derived from
19072 config/gdbserver.exp.
19073 * config/gdbserver.exp: Use gdbserver-support.exp.
19074 * gdb.gdbserver/Makefile.in: New file.
19075 * gdb.gdbserver/server.c: New file.
19076 * gdb.gdbserver/server-run.exp: New file.
19077
6e87504d
PG
190782005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19079
a9c64011
AS
19080 * lib/gdb.exp (test_compiler_info): Return compiler_info
19081 if no arguments are given.
6e87504d 19082
d1779be4
PG
190832005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19084
19085 * gdb.arch/altivec-abi.exp: Check for compiler and set
19086 use altivec' flag accordingly.
19087 * gdb.arch/altivec-regs.exp: Likewise.
19088
88750304
DJ
190892005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19090
19091 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19092
f3fb768d
AS
190932005-03-27 Andreas Schwab <schwab@suse.de>
19094
19095 * gdb.base/bigcore.c (main): Add missing mode argument in open
19096 call.
19097
7e813ac5
DJ
190982005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19099
19100 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19101 downloads.
19102 * config/gdbserver.exp (gdb_load): Likewise.
19103
8e3049aa
PB
191042005-03-14 Paul Brook <paul@codesourcery.com>
19105
19106 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19107 targets.
19108
a9df7c44
JB
191092005-03-09 Joel Brobecker <brobecker@adacore.com>
19110
19111 * gdb.dwarf2/dup-psym.S: New file.
19112 * gdb.dwarf2/dup-psym.exp: New testcase.
19113
9f0d94e8
JB
191142005-03-09 Joel Brobecker <brobecker@adacore.com>
19115
19116 * gdb.ada/exec_changed/first.adb: New file.
19117 * gdb.ada/exec_changed/second.adb: New file.
19118 * gdb.ada/exec_changed.exp: New testcase.
19119
5f579bc5
NS
191202005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19121
36e9969c
NS
19122 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19123 (A2): New class.
19124 (main): Test operator+.
19125 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19126 breakpoint test.
19127
5f579bc5
NS
19128 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19129 * gdb.base/signull.exp: Disable if gdb,nosignals.
19130 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19131 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19132 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19133 * gdb.mi/mi2-console.exp: Likewise.
19134 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19135 continue output at start.
19136 (gdb_collect_locals_test): Robustify regexp.
19137 * gdb.trace/passc-dyn.exp: Fix comment typo.
19138 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19139
be46087e
CV
191402005-03-08 Corinna Vinschen <vinschen@redhat.com>
19141
19142 * gdb.asm/asm-source.exp: Add iq2000 case.
19143 * gdb.asm/iq2000.inc: New file.
19144
384e1a61 191452005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 19146
384e1a61
MI
19147 * gdb.base/command.exp: Change hardcoded value to regular expression.
19148 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19149
584b6e9e
DJ
191502005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19151
19152 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19153 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19154 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19155 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19156 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19157
ab5b5d61
MK
191582005-03-05 Mark Kettenis <kettenis@gnu.org>
19159
19160 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19161 changes.
19162
ae051c1b
PG
191632004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19164
a9c64011
AS
19165 * lib/compiler.c: Add test for IBM's xlc compiler.
19166 * lib/compiler.cc: Likewise.
ae051c1b 19167
3f0f6ed2
JB
191682004-02-24 Joel Brobecker <brobecker@adacore.com>
19169
19170 * gdb.ada/fixed_points.exp: Create compilation object directory
19171 before running the test.
19172 * gdb.ada/null_record.exp: Likewise.
19173 * gdb.ada/packed_array.exp: Likewise.
19174 * gdb.ada/start.exp: Likewise.
19175
724f452b
JB
191762005-02-15 Joel Brobecker <brobecker@adacore.com>
19177
19178 * gdb.ada/packed_array/pa.adb: New file.
19179 * gdb.ada/packed_array.exp: New testcase.
19180
57f5cdfb 191812005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 19182
1f393151
MK
19183 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19184 files.
19185
ebdda337
MK
19186 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19187 on *-*-openbsd*. Correctly match whitespace in regukar
19188 expressions.
19189
cf309262
DJ
191902005-02-10 Daniel Jacobowitz <dan@debian.org>
19191
19192 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19193 PR exp/1821
19194 * gdb.base/gdb1821.c: New test file.
19195 * gdb.base/gdb1821.exp: New test file.
19196
3be49e7a
JB
191972005-02-09 Joel Brobecker <brobecker@adacore.com>
19198
19199 * gdb.base/start.c: New file.
19200 * gdb.base/start.exp: New testcase.
19201
e292e67d
JB
192022005-02-09 Joel Brobecker <brobecker@adacore.com>
19203
19204 * gdb.ada/start/dummy.adb: New file.
19205 * gdb.ada/start.exp: New testcase.
19206
dbdfa66c
CV
192072005-02-09 Corinna Vinschen <vinschen@redhat.com>
19208
19209 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19210 for printing symbols and statistics.
19211 Add test for using relative pathnames in "maint print msymbols" test.
19212 Mark "maint info sections DATA" XFAIL on Cygwin.
19213 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19214 tests.
19215
d7941671
AC
192162005-02-09 Andreas Schwab <schwab@suse.de>
19217
19218 Committed by Andrew Cagney <cagney@gnu.org>
19219 * gdb.base/remotetimeout.exp: New file.
19220
74e5ef44
MK
192212005-02-07 Mark Kettenis <kettenis@gnu.org>
19222
19223 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19224
464dd14d
JB
192252005-02-03 Joel Brobecker <brobecker@adacore.com>
19226
19227 * gdb.ada/gnat_ada.gpr: New file.
19228 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19229 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19230 * configure.ac: No longer generate gnat_ada.gpr.
19231 * configure: Regenerate.
19232 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19233 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19234 * gdb.ada/null_record/bar.ads: Likewise.
19235 * gdb.ada/null_record/bar.adb: Likewise.
19236 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19237 * gdb.ada/null_record.exp (testdir): New variable.
19238 (testfile): executable is now in testdir subdirectory.
19239 (srcfile): Use full path to the main compilation unit.
19240 * gdb.ada/fixed_points.exp: Same changes as above.
19241
30d756ae
NR
192422005-02-03 Nick Roberts <nickrob@snap.net.nz>
19243
19244 * gdb.base/interp.exp: New test.
19245
9d799f85
AC
192462005-01-24 Andrew Cagney <cagney@gnu.org>
19247
19248 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19249
15656118
AC
192502005-01-19 Andrew Cagney <cagney@gnu.org>
19251
a892c31b
AC
19252 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19253 configure.ac not configure.in.
19254
15656118
AC
19255 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19256 of powerpc*-*-*.
19257 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 19258 * gdb.base/list.exp (test_list_function)
15656118
AC
19259 (test_list_filename_and_function): Ditto.
19260 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19261
a7b01baf
AC
192622005-01-16 Andrew Cagney <cagney@gnu.org>
19263
17d92a02
AC
19264 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19265
a7b01baf
AC
19266 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19267
bc8332bb
AC
192682005-01-14 Andrew Cagney <cagney@gnu.org>
19269
19270 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19271 * gdb.mi/mi2-var-cmd.exp: Ditto.
19272
4d074752
CV
192732005-01-10 Corinna Vinschen <vinschen@redhat.com>
19274
19275 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19276
bec39cab
AC
192772005-01-07 Andrew Cagney <cagney@gnu.org>
19278
19279 * configure.ac: Rename configure.in, require autoconf 2.59.
19280 * configure: Re-generate.
19281 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19282 * gdb.stabs/configure: Re-generate.
19283 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19284 * gdb.hp/configure: Re-generate.
19285 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19286 autoconf 2.59.
19287 * gdb.hp/gdb.objdbg/configure: Re-generate.
19288 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19289 autoconf 2.59.
19290 * gdb.hp/gdb.defects/configure: Re-generate.
19291 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19292 autoconf 2.59.
19293 * gdb.hp/gdb.compat/configure: Re-generate.
19294 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19295 autoconf 2.59.
19296 * gdb.hp/gdb.base-hp/configure: Re-generate.
19297 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19298 autoconf 2.59.
19299 * gdb.hp/gdb.aCC/configure: Re-generate.
19300
f10b16d4
JB
193012004-12-15 Jim Blandy <jimb@redhat.com>
19302
19303 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19304 under NPTL when there is debugging info available for libpthread.
19305
fb6e1814
JG
193062004-12-13 Jerome Guitton <guitton@gnat.com>
19307
19308 * gdb.ada/fixed_points.c: New file.
19309 * gdb.ada/fixed_points.exp: New file.
19310
fe46cd3a
RC
193112004-12-03 Randolph Chung <tausq@debian.org>
19312
19313 * gdb.arch/pa-nullify.exp: New file.
19314 * gdb.arch/pa-nullify.s: New file.
19315
8de0841b
RC
193162004-11-30 Randolph Chung <tausq@debian.org>
19317
19318 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19319 instead of "tbug". Fix regexp to work properly with gdb_test.
19320
c8170782
PH
193212004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19322
19323 * gdb.base/bitfields2.exp: New test.
19324 * gdb.base/bitfields2.c: New file.
19325
954269c2
RE
193262004-11-28 Richard Earnshaw <rearnsha@arm.com>
19327
19328 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19329
0107feed
RC
193302004-11-16 Randolph Chung <tausq@debian.org>
19331
19332 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19333
f073ae8c
DJ
193342004-11-14 Daniel Jacobowitz <dan@debian.org>
19335
19336 * gdb.threads/threadapply.exp: Correct "macro details" test.
19337
19ad59e7
JJ
193382004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19339
19340 * gdb.threads/threadapply.exp: New test.
19341 * gdb.threads/threadapply.c: New file.
19342
9cf0961b
MK
193432004-11-07 Mark Kettenis <kettenis@gnu.org>
19344
19345 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19346 frames.
19347
c789492a
FL
193482004-11-05 Felix Lee <felix+log1@specifixinc.com>
19349
19350 * gdb.base/cursal.exp: New file.
19351 * gdb.base/cursal.c: New file.
19352
a1e167bb
AC
193532004-11-03 Andrew Cagney <cagney@gnu.org>
19354
19355 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19356
b7cbf173
MK
193572004-10-30 Mark Kettenis <kettenis@gnu.org>
19358
19359 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19360 NetBSD/ELF targets.
19361
88f9d34f
JB
193622004-10-29 Joel Brobecker <brobecker@gnat.com>
19363
19364 * gdb.threads/bp_in_thread.c: New file, copied from
19365 pthread_cond_wait.c.
19366 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19367 file, rather than reusing the .c file from another testcase.
19368
ca7d6a0c
JB
193692004-10-20 Joel Brobecker <brobecker@gnat.com>
19370
19371 * gdb.ada/null_record.exp: Check where we stopped after
19372 sending the start command, instead of where the associated
19373 temporary breakpoint was inserted.
19374
0d863d03
AC
193752004-10-14 Andrew Cagney <cagney@gnu.org>
19376
19377 * gdb.mi/gdb701.c (main): Return 0.
19378
d11e72cb
DJ
193792004-10-13 Daniel Jacobowitz <dan@debian.org>
19380
d40539a4 19381 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 19382
e1923096
JJ
193832004-10-12 Jeff Johnston <jjohnstn@redhat.com>
19384
19385 * gdb.threads/schedlock.c: Add comment markers to use to find
19386 line numbers.
19387 * gdb.threads/schedlock.exp: Adjust regex to handle the new
19388 comments.
19389 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19390 breakpoint lines.
19391
ec8ba2c9
DJ
193922004-10-12 Daniel Jacobowitz <dan@debian.org>
19393
19394 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19395
0eb3658b
DJ
193962004-10-12 Daniel Jacobowitz <dan@debian.org>
19397
19398 * configure.in: Add gdb.dwarf2.
19399 * configure: Regenerated.
19400 * Makefile.in: Add gdb.dwarf2.
19401 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19402 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19403 gdb.dwarf2/file1.txt: New files.
19404
a271cc33
OF
194052004-10-11 Orjan Friberg <orjanf@axis.com>
19406
a9c64011 19407 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
19408 of "run", since the latter doesn't work with remote targets. Adjust
19409 the breakpoint numbering accordingly.
19410 * gdb.threads/pthread_cond_wait.exp: Ditto.
19411
895ce074
MC
194122004-10-08 Michael Chastain <mec.gnu@mindspring.com>
19413
19414 * gdb.base/overlays.exp: Update copyright years.
19415
6be3092d
KI
194162004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
19417
19418 * gdb.base/overlays.exp: Disable if target is Linux.
19419
e05389b8
FL
194202004-10-06 Felix Lee <felix+log1@specifixinc.com>
19421
19422 * config/gdbserver.exp (gdb_load): Use right filename on remote.
19423
73cb587d
KI
194242004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
19425
19426 * gdb.asm/asm-source.exp: Add m32r-linux target.
19427 * gdb.asm/m32r-linux.inc: New file.
19428
3c0edcdc
AC
194292004-09-24 Andrew Cagney <cagney@redhat.com>
19430 David Anderson <anderson@redhat.com>
19431
19432 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19433 command fails, assume things will work.
19434 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19435 (_GNU_SOURCE): Define.
19436 (print_unsigned, print_hex): Change parameter to "long long".
19437 (print_byte_count): New function, use to print byte counts.
19438 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19439 O_LARGEFILE.
19440 (main): Compute an upper bound on a corefile in max_core_size.
19441 Limit memory chunk size to max_core_size. Limit total memory
19442 allocated to max_core_size.
19443
4bb3667f
AC
194442004-09-23 Andrew Cagney <cagney@gnu.org>
19445
19446 * gdb.base/bigcore.exp: Replace the code that creates a corefile
19447 from a separate process with code that creates a corefile by
19448 making the inferior dump core.
19449
60fe1a51
MK
194502004-09-23 Mark Kettenis <kettenis@gnu.org>
19451
19452 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19453 block.
19454
8e937346
MC
194552004-09-23 Michael Chastain <mec.gnu@mindspring.com>
19456
19457 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19458 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
19459 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19460 Likewise.
19461
7213f6d6
JJ
194622004-09-20 Jeff Johnston <jjohnstn@redhat.com>
19463
19464 * gdb.java/jprint.exp: New test case for java inferior call.
19465 * gdb.java/jprint.java: Ditto.
19466
eac69dca
JB
194672004-09-15 Joel Brobecker <brobecker@gnat.com>
19468
19469 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19470
22227696
MC
194712004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19472
19473 * gdb.threads/killed.c: Include <stdlib.h>.
19474 * gdb.threads/pthreads.c: Likewise.
19475
7dd403a4
MC
194762004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19477
19478 * gdb.threads/killed.c: Add copyright notice.
19479
33f2d567
JM
194802004-09-10 Jason Molenda (jmolenda@apple.com)
19481
a9c64011
AS
19482 * gdb.base/define.exp: Two new tests to verify zero space chars
19483 after 'if' and 'while' commands in a user-defined command is correctly
19484 parsed.
33f2d567 19485
e05b62ac
AC
194862004-09-08 Andrew Cagney <cagney@gnu.org>
19487
19488 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
19489 delivery test with duplicate at end of file.
19490
9cbe82da
MK
194912004-09-06 Mark Kettenis <kettenis@jive.nl>
19492
19493 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19494
564803d9
MC
194952004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19496
19497 * config/hppro.exp: Removed.
19498
7c6807ce
MC
194992004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19500
19501 * config/sparclet.exp: Removed.
19502
bf7e26dd
MC
195032004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19504
19505 * config/udi.exp: Removed.
19506
714e341b
MC
195072004-09-02 Michael Chastain <mec.gnu@mindspring.com>
19508
19509 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19510 of "exp_continue".
19511 (advancei): Likewise.
19512
1236e623
JJ
195132004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19514
19515 * gdb.base/unload.exp: Fix so messages aren't duplicated.
19516
3bdcad15
MI
195172004-09-01 Manoj Iyer <manjo@austin.ibm.com>
19518
228af206 19519 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
19520 to check for nodebug in executable.
19521 * gdb.gdb/observer.exp (setup_test): Likewise.
19522 * gdb.gdb/selftest.exp (test_with_self): Likewise.
19523 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
19524
c72b934c
AC
195252004-09-01 Andrew Cagney <cagney@gnu.org>
19526
19527 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19528 files.
19529
edd9b715
JJ
195302004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19531
19532 * gdb.base/unload.exp: Fix expected warning message to match
19533 latest format.
19534
fb4ce06b
CV
195352004-09-01 Corinna Vinschen <vinschen@redhat.com>
19536
19537 * gdb.base/call-rt-st.exp: Fix typos.
19538
ce78e7c3
MI
195392004-08-31 Manoj Iyer <manjo@austin.ibm.com>
19540
19541 * gdb.threads/thread_check.exp: New testcase.
19542 * gdb.threads/thread_check.c: New testcase.
19543
2dedb159
AC
195442004-08-31 Andrew Cagney <cagney@gnu.org>
19545
19546 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
19547 (skip_to_handler_entry): New procedures. Test stepping into a
19548 handler when the breakpoint is at the handler's entry point.
19549
68f53502
AC
195502004-08-30 Andrew Cagney <cagney@gnu.org>
19551
19552 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
19553 gdb/1757.
19554
3e3ffd2b
MC
195552004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19556
19557 With code from Manoj Iyer <manjo@austin.ibm.com>:
19558 * lib/gdb.exp (gdb_file_cmd): Return more information in the
19559 return value. Add an arm for "no debugging symbols found".
19560 Change a stray "error" to "perror".
19561 (gdb_run_cmd): Adapt to new return value.
19562 * gdb.base/remote.exp: Adapt to new return value.
19563 * gdb.gdb/complaints.exp: Likewise.
19564 * gdb.gdb/observer.exp: Likewise.
19565 * gdb.gdb/selftest.exp: Likewise.
19566 * gdb.gdb/xfullpath.exp: Likewise.
19567
4b6f5fd2
JB
195682004-08-27 Joel Brobecker <brobecker@gnat.com>
19569
19570 * gdb.threads/bp_in_thread.exp: New testcase.
19571
e5b25496
MC
195722004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19573
19574 Fix PR testsuite/1735.
19575 * gdb.threads/schedlock.c (thread_function): Add a cast
19576 to suppress a gcc warning.
19577 * gdb.threads/thread-specific.c (thread_function): Likewise.
19578
934353d6
MC
195792004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19580
19581 * gdb.base/unload.c: Include <stdlib.h>.
19582
f98a0aef 195832004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 19584
f98a0aef 19585 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
19586 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
19587 synchronized after the "return".
19588
5a2e8882
MC
195892004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19590
19591 * gdb.mi/basics.c: Include <stdio.h>.
19592 * gdb.mi/pthreads.c: Include <stdlib.h>.
19593 * gdb.mi/var-cmd.c: Include <stdlib.h>.
19594
a9640423
MC
195952004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19596
19597 * gdb.threads/schedlock.c: Add copyright notice.
19598
b04e311d
AC
195992004-08-25 Andrew Cagney <cagney@gnu.org>
19600
19601 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
19602 (skip_over_handler, breakpoint_over_hander): New test procedures.
19603 (advance, advancei): Add a proper prefix, do not use
19604 rerun_to_main.
19605 * gdb.base/sigstep.c (main): Change to use an infinite loop.
19606
7c27f15b
MC
196072004-08-24 Michael Chastain <mec.gnu@mindspring.com>
19608
19609 * gdb.mi/basics.c: Add copyright notice.
19610 * gdb.mi/var-cmd.c: Add copyright notice.
19611
fffc87ae
MC
196122004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19613
19614 * lib/gdb.exp: Remove signed_keyword_not_used.
19615 * lib/compiler.c: Likewise.
19616 * lib/compiler.cc: Likewise.
19617
d782e0bf
MC
196182004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19619
19620 * gdb.base/whatis.c: Remove conditional disabling of "signed".
19621 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
19622
96033e83
MC
196232004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19624
19625 * gdb.base/whatis.c: Add copyright notice.
19626
cf38c229
MK
196272004-08-20 Mark Kettenis <kettenis@gnu.org>
19628
19629 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
19630 it to skip the breakpoints encoded in the inline assembly.
19631
f4b49756
MC
196322004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19633
19634 * Makefile.in: Add gdb.fortran.
19635
2f193b69
MC
196362004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19637
19638 * gdb.base/call-sc.exp (test_scalar_returns):
19639 Fix cut-and-paste glitch in "Make fun return now".
19640
89a237cb
MC
196412004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19642
19643 * configure.in: Add gdb.fortran.
19644 * configure: Regenerate.
19645 * gdb.fortran/Makefile.in: New file.
19646 * lib/gdb.exp (skip_fortran_tests): New procedure.
19647
469aff8e
MC
196482004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19649
19650 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
19651 reference to bug-gnu@prep.ai.mit.edu.
19652 * gdb.mi/mi-var-child.exp: Likewise.
19653 * gdb.mi/mi-var-cmd.exp: Likewise.
19654 * gdb.mi/mi-var-display.exp: Likewise.
19655 * gdb.mi/mi2-var-block.exp: Likewise.
19656 * gdb.mi/mi2-var-child.exp: Likewise.
19657 * gdb.mi/mi2-var-cmd.exp: Likewise.
19658 * gdb.mi/mi2-var-display.exp: Likewise.
19659
00b51b9f
MK
196602004-08-15 Mark Kettenis <kettenis@gnu.org>
19661
19662 * gdb.base/unload.c (main): Make local variable msg const.
19663
45f07fef
MC
196642004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19665
19666 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
19667 to bug-gnu@prep.ai.mit.edu.
19668 * gdb.mi/mi-disassemble.exp: Likewise.
19669 * gdb.mi/mi-eval.exp: Likewise.
19670 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
19671 default line number.
19672 * gdb.mi/mi-return.exp: Likewise.
19673 * gdb.mi/mi-simplerun.exp: Likewise.
19674 * gdb.mi/mi-stack.exp: Likewise.
19675 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
19676 number with explicit range test.
19677 * gdb.mi/mi-watch.exp: Likewise.
19678 * gdb.mi/mi2-break.exp: Likewise.
19679 * gdb.mi/mi2-cli.exp: Likewise.
19680 * gdb.mi/mi2-disassemble.exp: Likewise.
19681 * gdb.mi/mi2-eval.exp: Likewise.
19682 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
19683 default line number.
19684 * gdb.mi/mi2-return.exp: Likewise.
19685 * gdb.mi/mi2-simplerun.exp: Likewise.
19686 * gdb.mi/mi2-stack.exp: Likewise.
19687 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
19688 number with explicit range test.
19689 * gdb.mi/mi2-watch.exp: Likewise.
19690
dd8c8ee7
MC
196912004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19692
19693 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
19694 * gdb.cp/m-static.exp: Likewise.
19695 * gdb.cp/rtti.exp: Likewise.
19696
4e838464
MK
196972004-08-14 Mark Kettenis <kettenis@gnu.org>
19698
19699 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
19700
8d8cb839
EZ
197012004-08-14 Eli Zaretskii <eliz@gnu.org>
19702
19703 * ChangeLog: Prefix Local Variables with semi-colons and indent
19704 the reference to older ChangeLog files, to fix fontification in
19705 Emacs.
19706
deea8bb0
MC
197072004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19708
19709 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
19710 * gdb.mi/mi2-break.exp: Likewise.
19711
c3297504
MC
197122004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19713
19714 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
19715
25808999
MC
197162004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19717
19718 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
19719
226a8d71
MC
197202004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19721
19722 * gdb.cp/classes.exp: Remove unused declarations. Just let
19723 test names default instead of providing special names. Remove
19724 extraneous demangler test.
19725
37fdf854
JJ
197262004-08-12 Jeff Johnston <jjohnstn@redhat.com>
19727
19728 * gdb.base/unload.exp: New test for breakpoints in dynamically
19729 loaded libraries.
19730 * gdb.base/unload.c: Ditto.
19731 * gdb.base/unloadshr.c: Ditto.
19732
2d3a7986
MC
197332004-08-12 Michael Chastain <mec.gnu@mindspring.com>
19734
19735 * gdb.cp/classes.exp (test_ptype_class_objects): Call
19736 cp_test_ptype_class.
19737 (test_enums): Likewise.
19738
c72b934c
AC
197392004-08-10 Andrew Cagney <cagney@gnu.org>
19740
19741 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19742 files.
19743
cc503c8a
AC
197442004-08-10 Andrew Cagney <cagney@gnu.org>
19745
19746 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19747 init_malloc call.
19748
902f2ccb
MC
197492004-08-10 Michael Chastain <mec.gnu@mindspring.com>
19750
19751 * ChangeLog: Add copyright notice. The notice is copied
19752 from emacs 21.3 top level ChangeLog.
19753
78c90502
MC
197542004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19755
19756 * lib/cp-support.exp: New file.
19757 * lib/cp-support.exp (cp_test_type_class): New function.
19758 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19759 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19760 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19761 cp_test_ptype_class.
19762
88e5ea78
MC
197632004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19764
19765 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19766 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19767 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19768 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19769 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19770 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19771 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19772 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19773 gdb.mi/mi2-watch.exp: Update copyright years.
19774
6a89fc9c
MK
197752004-08-09 Mark Kettenis <kettenis@gnu.org>
19776
19777 * gdb.base/sigaltstack.exp: Provide proper anchoring.
19778
1482e0de
MC
197792004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19780
19781 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19782 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19783 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19784 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19785 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19786 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19787 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19788 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19789 gdb.mi/mi-watch.exp: Update copyright years.
19790
1a5ce3f3
DJ
197912004-08-08 Daniel Jacobowitz <dan@debian.org>
19792
19793 PR gdb/1738
19794 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19795 from a breakpoint with a pending signal.
19796
04f6ecf2
DJ
197972004-08-08 Daniel Jacobowitz <dan@debian.org>
19798
19799 PR gdb/1736
19800 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19801 * gdb.base/sigaltstack.exp (finish_test): Consume output until
19802 the prompt.
19803 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19804
54d90d35
DJ
198052004-08-08 Daniel Jacobowitz <dan@debian.org>
19806
19807 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19808
d2f6abb0
DJ
198092004-08-08 Daniel Jacobowitz <dan@debian.org>
19810
19811 PR gdb/1736
19812 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
19813 for i?86-*-linux*.
19814
5598c03d
DJ
198152004-08-08 Daniel Jacobowitz <dan@debian.org>
19816
19817 * gdb.arch/i386-prologue.exp: Compile without debug information.
19818
c6fee705
MC
198192004-08-08 Michael Chastain <mec.gnu@mindspring.com>
19820
19821 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19822 rather than asking gdb to search.
19823
dd90efdb
MC
198242004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19825
19826 * gdb.base/gcore.c: Include <string.h>.
19827
1e84bec1
MC
198282004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19829
19830 * gdb.base/gcore.c: Add copyright notice.
19831
e425eb2b
MC
198322004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19833
19834 * gdb.base/freebpcmd.c: Include <stdio.h>.
19835 * gdb.base/long_long.c: Include <string.h>.
19836 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19837 * gdb.base/siginfo.c: Include <string.h>.
19838 * gdb.base/sigstep.c: Include <string.h>.
19839
cb9aaed5
MC
198402004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19841
19842 * gdb.base/complex.c: Include <stdlib.h>.
19843
55944f3d
MC
198442004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19845
19846 * gdb.base/complex.c: Add copyright notice.
19847
7b2953d9
MC
198482004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19849
19850 * gdb.base/charset.c: Include <stdlib.h>.
19851
c9133d23
MC
198522004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19853
19854 * gdb.base/auxv.c: Include <stdlib.h>.
19855
0a8490ad
MC
198562004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19857
19858 * gdb.base/auxv.c: Add copyright notice.
19859
3426d5ec
MC
198602004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19861
19862 * gdb.base/coremaker.c: Add copyright notice.
19863 * gdb.base/coremaker2.c: Add copyright notice.
19864
8da195dd
AC
198652004-08-04 Andrew Cagney <cagney@gnu.org>
19866
19867 * gdb.base/store.exp: Update copyright.
19868 (check_set, up_set, check_struct, up_struct): Add a prefix to test
19869 names, do not import gdb_prompt.
19870
8d394f98
AC
198712004-08-01 Andrew Cagney <cagney@gnu.org>
19872
19873 Fix PR testsuite/1729.
19874 * gdb.base/dump.exp: Add test name to callers of capture_value, do
19875 not use capture_value with value 4.
19876 (capture_value): Add optional test name parameter.
19877 (test_reload_saved_value, test_restore_saved_value): Use $msg as
19878 the prefix, pass to capture_value.
19879
b6702b23
MK
198802004-08-01 Mark Kettenis <kettenis@gnu.org>
19881
19882 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19883 * gdb.arch/i386-prologue.c (standard): New prototype and function.
19884 (main): Call new function.
19885
c203e0ca
MC
198862004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19887
19888 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19889
a7995a30
MC
198902004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19891
19892 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19893
9366563b
MC
198942004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19895
b6eeaf26 19896 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
19897 Accept more values of vtbl pointer. Remove some messages
19898 about "obsolete gcc or gdb".
19899
2fc1f950
MC
199002004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19901
19902 * gdb.cp/classes.exp: Accept more varieties of ptype output.
19903
c724d49b
MC
199042004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19905
19906 * gdb.base/asm-source.exp: Properly convert target board
19907 debug flags from gcc format to binutils format.
19908
736b0fce
MK
199092004-07-28 Mark Kettenis <kettenis@gnu.org>
19910
19911 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19912 gdb1718". PR backtrace/1718 partially fixed.
19913
5633ea5c
JJ
199142004-07-27 Jeff Johnston <jjohnstn@redhat.com>
19915
19916 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
19917
575eebb1
NC
199182004-07-26 Nick Clifton <nickc@redhat.com>
19919
19920 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
19921 good default value for a specific architecture is available then
19922 set it to that value. Otherwise default to the -gstabs switch.
19923 Remove the -g... switches from the asm-flags variable. Allow the
19924 target board info to override the value if it wants to. Pass the
19925 switch on the assembler command line.
19926
62104619
MK
199272004-07-23 Mark Kettenis <kettenis@gnu.org>
19928
19929 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
19930 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
19931 (main): Call new function.
19932
4a1135b8
MC
199332004-07-22 Michael Chastain <mec.gnu@mindspring.com>
19934
19935 Test for PR exp/1715.
19936 * gdb.base/radix.exp: Refactor common procedures. Make all
19937 test names unique. Change XFAIL to KFAIL.
19938
8a12c1f0
MC
199392004-07-20 Michael Chastain <mec.gnu@mindspring.com>
19940
19941 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
19942 * gdb.ada/gnat_ada.gin: ... to here.
19943 * configure.in: Use gnat_ada.gin.
19944 * configure: Regenerate.
19945
23b451cf
AC
199462004-07-20 Andrew Cagney <cagney@gnu.org>
19947
19948 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
19949 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
19950 XFAILs. Clean up test messages and comments. Check backtraces.
19951 Delete re-sync code.
19952
ab618a02
MC
199532004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19954
19955 Fix PR cli/740.
19956 * gdb.base/annota1.exp: Honor gdb,nosignals.
19957 * gdb.base/annota3.exp: Likewise.
19958
46dad340
MC
199592004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19960
19961 * lib/java.exp: Update copyright notice.
19962
756d8c70
AC
199632004-07-19 Andrew Cagney <cagney@gnu.org>
19964
19965 * gdb.base/selftest.exp: Copy file from here ...
19966 * gdb.gdb/selftest.exp: ... to here.
19967
586027e6
AC
199682004-07-16 Andrew Cagney <cagney@redhat.com>
19969
19970 * lib/insight-support.exp: Delete file.
19971 * lib/java.exp (java_init): Fix copyright.
19972
029d2200
AC
199732004-07-16 Andrew Cagney <cagney@gnu.org>
19974
19975 * gdb.base/restore.c: Append "prologue" to comments marking the a
19976 function's prologue.
19977 * gdb.base/restore.exp: Update copyright, re-indent.
19978 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
19979 callerN" prefix where needed. Update patterns that match a
19980 function's prologue.
19981
653b62c5
MC
199822004-07-16 Michael Chastain <mec.gnu@mindspring.com>
19983
19984 * gdb.base/restore.c: Add copyright notice.
19985
f7d690e5
AC
199862004-07-16 Andrew Cagney <cagney@gnu.org>
19987
19988 * gdb.base/logical.exp: Update copyright.
19989 (evaluate): New procedure. Use to re-implement tests using
19990 several tables.
19991
d629a7cb
MH
199922004-07-14 Martin Hunt <hunt@redhat.com>
19993
19994 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
19995 which fixes some problems where init.tcl was not found.
19996
9c7bb332
AC
199972004-07-13 Andrew Cagney <cagney@gnu.org>
19998
6bf46641
AC
19999 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20000 (check_sizeof, check_valueof): Do not include the output in the
20001 test name. Use gdb_test.
20002 (get_valueof): Use gdb_test_multiple.
20003
c4ffd4c0
AC
20004 * gdb.base/step-test.exp: Update copyright. Use
20005 gdb_test_multiple. Ensure that test names do not include
20006 architecture dependent output.
20007
ab89363a
AC
20008 * gdb.gdb/observer.exp: Update copyright.
20009 (setup_test): Use gdb_test_multiple.
20010 (attach_first_observer, attach_second_observer)
20011 (attach_third_observer, detach_first_observer)
20012 (detach_second_observer, detach_third_observer)
20013 (reset_counters, check_counters): Make $message a prefix.
20014 (test_normal_stop_notifications): Add "args" parameter - a list of
20015 init functions to be called. Make $message a prefix,
20016 (test_observer_normal_stop): Change the message prefixes so that
20017 they are unique, pass the attach / detach procedures to
20018 test_normal_stop_notifications.
20019
ec58997a
AC
20020 * gdb.base/signull.exp (test_segv): Prefix all tests with
20021 "${name}". Clean up test messages.
20022
b475183b
AC
20023 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20024
9c7bb332
AC
20025 * gdb.base/ena-dis-br.exp: Update copyright.
20026 (break_at): New function. Replace send_gdb with gdb_test,
20027 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20028 ignore count, not stopped at bpt", with KFAIL.
20029
2dd95497
CV
200302004-07-13 Corinna Vinschen <vinschen@redhat.com>
20031
20032 * gdb.base/attach.exp: Remove cleanupfile handling.
20033
419e626b
AC
200342004-07-12 Andrew Cagney <cagney@gnu.org>
20035
20036 * gdb.base/annota1.exp: Cleanup corefile test name.
20037 * gdb.base/annota3.exp: Ditto.
20038
8b1b3228
AC
200392004-07-12 Andrew Cagney <cagney@gnu.org>
20040
78650829
AC
20041 * gdb.base/signals.exp: Clean up copyright, re-indent.
20042
8b1b3228
AC
20043 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20044 gdb_test and gdb_test_multiple.
20045
935c2760
JJ
200462004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20047
20048 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 20049 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
20050 provide line number info for first statement in main.
20051
1544280f
AC
200522004-07-08 Andrew Cagney <cagney@gnu.org>
20053
1279f4ff
AC
20054 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20055
1544280f
AC
20056 * gdb.base/sigbpt.exp: Make the common part of each test name a
20057 prefix instead of suffix.
20058
bcc82369
BR
200592004-07-07 Bob Rossi <bob_rossi@cox.net>
20060
20061 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20062 test from test_tbreak_creation_and_listing to
20063 test_file_list_exec_source_file
20064 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20065 Changed name of test from test_tbreak_creation_and_listing to
20066 test_file_list_exec_source_file
20067
23f4b0aa
JJ
200682004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20069
20070 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20071 the jmisc() constructor instead of <init>.
20072 * gdb.java/jmisc1.exp: Ditto.
20073
56401cd5
AC
200742004-07-07 Andrew Cagney <cagney@gnu.org>
20075
20076 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20077 corrupting the PC.
20078
44ae2f6a
MC
200792004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20080
20081 * gdb.cp/templates.exp: Accept whitespace change in demangler
20082 output.
20083
45a83408
AC
200842004-07-06 Andrew Cagney <cagney@gnu.org>
20085
20086 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20087
d205ad70
MC
200882004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20089
20090 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20091 * lib/compiler.cc: Likewise.
20092
06ea1a61
MC
200932004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20094
20095 * lib/compiler.cc: Work around string preprocessing problem
20096 with old hp c++ compiler.
20097 * lib/compiler.c: Likewise.
20098
daab1251
CV
200992004-06-29 Corinna Vinschen <vinschen@redhat.com>
20100
20101 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20102 directives to conditionalize symbol prefixing.
20103 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20104 additional_flags handling. Add underscore prefix for Cygwin.
20105 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20106 conditionalize symbol prefixing.
20107 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20108 additional_flags handling. Add underscore prefix for Cygwin.
20109
cc984116
CV
201102004-06-29 Corinna Vinschen <vinschen@redhat.com>
20111
20112 * gdb.base/bigcore.exp: Skip test on Cygwin.
20113
c279b077
MC
201142004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20115
20116 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20117 formats for "info register". Use gdb_test_multiple. Fix
20118 the "invalid register" test.
20119
0e915747
CV
201202004-06-28 Corinna Vinschen <vinschen@redhat.com>
20121
20122 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20123 PID for Cygwin. Add Cygwin specific strings to check for in some
20124 tests.
20125 (do_attach_tests): Add a test for user interaction when attaching
20126 to a process with no matching symbol table already loaded.
20127
11422c86
AC
201282004-06-26 Andrew Cagney <cagney@gnu.org>
20129
20130 Test PR java/1567 and PR java/1565.
20131 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20132 * gdb.java/jmisc2.exp: Delete file.
20133
cefbce26
MC
201342004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20135
20136 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20137
e19f872c
CV
201382004-06-25 Corinna Vinschen <vinschen@redhat.com>
20139
20140 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20141 attach process.
20142
d931ba3b
MC
201432004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20144
20145 * gdb.cp/pr-1553.exp: Remove.
20146
aef68c48
MC
201472004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20148
20149 * gdb.cp/pr-1553.cc: Remove.
20150 * gdb.cp/pr-1553.exp: Disable this test.
20151
8d5df71a
JB
201522004-06-20 Jim Blandy <jimb@redhat.com>
20153
a9c64011 20154 Fix PR testsuite/1680.
8d5df71a
JB
20155 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20156 regular expressions.
20157
4ac6f39d
MC
201582004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20159
20160 Fix PR testsuite/1679.
20161 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20162 Issue an UNSUPPORTED result instead.
20163
1b413552
JB
201642004-06-18 Jim Blandy <jimb@redhat.com>
20165
20166 * gdb.base/charset.exp: Only send a control-C if we see a new
20167 prompt and incomplete command.
20168
6daa6ebd
MC
201692004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20170
20171 * gdb.cp/pr-574.cc: Add copyright notice.
20172
51fa4ae0
JB
201732004-06-17 Jim Blandy <jimb@redhat.com>
20174
20175 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20176 cases where the regexp has no groups; this grabs random text from
20177 the previous test suite, whatever that was.
20178
8fea26c5
MC
201792004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20180
20181 * gdb.cp/printmethod.cc: Add copyright notice.
20182
1e3aeb41
MC
201832004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20184
20185 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20186
9d9030bc
AC
201872004-06-16 Andrew Cagney <cagney@gnu.org>
20188
20189 * gdb.base/signull.c: Update copyright. Include <string.h>.
20190 (bowler): Replace data_pointer with data_read
20191 and data_write cases. Add code_descriptor case.
20192 (zero, desc): New array and pointer.
20193 (data, code): Change to simple pointers.
20194 * gdb.base/signull.exp: Fix probe pattern matching a function
20195 descriptor SIGSEGV. Replace data_pointer with data_read and
20196 data_write tests.
20197
acd4ad44
AC
201982004-06-16 Andrew Cagney <cagney@gnu.org>
20199
20200 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20201
08fd625c
MC
202022004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20203
20204 * gdb.base/long_long.c: Add copyright notice.
20205
1903502c
MC
202062004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20207
20208 * gdb.base/long_long.exp: Remove reference to
20209 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20210 to gdb_breakpoint and gdb_continue_to_breakpoint.
20211
83313cb1
JB
202122004-06-14 Jim Blandy <jimb@redhat.com>
20213
20214 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20215 endian case.
20216
1bf404ef
AC
202172004-06-14 Andrew Cagney <cagney@gnu.org>
20218
20219 * gdb.base/gcore.exp (capture_command_output): Delete the always
20220 passing tests containing inferior values.
20221 * gdb.base/ending-run.exp: Do not include the breakpoint address
20222 in the test message. Update copyright.
20223 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20224 size in the test name, use gdb_test_multiple. Update copyright.
20225
ef220b33
MC
202262004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20227
20228 * gdb.cp/ref-types.cc: Add copyright notice.
20229
4f70a4c9
MC
202302004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20231
20232 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20233 hp_aCC_compiler.
20234 * lib/compiler.cc: Likewise.
20235 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20236 'set' commands. Log diagnostics for other lines. Set
20237 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20238
335928ac
MC
202392004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20240
20241 * gdb.cp/try_catch.cc: Add copyright notice.
20242
2efb12e8
MC
202432004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20244
20245 * gdb.cp/userdef.cc: Add copyright notice.
20246
0bbed51a
MC
202472004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20248
20249 * gdb.cp/virtfunc.cc: Add copyright notice.
20250
e12a46c9
RC
202512004-06-11 Randolph Chung <tausq@debian.org>
20252
20253 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20254 problem.
20255
338e05af
AC
202562004-06-10 Andrew Cagney <cagney@gnu.org>
20257
20258 * lib/compiler.cc, lib/compiler.c: Append either
20259 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20260 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20261 instead of gcc-3-3.
20262
dc3f10cb
AC
202632004-06-09 Andrew Cagney <cagney@gnu.org>
20264
b4d946af
AC
20265 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20266 gdb/1455, bug is specific to "long long" and "double".
a9c64011 20267
dc3f10cb
AC
20268 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20269 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20270 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20271 fixed.
20272
b5c0bfa2
AC
202732004-06-09 Andrew Cagney <cagney@gnu.org>
20274
20275 * gdb.base/structs.exp (test_struct_returns): Replace
20276 "return_value_unknown" and "finish_value_unknown" by
20277 "return_value_known" and "finish_value_known". Instead of
20278 "return_value_unknown" iff "finish_value_unknown", check
20279 "return_value_known" implies "finish_value_known".
20280
caeb605f
MH
202812004-06-08 Martin Hunt <hunt@redhat.com>
20282
20283 * gdb.base/float.exp: Add pattern for mips targets.
20284
c892bb64
RC
202852004-06-08 Randolph Chung <tausq@debian.org>
20286
20287 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20288 message for unknown architectures more clear.
20289
48306d3e
JB
202902004-06-08 Joel Brobecker <brobecker@gnat.com>
20291
20292 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20293 start the execution of the program.
20294
83ecb59f
JB
202952004-06-07 Jim Blandy <jimb@redhat.com>
20296
20297 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20298 * gdb.arch/i386-cpuid.h: New helper file.
20299
55264cb4
RC
203002004-06-07 Randolph Chung <tausq@debian.org>
20301
20302 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20303 has started.
20304
23cadb28
RM
203052004-06-04 Roland McGrath <roland@redhat.com>
20306
20307 Fix PR gdb/1647.
20308 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20309 differently to be robust to output buffering differences.
20310
51d01eda
MC
203112004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20312
20313 * gdb.threads/pthreads.exp: Update copyright years.
20314 (check_control_c): Change asynchronous 'after' to synchronous.
20315
f4fc3b93
RM
203162004-06-04 Roland McGrath <roland@redhat.com>
20317
20318 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20319 next gdb prompt.
20320
4013522b
MC
203212004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20322
20323 Fix PR gdb/1636.
20324 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20325 calls to synchronous.
20326
7a8f1e6b
JB
203272004-05-26 Jim Blandy <jimb@redhat.com>
20328
20329 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20330
81bb3443
RC
203312004-05-24 Randolph Chung <tausq@debian.org>
20332
20333 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20334 * gdb.asm/pa.inc: New file.
20335
8f5a3103
MK
203362004-05-22 Mark Kettenis <kettenis@gnu.org>
20337
20338 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20339
734b8fe8 203402004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 20341 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
20342
20343 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20344 GDB prompt.
20345
725603e1
UW
203462004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20347
f4fc3b93 20348 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
20349 setjmp/longjmp. Use sigaction instead of signal.
20350
8b923272 203512004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 20352 Michael Snyder <msnyder@redhat.com>
8b923272
JB
20353
20354 * gdb.threads/pthread_cond_wait.c: New file.
20355 * gdb.threads/pthread_cond_wait.exp: New testcase.
20356
8bfabb04
AC
203572004-05-13 Andrew Cagney <cagney@redhat.com>
20358
20359 * gdb.base/signull.exp, gdb.base/signull.c: New files.
20360 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20361
42edda50
AC
203622004-05-11 Andrew Cagney <cagney@redhat.com>
20363
20364 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
20365 fixed but revealed gdb/1639.
20366
d303a6c7
AC
203672004-05-10 Andrew Cagney <cagney@redhat.com>
20368
20369 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20370 func1" and "next to 2nd alarm", kernel bug avoided.
20371
bf08c2a1
DJ
203722004-05-10 Daniel Jacobowitz <dan@debian.org>
20373
20374 PR external/1568
20375 * gdb.base/bigcore.exp: Check the size of the dumped core file.
20376 XFAIL if it is smaller than bytes_allocated.
20377 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20378 (main): Make chunks_allocated unsigned. Correct comment.
20379
c0586a34
JB
203802004-05-07 Joel Brobecker <brobecker@gnat.com>
20381
20382 * gdb.arch/powerpc-aix-prologue.c: New file.
20383 * gdb.arch/powerpc-aix-prologue.exp: New file.
20384
f2785d12
JB
203852004-05-07 Jim Blandy <jimb@redhat.com>
20386
20387 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20388 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20389
bd7f6e30
JB
203902004-05-06 Joel Brobecker <brobecker@gnat.com>
20391
20392 * gdb.base/sep.exp: No longer setup_kfail when the program was
20393 built with dwarf2.
20394
0a5e7efe
JI
203952004-05-05 Jim Ingham <jingham@apple.com>
20396
20397 * gdb.base/pending.exp: Make sure pending breakpoints
20398 preserve the ignore count.
f4fc3b93 20399
a8958849
MK
204002004-04-27 Jerome Guitton <guitton@gnat.com>
20401
20402 * i386-prologue.exp: Add testcase for jump instruction as first
20403 instruction of the real code.
20404 * i386-prologue.c (jump_at_beginning): New function.
20405
7e103f5b
MK
204062004-04-28 Mark Kettenis <kettenis@gnu.org>
20407
20408 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20409 x86_64-*-*.
20410
5d38b224
MK
204112004-04-28 Mark Kettenis <kettenis@gnu.org>
20412
20413 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20414 i*86-*-*.
20415
0ef32fd9
MK
204162004-04-25 Mark Kettenis <kettenis@gnu.org>
20417
20418 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20419 expression that checks the return type.
20420
71d7dd7c
AC
204212004-04-23 Andrew Cagney <cagney@redhat.com>
20422
20423 * gdb.base/call-sc.exp: New test of scalar call/return values.
20424 * gdb.base/call-sc.c: Ditto.
20425
1e9f977e
JJ
204262004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20427
20428 * gdb.threads/manythreads.c: Reduce thread stack size.
20429
899d9e3a
JJ
204302004-04-23 Jeff Johnston <jjohnstn@redhat.com>
20431
20432 * gdb.threads/manythreads.c: Add copyright notice.
20433
61bcae62
AC
204342004-04-23 Andrew Cagney <cagney@redhat.com>
20435
20436 * gdb.base/siginfo.exp: Better handle step out of signal.
20437 * gdb.base/sigstep.exp: Ditto.
20438
7339a42e 204392004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 20440 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
20441
20442 * gdb.threads/manythreads.c: New testcase.
20443 * gdb.threads/manythreads.exp: Ditto.
20444
5c98409b
JB
204452004-04-22 Jim Blandy <jimb@redhat.com>
20446
20447 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20448 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20449
3b611f1a
MC
204502004-04-21 Michael Chastain <mec.gnu@mindspring.com>
20451
20452 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20453
f0fd9238
AC
204542004-04-21 Andrew Cagney <cagney@redhat.com>
20455
20456 * gdb.base/sigstep.c: New file.
20457 * gdb.base/sigstep.exp: New file.
20458
90990674
JB
204592004-04-16 Joel Brobecker <brobecker@gnat.com>
20460
20461 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20462 call to observer_notify_normal_stop.
20463
78cef34b
AC
204642004-04-15 Andrew Cagney <cagney@redhat.com>
20465
20466 * gdb.base/siginfo.c: New file.
20467 * gdb.base/siginfo.exp: New file.
20468
d2343407
JB
204692004-04-12 J. Brobecker <brobecker@gnat.com>
20470
20471 * gdb.base/sep.exp: Fix typo in comment.
20472
a2dba3c8
JB
204732004-04-12 J. Brobecker <brobecker@gnat.com>
20474
20475 * gdb.base/sep.c: New file.
20476 * gdb.base/sep-proc.c: New file.
20477 * gdb.base/sep.exp: New testcase.
20478
15f7b60e
MK
204792004-04-09 Mark Kettenis <kettenis@gnu.org>
20480
20481 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20482 support.
20483
44f4de1a
AC
204842004-04-05 Andrew Cagney <cagney@redhat.com>
20485
20486 * gdb.base/sigaltstack.c: New file.
20487 * gdb.base/sigaltstack.exp: New file.
20488
ef04f396
JB
204892004-04-04 Joel Brobecker <brobecker@gnat.com>
20490
20491 * gdb.base/foll-fork.exp: Update the expected output for
20492 "help set follow-fork-mode", to match a change that was made
20493 to the help of this variable on 2004-01-13.
20494
d40d2c92
JB
204952004-04-01 Joel Brobecker <brobecker@gnat.com>
20496
20497 * lib/ada.exp: Add copyright notice.
20498 * bar.ads: Likewise.
20499 * bar.adb: Likewise.
20500 * null_record.adb: Likewise.
20501 * null_record.exp: Likewise.
20502 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20503
f86ef5a3
JB
205042004-04-01 Joel Brobecker <brobecker@gnat.com>
20505
20506 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20507 * configure: Regenerate.
20508
414e70e3
JB
205092004-04-01 Joel Brobecker <brobecker@gnat.com>
20510
20511 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20512 to build the application. Remove the message printed when in
20513 verbose mode, redundant with the UNSUPPORTED message above.
20514
f0aaee49
JB
205152004-03-31 Joel Brobecker <brobecker@gnat.com>
20516
20517 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
20518 * gdb.ada (null_record.exp): New testcase.
20519
ac81cb54
JB
205202004-03-31 Joel Brobecker <brobecker@gnat.com>
20521
20522 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20523
854af2f7
JB
205242004-03-31 Joel Brobecker <brobecker@gnat.com>
20525
20526 * gdb.ada: New subdirectory.
20527 * gdb.ada/Makefile.in: New file.
20528 * gdb.ada/gnat_ada.gpr.in: New file.
20529
034cb681
JB
205302004-03-31 Joel Brobecker <brobecker@gnat.com>
20531
20532 * lib/ada.exp: New file.
20533
78a1a894
DJ
205342004-03-24 Daniel Jacobowitz <drow@mvista.com>
20535
20536 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
20537 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
20538
4b2b3b3e
AC
205392004-03-22 Andrew Cagney <cagney@redhat.com>
20540
20541 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
20542 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20543 Problem identified by Ulrich Weigand.
20544
23c73aa3
DC
205452004-03-17 David Carlton <carlton@kealia.com>
20546
20547 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
20548 PR c++/826.
20549
d63a86f8
RM
205502004-03-16 Roland McGrath <roland@redhat.com>
20551
20552 * gdb.base/auxv.exp: New file.
20553 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
20554
0e02aa50
DC
205552004-03-12 David Carlton <carlton@kealia.com>
20556
20557 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
20558 * gdb.cp/pr-1553.cc: Ditto.
20559 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
20560 pass branch.
20561
c20b71be
MC
205622004-03-12 Michael Chastain <mec.gnu@mindspring.com>
20563
20564 * gdb.cp/templates.exp: Accept more template types.
20565
c7414a01
MC
205662004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20567
20568 From Corinna Vinschen with modifications.
20569 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
20570 local variable obj_with_enum.
20571 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
20572 results with obj_with_enum.
20573
ed69573c
MC
205742004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20575
20576 * gdb.cp/classes.cc: New file, copied from misc.cc.
20577 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
20578
28301461
MC
205792004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20580
20581 * gdb.cp/misc.cc: Add copyright notice.
20582
1198ecbe
DC
205832004-03-05 David Carlton <carlton@kealia.com>
20584
20585 * gdb.cp/rtti.exp: Add 'print *obj3' test.
20586 * gdb.cp/rtti.h: Update copyright.
20587 (namespace n2::n3): New.
20588 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
20589 (n2::n3::func3): New.
20590 (main): Call n2::n3::func3.
20591 * gdb.cp/rtti2.cc: Update copyright.
20592 (n2::create3): New.
20593
9e08c470
MK
205942004-03-04 Mark Kettenis <kettenis@gnu.org>
20595
20596 * gdb.asm/openbsd.inc: Fix typo.
20597
4bebc3aa
FF
205982004-03-03 Fred Fish <fnf@redhat.com>
20599
20600 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
20601 "val" instead of unused "size". Update copyright year.
20602
6ea9fb37
DJ
206032004-02-29 Daniel Jacobowitz <drow@mvista.com>
20604
20605 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
20606 to use unsigned char.
20607 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
20608 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
20609
23b23974
DJ
206102004-02-29 Daniel Jacobowitz <drow@mvista.com>
20611
20612 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
20613 line of output.
20614
7574fd53
DJ
206152004-02-28 Daniel Jacobowitz <drow@mvista.com>
20616
20617 * gdb.base/relocate.c (dummy): Initialize.
20618
a195357f
DJ
206192004-02-28 Daniel Jacobowitz <drow@mvista.com>
20620
20621 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
20622 a breakpoint at exit.
20623
72fd54a9
FF
206242004-02-27 Fred Fish <fnf@redhat.com>
20625
20626 * gdb.base/chng-syms.exp: Add expect condition to match failing
20627 case that isn't a timeout.
20628
b9d23137
AC
206292004-02-27 Andrew Cagney <cagney@redhat.com>
20630
20631 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
20632 support.
20633
15d208f6 206342004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 20635
15d208f6
FF
20636 * gdb.arch/gdb1431.c: Remove.
20637 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
20638 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
20639 of "until" incorrectly.
20640
98f9cd2d
JB
206412004-02-26 J. Brobecker <brobecker@gnat.com>
20642
20643 * gdb.cp/class2.cc (empty): New class.
20644 (refer): New function.
20645 (main): Declare an object of type empty and use it.
20646 * gdb.cp/class2.exp: Print the value of an object of type empty.
20647
9b50c11b
JJ
206482004-02-26 Jeff Johnston <jjohnstn@redhat.com>
20649
20650 * gdb.base/langs.exp: Update query string to match the
20651 new nquery format used for pending breakpoints.
20652
0dcd613f
AC
206532004-02-26 Andrew Cagney <cagney@redhat.com>
20654
20655 Fix PR i18n/1570.
20656 * gdb.base/charset.c: Update copyright notice.
20657 (main, init_string): Remove the escape character '\e' tests.
20658 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
20659 * gdb.base/charset.exp (valid_host_charset): Ditto.
20660 * gdb.base/setvar.exp: Ditto.
20661
b8a56647
AC
206622004-02-24 Andrew Cagney <cagney@redhat.com>
20663
90d59e34
AC
20664 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
20665 mmapped data in core file" PASS and FAIL messages consistent.
20666
b8a56647
AC
20667 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
20668 setting a breakpoint. Work around PR java/1565.
20669
9f27c604
JJ
206702004-02-23 Jeff Johnston <jjohnstn@redhat.com>
20671
20672 * lib/gdb.exp (gdb_breakpoint): Update query string to match
20673 new nquery format.
20674 * gdb.base/pending.exp: Ditto.
20675
3224a706
MK
206762004-02-22 Mark Kettenis <kettenis@gnu.org>
20677
20678 * configure.in: Run stabs tests on *BSD.
20679 * configure: Regenerated.
20680
41e0a9ca
MK
206812004-02-21 Mark Kettenis <kettenis@gnu.org>
20682
20683 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
20684
1e1b3428
FF
206852004-02-20 Fred Fish <fnf@redhat.com>
20686
20687 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
20688 blank in test for "returns short", for consistency with other
20689 "returns xxx" tests. Update copyright year.
20690
f9a7572a
FF
206912004-02-19 Fred Fish <fnf@redhat.com>
20692
20693 New testcase for PR breakpoint/1558.
20694 * gdb.arch/gdb1558.exp: New file.
20695 * gdb.arch/gdb1558.c: New file.
20696
b2ce2854
EZ
206972004-02-19 Elena Zannoni <ezannoni@redhat.com>
20698
20699 * gdb.base/nodebug.exp: Fix typo.
20700
e7c9ff01
JB
207012004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20702
20703 Committed by Jim Blandy <jimb@redhat.com>.
20704
62f4b920
JB
20705 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
20706
2db536a1
JB
20707 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
20708
e7c9ff01
JB
20709 * gdb.base/float.exp: Support s390*-*-* targets.
20710
f3205b34
AF
207112004-02-17 Adam Fedor <fedor@gnu.org>
20712
20713 * gdb.base/gdb1555.exp: New file.
20714 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
20715
9d62932d
EZ
207162004-02-17 Elena Zannoni <ezannoni@redhat.com>
20717
20718 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
20719
344c9711
FF
207202004-02-16 Fred Fish <fnf@redhat.com>
20721
20722 * gdb.arch/gdb1291.c: Remove
20723 * gdb.arch/gdb1291.s: New test input file.
20724 * gdb.arch/gdb1291.exp: Expand test to check case that should not
20725 fail. Test for correct result, known incorrect result, other
20726 failures and timeouts.
20727
2d822687
AC
207282004-02-16 Andrew Cagney <cagney@redhat.com>
20729
20730 * gdb.base/bigcore.exp: New file.
20731 * gdb.base/bigcore.c: New file.
20732
dac15b66
AC
207332004-02-13 Andrew Cagney <cagney@redhat.com>
20734
20735 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
20736 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
20737 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
20738 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
20739 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
20740 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
20741 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
20742 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
20743 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
20744 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20745
6bdfc2c4
JJ
207462004-02-11 Jeff Johnston <jjohnstn@redhat.com>
20747
20748 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20749 executed is an alloc instruction.
20750
87b3ede8
DC
207512004-02-11 David Carlton <carlton@kealia.com>
20752
20753 * gdb.cp/breakpoint.exp: New.
20754 * gdb.cp/breakpoint.cc: New.
20755
6e19e2bf
MC
207562004-02-11 Michael Chastain <mec.gnu@mindspring.com>
20757
20758 Partial fix for PR gdb/1543.
20759 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20760 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20761 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20762 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20763 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20764 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20765 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20766 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20767 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20768 to bug-gdb@prep.ai.mit.edu .
20769 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20770 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20771 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20772 Likewise.
20773
5c5455dc
AC
207742004-02-10 Andrew Cagney <cagney@redhat.com>
20775
20776 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20777 using gdb_internal_error_resync.
20778
9cf689d7
DJ
207792004-02-09 Daniel Jacobowitz <drow@mvista.com>
20780
20781 * gdb.threads/thread-specific.exp: Stop early if no threads are
20782 found.
20783
d2dc51db
MC
207842004-02-09 Michael Chastain <mec.gnu@mindspring.com>
20785
20786 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20787
14b1a056
DJ
207882004-02-08 Daniel Jacobowitz <drow@mvista.com>
20789
20790 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20791 breakpoints.
20792
83f66e8f
DJ
207932004-02-07 Daniel Jacobowitz <drow@mvista.com>
20794
20795 * config/sim.exp (gdb_load): Handle $arg == "".
20796 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20797 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20798
30fc0091
EZ
207992004-02-07 Elena Zannoni <ezannoni@redhat.com>
20800
a9c64011
AS
20801 * gdb.base/maint.exp: Update test to reflect
20802 obstack changes.
30fc0091 20803
4d806929
JJ
208042004-02-04 Jeff Johnston <jjohnstn@redhat.com>
20805
20806 * gdb.base/pendshr.c (pendfunc): New function that calls
20807 pendfunc1.
20808 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20809
7bfdd688
FF
208102004-02-04 Fred Fish <fnf@redhat.com>
20811
20812 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20813 function symbols and update copyright years.
20814 * gdb.arch/gdb1291.c: Ditto.
20815
aaa08ee4
MC
208162004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20817
20818 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20819
dbad7755
MC
208202004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20821
20822 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20823
ec4646ef
MC
208242004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20825
20826 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20827
1b802196
FF
208282004-02-02 Fred Fish <fnf@redhat.com>
20829
20830 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20831 remote targets. Update copyright years.
20832
18fe2033
JJ
208332004-02-02 Jeff Johnston <jjohnstn@redhat.com>
20834
20835 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20836 support.
20837 * gdb.base/langs.exp: Fix test which attempts to create
20838 breakpoint on non-existent function to handle new pending
20839 support.
20840 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20841 a breakpoint.
20842 * gdb.base/pending.exp: New test.
20843 * gdb.base/pending.c: New file.
20844 * gdb.base/pendshr.c: Ditto.
20845
8d577d32
DC
208462004-02-02 David Carlton <carlton@kealia.com>
20847
20848 * gdb.cp/overload.exp: Add overloadNamespace tests.
20849 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20850 (overloadNamespace, XXX): New.
20851 (main): Call XXX::marker2.
20852
3ad13771
FF
208532004-02-01 Fred Fish <fnf@redhat.com>
20854
20855 * gdb.base/dump.exp: Use runto_main instead of "runto main".
20856 * gdb.base/finish.exp: Ditto.
20857 * gdb.base/gcore.exp: Ditto.
20858 * gdb.base/huge.exp: Ditto.
20859 * gdb.base/info-proc.exp: Ditto.
20860 * gdb.base/return2.exp: Ditto.
20861 * gdb.threads/gcore-thread.exp: Ditto.
20862
44c75849
DJ
208632004-02-01 Daniel Jacobowitz <drow@mvista.com>
20864
20865 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20866
005bc093
MK
208672004-02-01 Mark Kettenis <kettenis@gnu.org>
20868
20869 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20870 that opening the file succeeds on OpenBSD.
20871
c47cebdb
DJ
208722004-02-01 Daniel Jacobowitz <drow@mvista.com>
20873
20874 * gdb.threads/thread-specific.c: New file.
20875 * gdb.threads/threads-specific.exp: New test script.
20876 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20877 to expect_out.
20878
5a01311c
MK
208792004-02-01 Mark Kettenis <kettenis@gnu.org>
20880
20881 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
20882 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20883 only on the "print_small_structs from print_long_arg_list" test.
20884
ce22a4f1
DJ
208852004-02-01 Daniel Jacobowitz <drow@mvista.com>
20886
20887 * gdb.base/completion.exp: Kill a stray backslash.
20888
20889 From Jim Ingham <jingham@apple.com>:
20890 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20891 agrees with the result from sending a tab.
20892
abbab9d3
DJ
208932004-01-31 Daniel Jacobowitz <drow@mvista.com>
20894
20895 * gdb.base/chng-syms.exp: Remove stray newline.
20896
53904d1e
MK
208972004-01-31 Mark Kettenis <kettenis@gnu.org>
20898
20899 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20900 *-*-openbsd*.
20901 * gdb.asm/openbsd.inc: New file.
20902
3a4b3aac
MK
209032004-01-30 Mark Kettenis <kettenis@gnu.org>
20904
20905 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
20906 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
20907 *-*solaris2*. Remove commented out default settings for
20908 asm-flags. Replace gdb_compile with target_link.
20909
ebac27b4
MC
209102004-01-29 Michael Chastain <mec.gnu@mindspring.com>
20911
20912 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
20913 for all tests. Remove old hp-ux and cygnus xfail cases.
20914
d8679d84
PH
209152004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
20916
20917 * gdb.base/chng-syms.exp: New file.
20918 * gdb.base/chng-syms.c: New file.
20919
0a55bc22
MC
209202004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20921
20922 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
20923 Provide arms for current output in all my configurations.
20924
94b8e876
MC
209252004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20926
20927 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
20928 * lib/compiler.cc: Likewise.
20929 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
20930 get the right preprocessor. Eval the output directly. Remove
20931 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
20932 hp_f77_compiler and hp_f90_compiler completely.
20933 (gdb_preprocess): Delete.
20934 (get_compiler): Delete.
20935
7cf03d44
MK
209362004-01-24 Mark Kettenis <kettenis@gnu.org>
20937
20938 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
20939 <string.h>.
20940
68b6dce9
NR
209412004-01-24 Nick Roberts <nick@nick.uklinux.net>
20942
20943 * gdb.mi/mi-stack.exp: Update copyright.
20944
b368761e
DC
209452004-01-23 David Carlton <carlton@kealia.com>
20946
20947 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
20948 test for cp_lookup_transparent_type.
20949 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
20950 call them.
20951
f2061b53
DJ
209522004-01-23 Daniel Jacobowitz <drow@mvista.com>
20953
20954 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
20955 after -var-update.
20956
37fc574a
DC
209572004-01-23 David Carlton <carlton@kealia.com>
20958
20959 * gdb.cp/namespace.cc (C::ensureRefs): New.
20960 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
20961
8e94b928
NR
209622004-01-20 Nick Roberts <nick@nick.uklinux.net>
20963
20964 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
20965 case "-stack-list-locals 2".
20966 * gdb.mi/mi-var-child.exp: Test for case
20967 "-var-list-children --all-values NAME".
20968
997b0952
MC
209692004-01-18 Michael Chastain <mec.gnu@mindspring.com>
20970
20971 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
20972
52470da3
MK
209732004-01-18 Mark Kettenis <kettenis@gnu.org>
20974
7049b4b8
MK
20975 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
20976 used with gdb_test_multiple.
20977
52470da3
MK
20978 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
20979 read at address 0. This fixes PR testsuite/1504.
20980
da6012e5
DJ
209812004-01-18 Daniel Jacobowitz <drow@mvista.com>
20982
20983 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
20984 Remove downloading, guessing the host executable, the calls to
20985 gdb_file_cmd and gdb_target_cmd, and "load" support.
20986 (infer_host_exec): New function broken out from gdb_load.
20987 (gdb_load): New wrapper for gdbserver_gdb_load.
20988 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
20989 gdb_target_cmd. Use -target-select.
20990 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
20991 Download binaries to the host. Clear last_mi_remote_file when
20992 we load a new binary.
20993 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
20994 call gdbserver_gdb_load and mi_gdb_target_cmd.
20995
32c70722
MC
209962004-01-17 Michael Chastain <mec.gnu@mindspring.com>
20997
20998 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
20999 type patterns.
21000
b0cecf36
MC
210012004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21002
21003 * gdb.cp/templates.exp: Fix typo in test name of
21004 "print Foo<volatile char*>::foo".
21005
4120d7e6
MC
210062004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21007
21008 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21009
f679e530
BE
210102004-01-16 Ben Elliston <bje@wasabisystems.com>
21011
21012 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21013 (clean mostlyclean): Remove empty rm.
21014
091c48f6
MC
210152004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21016
21017 * gdb.base/setvar.exp: Add copyright years.
21018
3e5fc8d2
DC
210192004-01-14 David Carlton <carlton@bactrian.org>
21020
21021 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21022 PR c++/1511 and update coment.
21023 * gdb.cp/templates.exp: Update patterns to match current output.
21024 If changes involve something other than whitespace, KFAIL
21025 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21026
63d06c5c
DC
210272004-01-14 David Carlton <carlton@kealia.com>
21028
21029 * gdb.cp/namespace.exp: Add tests involving classes defined within
21030 namespaces.
21031 * gdb.cp/namespace.cc (C::CClass): New.
21032 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21033
a51dab88
EZ
210342004-01-14 Elena Zannoni <ezannoni@redhat.com>
21035
21036 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21037 what debug info we have. Print a better message if something goes
21038 wrong while producing the separate debug info file.
21039
a476ccc9
MC
210402004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21041
21042 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21043
f453692c
MC
210442004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21045
21046 * gdb.base/callfuncs.c: Add copyright notice.
21047
f40063a5
MC
210482004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21049
21050 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21051 inheritance. PR gdb/1498, PR gcc/13539.
21052
19ac3974
EZ
210532004-01-13 Elena Zannoni <ezannoni@redhat.com>
21054
a9c64011
AS
21055 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21056 test specific name.
21057 * gdb.mi/gdb669.exp: Ditto.
21058 * gdb.mi/mi-pthreads.exp: Ditto.
21059 * gdb.mi/mi1-pthreads.exp: Ditto.
21060 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 21061
56c97c6e
MC
210622004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21063
21064 * gdb.cp/member-ptr.cc: Add copyright notice.
21065
a0644324
MC
210662004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21067
21068 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21069 some patterns for recent versions of gcc and hpacc. Delete
21070 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21071 Delete tests that access a NULL pointer-to-member-data. This
21072 script is still disabled for gcc.
21073
32fabe09
EZ
210742004-01-12 Elena Zannoni <ezannoni@redhat.com>
21075
21076 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 21077 escaped correctly.
32fabe09 21078
1f8a6abb
EZ
210792004-01-12 Elena Zannoni <ezannoni@redhat.com>
21080
21081 * gdb.base/sepdebug.exp: New file.
21082 * gdb.base/sepdebug.c: New file.
21083 * lib/gdb.exp (separate_debug_filename): New procedure.
21084 (gdb_gnu_strip_debug): New procedure.
21085
48efe704
AC
210862004-01-12 Andrew Cagney <cagney@redhat.com>
21087
21088 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21089 * gdb.mi/ChangeLog-1999-2003: New file.
21090
a9415475
AC
210912004-01-12 Andrew Cagney <cagney@redhat.com>
21092
21093 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21094 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21095 or EEXIST", treat EBUSY as an XFAIL.
21096
83b8cf9d
MC
210972004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21098
21099 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21100 hp_cc_compiler.
21101
9939d2a8
MC
211022004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21103
21104 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21105 decorations.
21106
1ff8cadf
MC
211072004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21108
21109 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21110 and "(aCC)" decorations. Remove obsolete doco about old
21111 test results.
21112
6fa9022e
MC
211132004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21114
21115 * gdb.cp/exception.exp: Fix typo in doco.
21116
209721fe
MK
211172004-01-09 Mark Kettenis <kettenis@gnu.org>
21118
21119 * gdb.base/gdb1476.exp: Fix typo.
21120
ef11303e
MC
211212004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21122
21123 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21124 file.
21125
041ab88c
MC
211262004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21127
21128 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21129 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21130 Use gdb_compile. Remove restriction on gcc. Add some patterns
21131 for recent version of gdb. Delete second half, which was a copy
21132 of the first half with different build flags. This test is
21133 still disabled because it is still not ready for production.
21134
e36d075a
MC
211352004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21136
21137 * gdb.cp/exception.cc: Add copyright notice.
21138 * gdb.cp/exception.exp: Add a notice that this file is broken
21139 because of line number changes caused by addition of copyright
21140 notice.
21141
42b190ad
MC
211422004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21143
21144 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21145 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21146
8f25f06b
MC
211472004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21148
21149 * gdb.cp/classes.exp: Accept gnu abi 2.
21150 * gdb.cp/derivation.exp: Likewise.
21151 * gdb.cp/overload.exp: Likewise.
21152 * gdb.cp/virtfunc.exp: Likewise.
21153
06ded8b8
MC
211542004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21155
21156 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21157 semicolon after end of function.
21158
77c26ae3
MC
211592004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21160
21161 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21162 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21163 boilerplate code for compiling and running the program under
21164 test. Add some string method tests.
21165
20757486
MC
211662004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21167
21168 * gdb.cp/bs15503.cc: Add copyright notice.
21169 * gdb.cp/bs15503.exp: Adjust line number.
21170
0fd3b503
MC
211712004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21172
21173 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21174 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21175
10d1bea8
MC
211762004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21177
21178 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21179 hp_cc_compiler.
21180
2789202a
MC
211812004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21182
21183 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21184 * gdb.cp/ctti.exp: Use the marker instead of "next".
21185 With gcc, run further before bailing.
21186
b862f14c
MC
211872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21188
21189 * gdb.cp/cttiadd.cc: Add copyright notice.
21190 * gdb.cp/cttiadd1.cc: Likewise.
21191 * gdb.cp/cttiadd2.cc: Likewise.
21192 * gdb.cp/cttiadd3.cc: Likewise.
21193
96da2469
MC
211942004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21195
21196 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21197 Use gdb_test, gdb_test_multiple. Use floating-point values that
21198 have exact representations in IEEE-ish formats.
21199
053248ff
MC
212002004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21201
21202 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21203 compilers. Delete duplicate call to get_compiler_info.
21204 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21205 * gdb.base/volatile.exp: Likewise.
21206
84acecdd
MK
212072004-01-07 Mark Kettenis <kettenis@gnu.org>
21208
21209 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21210 memory at address 0.
21211
fe11a27f
MC
212122004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21213
21214 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21215 to test for hp-ux assembler. Fix copyright years.
21216
60ad077b
AC
212172004-01-07 Andrew Cagney <cagney@redhat.com>
21218
21219 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21220
1c9b8f33
AC
212212004-01-07 Andrew Cagney <cagney@redhat.com>
21222
21223 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21224 when creating the read-only file. From analysis by Roland McGrath
21225 and Elena Zannoni.
21226
753ccc7a
MC
212272004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21228
21229 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21230
eca3e36b
MC
212312004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21232
21233 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21234 data pointers.
21235
f8d4bac4
MC
212362004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21237
21238 * gdb.cp/m-static.exp: Compile one source file at a time.
21239 Delete unused call to get_compiler_info.
21240
9b4e0f94
MC
212412004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21242
21243 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21244 * gdb.base/call-rt-st.exp: Likewise.
21245 * gdb.base/nodebug.exp: Likewise.
21246 * gdb.base/volatile.exp: Likewise.
21247 * gdb.cp/ref-types.exp: Likewise.
21248 * gdb.cp/templates.exp: Likewise.
21249
023c1024
MK
212502004-01-05 Mark Kettenis <kettenis@gnu.org>
21251
21252 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21253
19703c4a
MC
212542004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21255
21256 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21257 hppa*-hp-hpux*.
21258
18b67037
MK
212592004-01-04 Mark Kettenis <kettenis@gnu.org>
21260
ba6219c8
MK
21261 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21262 x86_64-*-*.
21263
18b67037
MK
21264 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21265 sparc64-*-* and sparc*-solaris2*.
21266
1bfbbb9d
MK
212672004-01-04 Mark Kettenis <kettenis@gnu.org>
21268
21269 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21270 return ${tests}" test. The ${tests} already mentions the
21271 filename.
21272
06846494
MC
212732004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21274
21275 * gdb.cp/local.exp: Accept gcc abi 2.
21276
3b0cb202
MC
212772004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21278
21279 * gdb.cp/templates.exp: Accept gcc abi 2.
21280
0643ec3f
MC
212812004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21282
21283 * lib/compiler.cc: Remove supports_template_debugging.
21284 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21285
d231d0b1
MC
212862004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21287
21288 * gdb.cp/namespace.exp: Accept gcc abi 2.
21289
44ffb27c
MC
212902004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21291
21292 * gdb.cp/method.exp: Accept gcc abi 2.
21293
184ad485
MC
212942004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21295
21296 * gdb.cp/classes.exp: Generate identical results as old version.
21297 * gdb.cp/derivation.exp: Likewise.
21298 * gdb.cp/overload.exp: Likewise.
21299 * gdb.cp/virtfunc.exp: Likewise.
21300
116f09e7
MC
213012004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21302
21303 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21304 mysterious bug with sourceware version of expect.
21305
b1379776
MC
213062004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21307
21308 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21309 current versions of gcc, including gcc abi 2. Remove gratuitous
21310 restart of test program. Use gdb_test_multiple and gdb_test for
21311 all tests. Add patterns to xfail missing "const" in "const char *"
21312 and kfail PR gdb/1155.
21313
6b7a4c0e
MC
213142004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21315
21316 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21317 current versions of gcc, including gcc abi 2. Remove gratuitous
21318 restart of test program. Use gdb_test_multiple and gdb_test for
21319 all tests. Add patterns to kfail PR gdb/1498.
21320
51615d72
MC
213212003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21322
21323 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21324 current versions of gcc, including gcc abi 2. Use "breakpoint"
21325 and "continue" instead of restarting the target program. Use
21326 gdb_test_multiple and gdb_test for all tests.
21327
7b79a9d7
MK
213282004-01-01 Mark Kettenis <kettenis@gnu.org>
21329
21330 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21331 for *-*-solaris2*.
21332
1cd3489f
MC
213332003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21334
21335 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21336 current versions of gcc, including gcc abi 2. Use "breakpoint"
21337 and "continue" instead of restarting the target program several
21338 times. Use gdb_test_multiple and gdb_test for all tests.
21339
850742db
MC
213402003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21341
21342 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21343 source files.
21344
eb4bbda8
MC
213452003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21346
21347 * gdb.base/environ.exp: Handle compiling test case from multiple
21348 source files.
21349
e42c7771
MC
213502003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21351
21352 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21353
80e4b428
JB
213542003-12-17 Jim Blandy <jimb@redhat.com>
21355
5f06973a
JB
21356 * gdb.base/freebpcmd.c: Add copyright notice.
21357
80e4b428
JB
21358 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21359
0ab84fb7
MC
213602003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21361
21362 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21363
1b3bb3d0
JB
213642003-12-13 Jim Blandy <jimb@redhat.com>
21365
21366 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21367
3a4c9371
KB
213682003-12-12 Kevin Buettner <kevinb@redhat.com>
21369
21370 * gdb.asm/frv.inc: New file.
21371 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21372
a1dea79a
FF
213732003-12-09 Fred Fish <fnf@redhat.com>
21374
21375 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21376 functions to break1.c and leave prototypes behind. Add more
21377 "set breakpoint NN here" comments.
21378 * gdb.base/break1.c: New file.
21379
21380 * gdb.base/break.exp: Handle compiling test case from multiple
21381 source files and change source file references as needed.
21382 * gdb.base/completion.exp: Ditto.
21383 * gdb.base/condbreak.exp: Ditto.
21384 * gdb.base/define.exp: Ditto.
21385 * gdb.base/ena-dis-br.exp: Ditto.
21386 * gdb.base/info-proc.exp: Ditto.
21387 * gdb.base/maint.exp: Ditto.
21388 * gdb.base/until.exp: Ditto.
21389
21390 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21391 hardcoded line numbers.
21392 * gdb.base/define.exp: Ditto.
21393 * gdb.base/ena-dis-br.exp: Ditto.
21394 * gdb.base/maint.exp: Ditto.
21395 * gdb.base/until.exp: Ditto.
21396
21397 * gdb.base/completion.exp: Use "break1" for completion tests since
21398 "break" is no longer a unique prefix.
21399
5266b69c
AC
214002003-12-06 Andrew Cagney <cagney@redhat.com>
21401
21402 * gdb.base/structs.exp (test_struct_returns): When applicable, set
21403 "return_value_unimplemented". When an unimplemented struct return
21404 architecture, report incorrect values as a KFAIL
21405
374451f0
MC
214062003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21407
21408 * gdb.cp/rtti.exp: Accept new wording of warning from
21409 cp_lookup_rtti_type.
21410
ba9b20a7
MC
214112003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21412
21413 Partial fix for PR testsuite/1456.
21414 * gdb.base/scope.exp (test_at_main): Replace references to
21415 gcc_compiled with calls to test_compiler_info.
21416 (test_at_foo): Likewise.
21417 (test_at_bar): Likewise.
21418
b74b6d0b
MC
214192003-12-04 Michael Chastain <mec.gnu@mindspring.com>
21420
21421 Partial fix for PR testsuite/1456.
21422 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21423 to test_compiler_info.
21424
ccfa3402
MC
214252003-12-03 Michael Chastain <mec.gnu@mindspring.com>
21426
21427 * gdb.base/so-impl-ld.exp: Update copyright notice.
21428
f6246aba
MC
214292003-12-02 Michael Chastain <mec.gnu@mindspring.com>
21430
21431 Partial fix for PR testsuite/1456.
21432 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21433 to test_compiler_info.
21434
13ae734a
MC
214352003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21436
21437 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21438 from current versions of gdb. Clean up regular expressions.
21439 Delete redundant timeout case.
21440
d8e1cdee
MC
214412003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21442
21443 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21444 from current versions of gdb. Clean up regular expressions.
21445 Delete redundant timeout case.
21446
96457b64
MC
214472003-12-01 Michael Chastain <mec.gnu@mindspring.com>
21448
21449 Partial fix for PR testsuite/1456.
21450 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21451 gcc_compiled with call to test_compiler_info.
21452
f35309fc
MC
214532003-11-30 Michael Chastain <mec.gnu@mindspring.com>
21454
21455 Partial fix for PR testsuite/1456.
21456 * gdb.base/list.exp (test_list_function): Delete unused declaration
21457 of gcc_compiled.
21458
d7afdf9b
MC
214592003-11-29 Michael Chastain <mec.gnu@mindspring.com>
21460
21461 Partial fix for PR testsuite/1456.
21462 * gdb.base/complex.exp: Replace reference to gcc_compiled with
21463 call to test_compiler_info.
21464
71507b56
MK
214652003-11-29 Mark Kettenis <kettenis@gnu.org>
21466
21467 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
21468 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
21469 it to create the appropriate note.inc.
21470 * gdb.asm/asmsrc1.s: Include "note.inc".
21471 * gdb.asm/netbsd.inc: New file.
21472 * gdb.asm/empty.inc: New file.
21473
f81f93f7
MC
214742003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21475
21476 Partial fix for PR testsuite/1456.
21477 * gdb.base/constvars.exp: Replace references to gcc_compiled with
21478 calls to test_compiler_info.
21479
9a77938e
MC
214802003-11-27 Michael Chastain <mec.gnu@mindspring.com>
21481
21482 Partial fix for PR testsuite/1456.
21483 * gdb.base/volatile.exp: Replace references to gcc_compiled with
21484 calls to test_compiler_info.
21485
e8367dc7
MK
214862003-11-27 Mark Kettenis <kettenis@gnu.org>
21487
21488 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21489 pattern for the KFAILs.
21490
526c61ee
AF
214912003-11-25 Adam Fedor <fedor@gnu.org>
21492
21493 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21494 * gdb.objc/objcdecode.m: New file.
21495
28f2d600
AF
214962003-11-25 Adam Fedor <fedor@gnu.org>
21497
21498 * gdb.objc/nondebug.exp: Test for PR objc/1236.
21499 * gdb.objc/nondebug.m: New file.
21500
a3895cee
BE
215012003-11-26 Ben Elliston <bje@wasabisystems.com>
21502
21503 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21504 NetBSD as it does on FreeBSD. Modelled on a similar change by
21505 Mark Kettenis on 2003-05-30.
21506 (link-flags): Set to "--entry _start" regardless of target.
21507 Special linker flags are to be appended to $link-flags.
21508 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21509
c9f2c8a3
MC
215102003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21511
21512 * gdb.cp/method.exp: Accept output of new demangler.
21513
15a0587a 215142003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
21515
21516 * gdb/class2.exp: New file.
21517 * gdb/class2.cc: New file.
21518
3c00b570
MC
215192003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21520
21521 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
21522 of new demangler.
21523
7027acc7
MK
215242003-11-23 Mark Kettenis <kettenis@gnu.org>
21525
21526 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
21527 of gdb_test "run".
21528
b0e1598a
MK
215292003-11-23 Mark Kettenis <kettenis@gnu.org>
21530
21531 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
21532 "continue" into "run".
21533
4d9eda44
MC
215342003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21535
21536 Partial fix for PR testsuite/1456.
21537 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
21538 call to test_compiler_info.
21539 * gdb.cp/ctti.exp: Likewise.
21540 * gdb.cp/derivation.exp: Likewise.
21541 * gdb.cp/member-ptr.exp: Likewise.
21542 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
21543 reference to gcc_compiled.
21544
215452003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
21546
21547 Fix PR testsuite/1463.
21548 * gdb.base/structs.exp (start_structs_test): Call
21549 get_debug_format before using the debug format.
21550
d422fe19
AC
215512003-11-22 Andrew Cagney <cagney@redhat.com>
21552
21553 * lib/gdb.exp (gdb_test_multiple): Add simple example.
21554 * gdb.base/structs.exp: Use gdb_test_multiple.
21555
039cf96d
AC
215562003-11-20 Andrew Cagney <cagney@redhat.com>
21557
6882279b
AC
21558 * gdb.base/structs.exp: Handle and recover from internal errors.
21559 Replace "foo${n}" with "foo<n>" in test messages.
21560
e53890ae
AC
21561 * gdb.base/structs.exp: Update copyright. Rewrite.
21562 * gdb.base/structs.c: Update copyright. Rewrite.
21563
2b211c59
AC
21564 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
21565 resync count exceeded.
d63a86f8 21566
039cf96d
AC
21567 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
21568 from the internal error.
21569 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
21570 Original from Jim Blandy.
21571 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 21572
eac98b22
AC
215732003-11-19 Andrew Cagney <cagney@redhat.com>
21574
21575 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
21576 KFAIL.
21577
67455b2a
MK
215782003-11-17 Mark Kettenis <kettenis@gnu.org>
21579
21580 New testcase for PR backtrace/1435.
21581 * gdb.arch/i386-unwind.exp: New file.
21582 * gdb.arch/i386-unwind.c: New file.
21583
853d6e5b
AC
215842003-11-17 Andrew Cagney <cagney@redhat.com>
21585
21586 * lib/gdb.exp (compiler_info): New global.
21587 (test_compiler_info): New function.
21588 (get_compiler_info): Set compiler_info.
21589 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
21590 "compiler_info" to gcc-<major>-<minor>.
21591
38cf6e11
MC
215922003-11-15 Michael Chastain <mec.gnu@mindspring.com>
21593
21594 * gdb.trace/configure: Remove.
21595
a50d3602
EZ
215962003-11-13 Elena Zannoni <ezannoni@redhat.com>
21597
21598 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 21599 breakpoints.
a50d3602
EZ
21600 * gdb.base/break.exp: Remove all references to explicit line
21601 numbers.
21602
d9407aaa
NC
216032003-11-11 Nick Clifton <nickc@redhat.com>
21604
21605 * gdb.base/shreloc.exp: Do not run for targets which do not
21606 support shared objects.
21607
db488fc1
CV
216082003-11-10 Corinna Vinschen <vinschen@redhat.com>
21609
21610 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
21611 Don't run tests if nofileio flag is given.
21612
6a90a18e
EZ
216132003-11-07 Elena Zannoni <ezannoni@redhat.com>
21614
21615 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 21616 as well as 'Watchpoint'.
6a90a18e 21617
0b915e9c
EZ
216182003-11-06 Elena Zannoni <ezannoni@redhat.com>
21619
21620 Reported by Jim Ingham <jingham@apple.com>:
21621 * gdb.base/annota1.exp: Match at least one occurrence of the
21622 signal handler annotation.
21623
d7e4b55f
EZ
216242003-11-06 Elena Zannoni <ezannoni@redhat.com>
21625
a9c64011
AS
21626 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
21627 as well as 'Watchpoint'.
d7e4b55f 21628
2fe4e8d0
MC
216292003-11-05 Michael Chastain <mec@shout.net>
21630
21631 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
21632
6ef88553
KW
216332003-11-03 Kris Warkentin <kewarken@qnx.com>
21634
21635 * gdb.arch/gdb1291.c: New test file.
21636 * gdb.arch/gdb1291.exp: New test script.
21637 * gdb.arch/gdb1431.c: New test file.
21638 * gdb.arch/gdb1431.exp: New test script.
21639
ae7dc4d8
MC
216402003-10-22 Michael Chastain <mec@shout.net>
21641
21642 * gdb.mi/pthreads.c: Add copyright notice.
21643
c39d7427
MC
216442003-10-22 Michael Chastain <mec@shout.net>
21645
21646 * gdb.threads/pthreads.c: Add copyright notice.
21647
8b7d96c1
MC
216482003-10-20 Michael Chastain <mec@shout.net>
21649
21650 * gdb.base/gdb1056.exp: New test script.
21651
d1d69fdd
DJ
216522003-10-13 Daniel Jacobowitz <drow@mvista.com>
21653
21654 * gdb.threads/killed.exp: Use gdb_run_cmd.
21655
7d605576
DJ
216562003-10-13 Daniel Jacobowitz <drow@mvista.com>
21657
21658 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
21659 create a core file.
21660 * gdb.threads/gcore-thread.exp: Likewise.
21661
618ec112
CV
216622003-10-13 Corinna Vinschen <vinschen@redhat.com>
21663
21664 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
21665 type, based on char type.
21666 (struct bit_flags_short_t): New bitfield type, based on short type.
21667 (init_bit_flags_char): New fuction.
21668 (init_bit_flags_short): Ditto.
21669 (print_bit_flags_char): Ditto.
21670 (print_bit_flags_short): Ditto.
21671 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
21672
9367a73c
MC
216732003-10-11 Michael Chastain <mec@shout.net>
21674
21675 * gdb.base/call-rt-st.exp: Update copyright year.
21676
1decf120
KI
216772003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
21678
21679 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
21680 * gdb.disasm/sh3.s: Ditto.
21681
5445b2ae
DJ
216822003-10-07 Daniel Jacobowitz <drow@mvista.com>
21683
21684 * gdb.threads/switch-threads.exp: New test.
21685 * gdb.threads/switch-threads.c: New source file.
21686
aec24853
CV
216872003-10-07 Corinna Vinschen <vinschen@redhat.com>
21688
21689 * gdb.base/ending-run.exp: Add sh specific case.
21690
adc7428d
AC
216912003-10-06 Andrew Cagney <cagney@redhat.com>
21692
21693 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
21694 * gdb.disasm/mn10200.exp: Delete obsolete file.
21695
c9d37158
DJ
216962003-09-29 Daniel Jacobowitz <drow@mvista.com>
21697
21698 * ChangeLog: Correct an entry command.exp -> commands.exp.
21699 * gdb.base/commands.exp (bp_deleted_in_command_test)
21700 (temporary_breakpoint_commands): Check noargs.
21701
79c2c32d
DC
217022003-09-25 David Carlton <carlton@kealia.com>
21703
21704 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
21705 of some print tests, where appropriate. Add tests for C::D::cd,
21706 E::ce, F::cXfX, G::XgX.
21707 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
21708
594e6d67
RE
217092003-09-25 Richard Earnshaw <rearnsha@arm.com>
21710
21711 * lib/java.exp (java_init): Import target_alias before using it.
21712
10f0d451
DC
217132003-09-25 David Carlton <carlton@kealia.com>
21714
21715 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
21716
274bcba0
EZ
217172003-09-23 Elena Zannoni <ezannoni@redhat.com>
21718
d63a86f8 21719 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 21720 weirdness.
274bcba0 21721
cdbf20f7
MC
217222003-09-17 Michael Chastain <mec@shout.net>
21723
21724 * gdb.cp/gdb1355.exp: New file.
21725 * gdb.cp/gdb1355.c: New file.
21726
71e06f80
CV
217272003-09-15 Corinna Vinschen <vinschen@redhat.com>
21728
21729 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
21730 * gdb.asm/sh.inc: New file.
21731
5c4e30ca
DC
217322003-09-11 David Carlton <carlton@kealia.com>
21733
bd45b7af
DC
21734 * gdb.cp/namespace.exp: Add tests for namespace types.
21735 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
21736 (test_namespace): New.
21737
1c199746
EZ
217382003-09-11 Elena Zannoni <ezannoni@redhat.com>
21739
a9c64011 21740 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 21741 * gdb.stabs/weird.exp: Ditto.
1c199746 21742
04ed252f
MC
217432003-09-08 Michael Chastain <mec@shout.net>
21744
21745 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21746
d8a2d9e7
MC
217472003-09-07 Michael Chastain <mec@shout.net>
21748
21749 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21750 'parse error'.
21751
161afb24
MK
217522003-09-07 Mark Kettenis <m.kettenis@osp.nl>
21753
21754 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21755
49f2741a
MC
217562003-08-30 Michael Chastain <mec@shout.net>
21757
21758 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21759 * gdb.gdb/observer.exp: Ditto.
21760 * gdb.gdb/xfullpath.exp: Ditto.
21761
8afa723e
MK
217622003-08-29 Mark Kettenis <kettenis@gnu.org>
21763
21764 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21765 *-*-*bsd*.
21766
f31dfe3b
JJ
217672003-08-28 Jeff Johnston <jjohnstn@redhat.com>
21768
21769 * gdb.base/dump.exp: Skip for ia64.
21770
4630e498
JJ
217712003-08-25 Jeff Johnston <jjohnstn@redhat.com>
21772
21773 * gdb.asm/asm-source.exp: Add ia64 support.
21774 * gdb.asm/ia64.inc: New file.
21775
1105b7ef
MC
217762003-08-22 Michael Chastain <mec@shout.net>
21777
21778 * gdb.cp: New directory.
21779 * gdb.cp/*: Copy from gdb.c++/*.
21780 * gdb.c++/*: Remove.
21781 * Makefile.in: Change gdb.c++ to gdb.cp.
21782 * configure.in: Ditto.
21783 * configure: Regnerate.
21784
c945b932
MK
217852003-08-18 Mark Kettenis <kettenis@gnu.org>
21786
21787 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21788 * gdb.arch/i386-prologue.c (gdb1338): Add function.
21789
2b66634b
DJ
217902003-08-17 Daniel Jacobowitz <drow@mvista.com>
21791
21792 * mi-var-display.exp (-var-list-children weird): Accept function
21793 pointers with argument types.
21794 * mi1-var-display.exp (-var-list-children weird): Likewise.
21795 * mi2-var-display.exp (-var-list-children weird): Likewise.
21796
a356f73b
DJ
217972003-08-17 Daniel Jacobowitz <drow@mvista.com>
21798
21799 * gdb.base/annota3.exp: Add missing newline.
21800
483417b8
MC
218012003-08-06 Michael Chastain <mec@shout.net>
21802
21803 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21804
c99c59c3
MS
218052003-08-12 Michael Snyder <msnyder@redhat.com>
21806
21807 * gdb.base/float.exp: Add test for SH.
21808
55ed7501
MK
218092003-08-10 Mark Kettenis <kettenis@gnu.org>
21810
21811 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21812
1a371f2e
EZ
218132003-08-07 Elena Zannoni <ezannoni@redhat.com>
21814
21815 * gdb.base/completion.exp: Remove reduntant completion test
21816 on filename.
21817
e0f353ce
EZ
218182003-08-07 Elena Zannoni <ezannoni@redhat.com>
21819
a9c64011
AS
21820 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21821 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21822 gdb.trace/save-trace.exp: Make sure that full pathnames are
21823 escaped correctly.
e0f353ce 21824
5710a1af 218252003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 21826
a9c64011
AS
21827 * configure.in: Don't generate config.h from config.hin.
21828 * configure: Regenerate.
21829 * config.hin: Remove file.
21830 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21831 * gdb.threads/pthreads.c: Ditto.
5710a1af 21832
dcd81ce9
DJ
218332003-08-07 Daniel Jacobowitz <drow@mvista.com>
21834
21835 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21836 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21837 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21838 Replace ld24 with seth/add3.
21839
6009d884
AC
218402003-08-02 Andrew Cagney <cagney@redhat.com>
21841
21842 * gdb.base/annota3.exp: New file.
21843 * gdb.base/annota3.c: New file.
21844 * gdb.c++/annota3.exp: New file.
21845 * gdb.c++/annota3.cc: New file.
21846
51514e06
MC
218472003-07-29 Michael Chastain <mec@shout.net>
21848
21849 * gdb.threads/tls.c (spin): Check errno only if sem_wait
21850 actually failed.
21851 (do_pass): Likewise.
21852 * gdb.threads/tls.exp: Always initialize no_of_threads.
21853
4ee6625b
DJ
218542003-07-27 Daniel Jacobowitz <drow@mvista.com>
21855
21856 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21857 pattern.
21858 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21859 * gdb.threads/tls.exp: Recognize one case of the host library not
21860 supporting TLS.
21861
225f2bf6
AC
218622003-07-27 Andrew Cagney <cagney@redhat.com>
21863
21864 * gdb.base/fileio.exp: Use SH when running commands using
21865 remote_exec.
21866
bcb27c9f
DJ
218672003-07-24 Daniel Jacobowitz <drow@mvista.com>
21868
21869 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21870 * gdb.base/relocate.c (dummy): New padding array.
21871
3d67be83
MS
218722003-07-22 Michael Snyder <msnyder@redhat.com>
21873
d63a86f8 21874 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
21875
21876 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21877 patterns to be more general, accepting old and new output.
21878 Some output chars (such as '+') also must be quoted.
d63a86f8 21879 Some addresses are displayed numerically instead of
3d67be83
MS
21880 symbolically.
21881
57ba3b85
MS
218822003-07-23 Michael Snyder <msnyder@redhat.com>
21883
686d097c
MS
21884 * gdb.base/return2.exp: Don't test long-long return.
21885
57ba3b85
MS
21886 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21887 * gdb.disasm/t01_mov.exp: Ditto.
21888 * gdb.disasm/t02_mova.s: Ditto.
21889 * gdb.disasm/t02_mova.exp: Ditto.
21890 * gdb.disasm/t03_add.s: Ditto.
21891 * gdb.disasm/t03_add.exp: Ditto.
21892 * gdb.disasm/t04_sub.s: Ditto.
21893 * gdb.disasm/t04_sub.exp: Ditto.
21894 * gdb.disasm/t05_cmp.s: Ditto.
21895 * gdb.disasm/t05_cmp.exp: Ditto.
21896 * gdb.disasm/t06_ari2.s: Ditto.
21897 * gdb.disasm/t06_ari2.exp: Ditto.
21898 * gdb.disasm/t07_ari3.s: Ditto.
21899 * gdb.disasm/t07_ari3.exp: Ditto.
21900 * gdb.disasm/t08_or.s: Ditto.
21901 * gdb.disasm/t08_or.exp: Ditto.
21902 * gdb.disasm/t09_xor.s: Ditto.
21903 * gdb.disasm/t09_xor.exp: Ditto.
21904 * gdb.disasm/t10_and.s: Ditto.
21905 * gdb.disasm/t10_and.exp: Ditto.
21906 * gdb.disasm/t11_logs.s: Ditto.
21907 * gdb.disasm/t11_logs.exp: Ditto.
21908 * gdb.disasm/t12_bit.s: Ditto.
21909 * gdb.disasm/t12_bit.exp: Ditto.
21910 * gdb.disasm/t13_otr.s: Ditto.
21911 * gdb.disasm/t13_otr.exp: Ditto.
21912
e00759ef
EZ
219132003-07-22 Elena Zannoni <ezannoni@redhat.com>
21914
21915 * gdb.threads/tls.exp :Add kfail for 'info address' case.
21916
8bc2021f
EZ
219172003-07-22 Elena Zannoni <ezannoni@redhat.com>
21918
a9c64011
AS
21919 * gdb.threads/tls.c : New file.
21920 * gdb.threads/tls.exp : New file.
21921 * gdb.threads/tls-main.c : New file.
21922 * gdb.threads/tls-shared.c : New file.
21923 * gdb.threads/tls-shared.exp : New file.
8bc2021f 21924
89320c4c
AS
219252003-07-22 Andreas Schwab <schwab@suse.de>
21926
21927 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
21928
180dea7c
AS
219292003-07-20 Andreas Schwab <schwab@suse.de>
21930
21931 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
21932 due to insn reordering.
21933
0714963c
AC
219342003-07-15 Andrew Cagney <cagney@redhat.com>
21935
21936 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
21937
98a23b3f
MC
219382003-07-15 Michael Chastain <mec@shout.net>
21939
21940 * gdb.base/gdb1250.exp: New file.
21941 * gdb.base/gdb1250.c: New file.
21942
27e417a2
ML
219432003-07-09 Michal Ludvig <mludvig@suse.cz>
21944
21945 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
21946 expansion of size_t to 'unsigned long', not only to 'unsigned'.
21947
8bc2021f
EZ
219482003-07-09 Elena Zannoni <ezannoni@redhat.com>
21949
a9c64011
AS
21950 * gdb.threads/tls.c: New file.
21951 * gdb.threads/tls.exp: New file.
21952 * gdb.threads/tls-main.c: New file.
21953 * gdb.threads/tls-shared.c: New file.
21954 * gdb.threads/tls-shared.exp: New file.
8bc2021f 21955
d99968dc
EZ
219562003-07-09 Elena Zannoni <ezannoni@redhat.com>
21957
21958 * gdb.base/annota1.exp: Make sure that we properly escape the
21959 full path of the source file. Xfail more permissive patterns,
d63a86f8 21960 due to a compiler debug info problem.
d99968dc 21961
83876b3b
AS
219622003-07-07 Andreas Schwab <schwab@suse.de>
21963
2705e972
AS
21964 * gdb.asm/m68k.inc: New file.
21965 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
21966
83876b3b
AS
21967 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
21968 arguments"): Also match negative number.
21969
21970 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
21971
3a871b37
DJ
219722003-07-03 Daniel Jacobowitz <drow@mvista.com>
21973
21974 * gdb.base/store.c (charest): New typedef.
21975 (add_char): Rename to add_charest, update.
21976 (wack_char): Rename to wack_charest, update types. Return l + r
21977 to keep r live across the call.
21978 (wack_short, wack_int, wack_long, wack_longest, wack_float)
21979 (wack_double, wack_doublest): Return l + r to keep r live across
21980 the call.
21981 * gdb.base/store.exp: Accomodate store.c changes.
21982
b2a7f303
DC
219832003-06-30 David Carlton <carlton@kealia.com>
21984
21985 * gdb.c++/maint.exp (test_invalid_name): New.
21986 (test_first_component): Add tests for invalid names.
21987
3c6cb4a1
MC
219882003-06-29 Michael Chastain <mec@shout.net>
21989
21990 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
21991 output of '<VTT for class>' for virtual base classes.
21992
f1c2644b
DJ
219932003-06-29 Daniel Jacobowitz <drow@mvista.com>
21994
21995 * gdb.base/completion.exp: Tab-complete "complet" instead of
21996 "compl".
21997 * gdb.base/complex.exp, gdb.base/complex.c: New files.
21998
18080350
DJ
219992003-06-29 Daniel Jacobowitz <drow@mvista.com>
22000
22001 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22002 * gdb.base/volatile.exp: Likewise.
22003
f56973f8
DJ
220042003-06-29 Daniel Jacobowitz <drow@mvista.com>
22005
22006 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22007 gdb/1265.
22008
220092003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
22010 Daniel Jacobowitz <drow@mvista.com>
22011
22012 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22013 initial line count of 'captured_main' from 26 to 32.
22014 (test_with_self): Allow xmalloc call to be interleaved with the
22015 preceding two lines.
22016
e766d4d6
JB
220172003-06-24 Joel Brobecker <brobecker@gnat.com>
22018
22019 * gdb.base/bang.exp: New testcase.
22020
f125c9a4
JB
220212003-06-23 Joel Brobecker <brobecker@gnat.com>
22022
22023 * gdb.base/langs.exp: Add some tests for the "minimal" language
22024 support.
22025
6e25beaf
EZ
220262003-06-23 Elena Zannoni <ezannoni@redhat.com>
22027
22028 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22029 the testcase.
22030
2f816dda
DJ
220312003-06-22 Daniel Jacobowitz <drow@mvista.com>
22032
22033 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22034 offset.
22035
db5a5748
DJ
220362003-06-22 Daniel Jacobowitz <drow@mvista.com>
22037
22038 * gdb.c++/pr-1210.cc: New file.
22039 * gdb.c++/pr-1210.exp: New file.
22040
1df0c130
DJ
220412003-06-21 Daniel Jacobowitz <drow@mvista.com>
22042
22043 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22044 000-exec-continue.
22045
a92feac0
MK
220462003-06-15 Mark Kettenis <kettenis@gnu.org>
22047
22048 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22049 on *-*-*bsd* instead of *-*-freebsd*.
22050
81a58f5b
AC
220512003-06-14 Andrew Cagney <cagney@redhat.com>
22052
22053 * gdb.base/store.exp: Test longest and doublest. Test all
22054 parameters. Weaken return statement match.
22055 * gdb.base/store.c: Add longest and doublest - aka long long and
22056 long double functions. Put all parameters into local register
22057 variables. Use negative values.
22058
b257a0d3
AC
220592003-06-14 Andrew Cagney <cagney@redhat.com>
22060
22061 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22062 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22063 exit status.
22064 * gdb.base/fileio.exp: Disable target when nointerrupts and
22065 noinferiorio, instead of limiting it to remote. Use remote_exec
22066 instead of system.
d63a86f8 22067
21c38304
JJ
220682003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22069
22070 * gdb.base/float.exp: Add ia64 support.
22071
1bcdb424
CV
220722003-06-12 Corinna Vinschen <vinschen@redhat.com>
22073
22074 * gdb.base/fileio.exp: Run only on remote targets.
22075
6aeb981f
CV
220762003-06-10 Corinna Vinschen <vinschen@redhat.com>
22077
22078 * gdb.base/fileio.c: New file, testing File-I/O.
22079 * gdb.base/fileio.exp: Ditto.
22080
53df362e
RG
220812003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22082
22083 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22084 shared objects after relocation at load time (gdb PR/1132).
22085 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 22086 as above, part of the shared object relocation test.
53df362e 22087
ffee1b46
MK
220882003-06-08 Mark Kettenis <kettenis@gnu.org>
22089
b5ca3722
MK
22090 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22091 fully filled history list.
22092 * gdb.base/gdb_history: New file.
22093
03ed860d
MK
22094 * gdb.base/signals.exp: XFAIL "continue to func1" on
22095 i*86-*-freebsd*.
22096
ffee1b46
MK
22097 * gdb.base/attach.exp: When trying to attach to a nonexistent
22098 process, make it possible to specify the PID based on the target,
22099 and do so for *-*-freebsd*.
22100
d80dbb52
RH
221012003-06-02 Richard Henderson <rth@redhat.com>
22102
22103 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22104
6dd77b81
RH
221052003-06-02 Richard Henderson <rth@redhat.com>
22106
22107 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22108
f6347e16
RH
221092003-06-02 Richard Henderson <rth@redhat.com>
22110
22111 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22112
2c161407
DJ
221132003-06-01 Daniel Jacobowitz <drow@mvista.com>
22114
22115 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22116 of globalvar.
22117
572eb746
MK
221182003-06-01 Mark Kettenis <kettenis@gnu.org>
22119
22120 * gdb.asm/asm-source.exp: Check for memory read errors in
22121 disassembler test on *BSD too.
22122
9e9617a5
RH
221232003-06-01 Richard Henderson <rth@redhat.com>
22124
22125 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22126 for .frame.
22127 (gdbasm_call): Lose ldgp.
22128 (gdbasm_startup): Add frame information.
22129 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22130
7b34ad4e
MK
221312003-05-31 Mark Kettenis <kettenis@gnu.org>
22132
22133 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22134 i?86-*-*.
22135
10059fdf
MK
221362003-05-30 Mark Kettenis <kettenis@gnu.org>
22137
22138 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22139 FreeBSD.
22140
acf4b816
RH
221412003-05-29 Richard Henderson <rth@redhat.com>
22142
22143 * gdb.asm/alpha.inc: New file.
22144 * gdb.asm/asm-source.exp: Use it.
22145
e9ecd949
JB
221462003-05-29 Jim Blandy <jimb@redhat.com>
22147
22148 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22149 'core.PID'.
22150
e3e5a4f3
JB
221512003-05-22 Jim Blandy <jimb@redhat.com>
22152
22153 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22154 backtrace.
d63a86f8 22155
72fe3d25
DC
221562003-05-20 David Carlton <carlton@math.stanford.edu>
22157
22158 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22159 this time.
22160
58da2eb2
DC
221612003-05-19 David Carlton <carlton@bactrian.org>
22162
22163 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22164 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22165
1fcb5155
DC
221662003-05-19 David Carlton <carlton@bactrian.org>
22167
22168 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22169 namespace tests.
22170 Bump copyright date.
22171 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22172 (main): Call C::D::marker2.
22173 * gdb.c++/namespace1.cc: New file.
22174
85e85163
JJ
221752003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22176
22177 Roland McGrath <roland@redhat.com>
d63a86f8 22178 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
22179 there is no manager thread.
22180
a25fbfec
JJ
221812003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22182
d63a86f8
RM
22183 * gdb.threads/schedlock.exp: Remove assumption that all threads
22184 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
22185 in one of the child threads rather than the main thread.
22186
be375bae
JB
221872003-05-07 Jim Blandy <jimb@redhat.com>
22188
09bf6082
JB
22189 Add support for assembly source testing on the s390x.
22190 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22191 architecture.
22192 * gdb.asm/s390x.inc: New file.
22193
be375bae
JB
22194 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22195 succession of 'if' statements.
22196
00905d52
AC
221972003-05-05 Andrew Cagney <cagney@redhat.com>
22198
22199 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22200
b1e29e33
AC
222012003-05-05 Andrew Cagney <cagney@redhat.com>
22202
22203 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22204 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22205
e33d66ec
EZ
222062003-05-02 Elena Zannoni <ezannoni@redhat.com>
22207
22208 * gdb.base/charset.exp: Update based on new behavior of set/show
22209 charset commands.
22210
2b6fd0d8
AC
222112003-05-01 Andrew Cagney <cagney@redhat.com>
22212
22213 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22214 variable do not give memory errors.
22215
130cacce
AF
222162003-04-30 Adam Fedor <fedor@gnu.org>
22217
22218 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22219 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22220 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22221 gdb.objc/basicclass.m: : New files
22222
22223 * lib/gdb.exp (gdb_compile_objc): New procedure.
22224
bea71854
DJ
222252003-04-27 Daniel Jacobowitz <drow@mvista.com>
22226
22227 * gdb.base/signals.exp: Make backtrace tests more specific.
22228
0f20eeea
DC
222292003-04-23 David Carlton <carlton@bactrian.org>
22230
22231 * gdb.c++/maint.exp (test_first_component): Add tests for
22232 'operator' in more locations.
22233
c8c4d8dc
KB
222342003-04-16 Kevin Buettner <kevinb@redhat.com>
22235
22236 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22237
3fe60e3c
EZ
222382003-04-16 Elena Zannoni <ezannoni@redhat.com>
22239
22240 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 22241 func marke' instead. Update test name.
3fe60e3c 22242
9219021c
DC
222432003-04-15 David Carlton <carlton@math.stanford.edu>
22244
22245 * gdb.c++/maint.exp: New file.
22246
5dd55bdd
EZ
222472003-04-14 Elena Zannoni <ezannoni@redhat.com>
22248
22249 * gdb.threads/schedlock.c: Change type of thread function argument
22250 to long, to avoid warnings on 64-bit platforms.
22251
00890572
EZ
222522003-04-14 Elena Zannoni <ezannoni@redhat.com>
22253
a9c64011
AS
22254 * gdb.base/attach.exp: Add new message from ptrace in case of
22255 attaching to nonexistent process.
d63a86f8 22256
93201743
JB
222572003-04-11 Jim Blandy <jimb@redhat.com>
22258
22259 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22260 gdb.c++/userdef.cc: Place comments on the lines to which the
22261 marker function might return.
22262 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22263 gdb.c++/userdef.exp: Look for those comments to check that we've
22264 returned to the right place, instead of checking line numbers.
22265
2a11c64d
EZ
222662003-04-11 Elena Zannoni <ezannoni@redhat.com>
22267
a9c64011
AS
22268 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22269 match on sourcefile name, instead of directory name.
2a11c64d 22270
68ab8fc5
EZ
222712003-04-10 Elena Zannoni <ezannoni@redhat.com>
22272
d63a86f8 22273 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
22274 working directory name.
22275
5624293a
JB
222762003-04-09 Jim Blandy <jimb@redhat.com>
22277
22278 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22279 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22280 after an inferior function call, report the failure, but allow the
22281 test to continue.
22282
f1f02ee4
SC
222832003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22284
22285 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22286 with -DPROTOTYPES.
22287
6eb79af0
SC
222882003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22289
22290 * gdb.base/break.exp: Revert last patch.
22291
8dfb4cf0
SC
222922003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22293
22294 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22295 with -DPROTOTYPES.
22296
ed4c619a
AC
222972003-04-02 Andrew Cagney <cagney@redhat.com>
22298
22299 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22300 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22301 matching directories by the name breakpoint.
22302 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22303 Make "continue to marker1" consistent.
22304 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22305 message consistent.
22306 * lib/gdb.exp: Put "the program is no longer running", and "the
22307 program exited" in parenthesis.
22308 * lib/mi-support.exp: Ditto.
d63a86f8 22309
4e35d5f0 223102003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 22311
4e35d5f0
BR
22312 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22313
71900fe8
AC
223142003-03-29 Andrew Cagney <cagney@redhat.com>
22315
22316 * gdb.base/sizeof.c (main): Print the value of '\377'.
22317 * gdb.base/sizeof.exp: Check the sign of '\377'.
22318
c0655a16
MC
223192003-03-27 Michael Chastain <mec@shout.net>
22320
22321 * gdb.base/gdb1090.exp: New file.
22322 * gdb.base/gdb1090.cc: New file.
22323
5b2a3989
JB
223242003-03-27 J. Brobecker <brobecker@gnat.com>
22325
22326 * gdb.gdb/observer.exp: New regression test.
22327
79876890
MC
223282003-03-27 Michael Chastain <mec@shout.net>
22329
22330 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22331 * gdb.base/ptype.exp: Likewise.
22332
6eac95e3
CV
223332003-03-27 Corinna Vinschen <vinschen@redhat.com>
22334
22335 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22336
e8c71839
MC
223372003-03-26 Michael Chastain <mec@shout.net>
22338
22339 * gdb.base/ptype.exp: Actually use some typedef'd types.
22340
71b10041
SC
223412003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22342
22343 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22344 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22345
2512cf80
CV
223462003-03-20 Corinna Vinschen <vinschen@redhat.com>
22347
22348 * gdb.base/default.exp: Fix regular expression.
22349
0d195a4f
CV
223502003-03-20 Corinna Vinschen <vinschen@redhat.com>
22351
22352 * gdb.base/args.exp: Fix regular expression.
22353
8a2dbca8
CV
223542003-03-20 Corinna Vinschen <vinschen@redhat.com>
22355
22356 * gdb.base/help.exp: Allow Win32 child process.
22357
bf028682
CV
223582003-03-20 Corinna Vinschen <vinschen@redhat.com>
22359
22360 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22361 when stepping out of main().
22362
182dbe85
CV
223632003-03-20 Corinna Vinschen <vinschen@redhat.com>
22364
22365 * gdb.base/default.exp: Check for win32 specific message when calling
22366 "run" without executable.
22367
d67a6ba5
CV
223682003-03-20 Corinna Vinschen <vinschen@redhat.com>
22369
22370 * gdb.base/args.exp: Expect .exe in output.
22371
a955b5bb
CV
223722003-03-20 Corinna Vinschen <vinschen@redhat.com>
22373
22374 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22375 Cygwin native.
22376
bf6bad4b
AC
223772003-03-17 Andrew Cagney <cagney@redhat.com>
22378
22379 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
22380 vector registes.
22381 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22382 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22383
293e9a31
DC
223842003-03-17 David Carlton <carlton@math.stanford.edu>
22385
22386 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22387 test, for PR breakpoints/38.
22388 Call test_watchpoint_and_breakpoint.
22389 * gdb.base/watchpoint.c (func3): New function.
22390 (main): Call func3.
22391
5330f2db
DC
223922003-03-04 David Carlton <carlton@math.stanford.edu>
22393
22394 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22395 Garply<Garply<char> >:: garply".
22396 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22397 with respect to PR c++/1111; note also PR c++/1113.
22398 (test_template_breakpoints): KFAIL "constructor breakpoint" with
22399 respect to PR c++/1062.
22400 KFAIL "destructor breakpoint" with respect to PR c++/1112.
22401
6ece72da
DC
224022003-03-03 David Carlton <carlton@math.stanford.edu>
22403
22404 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22405 with respect to PR c++/57.
22406 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22407 c++/826.
22408 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22409 respect to PR c++/57.
22410
85ca1584
DC
224112003-03-03 David Carlton <carlton@math.stanford.edu>
22412
22413 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22414 respect to PR c++/33 into FAILs.
22415
98e9c5b8
MC
224162003-03-03 Michael Chastain <mec@shout.net>
22417
7bedbf27
MC
22418 * configure.in: Update copyright years.
22419
224202003-03-03 Michael Chastain <mec@shout.net>
22421
22422 * Makefile.in: Update copyright years.
98e9c5b8 22423
f683e100
DC
224242003-02-28 David Carlton <carlton@math.stanford.edu>
22425
22426 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22427 print class instead of struct and/or superfluous protection
22428 specifiers, as long as the resulting output is equivalent to the
22429 source code.
22430 Delete FIXME from end of messages on tests that don't need
22431 fixing.
22432
a9e0cf2c
DC
224332003-02-28 David Carlton <carlton@math.stanford.edu>
22434
22435 * gdb.c++/templates.exp (do_tests): Allow const in the two
22436 Foo<volatile char *>::foo tests.
22437
e8d359df
MS
224382003-02-27 Michael Snyder <msnyder@redhat.com>
22439
d63a86f8 22440 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
22441 will be consistant.
22442
0b71dc91
DC
224432003-02-26 David Carlton <carlton@math.stanford.edu>
22444
22445 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22446 char *>::foo" test with respect to PR c++/33. Create a new test
22447 which is identical to that one except that it doesn't put the
22448 space between the "char" and the "*"; KFAIL it, too.
22449
dd14ab43
DC
224502003-02-26 David Carlton <carlton@math.stanford.edu>
22451
22452 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22453 template types into either PASSes or KFAILs (corresponding to PR
22454 c++/57). Tweak indentation. Update copyright.
22455
1146c7f1
SC
224562003-02-23 Stephane Carrez <stcarrez@nerim.fr>
22457
22458 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22459
74641dfb
MC
224602003-02-13 Michael Chastain <mec@shout.net>
22461
22462 * gdb.base/exprs.exp: Remove i960 remnants.
22463 * gdb.base/funcargs.exp: Likewise.
22464 * gdb.base/list.exp: Likewise.
22465 * gdb.base/ptype.exp: Likewise.
22466
559cd2d0
DC
224672003-02-14 David Carlton <carlton@math.stanford.edu>
22468
22469 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22470 pEe->D::vg()" from XFAIL to KFAIL.
22471
c4f90d87
JM
224722003-02-13 Jason Molenda (jmolenda@apple.com)
22473
22474 * gdb.base/maint.exp: Update maint print statistics regexp to include
22475 new entries.
22476
cbc4d97c
MC
224772003-02-13 Michael Chastain <mec@shout.net>
22478
22479 * gdb.c++/inherit.exp: Remove call to get_debug_format.
22480
40f235b7
MC
224812003-02-12 Michael Chastain <mec@shout.net>
22482
22483 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22484 * gdb.c++/inherit.exp: Likewise.
22485 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22486 * gdb.c++/templates.exp: Likewise.
22487 * gdb.c++/virtfunc.exp: Likewise.
22488
c56716b0
JM
224892003-02-06 Jason Molenda (jason-cl@molenda.com)
22490
22491 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22492 why the code is written that way.
22493
070afcf8
MC
224942003-02-05 Michael Chastain <mec@shout.net>
22495
22496 * gdb.base/dump.exp: Add missing copyright line.
22497
5d0331e5
JM
224982003-02-05 Jason Molenda (jason-cl@molenda.com)
22499
f7ae6d3e 22500 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
22501 at the beginning so the breakpoint doesn't get set on the loop.
22502
92851186
MC
225032003-02-05 Michael Chastain <mec@shout.net>
22504
22505 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22506 output for configurations with gcc 2.95.3.
22507
cbf1e085
AC
225082003-02-05 Keith Seitz <keiths@redhat.com>
22509 Andrew Cagney <ac131313@redhat.com>
22510
22511 * gdb.mi/mi-cli.exp: New file.
d63a86f8 22512
29518e1e
MC
225132003-02-04 Michael Chastain <mec@shout.net>
22514
22515 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22516 Call perror and then continue.
22517
5af1d5f3
MC
225182003-02-03 Michael Chastain <mec@shout.net>
22519
22520 * gdb.c++/pr-1023.cc: New file.
22521 * gdb.c++/pr-1023.exp: New file.
22522
6b549786
JB
225232003-02-05 Jim Blandy <jimb@redhat.com>
22524
22525 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
22526 it's local to foobar. Check for it there, and check that it's not
22527 present in main.
22528 * gdb.c++/local.cc (marker2): New function.
22529 (foobar): Call marker1.
22530 (main): Call marker2 instead of marker1.
22531
67f16606
AC
225322003-02-04 Andrew Cagney <ac131313@redhat.com>
22533
22534 * gdb.disasm/mn10200.exp: Obsolete file.
22535 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
22536 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
22537 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
22538
1c5cb38e
DC
225392003-02-04 David Carlton <carlton@math.stanford.edu>
22540
22541 * gdb.c++/overload.exp: Test intToChar(1).
22542 * gdb.c++/overload.cc (intToChar): New.
22543 (main): Call intToChar.
22544
d1fe6965
DC
225452003-02-03 David Carlton <carlton@math.stanford.edu>
22546
22547 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
22548 'might_kfail' arg.
22549 KFAIL some of the continue_to_bp_overloaded calls, according to
22550 PR c++/1025.
22551
9ba61c5d
MC
225522003-02-01 Michael Chastain <mec@shout.net>
22553
22554 * gdb.base/advance.c (marker1): New marker function.
22555 * gdb.base/advance.exp: When the 'advance' command lands on the
22556 return breakpoint, it can legitimately stop on either the
22557 current line or the next line. Accommodate both outcomes.
22558 * gdb.base/until.exp: Likewise.
22559
e7494ffb
AC
225602003-02-02 Andrew Cagney <ac131313@redhat.com>
22561
22562 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
22563 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
22564 now a list, not a tuple.
22565 * gdb.mi/mi-var-display.exp: Ditto.
22566 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 22567
075559bc
AC
225682003-02-01 Andrew Cagney <ac131313@redhat.com>
22569
22570 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
22571 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
22572 stack backtraces.
22573 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 22574
2bd4c7b1
MK
225752003-02-01 Mark Kettenis <kettenis@gnu.org>
22576
22577 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22578 gdb.mi/mi1-pthreads.exp: Return instead of calling
22579 gdb_suppress_entire_file.
22580
eabd8992
MS
225812003-02-01 Mark Salter <msalter@redhat.com>
22582
22583 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
22584
71469e2f
MS
225852003-01-31 Mark Salter <msalter@redhat.com>
22586
22587 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
22588 Support empty arg.
22589
38a94d44
MC
225902003-01-30 Michael Chastain <mec@shout.net>
22591
22592 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
22593 This was a workaround for a UTF-8 bug in readline 4.3. The bug
22594 has been fixed in gdb/readline on 2003-01-09.
22595
19ea9e73
MS
225962003-01-29 Michael Snyder <msnyder@redhat.com>
22597
e8d359df
MS
22598 * gdb.base/maint.exp: Allow for leading underscore in symbol.
22599 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
22600 * gdb.base/args.exp: Skip if target does not support args passing.
22601
2307bd6a
DJ
226022003-01-22 Daniel Jacobowitz <drow@mvista.com>
22603
19ea9e73 22604 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
22605 gdb_test. Accept a list of expect arguments as the third
22606 parameter.
22607 (gdb_test): Use it.
22608
f2dd3617
EZ
226092003-01-20 Elena Zannoni <ezannoni@redhat.com>
22610
22611 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
22612 allow for different test tree configurations. Update some
22613 tescases accordingly.
22614 * gdb.arch/altivec-regs.exp: Ditto.
22615 * gdb.asm/asm-source.exp: Ditto.
22616 * gdb.base/advance.exp: Ditto.
22617 * gdb.base/display.exp: Ditto.
d63a86f8 22618 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
22619 * gdb.base/mips_pro.exp: Ditto.
22620 * gdb.base/overlays.exp: Ditto.
22621 * gdb.base/relocate.exp: Ditto.
22622 * gdb.base/setshow.exp: Ditto.
22623 * gdb.base/step-line.exp: Ditto.
22624 * gdb.base/step-test.exp: Ditto.
22625 * gdb.base/until.exp: Ditto.
22626 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
22627
c71cdefd
DC
226282003-01-17 David Carlton <carlton@math.stanford.edu>
22629
22630 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
22631 corresponding to PR c++/945.
22632 Update copyright.
22633
fdba05d7
DC
226342003-01-17 David Carlton <carlton@math.stanford.edu>
22635
22636 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
22637 corresponding to PR c++/68.
22638
226392003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
22640
22641 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
22642 (test_paddr_hairy_functions): Call print_addr_2_kfail for
22643 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
22644
c362c33a
EZ
226452003-01-15 Elena Zannoni <ezannoni@redhat.com>
22646
0fbc361c
EZ
22647 * gdb.base/break.exp: Fix change of default location, because of
22648 removal of until tests.
22649 * gdb.base/help.exp: Update test for new 'until' help message.
22650 Add test for help on 'advance'.
a9c64011 22651 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 22652
dabf8a35
MK
226532003-01-15 Mark Kettenis <kettenis@gnu.org>
22654
22655 * gdb.base/default.exp: Adapt "info float" test for recent changes
22656 to that command. Add test for "info vector".
22657 * gdb.base/float.exp: New file. Add test for "info float" that
22658 resembles the old test in gdb.base/default.exp.
22659
a1769aca
DC
226602003-01-15 David Carlton <carlton@math.stanford.edu>
22661
22662 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
22663
82025e13
EZ
226642003-01-15 Elena Zannoni <ezannoni@redhat.com>
22665
22666 * gdb.base/break.exp: Move the tests of until command from here...
22667 * gdb.base/until.exp: ... to here. New file. Add other tests.
22668 * gdb.base/advance.c: New file.
22669 * gdb.base/advance.exp: New file.
22670
8f9ab801
EZ
226712003-01-14 Elena Zannoni <ezannoni@redhat.com>
22672
a9c64011
AS
22673 * gdb.base/args.c: New file.
22674 * gdb.base/args.exp: New file.
8f9ab801 22675
9ae66589
DJ
226762003-01-14 Daniel Jacobowitz <drow@mvista.com>
22677
22678 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
22679
8d77e5c3
DJ
226802003-01-14 Daniel Jacobowitz <drow@mvista.com>
22681
22682 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
22683
12d2f0a1
DJ
226842003-01-14 Daniel Jacobowitz <drow@mvista.com>
22685
22686 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
22687 dates.
22688
6ca37014
DJ
226892003-01-13 Daniel Jacobowitz <drow@mvista.com>
22690
22691 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
22692
b0023472
DJ
226932003-01-13 Daniel Jacobowitz <drow@mvista.com>
22694
22695 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
22696 (ptype &*"foo").
22697 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
22698
607fbc54 226992003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
22700
22701 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
22702 * gdb.mi/mi1-console.exp: Likewise.
22703
607fbc54 227042003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
22705
22706 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
22707 * gdb.mi/mi1-console.exp: Likewise.
22708
a1fb14a2
DJ
227092003-01-13 Daniel Jacobowitz <drow@mvista.com>
22710
22711 * gdb.c++/overload.exp: Remove some fixed XFAILs.
22712
c4cf40b7
DJ
227132003-01-09 Daniel Jacobowitz <drow@mvista.com>
22714
22715 * gdb.base/detach.exp: New test.
22716
696d5a5b
DJ
227172003-01-09 Daniel Jacobowitz <drow@mvista.com>
22718
22719 * Makefile.in (ALL_SUBDIRS): New variable.
22720 (subdirs, clean, distclean): Use it.
22721 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
22722 regenerating Makefile, since it is generated from the top level.
22723 * gdb.asm/Makefile.in: Likewise.
22724 * gdb.base/Makefile.in: Likewise.
22725 * gdb.c++/Makefile.in: Likewise.
22726 * gdb.disasm/Makefile.in: Likewise.
22727 * gdb.java/Makefile.in: Likewise.
22728 * gdb.mi/Makefile.in: Likewise.
22729 * gdb.threads/Makefile.in: Likewise.
22730 * gdb.trace/Makefile.in: Likewise.
22731
754533e4
DC
227322003-01-09 David Carlton <carlton@math.stanford.edu>
22733
22734 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
22735 Add copyright year 2003.
22736
d8b3e9ee
MC
227372003-01-06 Michael Chastain <mec@shout.net>
22738
22739 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
22740 When selecting a thread, 'line' and 'file' are optional.
22741 * gdb.mi/mi1-pthreads.exp: Likewise.
22742
8e9e0fe6
AS
227432003-01-06 Andreas Schwab <schwab@suse.de>
22744
22745 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22746 failures.
22747
b5ab8ff3
DJ
227482003-01-04 Daniel Jacobowitz <drow@mvista.com>
22749
22750 Fix PR gdb/844
22751 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22752 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22753
22754 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
22755 instead of calling gdb_suppress_entire_file.
22756 * gdb.threads/print-threads.exp: Likewise.
22757 * gdb.threads/schedlock.exp: Likewise.
22758
22759 * gdb.threads/killed.exp: Return instead of calling
22760 gdb_suppress_entire_file.
22761 * gdb.threads/linux-dp.exp: Likewise.
22762 * gdb.threads/pthreads.exp: Likewise.
22763
1e698235
DJ
227642003-01-04 Daniel Jacobowitz <drow@mvista.com>
22765
22766 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22767 stabs.
22768 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22769 * gdb.base/whatis.exp: Always allow (void) after function names.
22770
147ff08c
DJ
227712003-01-04 Daniel Jacobowitz <drow@mvista.com>
22772
22773 * gdb.c++/casts.exp: Correct regexp.
22774
dc62bfc2
MK
227752003-01-04 Mark Kettenis <kettenis@gnu.org>
22776
22777 * configure.in: Call AC_CONFIG_HEADER. Don't call
22778 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22779 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
22780 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
22781 aforementioned directories in the AC_OUPUT call.
22782 * config.hin: New file.
22783 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22784 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22785 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22786 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22787 pass -I$objdir instead of -I$objdir/$subdir in compilation.
22788 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22789 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22790 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22791 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22792 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22793 gdb.threads/configure.in, gdb.threads/configure,
22794 gdb.threads/config.in, gdb.trace/configure.in,
22795 gdb.trace/configure: Removed.
22796
77afa639
MC
227972003-01-03 Michael Chastain <mec@shout.net>
22798
22799 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22800 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22801
7634bb6e
DJ
228022003-01-03 Daniel Jacobowitz <drow@mvista.com>
22803
22804 * gdb.base/store.exp: Fix regular expressions.
22805
b39c905e
MK
228062002-12-28 Mark Kettenis <kettenis@gnu.org>
22807
22808 * configure.in: Rewrite.
22809 * configure: Regenerated.
22810
0a8551dd
DC
228112003-01-03 David Carlton <carlton@math.stanford.edu>
22812
22813 * gdb.base/psymtab.exp: New file.
22814 * gdb.base/psymtab1.c: Ditto.
22815 * gdb.base/psymtab2.c: Ditto.
22816
c60b7188
AF
228172002-12-23 Adam Fedor <fedor@gnu.org>
22818
22819 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22820
ee73db83
DC
228212002-12-23 David Carlton <carlton@math.stanford.edu>
22822
22823 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22824 and current_directory initialization.
22825
d6c1774e
JB
228262002-12-22 Jim Blandy <jimb@redhat.com>
22827
f0a847b8
JB
22828 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22829 rather than as part of the output file name.
22830
d6c1774e
JB
22831 * gdb.base/attach.exp: There's no need to copy the test program to
22832 /tmp; that was only ever necessary on HP/UX, and this test is
22833 entirely disabled there anyway.
22834
f0708dbb
JB
228352002-12-21 Jim Blandy <jimb@redhat.com>
22836
4c2acfea
JB
22837 * gdb.c++/psmang.exp: Doc fix.
22838
f0708dbb
JB
22839 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22840 test.
22841
9579e000
DC
228422002-12-20 David Carlton <carlton@math.stanford.edu>
22843
22844 * gdb.c++/annota2.exp: KFAIL annotate-quit.
22845
d1810171
MC
228462002-12-18 Michael Chastain <mec@shout.net>
22847
22848 * gdb.c++/annota2.exp: Add copyright year 2002.
22849
76565097
DC
228502002-12-17 David Carlton <carlton@math.stanford.edu>
22851
22852 * gdb.c++/try_catch.cc: Add marker comments.
22853 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22854 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22855 * gdb.c++/m-static.cc: Ditto.
22856 * gdb.c++/m-static1.cc: Ditto.
22857 * gdb.c++/try_catch.cc: Ditto.
22858
da81390b
JJ
228592002-12-16 Jeff Johnston <jjohnstn@redhat.com>
22860
22861 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22862 to see whether we are using the new -environment-directory
22863 command which resets via -r or the old version of the command
22864 which may prompt the user. Part of fix for gdb/741.
22865
b304d130
AC
228662002-12-13 Andrew Cagney <ac131313@redhat.com>
22867
22868 * gdb.fortran/types.exp: Update obsolete comment.
22869 * gdb.fortran/exprs.exp: Ditto.
22870 * lib/gdb.exp: Delete obsolete code.
22871 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22872 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22873 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22874 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22875 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22876 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22877 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22878 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22879 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22880 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22881 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22882 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22883 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22884 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22885 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22886 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22887 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22888 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22889 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22890 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22891 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22892 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22893 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22894 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22895 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22896 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22897 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22898 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22899 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22900 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22901 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22902 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22903 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22904 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22905 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
22906 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
22907 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
22908
a23b6e6a
DC
229092002-12-11 David Carlton <carlton@math.stanford.edu>
22910
22911 * gdb.c++/m-data.exp: Add test for members that shadow global
22912 variables: see PR gdb/804.
22913 * gdb.c++/m-data.cc: Ditto.
22914
6604731b
DJ
229152002-12-10 Daniel Jacobowitz <drow@mvista.com>
22916
22917 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
22918
de46ecd7
DC
229192002-12-06 David Carlton <carlton@math.stanford.edu>
22920
22921 * gdb.base/store.c: Don't declare functions static.
22922
27e829d0
AC
229232002-12-04 Andrew Cagney <ac131313@redhat.com>
22924
22925 * gdb.base/store.exp, gdb.base/store.c: New files.
22926
92806416
DJ
229272002-12-03 Daniel Jacobowitz <drow@mvista.com>
22928
22929 * gdb.base/selftest.exp: Update for current gdb.
22930
3bcbaac5
DJ
229312002-12-03 Daniel Jacobowitz <drow@mvista.com>
22932
22933 * gdb.base/maint.exp: Only dump symbols from one source file
22934 or objfile.
22935
f4f00b1f
DJ
229362002-12-03 Daniel Jacobowitz <drow@mvista.com>
22937
22938 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
22939 function call.
22940
f1c8a949
JB
229412002-11-25 Jim Blandy <jimb@redhat.com>
22942
22943 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
22944 function appearing in error message.
22945
9e297a97
DJ
229462002-11-21 Daniel Jacobowitz <drow@mvista.com>
22947
22948 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
22949
1f312e79
JJ
229502002-11-08 Jeff Johnston <jjohnstn@redhat.com>
22951
d63a86f8
RM
22952 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
22953 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
22954 should be in mi console format. This is part of fix for PR gdb/604.
22955
83c31e7d
FN
229562002-09-18 Fernando Nasser <fnasser@redhat.com>
22957
22958 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
22959 which explicitly prints the zero offset as "+0".
22960
322b3f65
DJ
229612002-10-22 Daniel Jacobowitz <drow@mvista.com>
22962
22963 * gdb.threads/schedlock.c (args): Make unsigned.
22964
229652002-10-21 Daniel Jacobowitz <drow@mvista.com>
22966
22967 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
22968 numbers. Allow "foo2|selected stack frame".
22969 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
22970 * gdb.asm/asmsrc2.s: Likewise.
22971 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
22972 comments.
22973 * gdb.asm/mips.inc: New file.
22974
5e2fe5b8
AF
229752002-10-18 Adam Fedor <fedor@gnu.org>
22976
22977 * gdb.base/default.exp: Update expected output to include 'ObjC'.
22978 * gdb.base/help.exp: Likewise.
22979
abe1a5d0
KB
229802002-10-17 Kevin Buettner <kevinb@redhat.com>
22981
22982 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
22983 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
22984
10abb1d4
JB
229852002-10-02 Jim Blandy <jimb@redhat.com>
22986
22987 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
22988
1f609b42
AC
229892002-10-01 Andrew Cagney <ac131313@redhat.com>
22990
22991 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
22992 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
22993 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
22994 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
22995 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
22996 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
22997 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
22998
0aee02e4
AC
229992002-09-29 Andrew Cagney <ac131313@redhat.com>
23000
23001 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23002 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23003 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23004 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23005 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23006 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23007 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 23008
6fde09ad
KB
230092002-09-27 Kevin Buettner <kevinb@redhat.com>
23010
23011 * gdb.base/annota1.exp (info break): Make directory components of
23012 path optional since not all compilers emit this debug information.
23013
889bf7c5
PA
23014 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23015 step ends up stepping out of the function instead of stopping on
23016 the epilogue.
6fde09ad 23017
9e8aab75
KS
230182002-09-26 Keith Seitz <keiths@redhat.com>
23019
23020 * lib/insight-support.exp (gdbtk_start): Figure out where
23021 the insight executable is based on where gdb is. Use this
23022 executable to start insight instead of gdb.
23023
e36180d7
AC
230242002-09-25 Andrew Cagney <cagney@redhat.com>
23025
23026 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23027
9dd34b2b
AC
230282002-09-24 Andrew Cagney <ac131313@redhat.com>
23029
23030 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23031 test_isolated_complaints.
23032 (test_empty_complaint): New function.
23033 (test_empty_complaints): New function. Check no output when no
23034 complaints.
d63a86f8 23035
dea97812
KB
230362002-09-19 Jim Blandy <jimb@redhat.com>
23037
a9c64011 23038 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 23039
54951bd7
AC
230402002-09-19 Andrew Cagney <ac131313@redhat.com>
23041
23042 * gdb.gdb/complaints.exp: New file.
23043
dec43320
AC
230442002-09-18 Andrew Cagney <ac131313@redhat.com>
23045
23046 * gdb.base/maint.exp: Check `help maint internal-warning'.
23047
e70d6e3f
DC
230482002-09-18 David Carlton <carlton@math.stanford.edu>
23049
23050 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23051 numbers, and replace them by a single breakpoint after the
23052 constructors are all finished.
23053 Add test 4.
23054 * gdb.c++/m-static.cc: Add test 4.
23055 * gdb.c++/m-static.h: New file.
23056 * gdb.c++/m-static1.cc: New file.
23057
23058 * gdb.c++/printmethod.exp: New file.
23059 * gdb.c++/printmethod.cc: New file.
23060
23061 * gdb.c++/pr-574.exp: New file.
23062 * gdb.c++/pr-574.cc: New file.
23063
afb5c968
CV
230642002-09-18 Corinna Vinschen <vinschen@redhat.com>
23065
23066 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23067 embedded targets which never actually exit.
23068
31e45dee
FN
230692002-09-18 Fernando Nasser <fnasser@redhat.com>
23070
23071 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23072 "don't step after run" as unresolved or unsupported, instead of xfail.
23073
a283c5a1
CV
230742002-09-18 Corinna Vinschen <vinschen@redhat.com>
23075
23076 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23077 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23078 Add newline to expected string in "step out of main (status wrapper)"
23079 case.
23080
11350d2a
CV
230812002-09-18 Corinna Vinschen <vinschen@redhat.com>
23082
23083 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23084 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23085
0deec7d6
TT
230862002-09-17 Tom Tromey <tromey@redhat.com>
23087
23088 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23089 \000, not \0, in double-quoted string.
23090
b2b4a1b5
CV
230912002-09-14 Corinna Vinschen <vinschen@redhat.com>
23092
c9d37158 23093 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
23094 string after running the commands execution on breakpoint tests.
23095
1c56143a
CV
230962002-09-13 Corinna Vinschen <vinschen@redhat.com>
23097
23098 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23099
37f8da45
JB
231002002-09-12 Joel Brobecker <brobecker@gnat.com>
23101
23102 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23103
08b468e0
KS
231042002-09-10 Keith Seitz <keiths@redhat.com>
23105
23106 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23107 runto proc.
23108 (mi_run_to_main): Use mi_runto.
23109 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23110
dc360f58
KS
231112002-09-10 Keith Seitz <keiths@redhat.com>
23112
23113 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23114 regexp for stopping at main. Could have multiple event notifications.
23115 Don't assume that main was declared with no parameters.
23116 (mi_next): Use mi_step_to.
23117 (mi_step): Use mi_next_to.
23118
ce3abcfb
CV
231192002-09-09 Corinna Vinschen <vinschen@redhat.com>
23120
23121 * gdb.base/default.exp: Fix expected string in `info float' test.
23122
d1f5b980
BE
231232002-09-09 Ben Elliston <bje@redhat.com>
23124
23125 * config/mips.exp: Update comments.
23126 * config/mips-idt.exp: Likewise.
23127 * config/nind.exp: Likewise.
23128 * config/slite.exp: Likewise.
23129 * config/sparclet.exp: Likewise.
23130 * config/udi.exp: Likewise.
23131 * config/vx.exp: Likewise.
23132 * config/vxworks29k.exp: Likewise.
23133
2f71430b
JB
231342002-09-05 Jim Blandy <jimb@redhat.com>
23135
23136 * gdb.threads/killed.exp: Fix test failure message.
23137
7ddebc7e
KS
231382002-09-04 Keith Seitz <keiths@redhat.com>
23139
23140 * lib/mi-support.exp: Update copyright.
23141 (mi_gdb_test): Increase the priority of the expected pattern
23142 so that it matches gdb_test.
23143
0ae67eb3
KS
231442002-09-03 Keith Seitz <keiths@redhat.com>
23145
23146 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23147 Use integer comparison instead of string comparison for testing
23148 whether binary was built.
23149
38fc42c8
JB
231502002-09-03 Jim Blandy <jimb@redhat.com>
23151
23152 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23153
b6ff0e81
JB
231542002-08-29 Jim Blandy <jimb@redhat.com>
23155
23156 * gdb.threads/pthreads.exp: Move the portable thread compilation
23157 code into a function in lib/gdb.exp, and call that from here.
23158 * lib/gdb.exp (gdb_compile_pthreads): New function.
23159
07c98896
KS
231602002-08-29 Keith Seitz <keiths@redhat.com>
23161
23162 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23163 expect_out so that callers can get at it.
23164
0312286c
DJ
231652002-08-23 Daniel Jacobowitz <drow@mvista.com>
23166
23167 * gdb.threads/print-threads.c: New file.
23168 * gdb.threads/print-threads.exp: New file.
23169 * gdb.threads/schedlock.c: New file.
23170 * gdb.threads/schedlock.exp: New file.
23171
dd039bc4
EZ
231722002-08-22 Elena Zannoni <ezannoni@redhat.com>
23173
a9c64011
AS
23174 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23175 not altivec.c.
dd039bc4 23176
1f36144c
MK
231772002-08-17 Mark Kettenis <kettenis@gnu.org>
23178
23179 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23180 targets. The problem should be fixed now.
23181
16057ec7 231822002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
23183
23184 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23185 2002-07-24 change that removes final dots from error messages.
23186
3c1499ad
TT
231872002-08-13 Tom Tromey <tromey@redhat.com>
23188
23189 * gdb.base/readline.exp: New file.
23190
a20ce2c3
AC
231912002-08-01 Andrew Cagney <ac131313@redhat.com>
23192
23193 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23194 supress message.
23195
db034ac5
AC
231962002-08-01 Andrew Cagney <cagney@redhat.com>
23197
23198 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23199 CHILL_FOR_TARGET and CHILL_LIB.
23200 * configure.in (configdirs): Remove gdb.chill.
23201 * configure: Regenerate.
23202 * lib/gdb.exp: Obsolete references to chill.
23203 * gdb.fortran/types.exp: Ditto.
23204 * gdb.fortran/exprs.exp: Ditto.
23205
3e000b18
KB
232062002-07-30 Kevin Buettner <kevinb@redhat.com>
23207
23208 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23209 set Irix-specific compile and link flags.
23210
28f4966b
KB
232112002-07-29 Kevin Buettner <kevinb@redhat.com>
23212
23213 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23214 source files. The ``-o'' option doesn't work with the ``-E'' option
23215 when using the Irix compiler.
23216
46c0d5a6
DJ
232172002-07-19 Daniel Jacobowitz <drow@mvista.com>
23218
23219 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23220 Improve support for reusing an exec file. Copy exec file
23221 to target, and run gdbserver on the target instead of on the host.
23222
eecf4bed
JB
232232002-07-18 Jim Blandy <jimb@redhat.com>
23224
0f815cdf
JB
23225 * gdb.base/ending-run.exp: Don't expect to see the program end in
23226 some orderly fashion when we're running on a real stand-alone
23227 board.
23228
eecf4bed
JB
23229 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23230 targets that don't support interrupts.
23231
52d309e4
JB
232322002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23233
23234 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23235 systems.
23236 Move comments in expect statements to inside the actions, so that they
23237 don't get matched against.
23238
ff683d9e
MK
232392002-07-10 Mark Kettenis <kettenis@gnu.org>
23240
23241 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23242 function when asleep" test.
23243
b5356753
AC
232442002-07-10 Andrew Cagney <ac131313@redhat.com>
23245
23246 * gdb.base/page.exp: Rewrite to handle problems with very long
23247 `info set' output. Update copyright.
23248
6aa4d13a
AC
232492002-06-26 Andrew Cagney <ac131313@redhat.com>
23250
23251 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23252 gdb.threads-hp.
23253 * gdb.hp/configure: Regenerate.
23254 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23255 * gdb.hp/gdb.threads-hp/configure: Delete file.
23256 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23257
8cf8c2b8
AC
232582002-06-22 Andrew Cagney <ac131313@redhat.com>
23259
23260 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23261 setlocale, bindtextdomain and textdomain.
23262
6827a8f8
JB
232632002-06-11 Jim Blandy <jimb@redhat.com>
23264
919d772c
JB
23265 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23266 preprocessor macro information is present.
23267
6827a8f8
JB
23268 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23269 tests.
23270
c15b0d21
MS
232712002-06-06 Michael Snyder <msnyder@redhat.com>
23272
c5984d70
MS
23273 * gdb.base/overlays.exp: Record addresses of overlay
23274 functions in TCL variables rather than in GDB variables,
23275 to avoid having GDB convert them to pointers (with loss
23276 of information).
23277
d63a86f8 23278 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 23279 default linker script changes.
c15b0d21
MS
23280 * gdb.base/long_long.exp: Add check for sizeof (long double).
23281
be26fe0d
ML
232822002-06-06 Michal Ludvig <mludvig@suse.cz>
23283
23284 * gdb.asm/asm-source.exp: Add x86-64 target.
23285 * gdb.asm/x86_64.inc: New.
d63a86f8 23286
258093ca 232872002-05-30 Michael Chastain <mec@shout.net>
258093ca 23288
4b3153f1 23289 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
23290 * gdb.c++/m-static.cc: New file.
23291 * gdb.c++/m-static.exp: New file.
23292
241264c6
MS
232932002-05-28 Michael Snyder <msnyder@redhat.com>
23294
23295 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23296 precision.
23297
9bba8c8f 232982002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 23299
4b3153f1 23300 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
23301 * gdb.c++/m-data.cc: New file.
23302 * gdb.c++/m-data.exp: New file.
23303
233042002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 23305
4b3153f1 23306 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 23307 * gdb.c++/try_catch.cc: New file.
d63a86f8 23308 * gdb.c++/try_catch.exp: New file.
9bba8c8f 23309
def1b996
MC
233102002-05-27 Michael Chastain <mec@shout.net>
23311
23312 * gdb.c++/local.exp: Accept more nested types in output.
23313
522ba268
MC
233142002-05-26 Michael Chastain <mec@shout.net>
23315
23316 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23317
277254ba
MS
233182002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23319
23320 * lib/gdb.exp (gdb_wrapper_init): Just because
23321 gdb_wrapper_file exists, this does not mean that the file
23322 should not be rebuilt. That is what gdb_wrapper_initialized
23323 is for.
23324 (default_gdb_init): Reset gdb_wrapper_initialized.
23325
b61a8733
MS
233262002-05-23 Michael Snyder <msnyder@redhat.com>
23327
d63a86f8 23328 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
23329 the precision of the floating point test results.
23330 * gdb.base/call-rt-st.exp: Ditto.
23331
b61a8733
MS
23332 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23333 * gdb.base/call-rt-st.exp: Ditto.
23334
56f6e910
MC
233352002-05-19 Michael Chastain <mec@shout.net>
23336
23337 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23338
ad0b0016
EZ
233392002-05-19 Elena Zannoni <ezannoni@redhat.com>
23340
a9c64011
AS
23341 * configure.in (configdirs): Add gdb.arch.
23342 * configure: Regenerate.
ad0b0016 23343
f617d2b6
JB
233442002-05-17 Jim Blandy <jimb@redhat.com>
23345
23346 * gdb.base/completion.exp: Recognize the more detailed error
23347 messages produced by the macro expander's lexical analyzer.
23348
eac2a696
EZ
233492002-05-14 Elena Zannoni <ezannoni@redhat.com>
23350
a9c64011
AS
23351 * gdb.arch/altivec-abi.c: New file.
23352 * gdb.arch/altivec-abi.exp: New file.
23353 * gdb.arch/altivec-regs.c: New file.
23354 * gdb.arch/altivec-regs.exp: New file.
eac2a696 23355
2fdde8f8
DJ
233562002-05-14 Daniel Jacobowitz <drow@mvista.com>
23357
23358 * gdb.base/maint.exp (maint print type): Update for new type
23359 structure.
d63a86f8 23360
e31f1a7c
EZ
233612002-05-14 Elena Zannoni <ezannoni@redhat.com>
23362
23363 * gdb.arch: New directory.
23364 * gdb.arch/configure.in: New file.
23365 * gdb.arch/configure: New file.
23366 * gdb.arch/Makefile.in: New file.
23367
db589741
CV
233682002-05-13 Corinna Vinschen <vinschen@redhat.com>
23369
23370 * gdb.asm/asm-source.exp: Add v850 as supported target.
23371 * gdb.asm/v850.inc: New file.
23372
8ce2a7dc
DJ
233732002-05-13 Daniel Jacobowitz <drow@mvista.com>
23374
23375 * gdb.c++/annota2.exp (annotate-quit): Add comment.
23376
df763c7f
DJ
233772002-05-12 Daniel Jacobowitz <drow@mvista.com>
23378
23379 * gdb.base/break.exp: Check 'break "marker2"'.
23380
377daeed
MS
233812002-05-10 Michael Snyder <msnyder@redhat.com>
23382
23383 * gdb.base/long_long.exp: Fix typo.
23384
c4b7bc2b
JB
233852002-05-10 Jim Blandy <jimb@redhat.com>
23386
ecac9a4e
JB
23387 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
23388 a bug.
23389
c4b7bc2b
JB
23390 * gdb.base/printcmds.exp (test_integer_literals_rejected):
23391 Recognize more detailed error message produced by the macro
23392 expander's lexical analyzer.
23393 * lib/gdb.exp (test_print_reject): Same.
23394
e71019a1
MK
233952002-05-09 Mark Kettenis <kettenis@gnu.org>
23396
23397 * gdb.c++/method.exp: Fix typo.
23398
fedfc8e6
MS
233992002-05-08 Michael Snyder <msnyder@redhat.com>
23400
166a1957
MS
23401 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23402 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 23403 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
23404 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23405 Add iftarget clause for strongarm.
d63a86f8 23406
f1c47eb2
MS
234072002-05-06 Michael Snyder <msnyder@redhat.com>
23408
cb9a9d3e
MS
23409 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23410 (gdb_continue_to_end): Accept output from status wrapper.
23411 * gdb.base/ending-run.exp: Add case for output from status wrapper.
23412 Clean up fail messages to match pass messages.
23413
f1c47eb2
MS
23414 Enable the "needs_status_wrapper" testsuite feature.
23415 * lib/gdb.exp (gdb_wrapper_init): New procedure.
23416 (gdb_compile): Conditionally call gdb_wrapper_init.
23417 * gdb.base/a2-run.exp: Recognize output from status wrapper.
23418 * gdb.c++/method.exp: Recognize output from status wrapper.
23419
6079c749
BE
234202002-05-06 Ben Elliston <bje@redhat.com>
23421From Graydon Hoare <graydon@redhat.com>
23422
23423 * config/sid.exp: Include support for "rawsid" protocol.
23424
188baff3
JB
234252002-05-03 Jim Blandy <jimb@redhat.com>
23426
23427 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23428 * gdb.c++/hang3.C: New file.
23429
b9c07f0f
AC
234302002-05-04 Andrew Cagney <ac131313@redhat.com>
23431
23432 * gdb.base/default.exp: Remove obsolete code.
23433 * gdb.c++/misc.exp: Ditto. Update copyright.
23434 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
23435 * gdb.base/whatis.exp: Ditto. Update copyright.
23436 * gdb.base/scope.exp: Ditto. Update copyright.
23437 * gdb.base/ptype.exp: Ditto. Update copyright.
23438 * gdb.base/printcmds.exp: Ditto. Update copyright.
23439 * gdb.base/opaque.exp: Ditto. Update copyright.
23440 * gdb.base/list.exp: Ditto.
23441 * gdb.base/funcargs.exp: Ditto. Update copyright.
23442 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23443 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23444 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23445 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23446 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23447 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23448
5c7a0397
MS
234492002-05-02 Michael Snyder <msnyder@redhat.com>
23450
d6dcc264 23451 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
23452 * gdb.base/long_long.exp: Add xscale target.
23453 * gdb.base/default.exp: Add xscale target.
23454
eb7f1c48
JB
234552002-05-01 Jim Blandy <jimb@redhat.com>
23456
23457 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23458 gdb.c++/hang.exp: New test.
23459
a6befae8
FF
234602002-05-01 Fred Fish <fnf@redhat.com>
23461
23462 * gdb.base/completion.exp: Handle completions of "./Make" for
23463 more than one completion possibility, as is the case when we
23464 build and test in the source tree.
23465
0a310277
AG
234662002-04-29 Anthony Green <green@redhat.com>
23467
23468 * gdb.java/jmisc1.exp: New file.
23469 * gdb.java/jmisc2.exp: New file.
23470
6ff9af88
DJ
234712002-04-24 Daniel Jacobowitz <drow@mvista.com>
23472
23473 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23474
96b3d632
EZ
234752002-04-23 Elena Zannoni <ezannoni@redhat.com>
23476
23477 * gdb.base/help.exp: Change 'help status' to allow for target
23478 dependent output differences.
23479
5019bb54
MC
234802002-04-22 Michael Chastain <mec@shout.net>
23481
23482 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23483
a805a116
MC
234842002-04-22 Michael Chastain <mec@shout.net>
23485
23486 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23487
a1706bfd
DM
234882002-04-17 David S. Miller <davem@redhat.com>
23489
23490 * gdb.asm/sparc64.inc: New file.
23491 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23492
a73a20a2
EZ
234932002-04-19 Elena Zannoni <ezannoni@redhat.com>
23494
23495 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23496 instruction file directly into the build tree. Clean up at end of
23497 test.
23498
ba678339
DM
234992002-04-18 David S. Miller <davem@redhat.com>
23500
23501 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23502 handle 64-bit platforms correctly.
23503 * gdb.base/maint.exp: Likewise.
23504
b03399da
KB
235052002-04-18 Kevin Buettner <kevinb@redhat.com>
23506
23507 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23508 ``-fpic'' when compiling files comprising a shared library, but
23509 it does need additional linker flags in order to find shared
23510 libraries at run time.
23511
e2004992
KB
235122002-04-18 Kevin Buettner <kevinb@redhat.com>
23513
23514 * gdb.base/cvexpr.c (use): New function.
23515 (main): Invoke use() on all global variables to prevent
23516 some linkers from deleting these otherwise unused symbols.
23517
d8937120
MC
235182002-04-17 Michael Chastain <mec@shout.net>
23519From David S. Miller <davem@redhat.com>
23520
23521 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
23522 handle 64-bit platforms correctly.
23523
ffd61a58
MS
235242002-04-12 Michael Snyder <msnyder@redhat.com>
23525From Jim Blandy <jimb@redhat.com>
a9c64011 23526 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
23527 script can handle this instead.
23528 * gdb.base/bar.c (barx): Same.
23529 * gdb.base/baz.c (bazx): Same.
23530 * gdb.base/grbx.c (grbxx): Same.
23531
23532 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
23533 manager doesn't automatically unmap overlays unnecessarily.
23534
6b8426a6
MH
235352002-04-10 Martin M. Hunt <hunt@redhat.com>
23536
23537 * gdb.base/ending-run.exp: Fix pattern for Mips targets
23538 stepping out of main.
23539
34af4875
MC
235402002-04-09 Michael Chastain <mec@shout.net>
23541
23542 * gdb.c++/local.cc (main): Move call to marker1() inside nested
23543 scope so that the nested scope tests will make sense.
23544 * gdb.c++/local.exp: Write patterns that actually work with gcc
23545 (the HP patterns "were never known to work with gcc").
23546 Keep the old aCC patterns too.
23547
2d1676a0
DJ
235482002-04-09 Daniel Jacobowitz <drow@mvista.com>
23549
23550 * gdb.base/attach.exp: Correct target board test.
23551
3a63e3f9
MC
235522002-04-08 Michael Chastain <mec@shout.net>
23553
23554 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
23555 in a const method. Add some xfail and fail cases for configurations
23556 that do not emit the "const ...".
23557
f18dabd2
MC
235582002-04-07 Michael Chastain <mec@shout.net>
23559
23560 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
23561 Accept "A * const" and "const A * const" as type of "this".
23562 Fix spelling of getFunky throughout. Make messages uniform.
23563
0fcddd82
EZ
235642002-04-07 Elena Zannoni <ezannoni@redhat.com>
23565
a9c64011 23566 Work around for PR gdb/285:
0fcddd82
EZ
23567 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
23568
16a8534a
EZ
235692002-04-07 Elena Zannoni <ezannoni@redhat.com>
23570
23571 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
23572 instructions file at run time instead of configure time.
23573 Sometimes we run the test in a directory that is not the one we
23574 configured in.
23575 * gdb.asm/configure.in: Delete creation of symlink.
23576 * gdb.asm/configure: Regenerate.
23577
24181d81
JB
235782002-04-05 J. Brobecker <brobecker@gnat.com>
23579
23580 * gdb.gdb/xfullpath.exp: New test, to exercise the new
23581 xfullpath () function.
23582
7cdb7107
DJ
235832002-04-04 Daniel Jacobowitz <drow@mvista.com>
23584
23585 * gdb.asm/Makefile.in: Correct dependencies.
23586
23587 * gdb.asm/powerpc.inc: New file.
23588 * gdb.asm/asm-source.exp: Add PowerPC.
23589 * gdb.asm/configure.in: Likewise.
23590 * gdb.asm/configure: Regenerated.
23591
a7d17088
DJ
235922002-04-04 Daniel Jacobowitz <drow@mvista.com>
23593
23594 * gdb.base/relocate.exp: New file.
23595 * gdb.base/relocate.c: New file.
23596
cd721503
FF
235972002-04-04 Fred Fish <fnf@redhat.com>
23598
23599 * gdb.base/step-test.exp: Update comment regarding stopping in
23600 memcpy/bcopy calls inserted as part of the compiler runtime.
23601
b22ad7a7
MS
236022002-04-04 Michael Snyder <msnyder@redhat.com>
23603
23604 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
23605
5f279fa6
DJ
236062002-04-03 Daniel Jacobowitz <drow@mvista.com>
23607
23608 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
23609 (gdb_expect): Remove $notransfer hack.
23610
dd0fd3ce
DJ
236112002-04-02 Daniel Jacobowitz <drow@mvista.com>
23612
23613 * gdb.c++/classes.exp ("calling method for small class"): Match
23614 updated register output.
23615
1e50cda1
DJ
236162002-03-30 Daniel Jacobowitz <drow@mvista.com>
23617
23618 Fix PR gdb/452
23619 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
23620 when finished. Make gdb_file_cmd send "exec-file" when
23621 appropriate.
23622
24015922
DJ
236232002-03-30 Daniel Jacobowitz <drow@mvista.com>
23624
23625 * gdb.base/attach.exp: Remove extra setup_xfail.
23626
dd7dfd64
MS
236272002-03-26 Michael Snyder <msnyder@redhat.com>
23628
23629 * gdb.base/default.exp: Add tests for dump, append, and restore.
23630 * gdb.base/help.exp: Add tests for dump, append, and restore.
23631 * gdb.base/dump.exp: New file, test dump, append and restore.
23632 * gdb.base/dump.c: New file.
23633
48b2f8d7
MS
236342002-03-27 Michael Snyder <msnyder@redhat.com>
23635
d63a86f8 23636 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
23637 clean-ups in help messages.
23638
05b4d525
FF
236392002-03-26 Fred Fish <fnf@redhat.com>
23640
23641 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
23642 have debugging info for those functions and the compiler uses them
23643 internally to copy structs around.
23644
d7679631
FF
236452002-03-26 Fred Fish <fnf@redhat.com>
23646
23647 * gdb.base/list.exp: Revert the change made yesterday and add note
23648 about why we don't list the default lines for remote targets.
23649
523ac3f9
MS
236502002-03-25 Michael Snyder <msnyder@redhat.com>
23651
23652 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
23653
754b2b8d
FF
236542002-03-25 Fred Fish <fnf@redhat.com>
23655
23656 * gdb.base/list.exp: This test works on remote targets so remove
23657 the short circuit for remote targets. Update copyright.
23658
33c3e192
FF
236592002-03-25 Fred Fish <fnf@redhat.com>
23660
23661 * gdb.base/attach.exp: Fix logic error that was suppressing this
23662 test for all non hppa*-*-hpux* targets, instead of the hp target.
23663 Move comments closer to the suppression point. Also now need to
23664 check that we are running natively.
23665
d43e73ee
MS
236662002-03-22 Michael Snyder <msnyder@redhat.com>
23667
882c8f02
MS
23668 * gdb.base/default.exp: Add test for gcore. Update copyright.
23669 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 23670
04c12f60
FF
236712002-03-06 Fred Fish <fnf@redhat.com>
23672
23673 * gdb.base/funcargs.c: Remove extraneous ';' character.
23674 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
23675
b43df995
MC
236762002-03-04 Michael Chastain <mec@shout.net>
23677
23678 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
23679 accommodate gcc v3 function signature.
23680 * gdb.mi/mi0-var-cmd-exp: Ditto.
23681
92362027
AC
236822002-02-24 Andrew Cagney <ac131313@redhat.com>
23683
23684 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
23685 ``GNU/Linux'' or ``Linux kernel''
23686 * testsuite/gdb.threads/pthreads.c: Ditto.
23687
258ad32d
MC
236882002-02-24 Michael Chastain <mec@shout.net>
23689
23690 * gdb.threads/pthreads.c (thread1): Add a return statement.
23691 (thread2): Likewise.
23692 (foo): Likewise.
23693
04c3b3d4
MC
236942002-02-23 Michael Chastain <mec@shout.net>
23695
23696 * gdb.threads/linux-dp.c (philosopher): Add a return statement
23697 to placate gcc.
23698
5a2a0a20
MC
236992002-02-23 Michael Chastain <mec@shout.net>
23700
23701 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
23702 test "ptype bint". The test passes on all my stabs configurations.
23703
a640f7fc
JB
237042002-02-21 Jim Blandy <jimb@redhat.com>
23705
27924826
JB
23706 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
23707 filename at a time, and watch for the ones we want to see.
23708
a640f7fc
JB
23709 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
23710 types of pointers to prototyped functions.
23711
edcc8c75
AC
237122002-02-20 Andrew Cagney <ac131313@redhat.com>
23713
23714 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
23715 signed, unsigned and straight char.
23716 (padding_char, padding_short, padding_int, padding_long,
23717 padding_long_long, padding_float, padding_double,
23718 padding_long_double): New global variables.
23719 (fill, fill_structs): New functions.
23720
23721 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
23722 for correctly sized writes. Update copyright.
23723 (get_valueof): New procedure.
23724 (get_sizeof): Call get_valueof.
23725 (check_valueof): New procedure.
23726 (check_padding): New procedure.
23727
ac57ea44
MC
237282002-02-20 Michael Chastain <mec@shout.net>
23729
23730 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
23731 to setup_xfail. Document some of the remaining calls.
23732
7a10c941
MC
237332002-02-18 Michael Chastain <mec@shout.net>
23734
23735 * gdb.c++/userdef.exp: Update copyright year.
23736
fb8acdcc
DJ
237372002-02-18 Daniel Jacobowitz <drow@mvista.com>
23738
23739 * gdb.c++/userdef.exp: Test overloaded operators properly.
23740 Remove xfails.
23741
fda6ae12
MS
237422002-02-14 Michael Snyder <msnyder@redhat.com>
23743
23744 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23745
676a0442
DJ
237462002-02-14 Daniel Jacobowitz <drow@mvista.com>
23747
23748 * gdb.base/a2-run.exp: Check for a remote target properly.
23749 * gdb.base/annota1.exp: Likewise.
23750 * gdb.base/list.exp: Likewise.
23751 * gdb.base/reread.exp: Likewise.
23752 * gdb.base/scope.exp: Likewise.
23753 * gdb.base/shlib-call.exp: Likewise.
23754 * gdb.base/term.exp: Likewise.
23755 * gdb.c++/annota2.exp: Likewise.
23756
78b4f468
RE
237572002-02-13 Richard Earnshaw <rearnsha@arm.com>
23758
23759 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23760
9a81ba51
MC
237612002-02-10 Michael Chastain <mec@shout.net>
23762
23763 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23764 (call_after_alloca): Ditto.
23765
004af6c7
DJ
237662002-02-10 Daniel Jacobowitz <drow@mvista.com>
23767
23768 * gdb.base/ending-run.exp: Guard "cont" test with
23769 gdb_skip_stdio_test.
23770
37225f62
JB
237712002-02-06 Jim Blandy <jimb@redhat.com>
23772
23773 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23774 from here...
23775 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23776 To here. Disable this test on non-HP platforms. Add big comment.
23777
fe6fdd96
MS
237782002-02-04 Michael Snyder <msnyder@redhat.com>
23779
23780 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
23781 other than d10v and m32r.
23782
036fad3f
RE
237832002-02-02 Richard Earnshaw <rearnsha@arm.com>
23784
23785 * gdb.base/default.exp: Rewrite test patterns to reduce time
23786 taken to match them.
23787
7148ab62
DJ
237882002-01-30 Daniel Jacobowitz <drow@mvista.com>
23789
23790 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23791 Allow a start function above main.
23792 * gdb.threads/linux-dp.exp: Fix copyright date.
23793
396cc255
DJ
237942002-01-30 Daniel Jacobowitz <drow@mvista.com>
23795
a9c64011
AS
23796 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23797 (check_philosopher_stack): Check for manager thread before checking
23798 for a just-starting thread.
396cc255 23799
f038d31b
DJ
238002002-01-30 Daniel Jacobowitz <drow@mvista.com>
23801
23802 From Neil Booth <neil@daikokuya.demon.co.uk>:
23803 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23804 warnings.
23805
b3ff9d9a
FF
238062002-01-21 Fred Fish <fnf@redhat.com>
23807
23808 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23809 not caller.
23810
39ad761d
JB
238112002-01-21 Jim Blandy <jimb@redhat.com>
23812
23813 * gdb.base/reread.exp: Check that GDB properly re-reads the
23814 executable file when it changes while no inferior is running.
23815
aaf320fa
FF
238162002-01-21 Fred Fish <fnf@redhat.com>
23817
a9c64011
AS
23818 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23819 optionally accept the "shlib events" variation.
aaf320fa 23820
808a31f5
JB
238212002-01-21 Jim Blandy <jimb@redhat.com>
23822
23823 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23824 call `fflush' after every `printf', so that the output is produced
23825 at predictable points, regardless of whatever buffering does (or
23826 doesn't) take place.
23827 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23828 at different points.
23829
4420d5e2
DJ
238302002-01-20 Daniel Jacobowitz <drow@mvista.com>
23831
23832 * gdb.c++/inherit.exp: Update copyright years.
23833 * gdb.c++/method.exp: Likewise.
23834
3e36a0f4
DJ
238352002-01-20 Daniel Jacobowitz <drow@mvista.com>
23836
23837 * gdb.c++/classes.exp: Update for improved v3 support and skipping
23838 artificial methods/arguments.
23839 * gdb.c++/derivation.exp: Likewise.
23840 * gdb.c++/inherit.exp: Likewise.
23841 * gdb.c++/method.exp: Likewise.
23842 * gdb.c++/virtfunc.exp: Likewise.
23843
b4ceaee6
AC
238442002-01-18 Andrew Cagney <ac131313@redhat.com>
23845
23846 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23847 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23848 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23849 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23850 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23851 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23852
ecace851
JB
238532002-01-17 Jim Blandy <jimb@redhat.com>
23854
23855 * gdb.asm/asm-source.exp (info symbol): Take another shot at
23856 anchoring the pattern matching the entry point symbol's name.
23857
375fc983
AC
238582002-01-17 Andrew Cagney <ac131313@redhat.com>
23859
23860 * gdb.base/maint.exp: Update ``maint internal-error'' to match
23861 continue/quit query. Update copyright.
23862
fe6fdd96
MS
238632002-01-14 Michael Snyder <msnyder@redhat.com>
23864
23865 * gdb.base/gcore.exp: Remove extra debugging output.
23866
e017c81f
DJ
238672002-01-13 Daniel Jacobowitz <drow@mvista.com>
23868
23869 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23870 for slightly dubious v2 mangled string.
23871
37ab3bf8
DJ
238722002-01-13 Daniel Jacobowitz <drow@mvista.com>
23873
23874 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23875
1bc05c3a 238762002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 23877
1bc05c3a 23878 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 23879
1bc05c3a
JM
23880 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23881 constructors.
23882 * gdb.c++/derivation.exp: Likewise.
23883 * gdb.c++/templates.exp: Likewise.
23884 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 23885
1bc05c3a
JM
238862002-01-10 Michael Snyder <msnyder@redhat.com>
23887
23888 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 23889
a911c360
MS
238902002-01-08 Michael Snyder <msnyder@redhat.com>
23891
23892 * gdb.base/gcore.exp: New test for generate-core-file command.
23893 * gdb.base/gcore.c: Testcase for above.
23894 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23895
ea2119ec
JM
238962002-01-08 Jason Merrill <jason@redhat.com>
23897
23898 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23899
68203136
FF
239002002-01-07 Fred Fish <fnf@redhat.com>
23901
23902 * gdb.c++/overload.exp: Remove unconditional xfails for:
23903 print foo_instance1.overloadargs(1)
23904 print foo_instance1.overloadargs(1, 2)
23905 print foo_instance1.overloadargs(1, 2, 3)
23906 print foo_instance1.overloadargs(1, 2, 3, 4)
23907 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
23908 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
23909 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
23910 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
23911 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
23912 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
23913 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
23914 print foo_instance1.overload1arg()
23915 print foo_instance1.overload1arg((char)arg2)
23916 print foo_instance1.overload1arg((signed char)arg3)
23917 print foo_instance1.overload1arg((unsigned char)arg4)
23918 print foo_instance1.overload1arg((int)arg7)
23919 print foo_instance1.overload1arg((unsigned int)arg8)
23920 print foo_instance1.overload1arg((float)arg11)
23921 print foo_instance1.overload1arg((double)arg12)
d63a86f8 23922
21b9b5b1
MS
239232002-01-07 Michael Snyder <msnyder@redhat.com>
23924
23925 * gdb.base/huge.exp: New test. Print a very large target data object.
23926 (skip_huge_test): New test variable. Define if you want to skip this
23927 test. The test reads an 8 megabyte data object from the target, so it
23928 might be very time consuming on remote targets with a slow connection.
23929 * gdb.base/huge.c: New file. Test case for above.
23930
725f922e
FF
239312002-01-07 Fred Fish <fnf@redhat.com>
23932
23933 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
23934 g_instance.bfoo, and g_instance.cfoo.
23935
889bf7c5 239362002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 23937
889bf7c5
PA
23938 * gdb.base/break.c (multi_line_if_conditional): New function.
23939 (multi_ilne_while_conditional): Likewise.
23940 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
23941 IF or WHILE condition puts the breakpoint at the start of
23942 the condition.
f286b2c3 23943
634d57ec
JL
23944 * gdb.base/selftest.exp (backtrace through signal handler): Remove
23945 hppa*-*-hpux* expected failure.
23946 * gdb.base/structs.exp (do_function_calls): Similarly.
23947
23948 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
23949 watchpoints.
23950
9fbfe2dc
AC
239512002-01-06 Andrew Cagney <ac131313@redhat.com>
23952
23953 Fix PR gdb/66.
23954 * gdb.base/structs.exp: Replace skip for a29k with skip for
23955 gdb,cannot_call_functions.
23956 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
23957 * gdb.base/callfuncs.exp: Ditto.
23958 * gdb.base/call-rt-st.exp: Ditto.
23959 * gdb.base/call-strs.exp: Ditto.
23960 * gdb.base/callfwmall.exp: Ditto.
23961 * gdb.base/scope.exp: Obsolete xfail a29k.
23962 * gdb.c++/misc.exp: Ditto.
23963 * gdb.c++/cplusfuncs.exp: Ditto.
23964 * gdb.base/ptype.exp: Ditto.
23965 * gdb.base/printcmds.exp: Ditto.
23966 * gdb.base/opaque.exp: Ditto.
23967 * gdb.base/list.exp: Ditto.
23968 * gdb.base/funcargs.exp: Ditto.
23969 * gdb.base/default.exp: Ditto.
23970
8ddad156
MS
239712002-01-04 Michael Snyder <msnyder@redhat.com>
23972
ca4976a6 23973 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
23974 * gdb.base/maint.exp: Add tests for maint info sections options.
23975
1b074332
JL
23976Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
23977
23978 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
23979
7d159115
CV
239802001-12-20 Corinna Vinschen <vinschen@redhat.com>
23981
23982 * gdb.asm/arm.inc: New file.
23983 * gdb.asm/asm-source.exp: Add arm targets.
23984 * gdb.asm/configure.in: Ditto.
23985 * gdb.asm/configure: Recreated from configure.in.
23986
8fb87725
JL
23987Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
23988
afabe08c
JL
23989 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
23990 with HP's compiler.
23991 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
23992 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
23993 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
23994 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
23995
23996 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
23997 either HP's compilers or GCC.
23998
db521deb
JL
23999 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24000 a SIGBUS or SIGSEGV.
24001
24002 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24003
24004 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24005 can be compiled with either HP's compiler or GCC.
24006
cfa88ab7
JL
24007 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24008 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24009 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24010
ca344dff
JL
24011 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24012 to match current gdb output. Update due to using auto-solib-limit
24013 for limiting instead of overloading auto-solib-add.
24014 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24015 test program.
24016
3f3c6e55 24017 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
24018 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24019 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24020 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24021 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24022 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24023 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24024 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24025 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24026 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24027 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24028 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24029 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 24030
8fb87725
JL
24031 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24032 a SIGTRAP to the inferior.
24033
cf599fa7
CV
240342001-12-19 Corinna Vinschen <vinschen@redhat.com>
24035
24036 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24037 Substitute call to target_link by call to gdb_compile.
24038
2cd045cd
JL
24039Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24040
a9c64011
AS
24041 * gdb.base/break.exp: Fix HP specific search string when testing
24042 backtracing in a called function.
2cd045cd 24043
a9c64011
AS
24044 * gdb.base/constvars.exp: Only set lang to C++ if we're
24045 compiling the test with HP's compilers.
24046 * gdb.base/volatile.exp: Similarly.
2cd045cd 24047
99ebe9ac
JB
240482001-12-19 Jim Blandy <jimb@redhat.com>
24049
24050 * gdb.base/printcmds.exp: Expect the null character to be printed
24051 as '\0', and the '\013' to be printed as '\v'.
24052 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24053 * gdb.base/setvar.exp: Same.
24054
b9891b29
JB
240552001-12-17 Jim Blandy <jimb@redhat.com>
24056
0eba65ab
JB
24057 * gdb.base/completion.exp: Rather than completing very long
24058 filenames, which can make the readline library produce output we
24059 don't recognize, cd to the directory first, and then complete
24060 using nice, short relative paths.
24061
6970b5b1
JB
24062 * gdb.base/completion.exp: On some systems, there is, in fact, a
24063 variable named `b' in scope, since GDB treats all static
a9c64011
AS
24064 variables as being in scope. So use `no_var_named_this'
24065 instead of `b'.
6970b5b1 24066
b9891b29 24067 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 24068 can't find the core file's registers as a failure.
b9891b29 24069
e6ccd35f
JSC
240702001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24071
a9c64011
AS
24072 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24073 test expect string more specific.
e6ccd35f 24074
105ba819
CV
240752001-12-13 Corinna Vinschen <vinschen@redhat.com>
24076
24077 * gdb.asm/asm-source.exp: Add support for xstormy16.
24078 * gdb.asm/configure.in: Ditto.
24079 * gdb.asm/configure: Rebuild.
24080 * gdb.asm/xstormy16.inc: New file.
24081
e9e79dd9
FF
240822001-12-10 Fred Fish <fnf@redhat.com>
24083
24084 * gdb.base/maint.exp: Update to match changes in type dumping code.
24085
347dc97d
JB
240862001-12-10 Jim Blandy <jimb@redhat.com>
24087
24088 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
24089 matching the entry point symbol's name at the beginning of the
24090 line.
347dc97d 24091
5178b9d6
DJ
240922001-12-07 Daniel Jacobowitz <drow@mvista.com>
24093
24094 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24095 gdb.c++/inherit.exp, gdb.c++/method.exp,
24096 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24097 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24098 and class layout support.
24099
af890c52
DJ
241002001-12-07 Daniel Jacobowitz <drow@mvista.com>
24101
24102 * gdb.c++/classes.exp: Add test for static member function.
24103 * gdb.c++/misc.cc: Add class with static member function.
24104
7a345fb3
JB
241052001-12-07 Jim Blandy <jimb@redhat.com>
24106
f2e54a80 24107 If GDB says it can't find the struct the function returned, report
8032bf31
JB
24108 those tests as `unsupported'.
24109 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24110 Rewrite subsequent tests to use it.
24111
24112 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
24113 those tests as `unsupported'.
24114 * gdb.base/structs.exp (call_struct_func): New function.
24115 (do_function_calls): Use call_struct_func to call the functions
24116 returning structs.
24117
0bc69509
JB
24118 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24119 whether functions are prototyped or not, so we can't possibly pass
24120 arguments to t_float_values2 properly.
24121
7a345fb3
JB
24122 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24123 value of `timeout' for targets other than the mips*tx39-*.
24124
edb6ede1
MS
241252001-12-06 Michael Snyder <msnyder@redhat.com>
24126
d63a86f8 24127 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
24128 and detect whether the start symbol has a leading underscore.
24129
2d842f13
JB
241302001-12-04 Jim Blandy <jimb@redhat.com>
24131
24132 * gdb.base/completion.exp: Clarify indentation.
24133
68550daf
JB
241342001-12-03 Jim Blandy <jimb@redhat.com>
24135
24136 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24137 variables on the S/390, not `.word'.
24138
cd5195a8
JB
241392001-11-30 Jim Blandy <jimb@redhat.com>
24140
24141 Add assembly-source tests for s390-ibm-linux.
24142 * gdb.asm/s390.inc: New file.
24143 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24144 the S/390 architecture.
a9c64011 24145 * gdb.asm/configure: Regenerated.
cd5195a8 24146
ca9efc90
MS
241472001-11-30 Michael Snyder <msnyder@redhat.com>
24148
24149 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24150 next, info source, info sources, info line, global and static
24151 variables, and static functions.
24152 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24153 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24154 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24155 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24156 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24157 (gdbasm_leave): Restore frame pointer.
24158 (gdbasm_startup): Copy stack set-up from crt0.S.
24159
d0e66976
FN
241602001-11-26 Fernando Nasser <fnasser@redhat.com>
24161
24162 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24163 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24164 to a local (non-static) variable. Copy tstruct.a to a static buffer
24165 and return a pointer to that buffer.
24166 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24167
e2334072
MK
241682001-11-24 Mark Kettenis <kettenis@gnu.org>
24169
24170 * gdb.asm/configure.in: Fix recognition of ix86 target.
24171 * gdb.asm/configure: Regenerate.
24172
756caa3d
MS
241732001-11-21 Michael Snyder <msnyder@redhat.com>
24174
24175 * gdb.asm/sparc.inc: New file.
24176 * gdb.asm/asm-source.exp: Recognize sparc target.
24177 * gdb.asm/configure.in: Recognize sparc target.
24178 * gdb.asm/configure: Regenerate.
d63a86f8 24179
9a4d72d5
MS
241802001-11-21 Michael Snyder <msnyder@redhat.com>
24181
24182 * gdb.asm/m32r.inc: New file.
24183 * gdb.asm/asm-source.exp: Recognize m32r target.
24184 * gdb.asm/configure.in: Recognize m32r target.
24185 * gdb.asm/configure: Regenerate.
24186
a773d1cd
MS
241872001-11-20 Michael Snyder <msnyder@redhat.com>
24188
017ac23d
MS
24189 * gdb.asm/i386.inc: New file.
24190 * gdb.asm/asm-source.exp: Recognize ix86 target.
24191 * gdb.asm/configure.in: Recognize ix86 target.
24192 * gdb.asm/configure: Regenerate.
24193
a773d1cd
MS
24194 * gdb.c++/namespace.exp: Fix quotes in output messages.
24195
bb632afb
MS
241962001-11-14 Michael Snyder <msnyder@redhat.com>
24197
25d559ca 24198 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
24199 qualifier in a type cast expression, to designate an address
24200 in the instruction space (Harvard architecture).
24201
4749e309
MS
242022001-11-13 Michael Snyder <msnyder@redhat.com>
24203
24204 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24205 Tests for expressions using 'const' and 'volatile'.
24206
25050984
CV
242072001-11-13 Corinna Vinschen <vinschen@redhat.com>
24208
24209 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24210
1902c51f
DJ
242112001-11-12 Daniel Jacobowitz <drow@mvista.com>
24212
24213 * lib/mi-support.exp (mi_run_to_helper): Move comments
24214 outside of gdb_expect.
24215
dcf95b47
DJ
242162001-11-11 Daniel Jacobowitz <drow@mvista.com>
24217
24218 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24219 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24220 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24221 mi0_run_to): New functions.
24222 * gdb.mi/mi-simplerun.exp: Use them.
24223 * gdb.mi/mi0-simplerun.exp: Likewise.
24224 * gdb.mi/mi-var-cmd.exp: Likewise.
24225 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 24226
45b074e1
AC
242272001-11-10 Andrew Cagney <ac131313@redhat.com>
24228
24229 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24230 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24231
bf50d346
AC
242322001-11-09 Andrew Cagney <ac131313@redhat.com>
24233
24234 * gdb.base/restore.exp: Include $expected value in restored test
24235 message.
24236
9383332c
AC
242372001-11-09 Andrew Cagney <ac131313@redhat.com>
24238
24239 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24240 implemented.
24241
db62520a
MS
242422001-11-08 Michael Snyder <msnyder@redhat.com>
24243
24244 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24245 Add pass/fail message for stop at breakpoint in call dummy function.
24246
b5703437
MS
242472001-11-07 Michael Snyder <msnyder@redhat.com>
24248
d63a86f8
RM
24249 * gdb.c++/templates.exp (test_template_breakpoints):
24250 If we get an overload menu, but it does not match what
760f6330 24251 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
24252 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24253 making the whitespace optional. Argument for "new" may be
24254 "unsigned" as well as "unsigned int/long".
d63a86f8 24255 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
24256 making the whitespace optional. Also replace "(void) with
24257 "((void|)), making the keyword "void" optional.
d63a86f8 24258 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
24259 making the whitespace optional. Also replace "(void) with
24260 "((void|)), making the keyword "void" optional.
3bf40917
MS
24261 * gdb.base/callfuncs.c (t_float_values): This function must
24262 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 24263 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
24264 can be tested against both cases. Usually one case involves
24265 promotion of float to double, while the other does not.
24266 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
24267 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24268 includes a stack frame for "start".
24269
c8ab4e6d
JB
242702001-11-05 Jim Blandy <jimb@redhat.com>
24271
24272 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24273 pointers are 32 bits long, and that offsets of relocs are always
24274 stored in the data (REL-style), and not in the reloc entry itself
24275 (RELA-style).
24276 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24277 stabs.
24278
3f08ced9
MS
242792001-11-01 Michael Snyder <msnyder@redhat.com>
24280
24281 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24282 and regular expression operators by using quoting.
24283
cbfa24cd
MS
242842001-10-31 Michael Snyder <msnyder@redhat.com>
24285
24286 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24287 depending on what the symbol table contains.
24288 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24289 the output of the ptype command. Similarly, accept both "const &"
24290 and "const&".
24291
aaa68313
CV
242922001-10-31 Corinna Vinschen <vinschen@redhat.com>
24293
24294 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24295 symbol `STORAGE' to allow to choose the storage class of
24296 the local datastructures.
24297 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24298 compiler directive.
24299
91740388
MS
243002001-10-30 Michael Snyder <msnyder@redhat.com>
24301
24302 * gdb.base/jump.exp: Allow it to run for all targets.
24303
1b7c05e7
CV
243042001-10-29 Corinna Vinschen <vinschen@redhat.com>
24305
24306 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24307 with new double_array size.
24308 (main): Change storage class of all local variables to static.
24309 Reduce size of double_array to 9.
24310 * gdb.base/call-ar-st.exp: Increase timeout value.
24311 Change expected output for double array to match new size in
24312 call-ar-st.c.
24313
36a22261
CV
243142001-10-29 Corinna Vinschen <vinschen@redhat.com>
24315
24316 * gdb.base/ending-run.exp: Create identical output when passing
24317 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 24318 Stormy16 target.
36a22261 24319
92b8ae91
MK
243202001-10-28 Mark Kettenis <kettenis@gnu.org>
24321
24322 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24323 that we catch the expected failure under Linux/x86.
24324
cb135b83
OF
243252001-10-29 Orjan Friberg <orjanf@axis.com>
24326
24327 * gdb.base/setvar.exp: Escape curly braces.
24328 * gdb.stabs/weird.exp: Ditto.
24329
6884aa54
DJ
243302001-10-27 Daniel Jacobowitz <drow@mvista.com>
24331
24332 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24333 * gdm.mi/mi0-hack-cli.exp: Likewise.
24334
0398c9aa
AC
243352001-10-25 Andrew Cagney <ac131313@redhat.com>
24336
24337 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24338 messages.
24339
d20bf2e8
AC
243402001-10-21 Andrew Cagney <ac131313@redhat.com>
24341
24342 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24343 checking MI enabled.
24344
03dd63aa
CV
243452001-10-09 Corinna Vinschen <vinschen@redhat.com>
24346
24347 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24348
1d9d99f3
FCE
243492001-10-04 Frank Ch. Eigler <fche@redhat.com>
24350
24351 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24352 if gdb child process crashes, just signal an error.
24353
838ae6c4
JB
243542001-10-02 Jim Blandy <jimb@redhat.com>
24355
24356 * lib/gdb.exp (test_xfail_format): Simplify.
24357
24358 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24359 front of the variable name `format'. Simplify `if'.
24360
8f0cbc1c
DJ
243612001-10-01 Daniel Jacobowitz <drow@mvista.com>
24362
24363 * gdb.threads/pthreads.exp: Wait for output and delay
24364 before sending ^C.
24365
1f08dafd
DJ
243662001-10-01 Daniel Jacobowitz <drow@mvista.com>
24367
24368 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
24369 some incorrect output instead of timing out.
24370 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
24371
674f90ff
CV
243722001-09-28 Corinna Vinschen <vinschen@redhat.com>
24373
24374 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24375 check to allow additional `int'.
24376
9b284272
DJ
243772001-09-27 Daniel Jacobowitz <drow@mvista.com>
24378
24379 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24380 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24381
b55a4771
MS
243822001-09-27 Michael Snyder <msnyder@redhat.com>
24383
24384 * lib/gdb.exp (test_debug_format): New proc.
24385 (setup_xfail_format): Use new proc test_debug_format.
24386 * gdb.base/constvars.exp (local_compiler_xfail_check): New
24387 proc; use new service proc test_debug_format.
24388 Replace all other "gcc_compiled" tests with this test.
24389 * gdb.base/volatile.exp (local_compiler_xfail_check): New
24390 proc; use new service proc test_debug_format.
24391 Replace all other "gcc_compiled" tests with this test.
24392
243932001-09-27 Michael Snyder <msnyder@redhat.com>
24394
24395 * gdb.base/cvexpr.exp: New file.
24396 * gdb.base/cvexpr.c: New file
24397 Test for expressions using const and volatile keywords.
24398
4e6667ac
CV
243992001-09-26 Corinna Vinschen <vinschen@redhat.com>
24400
24401 * gdb.base/constvars.exp: Check for different orders of keywords
24402 and additional "int" strings in output.
24403
4f337972
AC
244042001-09-22 Andrew Cagney <ac131313@redhat.com>
24405
24406 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24407 responses from "help maint".
24408
2015650d
FCE
244092001-09-19 Frank Ch. Eigler <fche@redhat.com>
24410
24411 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24412 to localhost:NNN instead of :NNN, in case Xvfb is listening
24413 only on TCP.
24414
f3bcedc1
CV
244152001-09-19 Corinna Vinschen <vinschen@redhat.com>
24416
24417 * gdb.base/recurse.exp: When checking leaving the watchpoint
24418 scope, recognize when gdb is in function's epilogue and pass.
24419
6b819c92
KS
244202001-09-18 Keith Seitz <keiths@redhat.com>
24421
24422 * lib/insight-support.exp (_gdbtk_export_target_info): Add
24423 support for running tests against sid targets.
24424 (gdbtk_done): Ditto.
24425
a10c9419
CV
244262001-09-18 Corinna Vinschen <vinschen@redhat.com>
24427
24428 * gdb.base/ending-run.c (main): Set stdout buffersize
24429 to the same reasonable value for any target.
24430 * gdb.base/ending-run.exp: Add a regular expression
24431 to make testsuite happy on Sanyo Stormy16 target.
24432
739d0d99
CV
244332001-09-17 Corinna Vinschen <vinschen@redhat.com>
24434
24435 * gdb.base/display.c (do_loops): Add float variable `f'.
24436 Increment f in loop.
24437 * gdb.base/display.exp: Increment timeout by 60 seconds.
24438 Change float display test to use variable `f'.
24439
1b8947f0
JB
244402001-09-17 Jim Blandy <jimb@redhat.com>
24441
24442 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24443 overflowing the limited breakpoint tables on some ROM monitors
24444 (like the ROM68K).
24445
9890ac81
FCE
244462001-09-15 Frank Ch. Eigler <fche@redhat.com>
24447
24448 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24449 the "-ac" (disable access control) flag.
24450
6db765ea
JH
244512001-08-30 Jeff Holcomb <jeffh@redhat.com>
24452
24453 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24454 ints.
24455
4c32cc04
KS
244562001-08-30 Keith Seitz <keiths@redhat.com>
24457
24458 * lib/gdb.exp: Move all insight-related functionality into
24459 separate file.
24460 * lib/insight-support.exp: New file.
24461
8d6e6f81
FCE
244622001-08-29 Frank Ch. Eigler <fche@redhat.com>
24463
24464 * config/sid.exp (sid_start): Never set sid verbosity; disable
24465 expect_background {} that consumed its stdout; tolerate </dev/null.
24466 Attempt to set endianness override in "sid" protocol mode. Cleanup.
24467
6a90e1d0
AC
244682001-08-18 Andrew Cagney <ac131313@redhat.com>
24469
24470 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24471 CLI jump command to start it.
24472 (mi_run_to_main): Fail immediatly when unexpected output.
24473
1759b3c3
AC
244742001-08-18 Andrew Cagney <ac131313@redhat.com>
24475
24476 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24477 beginning of function. Fix PR gdb/191.
24478
61d11d80
FCE
244792001-08-16 Frank Ch. Eigler <fche@redhat.com>
24480
24481 * config/sid.exp (sid_start): Don't warn if we cannot figure out
24482 what to force sid endianness to.
24483
942a4df2
KS
244842001-08-15 Keith Seitz <keiths@redhat.com>
24485
24486 * lib/gdb.exp (gdbtk_start): Don't set environment
24487 variables for TCL_LIBRARY and friends. Insight will
24488 now figure these out for itself.
24489
0521c418
MS
244902001-08-02 Michael Snyder <msnyder@redhat.com>
24491
24492 * gdb.base/completion.exp: Remove the symbol "a64l" from
24493 the expect string; this is target-specific, and not related
24494 to what is being tested.
24495
74a9a58a
DB
244962001-08-02 Dave Brolley <brolley@redhat.com>
24497
24498 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24499
c70819fa
MS
245002001-07-25 Michael Snyder <msnyder@redhat.com>
24501
c2b8fa57
MS
24502 * gdb.base/consecutive.exp: New file. Test stepping over
24503 breakpoints on consecutive instructions.
24504 * gdb.base/consecutive.c: New file.
24505
c70819fa
MS
24506 * gdb.base/call-rt-st.exp: Use double-backslash to quote
24507 curly braces in regular expressions.
24508
2b1a1355
MS
245092001-07-25 Michael Snyder <msnyder@redhat.com>
24510
24511 * gdb.base/ending-run.exp: Accept "Program exited normally" as
24512 legitimate output from stepping out of main.
24513
413eca6f
KS
245142001-07-22 Keith Seitz <keiths@redhat.com>
24515
24516 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24517 the empty string, do not run the tests.
24518
7e5a9322
SC
245192001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24520
24521 * gdb.base/long_long.exp: Detect size of pointer. Take into
24522 account 2-byte pointers when testing for p/a results.
24523
de58f10f
SC
245242001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24525
d63a86f8 24526 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
24527 and defined to 1K for m68hc11.
24528 (random_data): Reduce table to 1K for embedded platforms (68hc11).
24529 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
24530 (sizeof_random_data): New variable to tell the size of the data table;
24531 don't test past this size; always run to main.
24532
d6f5fea1
SC
245332001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24534
24535 * gdb.base/return2.exp: return of long long and double fails for
24536 68HC11; don't execute these tests on that platform.
24537 * gdb.base/return.exp: Return of a double fails for 68hc11.
24538
c477543d
SC
245392001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24540
24541 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
24542 tests that print a float.
24543 * call-rt-st.exp: Likewise.
24544
63cf1c79
MK
245452001-07-12 Mark Kettenis <kettenis@gnu.org>
24546
24547 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
24548 running this test on Linux.
24549
112f9ab5
MC
245502001-06-24 Michael Chastain <chastain@redhat.com>
24551
24552 * gdb.base/arithmet.exp: Remove some tests to make all test names
24553 unique.
24554
4970cb0f
MS
245552001-07-03 Michael Snyder <msnyder@redhat.com>
24556
24557 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
24558 the output of the ptype command.
24559
d85da69f
MS
245602001-07-02 Michael Snyder <msnyder@redhat.com>
24561
4c8a82de
MS
24562 * gdb.base/completion.exp: Don't assume that break.c is the only
24563 source file that may contain functions named "marker".
d85da69f
MS
24564 * gdb.base/corefile.exp: Quote the curly braces in regexp.
24565
8afc772b
AC
245662001-06-28 Andrew Cagney <ac131313@redhat.com>
24567
24568 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
24569 of files to delete.
24570
24571 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
24572 * gdb.disasm/h8300s.exp: New file.
24573 gdb.disasm/h8300s.s: Likewise.
24574
cff22675
AC
245752001-06-27 Andrew Cagney <ac131313@redhat.com>
24576
24577 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
24578 empty breakpoint tables.
24579
68c81b54
AC
245802001-06-25 Andrew Cagney <ac131313@redhat.com>
24581
24582 * lib/mi-support.exp: Update args=... part of stop-reason
24583 patterns. Accept either a list or a tuple.
24584
2dd62704
AC
245852001-06-23 Andrew Cagney <ac131313@redhat.com>
24586
24587 * lib/mi-support.exp: Remove local emacs variable defining
24588 change-log-default-name.
24589
b4127474
MC
245902001-06-22 Michael Chastain <chastain@redhat.com>
24591
24592 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
24593 This is operationally compatible with the previous version.
24594
8dbfb380
JB
245952001-06-13 Jim Blandy <jimb@redhat.com>
24596
24597 * lib/gdb.exp (gdb_test): Doc fix.
24598
f2d8c86d
MC
245992001-06-10 Michael Chastain <chastain@redhat.com>
24600
24601 * gdb.base/exprs.exp: Remove a duplicate test.
24602
81564d34
JB
246032001-06-06 Jim Blandy <jimb@redhat.com>
24604
24605 * gdb.base/return2.exp (main): Use values to test float and double
24606 returns that are not NaN's, to avoid being confused by IEEE
24607 comparison rules.
24608
da55addb
MS
246092001-06-04 Michael Snyder <msnyder@redhat.com>
24610
24611 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 24612 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
24613 rather than wait for 12 more tests to time out.
24614
42c65987
JB
246152001-06-06 Jim Blandy <jimb@redhat.com>
24616
b18bced9 24617 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 24618 Don't forget to match the GDB prompt.
b18bced9 24619
42c65987
JB
24620 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
24621
5b41e5f0
JB
246222001-06-04 Jim Blandy <jimb@redhat.com>
24623
24624 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
24625 command.
24626
015e046f
KB
246272001-05-31 Kevin Buettner <kevinb@redhat.com>
24628
24629 * gdb.base/annota1.exp (info break): Match four or more spaces
24630 after "Address".
24631
fb1ffbbe
MC
246322001-05-31 Michael Chastain <chastain@redhat.com>
24633
24634 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
24635 (dm_type_int_star): Likewise.
24636 (dm_type_long_star): Likewise.
24637 (dm_type_void_star): Likewise.
24638
5ea2a32c
KB
246392001-05-29 Kevin Buettner <kevinb@redhat.com>
24640
24641 * gdb.base/completion.exp (INPUTRC): Set this environment variable
24642 to a known value in order to get consistent results regardless
24643 of the setting of INPUTRC or the presence or contents of .inputrc.
24644
ae23c492
MS
246452001-05-24 Michael Snyder <msnyder@redhat.com>
24646
ac55707e
MS
24647 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
24648 Don't require that the main thread and the manager thread are the
24649 first in the list.
24650
ae23c492
MS
24651 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
24652 debugging. If test fails, issue an "unsupported" not a "fail".
24653
400071f1
JB
246542001-05-24 Jim Blandy <jimb@redhat.com>
24655
24656 Don't assume that short is shorter than int.
24657 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
24658 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 24659 this isn't true.
400071f1
JB
24660 ("print unsigned char == (~0)"): Add test that verifies that ~0,
24661 an int, is not equal to ~0 stored in an unsigned char. This tests
24662 the same thing that the previous test meant to, but works on
24663 16-bit machines, too.
24664 ("print unsigned char != (~0)"): Same test, complemented.
24665
0816a3e5
MS
246662001-05-24 Michael Snyder <msnyder@redhat.com>
24667
24668 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 24669 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
24670 and prevents dejagnu getting out of step.
24671
f6dc23a9
KB
246722001-05-23 Kevin Buettner <kevinb@redhat.com>
24673
24674 * gdb.base/finish.exp (finish_void): Revise pattern for
24675 stopping on the call statement to not permit stopping at
24676 the start of the instructions comprising the call sequence.
24677
7dbd117d
MC
246782001-05-19 Michael Chastain <chastain@redhat.com>
24679
24680 * gdb.base/callfuncs.exp: Make all test names unique.
24681 * gdb.base/commands.exp: Make all test names unique.
24682 * gdb.base/condbreak.exp: Make all test names unique.
24683 * gdb.base/dbx.exp: Make all test names unique.
24684 * gdb.base/default.exp: Make all test names unique.
24685 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
24686 and TIMEOUT messages to their corresponding PASS message.
24687 * gdb.base/ending-run.exp: Make all test names unique.
24688 * gdb.base/long_long.exp: Remove duplicate test.
24689
6b0b0a9e
KB
246902001-05-21 Kevin Buettner <kevinb@redhat.com>
24691
24692 * gdb.base/finish.exp (finish_void): Allow "finish" command to
24693 stop on the call statement as well as the statement after the
24694 call.
24695
2caa35cb
MS
246962001-05-21 Michael Snyder <msnyder@redhat.com>
24697
24698 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
24699
40713331
EZ
247002001-05-10 Elena Zannoni <ezannoni@redhat.com>
24701
a9c64011
AS
24702 * gdb.base/completion.exp: Revamp test. Make it execute on all
24703 platforms.
40713331 24704
c2c1be8d
EZ
247052001-05-10 Elena Zannoni <ezannoni@redhat.com>
24706
a9c64011
AS
24707 * config/gdbserver.exp (gdb_load): Handle the case
24708 in which the arguments to gdbserver are given in the
24709 baseboard configuration file.
24710 Also handle the case in which the server needs to do a
24711 load.
2c9cd303 24712
9671de48
KS
247132001-05-07 Keith Seitz <keiths@cygnus.com>
24714
a9c64011
AS
24715 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
24716 set up the display for testing.
24717 (gdbtk_start): Convert all paths to paths that tcl will like.
24718 Export target information to environment.
24719 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
24720 necessary.
24721 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
24722 (to_tcl_path): New proc to convert a given pathname into
24723 a path acceptible as an argument to a tcl command.
24724 (_gdbtk_export_target_info): New proc to export target info
24725 into the environment for gdbtk testing.
24726 (gdbtk_done): New proc to signal end-of-test.
9671de48 24727
5a360f47
JB
247282001-05-06 Jim Blandy <jimb@redhat.com>
24729
24730 * restore.c: Make the code of caller0 correspond to its comment.
24731
66c756c6
MS
247322001-05-03 Michael Snyder <msnyder@redhat.com>
24733
24734 * config/sid.exp (gdb_target_sid): Check for error messages.
24735 On error or timeout, don't make expect exit (which will terminate
24736 all subsequent tests); instead just make gdb exit.
d63a86f8 24737 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
24738 return a negative value.
24739
a966fde5
JB
247402001-04-24 Jim Blandy <jimb@redhat.com>
24741
851c18e0
JB
24742 * gdb.c++/templates.exp: If we see the prompt for the overload
24743 list, but we haven't recognized any of the longer patterns,
24744 arrange for this test to fail, not hang.
24745
a966fde5
JB
24746 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24747 variations.
24748
db144853
MC
247492001-04-22 Michael Chastain <chastain@redhat.com>
24750
24751 * gdb.c++/local.exp: Use the 'runto' library function.
24752 * gdb.c++/namespace.exp: Likewise.
24753 * gdb.c++/overload.exp: Likewise.
24754
3207ec21
KB
247552001-03-26 Kevin Buettner <kevinb@redhat.com>
24756
24757 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24758 * gdb.base/step-line.exp: New file. Test step/next in presence of
24759 #line directives.
24760 * gdb.base/step-line.c: New file. Test program for the above.
24761 * gdb.base/step-line.inp: New file. We pretend that this file has
24762 been transformed by some other tool into step-line.c.
24763
13b57657
JB
247642001-03-21 Jim Blandy <jimb@redhat.com>
24765
24766 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24767 unmangled operator names.
24768
754cbe1c
JB
247692001-03-20 Jim Blandy <jimb@redhat.com>
24770
24771 * gdb.threads/linux-dp.exp: Recognize an additional message
24772 generated by GDB when it doesn't understand how to debug threads
24773 on the target system.
24774
177495c9
AC
247752001-03-19 Andrew Cagney <ac131313@redhat.com>
24776
24777 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24778
f266096b
MC
247792001-03-12 Michael Chastain <chastain@redhat.com>
24780
24781 * gdb.c++/derivation.exp: Use the 'runto' library function.
24782
cac3c2ff
MC
247832001-03-12 Michael Chastain <chastain@redhat.com>
24784
24785 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24786
b6c11a24
MC
247872001-02-24 Michael Chastain <chastain@redhat.com>
24788
24789 * gdb.c++/ref-types.exp: Change handwritten code to library
24790 function 'runto'.
24791
6bae5bce
OF
247922001-03-16 Orjan Friberg <orjanf@axis.com>
24793
24794 * gdb.base/signals.exp: Set count to 0 explicitly.
24795
0015fd9a
MS
247962001-03-15 Mark Salter <msalter@redhat.com>
24797
24798 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24799 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
24800 (gdb_load): Add support for additional target_info: gdb_download_size
24801 and gdb_load_timeout.
0015fd9a 24802
fc33412a
DT
24803Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
24804
24805 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
24806 file -- to prevent failing when the compile fails but we have no
24807 intention of running the tests anyway.
fc33412a
DT
24808
24809 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24810 tests if set.
24811
24812 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 24813 integers.
fc33412a
DT
24814
24815 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24816 * gdb.c++/namespace.exp: Ditto.
24817
115f06de
OF
248182001-03-07 Orjan Friberg <orjanf@axis.com>
24819
24820 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24821 * gdb.base/pointers.exp: Relax pattern match of decimals.
24822
b6ba6518
KB
248232001-03-06 Kevin Buettner <kevinb@redhat.com>
24824
24825 * Makefile.in, config/abug.exp, config/cfdbug.exp,
24826 config/cpu32bug.exp, config/dve.exp, config/est.exp,
24827 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24828 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24829 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24830 config/sh.exp, config/sid.exp, config/slite.exp,
24831 config/sparclet.exp, config/udi.exp, config/unknown.exp,
24832 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24833 config/vxworks.exp, config/vxworks29k.exp,
24834 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24835 gdb.base/all-bin.exp, gdb.base/annota1.exp,
24836 gdb.base/arithmet.exp, gdb.base/assign.exp,
24837 gdb.base/async.exp, gdb.base/attach.exp,
24838 gdb.base/bitfields.exp, gdb.base/bitops.exp,
24839 gdb.base/break.exp, gdb.base/call-ar-st.exp,
24840 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24841 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24842 gdb.base/commands.exp, gdb.base/completion.exp,
24843 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24844 gdb.base/constvars.exp, gdb.base/corefile.exp,
24845 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24846 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24847 gdb.base/ending-run.exp, gdb.base/environ.exp,
24848 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24849 gdb.base/finish.exp, gdb.base/foll-exec.exp,
24850 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24851 gdb.base/funcargs.exp, gdb.base/help.exp,
24852 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24853 gdb.base/logical.exp, gdb.base/long_long.exp,
24854 gdb.base/maint.exp, gdb.base/mips_pro.exp,
24855 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24856 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24857 gdb.base/pointers.exp, gdb.base/printcmds.exp,
24858 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24859 gdb.base/regs.exp, gdb.base/relational.exp,
24860 gdb.base/remote.exp, gdb.base/reread.exp,
24861 gdb.base/restore.exp, gdb.base/return2.exp,
24862 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24863 gdb.base/selftest.exp, gdb.base/setshow.exp,
24864 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24865 gdb.base/sigall.exp, gdb.base/signals.exp,
24866 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24867 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24868 gdb.base/step-test.exp, gdb.base/structs.c,
24869 gdb.base/structs.exp, gdb.base/structs2.exp,
24870 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24871 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24872 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24873 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24874 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24875 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24876 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24877 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24878 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24879 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24880 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24881 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24882 gdb.fortran/types.exp, gdb.java/jmisc.exp,
24883 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24884 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24885 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24886 gdb.trace/circ.exp, gdb.trace/collection.exp,
24887 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24888 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24889 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24890 gdb.trace/report.exp, gdb.trace/save-trace.exp,
24891 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24892 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24893 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24894 notices.
24895
dc96c6c7 248962001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
24897
24898 * gdb.base/varargs.c (find_max_double): Fix printf format string:
24899 first arg is int not float.
24900
dc96c6c7 249012001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
24902
24903 * gdb.base/reread.exp: Unsupported for non-native targets;
24904 doesn't work for remote debugging.
24905
9b0c4aeb
FN
249062001-02-19 Fernando Nasser <fnasser@redhat.com>
24907
24908 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
24909 * gdb.base/ending-run.exp: Properly handle the BSP state when
24910 stepping past the end of main.
9b0c4aeb 24911
02aa71d5
MC
249122001-02-19 John Moore <jmoore@redhat.com>
24913
24914 * gdb.base/commands.exp (infrun_breakpoint_command_test):
24915 Converted HPUX fix for non-expected items following multiple
24916 step commands into general solution for all platforms.
24917
1fa449a4
MC
249182001-02-18 Michael Chastain <chastain@redhat.com>
24919
24920 * gdb.c++/classes.exp (do_tests): Change runto statements
24921 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24922 statements demangler agnostic.
24923 * gdb.c++/virtfunc.exp (do_tests): Likewise.
24924 (gdb_virtfunc_restart): Likewise.
24925
b2f9ec70
MC
249262001-02-14 Michael Chastain <chastain@redhat.com>
24927
24928 * gdb.c++/inherit.exp (do_tests): Change runto statements
24929 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24930 statements demangler agnostic.
24931
cf74b8ca
AC
24932Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
24933
24934 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
24935 ``continue to bkpt at common_routine in thread 2'' and ``stopped
24936 before calling common_routine 15 times'' tests.
cf74b8ca 24937
99f78f56
MC
249382001-02-11 Michael Chastain <chastain@redhat.com>
24939
24940 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
24941 Helps the test script figure out which demangler is in use.
24942 (dm_type_foo_ref): Ditto.
24943 (dm_type_int_star): Ditto.
24944 (dm_type_long_star): Ditto.
24945 (dm_type_unsigned_int): Ditto.
24946 (dm_type_void): Ditto.
24947 (dm_type_void_star): Ditto.
99707966 24948 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
24949 Probe the gdb demangler and set variables to accommodate
24950 formatting differences.
24951 (info_func_regexp): New function. Same as info_func, but
24952 matches against a regexp.
24953 (info_func): Match against a literal string.
24954 (print_addr_2): New function. Match against a literal string,
24955 which can be different from the input to gdb.
24956 (print_addr): Simply call print_addr_2 with the same argument twice.
24957 (test_lookup_operator_functions): Use demangler formatting variables.
24958 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
24959 the tests in the same order as the C++ class declaration.
24960 (test_paddr_operator_functions): Ditto.
24961 (test_paddr_overloaded_functions): Ditto.
24962 (test_paddr_hairy_functions): Use demangler formatting variables.
24963 Add reference to gdb/19 for related tests.
24964 (do_tests): Call probe_demangler.
24965
1de8f023
KB
249662001-01-30 Kevin Buettner <kevinb@redhat.com>
24967
24968 * gdb.c++/templates.cc (printf): Remove unused function definition.
24969
ca3f91ed
MS
249702001-01-26 Felix Lee <flee@redhat.com>
24971
24972 * sid.exp (sid_exit): Pass host, not target, to remote_close.
24973
249742001-01-25 matthew green <mrg@redhat.com>
24975
24976 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
24977 up sid.
24978 (sid_exit): Call `remote_pop_conn' after GDB is gone.
24979
249802001-01-25 matthew green <mrg@redhat.com>
24981
24982 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 24983 Deprecate $sid_spawn_id.
ca3f91ed
MS
24984 (sid_exit): Remove code necessary only for `spawn.'
24985
249862001-01-25 matthew green <mrg@redhat.com>
24987
24988 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
24989
fb18ec4a
MC
249902001-01-28 Michael Chastain <chastain@redhat.com>
24991
24992 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
24993 to call when tests fail. It takes gdb out of the overloaded
24994 function choice menu back to the main prompt, so that the test
24995 program stays synchronized.
24996 (set_bp_overloaded): New proc to collect all the common
24997 code for setting a breakpoint on an overloaded name. Calls
24998 take_gdb_out_of_choice_menu when needed.
24999 (menu_overload1arg): New variable to collect the repeated
25000 instances of the expected menu for an overloaded name. Change
25001 the regular expression to handle changes in g++ type encoding:
25002 "void" can be either "void" or "", and "unsigned int" can be
25003 either "unsigned int" or "unsigned".
25004 (continue_to_bp_overloaded): Change regular expressions to handle
25005 changes in g++ type encoding.
25006 (no proc): Call take_gdb_out_of_choice_menu when needed.
25007 Remove redundant calls to "info break". Accept either "canceled"
25008 or "cancelled". Change regular expressions in "info break"
25009 calls to handle changes in g++ type encoding. Give all tests
25010 unique strings.
25011
9c646a6e
BE
250122001-01-17 Ben Elliston <bje@redhat.com>
25013
25014 * config/sid.exp: New file.
25015
9549d9c1
AC
25016Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25017
25018 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25019
dc96c6c7 250202000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
25021
25022 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25023 Add a RE to accept a non-ascii char if one is ever presented.
25024
b4df4f68
FN
250252000-12-20 Fernando Nasser <fnasser@redhat.com>
25026
297dd0fd 25027 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 25028
dc96c6c7 250292000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 25030
d63a86f8 25031 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
25032 in regexp. One '\' does not suffice on Linux.
25033
4a7bddb6
MC
250342000-12-09 Michael Chastain <chastain@redhat.com>
25035
25036 * gdb.base/break.exp (test_clear_command): Use a marker function
25037 rather than 'main' for the test function. Also move this
25038 test to an execution point where the marker function names are
25039 guaranteed to be bound to functions. (Executing tests after a
25040 'finish' from main runs into name conflicts with local names
25041 in __libc_start_main).
25042
dc96c6c7 250432000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
25044
25045 * gdb.base/finish.exp: New test for gdb's "finish" command.
25046 * gdb.base/return2.exp: New test for gdb's "return" command.
25047 * gdb.base/return2.c: New source file for above.
25048
dc96c6c7 250492000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
25050
25051 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25052 * gdb.base/miscexprs.exp: Ditto.
25053 * gdb.base/pointers.exp: Ditto.
25054 * gdb.c++/derivation.exp: Ditto.
25055 * gdb.c++/local.exp: Ditto.
25056 * gdb.c++/namespace.exp: Ditto.
25057 * gdb.c++/overload.exp: Ditto.
25058 * gdb.c++/ref-types.exp: Ditto.
25059
dc96c6c7 250602000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
25061
25062 * gdb.base/constvars.exp: Test result of "up" command.
25063 * gdb.base/miscexprs.exp: Ditto.
25064 * gdb.base/pointers.exp: Ditto.
25065 * gdb.base/scope.exp: Ditto.
25066 * gdb.c++/derivation.exp: Ditto.
25067 * gdb.c++/local.exp: Ditto.
25068 * gdb.c++/namespace.exp: Ditto.
25069 * gdb.c++/overload.exp: Ditto.
25070 * gdb.c++/ref-types.exp: Ditto.
25071
44097287
FN
250722000-11-22 Michael Chastain <chastain@redhat.com>
25073
25074 * mips_pro.exp: Accept either "middle -> top -> main" or
25075 "middle -> main" in the backtrace, because gcc can optimize
25076 tail calls to jumps. Remove setup_xfail for the hppa case.
25077 Add a comment with the original warning messages from PR 3016,
25078 which was filed in 1993, to preserve them for posterity.
25079
9d2e1bab
ND
250802000-11-17 Nick Duffek <nsd@redhat.com>
25081
25082 * lib/gdb.exp (gdb_test): Override timeout with board info.
25083
1aca8eb7
ND
250842000-11-17 Nick Duffek <nsd@redhat.com>
25085
25086 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25087 the second kill and detach messages.
25088
93076499
ND
250892000-11-17 Nick Duffek <nsd@redhat.com>
25090
25091 * configure.in: Add AC_EXEEXT.
25092 * configure: Regenerate.
25093 * Makefile.in (just-check): Export EXEEXT.
25094 * lib/gdb.exp ($EXEEXT): Import from environment.
25095 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25096 expect "maint dump-me" on Cygwin.
25097 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25098 $EXEEXT.
25099
30e87cd3
ND
251002000-11-17 Nick Duffek <nsd@redhat.com>
25101
25102 * gdb.base/break.exp: Test backtrace and finish from called
25103 function on all platforms, not just HP-UX.
25104
dc96c6c7 251052000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
25106
25107 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25108 code from gdb_target_monitor, so it can be used independantly
25109 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 25110
dc96c6c7 251112000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
25112
25113 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25114 * gdb.base/corefile.exp: Expect the message "Program is being
25115 debugged already" when we send the "corefile" command, since
25116 the preceeding gdb_load may have connected gdb to a remote target.
25117 * gdb.base/display.exp: Disable hardware watchpoints if new
25118 board info variable "no_hardware_watchpoints" is true.
25119 Replace single-letter commands with more readable ones.
25120 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25121 if new board info variable "no_hardware_watchpoints" is true.
25122 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25123 to see if stdio (printf) testing is possible.
25124 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25125 board info variable "no_hardware_watchpoints" is true. Use new
25126 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25127
39124dea
FN
251282000-11-13 Fernando Nasser <fnasser@redhat.com>
25129
25130 From Orjan Friberg <orjanf@axis.com>:
25131 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25132 in array print pattern match.
25133
a9e2e984
FN
251342000-11-09 Fernando Nasser <fnasser@redhat.com>
25135
25136 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25137 spelling "cancelled" to U.S. spelling "canceled" to match changes
25138 made to gdb.
25139 * gdb.c++/ovldbreak.exp: Ditto.
25140
c7db355b
PS
251412000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25142
25143 * gdb.base/callfuncs.c (main): Moved to end of file, call
25144 t_double_values to initialize the FPU before inferior calls are made.
25145 * gdb.base/callfuncs.exp: Test for register preservation after calling
25146 inferior functions. Add tests for continuining, finishing and
25147 returning from a stop in a call dummy.
25148
dc96c6c7 251492000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
25150
25151 * gdb.base/commands.exp: Break up long lines, and re-indent.
25152
dc96c6c7 251532000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
25154
25155 * config/gdbserver.exp: Rewritten from the ground up, to make it
25156 compatible with the current dejagnu tree, and to make it work with
25157 the new "gdbserver" in libremote.
25158
dc96c6c7 251592000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
25160
25161 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25162 * gdb.base/varargs.exp: Skip entire test if no printf support.
25163 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25164 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25165
dc96c6c7 251662000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
25167
25168 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25169 no floating point support.
25170 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25171 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25172 * gdb.base/call-rt-st.exp: Ditto.
25173 * gdb.base/call-strs.exp: Ditto.
25174
bac5fc66
JG
251752000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25176
25177 * gdb.base/sizeof.c: include <stdio.h>.
25178
25179 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
25180 'finish', otherwise uncaptured gdb_prompt would potentially
25181 throw remaining test points out of sync.
bac5fc66 25182
b22a6027
SB
251832000-07-26 Scott Bambrough <scottb@netwinder.org>
25184
25185 * gdb.base/recurse.exp: Run tests for all targets.
25186 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25187 gnu-oldld case on ARM.
25188 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25189 for ARM targets.
d63a86f8 25190
d8231941
AG
25191Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25192
25193 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25194 * gdb.java/configure: Rebuild.
25195
8caabe69
AG
25196Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25197
25198 * gdb.java/jv-exp.exp: New file.
25199
9d273ca3
AG
25200Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25201
25202 * configure: Rebuilt.
25203 * configure.in (configdirs): Add gdb.java.
25204 * gdb.java/jmisc.java: New file.
25205 * gdb.java/jmisc.exp: New file.
25206 * gdb.java/Makefile.in: New file.
25207 * gdb.java/configure: Rebuilt.
25208 * gdb.java/configure.in: New file.
25209 * lib/java.exp: New file.
25210
4f823a66
AC
25211Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25212
25213 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 25214 underflow.
4f823a66 25215
2391e11d
AC
25216Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25217
25218 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 25219 and the compilers sizes.
2391e11d 25220
54602222
ND
252212000-07-09 Nick Duffek <nsd@redhat.com>
25222
25223 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25224 (use_methods): New function.
25225 (main): Call use_methods().
25226 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25227 (do_tests): Call test_method_param_class.
25228
2bec0572
ND
252292000-07-09 Nick Duffek <nsd@redhat.com>
25230
25231 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25232 spelling.
25233 (test_enums): New procedure. Move enum tests from end of script
25234 to here. Set breakpoint on function name instead of line number.
25235 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25236 (enums2): New marker function.
25237 (enums1): New function.
25238 (main): Call enums1(). Move enum tests to enums1().
25239
78492fde
AC
25240Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25241
25242 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 25243 compile/link program. Update line numbers.
78492fde
AC
25244 * gdb.asm/d10v.inc: Define ``startup''.
25245 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 25246
49a2cef8
AC
25247Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25248
25249 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25250
3e6c8688
EZ
252512000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25252
25253 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 25254 of 'help maint print' command.
3e6c8688 25255
9ff5cbe9
AC
25256Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25257
25258 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 25259 they use gdb_expect_list.
9ff5cbe9 25260
17c579bd
AC
25261Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25262
25263 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
25264 memory-read-packet-size'' instead of ``set endian big'' to test
25265 long commands.
17c579bd 25266
e6d71bf3
DB
252672000-06-03 Daniel Berlin <dan@cgsoftware.com>
25268
25269 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 25270 g++, and stop skipping them.
e6d71bf3
DB
25271
25272 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25273 work under g++.
25274
d63a86f8 25275 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
25276 initialization.
25277
dc96c6c7 252782000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
25279
25280 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25281 the regular expression: accept an (almost) arbitrary sequence of
25282 "frames-invalid" and "breakpoints-invalid" messages both before
25283 and after the "starting" message.
25284
dc96c6c7 252852000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
25286
25287 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 25288
dc96c6c7 252892000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
25290
25291 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25292 Relax the regular expression a little, make it pass on Solaris 8.
25293
8216cda9
KB
252942000-05-12 Kevin Buettner <kevinb@redhat.com>
25295
25296 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 25297 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
25298 Instead, it is permissible for gdb to stop on the line of the
25299 call itself.
25300
1a570b2f
MS
253012000-05-12 Michael Snyder <msnyder@.cygnus.com>
25302
25303 * gdb.base/break.exp (bp on small function, optimized file):
25304 Add a second pass pattern. The behavior differs here between stabs
25305 and dwarf for one-line functions. Stabs preserves two line symbols
25306 (one before the prologue and one after) with the same line number,
25307 but dwarf regards these as duplicates and discards one of them.
25308 Therefore the address after the prologue (where the breakpoint is)
25309 has no exactly matching line symbol, and GDB reports the breakpoint
25310 as if it were in the middle of a line rather than at the beginning.
25311
dc96c6c7 253122000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 25313
d63a86f8 25314 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
25315 rather than "send_gdb" (for consistancy).
25316
7d418785
AC
25317Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25318
25319 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25320 * gdb.c++/templates.cc: Properly check for GCC version number.
25321 * lib/compiler.cc: Likewise
25322
dc96c6c7 253232000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 25324
d63a86f8 25325 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
25326 gdb may not stop at the first line of main, due to code motion.
25327
dc96c6c7 253282000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
25329
25330 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25331 This test depends on parsing the printf output from the target.
25332 Since the sparclet stub doesn't do stdio, this will never work.
25333 * gdb.base/call-rt-st.exp: ditto.
25334 * gdb.base/call-strs: ditto.
25335
dc96c6c7 253362000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
25337
25338 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25339
25340 * gdb.base/ending-run.exp: After connecting to a remote target,
25341 but before running, the target will appear to be in a random
25342 location. Specify both a file and a line for breakpoints.
25343 Also, the function that calls main may be called 'init'
25344 rather than 'start'.
25345
a5a51225
EZ
253462000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25347
25348 * gdb.base/help.exp: Update output for add-symbol-file command.
25349
7930cc7c
FN
253502000-04-10 Fernando Nasser <fnasser@cygnus.com>
25351
25352 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25353 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25354
23e37ab1
C
253552000-04-07 J.T. Conklin <jtc@redback.com>
25356
e93c542c
C
25357 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25358
23e37ab1
C
25359 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25360
591b8fa3
PDM
25361Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
25362
25363 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 25364 values that can be represented exactly.
591b8fa3
PDM
25365 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25366 above change, and to not check against the directory part of the source
25367 file name.
25368 (step into print_long_arg_list): Likewise.
25369 (print print_small_structs from print_long_arg_list): Likewise.
25370 (print print_long_arg_list): Likewise.
25371
7a495180
EZ
253722000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25373
30b53638 25374 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 25375
beb998c6
AC
25376Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
25377
25378 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25379
1c689132
DB
253802000-03-25 Daniel Berlin <dan@cgsoftware.com>
25381
25382 * gdb.base/commands.exp (deprecated_command_test): Add test for
25383 deprecate with no arguments.
25384
c1790a9d
JL
253852000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
25386
25387 * gdb.base/break.exp: Add new test for setting breakpoints on
25388 optimized code so we can test breakpoints work even when function
25389 prologues may be optimized away
25390
003ba290
FN
253912000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
25392
25393 From David Whedon <dwhedon@gordian.com>
a9c64011 25394 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 25395
6837a0a2
DB
253962000-03-22 Daniel Berlin <dan@cgsoftware.com>
25397
25398 * gdb.base/help.exp: Added test for new apropos command.
25399
b9593231
KB
254002000-03-21 Kevin Buettner <kevinb@redhat.com>
25401
25402 * gdb.base/pointers.c (usevar): New function.
25403 (main): Make sure that global variables v_int_pointer2, rptr,
25404 and y are all referenced someplace in the program by calling
25405 usevar() on them. [Some linkers delete symbols which are
25406 never referenced. The space remains, but there's no way to
25407 get a (symbolic) handle on the variable from the debugger.]
25408
751a959b
EZ
254092000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25410
25411 * gdb.base/printcmds.c: Add typedeffed arrays.
25412
25413 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 25414 procedure to test arrays that are typedef'd.
751a959b 25415
73a93a32
JI
254162000-03-13 James Ingham <jingham@leda.cygnus.com>
25417
25418 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 25419 the library directories.
73a93a32 25420
fb40c209
AC
25421Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
25422
25423 * configure.in (configdirs): Add sub directory gdb.mi.
25424 * configure: Re-generate.
25425
25426 * gdb.mi: New directory.
d63a86f8 25427
ee4dd2c9
AC
254282000-02-25 Scott Bambrough <scottb@netwinder.org>
25429
25430 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 25431 a long long value as a double on ARM platforms.
ee4dd2c9 25432
70f0cc22
JB
254332000-02-16 Jim Blandy <jimb@redhat.com>
25434
25435 * gdb.base/break.exp ("breakpoint line number"): Make sure the
25436 default source file is set properly before running this test.
25437
853819b8
EZ
254382000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25439
25440 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 25441 gdbtk/library directory, not in gdbtcl2.
853819b8 25442
dfcd3bfb
JM
254432000-02-04 Jim Blandy <jimb@redhat.com>
25444
25445 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25446 backslash from regexp pattern.
25447
25448 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25449 procedure. Use it to run all the "continue to bp overloaded"
25450 tests. Note that this changes the names of the tests slightly.
25451 If the breakpoint hit message includes a hex PC value, because
25452 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25453 from the real source code, still consider that a pass.
25454
25455 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25456 XFAIL here if the breakpoint message contains a hex address. Note
25457 similar change on 1999-11-02.
25458
25459 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25460
25461 * gdb.base/ptype.exp: Establish a default source file before
25462 calling get_debug_format.
25463
254642000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
25465
25466 * gdb.base/watchpoint.exp: Remove duplication of test messages.
25467
8b93c638
JM
254682000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25469
25470 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25471 of successive stepi commands -- while in the prologue we should see
25472 the function entry bracket.
25473
254742000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25475
25476 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25477 reach __change_mode() when stepping through the end of main().
25478
c5394b80
JM
254792000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
25480
25481 * gdb.base/default.exp: Fix expected pattern.
25482 * gdb.base/help.exp: Same.
25483
0d06e24b
JM
254842000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25485
25486 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 25487 Don't use xfail's because that affects only the following test.
d63a86f8 25488
0d06e24b 25489 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 25490 solaris or linux.
0d06e24b
JM
25491
25492 * gdb.base/selftest.exp: Update to reflect changes to main.c.
25493
dc96c6c7 254942000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 25495
d63a86f8 25496 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
25497 "A syntax error" rather than "A parse error". Accept both.
25498
254992000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
25500
25501 * gdb.base/default.exp: Remove OS dependent string from "target
25502 remote" test.
25503 * gdb.base/help.exp: Same for "help target remote" test.
25504
c3f6f71d
JM
255052000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25506
25507 From Jim Kingdon <kingdon@redhat.com>:
25508
25509 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
25510 prompt (cleanup rather than necessity, but still might keep output
25511 from spilling to next test).
c3f6f71d
JM
25512
255132000-01-02 Fred Fish <fnf@cygnus.com>
25514
25515 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25516 AIX, which defines them in <sys/types.h>.
25517
ed9a39eb 255181999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 25519
ed9a39eb 25520 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 25521 float" test.
ed9a39eb
JM
25522
255231999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 25524
ed9a39eb 25525 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
25526
25527 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
25528 outermost frame disallowed".
25529
255301999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
25531
25532 * gdb.base/setvar.exp: New tests for setting the value of a struct
25533 with a constant list.
25534
255351999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25536
25537 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
25538 require the user to type a cast before setting the value of a struct.
25539
de57eccd
JM
255401999-12-06 Jim Blandy <jimb@cygnus.com>
25541
25542 * gdb.base/default.exp: Expect the new 'info float' command on
25543 all i386 platforms.
25544
25545 * gdb.threads/linux-dp.exp: Expand our ability to recognize
25546 LinuxThreads libraries that don't support debugging.
25547
c2d11a7d
JM
25548Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25549
25550 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
25551 Change the buffer type to ``unsigned char'' to simplify size
25552 arithmetic.
c2d11a7d
JM
25553
25554 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
25555 stub only handles 400-1 byte packets. Verify that the download
25556 worked.
c2d11a7d
JM
25557
255581999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
25559
25560 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
25561 tests, using UNRESOLVED for the untested cases. Also, does not wait
25562 for a timeout if the prompt was received before a recognizable pattern.
25563
255641999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
25565
25566 * lib/gdb.exp (gdb_expect_list): Fix spelling.
25567
255681999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25569
25570 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 25571 watchpoints.
c2d11a7d
JM
25572
255731999-11-24 Jason Merrill <jason@casey.cygnus.com>
25574
25575 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
25576
25577 * gdb.c++/local.exp: Be more flexible in recognizing local class
25578 name mangling. Don't allow horribly truncated method names.
25579 * gdb.c++/derivation.exp: Expect protected inheritance.
25580 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
25581 * gdb.c++/virtfunc.exp: Likewise.
25582 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
25583 when printing a nested enum.
25584
255851999-11-22 Jim Blandy <jimb@cygnus.com>
25586
25587 * gdb.base/step-test.exp: Properly await GDB's response to setting
25588 a breakpoint on the call to large_struct_by_value.
25589
25590 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
25591 just because we have debug info for the `start' function.
25592
255931999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
25594
25595 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
25596 "Unknown signal" messages, which indicate (on LinuxThreads) that
25597 GDB doesn't know how to debug threads on this system. This is
25598 better than hanging while philosopher 0 dumps chatter into gdb.log.
25599
256001999-11-18 Tom Tromey <tromey@cygnus.com>
25601
25602 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
25603
256041999-11-18 Fred Fish <fnf@cygnus.com>
25605
25606 * gdb.base/coremaker2.c: Add sample program for generating
25607 cores that is more self contained than coremaker.c. Eventually
25608 I'll add more code to this and tie it into the testsuite.
25609
4ce44c66
JM
256101999-11-12 Stan Shebs <shebs@andros.cygnus.com>
25611
25612 * gdb.base/dollar.exp: Remove, now in gdb.hp.
25613
256141999-11-10 Jimmy Guo <guo@cup.hp.com>
25615
25616 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 25617 from $srcdir/lib/.
4ce44c66 25618 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 25619 and gdb.c++/.
4ce44c66
JM
25620
25621 * gdb.c++/derivation.exp: remove redundant get compiler info code.
25622
d63a86f8 25623 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
25624 'continue with watch' test point.
25625
256261999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
25627
25628 Merged from p2linux-990323-branch:
d63a86f8 25629
4ce44c66
JM
25630 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
25631
11cf8741
JM
25632Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
25633
25634 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 25635 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
25636
25637Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
25638
25639 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 25640 gdb_expect_list.
11cf8741
JM
25641
25642Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
25643
25644 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
25645
256461999-11-03 Mark Salter <msalter@cygnus.com>
25647
25648 * gdb.base/break.exp: Fix "stub continue" pattern.
25649
256501999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
25651
25652 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
25653
256541999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
25655
25656 * gdb.base/display.exp ("finish"): Add timeout clause.
25657
25658 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
25659 plain prompt clause, so this doesn't have to time out in order to
25660 fail.
25661
25662 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 25663 breakpoint hit messages include an address.
11cf8741
JM
25664
25665 * gdb.base/display.exp: Don't forget to escape parens in regular
25666 expressions. Unix regexp notatation sucks.
25667
256681999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25669
25670 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 25671 order for 'signalled' message.
11cf8741 25672
5c44784c
JM
256731999-11-01 Stan Shebs <shebs@andros.cygnus.com>
25674
25675 From Jimmy Guo <guo@cup.hp.com>:
25676 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
25677 * gdb.base/annota1.c: Add code for tests to work with.
25678
256791999-10-26 Frank Ch. Eigler <fche@cygnus.com>
25680
25681 * gdb.base/remote.exp: New test for remote downloading settings.
25682 * gdb.base/remote.c: New file with large .data.
25683
917317f4
JM
256841999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
25685
25686 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
25687 for LinuxThreads support, merged from the Code Fusion branch.
25688
25689Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
25690
25691 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
25692 containing exp_continue into a while within an expect. Don't
25693 attempt a start more than three times. Check return value from
25694 gdb_load.
d63a86f8 25695
2df3850c
JM
25696Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
25697
25698 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 25699 a pass case.
2df3850c 25700
2acceee2
JM
257011999-10-01 Kevin Buettner <kevinb@cygnus.com>
25702
25703 * gdb.base/break.c (main): Added a statement that we can step
25704 off of.
25705 * gdb.base/break.exp: Added tests for setting a breakpoint
25706 at an offset and stepping onto a breakpoint.
25707
257081999-10-01 Fred Fish <fnf@cygnus.com>
25709
d63a86f8 25710 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
25711 gdb output.
25712
c2c6d25f
JM
257131999-09-18 Jim Blandy <jimb@cris.red-bean.com>
25714
25715 * gdb.base/break.exp: Code locations are in hex, don't forget!
25716 (For HP-UX.)
25717
257181999-09-17 Stan Shebs <shebs@andros.cygnus.com>
25719
25720 * condbreak.exp: Use break.c as test program.
25721 * condbreak.c: Remove, redundant with break.c.
25722
257231999-09-15 Stan Shebs <shebs@andros.cygnus.com>
25724
25725 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 25726 Z-packets if the target needs it.
c2c6d25f
JM
25727
257281999-09-13 James Ingham <jingham@leda.cygnus.com>
25729
25730 * gdb.c++/overload.exp: Added tests for listing overloaded
25731 functions with function pointers in the arg, explicitly calling
25732 out the version you want.
25733
cff3e48b
JM
257341999-09-09 Stan Shebs <shebs@andros.cygnus.com>
25735
25736 * long_long.exp: Add variations of test cases that work for
25737 targets with 16-bit ints and 32-bit doubles.
25738
d4f3574e
SS
257391999-09-08 Stan Shebs <shebs@andros.cygnus.com>
25740
25741 * break.c (main): Compare a possibly-uninitialized argc with an
25742 unlikely value that fits in 16 bits.
25743
257441999-09-07 Stan Shebs <shebs@andros.cygnus.com>
25745
25746 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25747 0xfeeb, don't want negative numbers if ints are 16 bits.
25748
25749 * lib/gdb.exp (skip_cplus_tests): New proc.
25750 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
25751 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25752 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25753 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25754 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25755 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25756 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25757 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
25758
25759 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25760
25761Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
25762
25763 * gdb.base/corefile.exp (up): Allow a parameter to appear
25764 in the frame that we're going up to.
25765
25766 From Jim Blandy <jimb@cygnus.com>:
25767
25768 * gdb.base/default.exp (info float): Expect some output now.
25769
25770 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25771 returning floating-point values to fail on the x86.
25772 * gdb.base/callfwmall.exp (do_function_calls): Same.
25773
25774 * gdb.base/list.exp (test_listsize): Correct expectations for
25775 listing line 1 with listsize 2. Also, listing a single line
25776 works now, as does listing three lines. [Kevin's note: There
25777 were a number of other cases fixed too where the expectations
25778 differed...]
25779
257801999-09-02 Stan Shebs <shebs@andros.cygnus.com>
25781
25782 * gdb.base/selftest.exp: Add case for when version prints as
25783 constant string instead of char pointer.
25784
104c1213
JM
257851999-08-25 Stan Shebs <shebs@andros.cygnus.com>
25786
25787 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 25788 stepping out of main.
104c1213
JM
25789
25790 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25791 G++ used.
25792
25793 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 25794 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
25795
25796 * gdb.c++/ovldbreak.exp: Update match string in test that
25797 includes a warning of multiple breakpoints.
25798
257991999-08-24 Stan Shebs <shebs@andros.cygnus.com>
25800
25801 * gdb.base/display.exp: Improve precision of step-after-finish
25802 added yesterday.
25803
25804 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 25805 test.
104c1213
JM
25806
25807 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25808 configs when using G++, not just hppa*.
25809
258101999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25811
25812 * gdb.base/async.c: New file.
25813 * gdb.base/async.exp: New file.
25814
25815Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
25816
25817 * gdb.base/break.exp: Tweak PA specific tests to properly handle
25818 PA64.
25819
53a5351d
JM
25820Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
25821
104c1213
JM
25822 * gdb.base/display.exp: "finish" can leave us mid-line on many
25823 targets, deal with it. Add a small constant to main, instead of
25824 1000 since main+1000 may not be a valid address in the target.
25825
53a5351d
JM
25826 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25827 on hpux11.
25828
25829 * gdb.base/attach.exp: Handle another hpux11 error message variant
25830 when attaching to a process that does not exist.
25831
258321999-08-19 J.T. Conklin <jtc@redback.com>
25833
25834 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 25835 characters in 'continue to 1241' test.
53a5351d
JM
25836
258371999-08-17 Stan Shebs <shebs@andros.cygnus.com>
25838
25839 * gdb.base/call-ar-st.exp: Add a shorter match case for the
25840 stop in print_long_arg_list, define and use a whitespace
25841 variable in print_small_structs test, add an XFAIL for Solaris.
25842 * gdb.base/dbx.exp: XFAIL func commands until somebody is
25843 interested enough to fix.
25844
7be570e7
JM
258451999-08-13 Keith Seitz <keiths@cygnus.com>
25846
25847 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25848 (dbx_gdb_load): Remove. Use gdb_load instead, since that
25849 proc knows about targets other than the natives.
25850 (test_assign): Use "gdb_run_cmd" to "run" the target.
25851 Check that we've actually hit the breakpoint at main.
25852 When we attempt to assign a value to a local variable, check
25853 that the variable is in the current scope, i.e., don't use
25854 a test with an empty result.
25855
25856Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
25857
25858 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 25859 command.
7be570e7
JM
25860
258611999-08-09 Stan Shebs <shebs@andros.cygnus.com>
25862
25863 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25864 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25865 gdb.compat, gdb.threads-hp.
25866 gdb.hp/configure, gdb.hp/configure.in: New files.
25867 gdb.hp/Makefile.in: Recurse into new subdirs.
25868 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25869 gdb.hp/gdb.objdbg: New directory, tests for debugging info
25870 in object files.
25871 gdb.hp/tools: New directory, aux tools for HP-specific tests.
25872
96baa820
JM
258731999-08-05 Stan Shebs <shebs@andros.cygnus.com>
25874
25875 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 25876 funky printf, remove a bogus p/a test.
96baa820
JM
25877
258781999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25879
25880 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
25881 connected to the target. This is necessary when running not
25882 natively.
96baa820
JM
25883
258841999-08-03 Stan Shebs <shebs@andros.cygnus.com>
25885
25886 * gdb.base/step-test.exp: Removed some extraneous messages.
25887
25888 * gdb.base/long_long.exp: Don't run memory examination tests
25889 on little-endian targets (they will need a different set of
25890 results to match).
25891
258921999-08-02 Stan Shebs <shebs@andros.cygnus.com>
25893
25894 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25895 until somebody decides to fix GDB.
25896
25897 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 25898 constant as "ULL".
96baa820
JM
25899 * gdb.base/long_long.exp: Loosen x/c test, add partial result
25900 matches for a couple x/2 commands.
25901
a0b3c4fd
JM
259021999-07-30 Stan Shebs <shebs@andros.cygnus.com>
25903
25904 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25905 by merging in ref-types2 tests.
25906 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
25907
25908 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25909 * gdb.c++/Makefile.in: Add standard actions.
25910 (EXECUTABLES): Rename from PROGS, update list.
25911 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
25912 from gdb.hp.
25913 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
25914 foo and bar locals.
25915 * gdb.c++/anon-union.exp: Fix tests to match.
25916 * gdb.c++/classes.exp: Run if HP compiler used, add extra
25917 expect matches to handle output variations.
25918 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
25919 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 25920 output, add HP alternatives for new and delete prints.
a0b3c4fd 25921 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 25922 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
25923 * gdb.c++/demangle.exp: Use $style when reporting failure.
25924 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
25925 * gdb.c++/inherit.exp: Run if HP compiler used, add some
25926 match alternatives.
25927 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 25928 compilers.
a0b3c4fd
JM
25929 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
25930 * gdb.c++/method.exp: Add match alternatives.
25931 * gdb.c++/misc.cc: Add bool types.
25932 * gdb.c++/misc.exp: Add tests for bool types.
25933 * gdb.c++/overload.exp: Add xfails.
25934 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
25935 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
25936 add some more template parameter tests (only for HP currently).
25937 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
25938 * gdb.c++/virtfunc.cc: Add return type and value for main.
25939 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
25940 match alternatives.
d63a86f8 25941
a0b3c4fd
JM
259421999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25943
25944 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
25945
259461999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
25947
25948 * gdb.base/signals.exp: Don't expect getting a backtrace from
25949 within a signal handler to fail on Linux.
25950
259511999-07-29 Stan Shebs <shebs@andros.cygnus.com>
25952
25953 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25954 * lib/gdb.exp: Remove some gratuitious semicolons.
25955 (delete_breakpoints): Increase timeout.
25956 (gdb_expect): Add -notransfer option.
25957 (gdb_test): Use -notransfer option.
25958 (get_compiler_info): Add f77 case.
25959 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 25960 case.
a0b3c4fd
JM
25961 (gdb_preprocess): Call get_compiler.
25962
25963 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
25964 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
25965 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
25966 gdb.base/long_long.exp, gdb.base/printcmds.exp,
25967 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
25968 third arg to gdb_test.
a0b3c4fd
JM
25969 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
25970 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 25971 HP-UX xfails, add others.
a0b3c4fd
JM
25972 * gdb.base/completion.exp: Reflect name change of self-test.
25973 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
25974 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
25975 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
25976 HP failure number.
a0b3c4fd
JM
25977 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
25978 useless HP-UX 10.30 references.
25979 * gdb.base/maint.exp: Loosen matches.
25980 * gdb.base/pointers.c (main): Declare more_code.
25981 * gdb.base/pointers.exp: Match on output of a `next'.
25982 * gdb.base/structs.c: Add prototypes.
25983 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
25984 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
25985
259861999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25987
25988 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 25989 command.
a0b3c4fd
JM
25990
259911999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25992
25993 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
25994 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
25995
25996 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
25997 debug info. Deal with lack of signal hanlder info in stack.
25998
a9c64011 25999 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
26000 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26001
5a2468f5
JM
260021999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26003
26004 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 26005 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 26006
adf40b2e
JM
26007Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26008
26009 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 26010 a1-selftest.exp.
adf40b2e
JM
26011 * gdb.base/configure: Re-generate.
26012
260131999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26014
26015 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26016 in trying to run first and name is too long.
26017
26018 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26019 pointers2.c and pointers2.exp, respectively.
26020 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26021 doschk happier.
26022
43e526b9
JM
260231999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26024
26025 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26026 callfuncs2.c and callfuncs2.exp.
26027
26028 * gdb.base/list.exp: Remove mistaken xfails.
26029 * gdb.base/list0.h: Add optional prototypes.
26030
9846de1b
JM
26031Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26032
a9c64011 26033 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 26034 calling malloc.
a9c64011
AS
26035 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26036 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 26037 use.
9846de1b
JM
26038
260391999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26040
26041 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26042 * gdb.base/annota2.cc, annota2.exp: Move from here.
26043 * gdb.c++/annota2.cc, annota2.exp: To here.
26044 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26045
43ff13b4
JM
26046Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26047
26048 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 26049 a consistent format.
43ff13b4 26050
085dd6e6
JM
260511999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26052
26053 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26054 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26055 HP compilers, also set the globals $true and $false.
26056
26057 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
26058 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26059 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26060 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26061 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26062 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26063 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26064 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26065 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26066 whatis.c} Add C++ compatible function definitions and return
26067 types, add includes for library functions.
085dd6e6
JM
26068 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26069 * gdb.base/step-test.c (myglob): Rename from glob.
26070 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
26071 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26072 files, move here from gdb.hp.
085dd6e6 26073 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
26074 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26075 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26076 Adjust line numbers in regexps.
085dd6e6
JM
26077
26078 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26079 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26080 instead of 0/1.
26081
26082 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26083 foll-vfork.exp: New files, move here from gdb.hp.
26084 * gdb.base/page.exp: New file, test of pagination command.
26085
26086 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26087 recursion test.
26088 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26089
26090 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 26091 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
26092
26093 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 26094 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 26095 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 26096 watchpoint test.
085dd6e6
JM
26097 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26098 them work.
26099 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26100 expressions properly.
26101 * gdb.base/corefile.exp: Loosen the match slightly.
26102 * gdb.base/default.exp: Allow "Error accessing memory" message
26103 also.
26104 * gdb.base/display.exp: Skip over x/0 j if PA64.
26105 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26106 * gdb.base/interrupt.exp: Ditto.
26107 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26108 in use.
26109 * gdb.base/list.exp: Add xfails for HP-UX.
26110 * gdb.base/long_long.exp: Refine some of the numeric matches.
26111 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26112 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26113 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26114 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26115 * gdb.base/ptype.exp: Succeed on more varieties of output.
26116 * gdb.base/scope.exp: Add xfails for HP-UX.
26117 * gdb.base/sect-cmd.exp: Add more cases.
26118 * gdb.base/setvar.exp: Add xfails for HP-UX.
26119 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26120 * gdb.base/signals.exp: Match on void symbolically.
26121 * gdb.base/step-test.exp: Add case for PA64.
26122 * gdb.base/term.exp: Add exit and restart.
26123 * gdb.base/twice.exp: Clean up after self.
26124 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26125 * gdb.base/whatis.exp: Allow more ways to pass tests.
26126
26127 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 26128 no longer useful.
085dd6e6
JM
26129
26130Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26131
26132 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 26133 list of patterns.
085dd6e6 26134 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
26135 print_double_array(double_array)", "continuing to breakpoint
26136 1018", "print print_double_array(array_d)" and "continuing to
26137 1034" tests.
d63a86f8 26138
085dd6e6
JM
261391999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26140
a9c64011 26141 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
26142
261431999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26144
26145 * config/mt-*: Remove, these haven't been used since 1996.
26146
261471999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26148
26149 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 26150 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
26151 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26152
9e0b60a8
JM
261531999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26154
26155 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26156 simpler match case for the ptype of the big class.
26157
261581999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26159
26160 * gdb.exp: Fix test for gdb_prompt existence.
26161
261621999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26163
26164 * gdb.exp (gdb_test): Add fail after calls to perror.
26165
261661999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26167
26168 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26169
261701999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26171
26172 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26173
0f71a2f6
JM
26174Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26175
26176 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 26177 malloc() is linked in.
0f71a2f6
JM
26178
261791999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26180
26181 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26182 step at end.
26183
26184 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26185
261861999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26187
26188 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26189
cce74817
JM
26190Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26191
26192 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26193 * gdb.base/mips_pro.exp: Likewise.
26194
261951999-06-02 Keith Seitz <keiths@cygnus.com>
26196
26197 * gdb.c++/templates.cc: Change all "new" operators to throw
26198 an exception.
26199 * gdb.c++/cplusfuncs.cc: Likewise.
26200
26201 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26202
26203Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26204
26205 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
26206 * gdb.base/ending-run.exp: When stepping out of main, accept a
26207 step into an arbitrary assembler file.
cce74817 26208
392a587b
JM
262091999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26210
d63a86f8 26211 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 26212 "breakpoint-invalid" to be printed.
6fdff2c5
PA
26213 * gdb.base/annota2.exp: Revise line number for main
26214 breakpoint. Allow any number of "frames-invalid" and
26215 "breakpoint-invalid" to be printed.
392a587b
JM
26216 * gdb.base/annota2.cc: Initialize a.x to 0.
26217
9e086581
JM
262181999-05-17 Keith Seitz <keiths@cygnus.com>
26219
6fdff2c5
PA
26220 * gdb.base/call-ar-st.exp: Skip
26221 "print print_double_array (double_array)" when "skip_float_tests" set.
26222 Ditto for "print print_double_array(array_d)",
26223 "print print_small_structs", "print print_ten_doubles", and
26224 "step into print_long_arg_list".
26225 Don't assume we can step into "print_long_arg_list": we could step
26226 into memcpy.
26227 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26228 "skip_float_tests" is set: "print print_one_double(*d1)"
26229 and "print print_two_floats(*f3)".
9e086581
JM
26230 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26231 "skip_float_tests" is set.
6fdff2c5
PA
26232 * gdb.base/varargs.exp: Skip
26233 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26234 "skip_float_tests" set.
d63a86f8 26235
cd0fc7c3
SS
262361999-05-06 Keith Seitz <keiths@cygnus.com>
26237
26238 * gdb.base/annota2.cc: Include stdio.h.
26239
26240Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26241
26242 * gdb.base/crossload.exp: Remove, this has been disabled ever
26243 since BFD stopped including all targets, and cross-GDB gets
26244 plenty of testing anyway.
26245 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
26246 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26247 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
26248 * gdb.base/README: Remove, was doc for this.
26249 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 26250 needed.
cd0fc7c3 26251
b83266a0
SS
262521999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26253
26254 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26255 output.
26256
26257 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26258 * gdb.base/annota2.exp: New file. More annotation tests.
26259 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26260 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26261
262621999-04-23 Angela Marie Thomas <angela@cygnus.com>
26263
26264 * config/cfdbug.exp: New file.
26265
7a292a7a
SS
262661999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26267
26268 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26269 Marcus Daniel's and Dale Hawkins's demangler crashes.
26270
26271 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
26272 test_lucid_style_demangling, test_arm_style_demangling,
26273 test_hp_style_demangling): Try Tom Tromey's core-dumping
26274 identifier under each demangling style.
7a292a7a
SS
26275
262761999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26277
26278 * gdb.c++/demangle.exp: Include the current demangling style
26279 in all test names.
26280 (current_demangling_style): New global variable.
26281 (set_demangling_style, test_demangling_core, test_demangling,
26282 test_demangling_exact): New functions.
26283 (test_gnu_style_demangling, test_lucid_style_demangling,
26284 test_arm_style_demangling, test_hp_style_demangling): Use those,
26285 instead of calling gdb_test and gdb_test_exact directly.
26286 (catch_demangling_errors): New function, which reports errors
26287 signalled by the demangling test functions in an orderly way.
26288 (do_tests): Use catch_demangling_errors.
26289
262901999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26291
26292 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 26293 grouping in expressions, not {}.
7a292a7a
SS
26294
26295 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 26296 initialized yet.
7a292a7a
SS
26297
262981999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26299
26300 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26301 are listed.
26302
263031999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26304
26305 * gdb.stabs/weird.exp: Test for CC being defined before
26306 looking at its value.
26307
263081999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26309
26310 * gdb.base/call-ar-st.exp: Remove stray '#'.
26311 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26312 "short int" and "long int".
26313 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 26314 change, to mollify finicky HP compiler.
7a292a7a
SS
26315 * gdb.hp/reg-test.exp (testfile): Fix file name.
26316 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 26317
7a292a7a
SS
26318 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26319 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26320 alternate form of enum ptype.
26321
c906108c
SS
263221999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26323
7a292a7a
SS
26324 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26325 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
26326 passing skip_hp_tests, so as not to waste time on guaranteed
26327 failure.
7a292a7a 26328
c906108c
SS
26329 * gdb.c++/overload.cc: Pass string instead of char addr, always
26330 init ccpfoo.
26331 * gdb.c++/templates.cc: Fix syntax error.
26332
7a292a7a
SS
26333Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26334
26335 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 26336 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
26337 command.
26338
263391999-03-18 James Ingham <jingham@cygnus.com>
26340
26341 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26342
26343 * gdb.c++/method.exp: It was testing an uninitialized int on the
26344 stack and assuming it was positive.
26345
26346 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26347
26348 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 26349 keep it from killing the rest of the tests.
7a292a7a
SS
26350 Use gdb_continue_to_end.
26351
26352 * gdb.base/sigall.exp: use gdb_continue_to_end.
26353
26354 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26355
26356 * gdb.base/display.exp: use runto_main, not run.
26357
d63a86f8
RM
26358 * gdb.base/default.exp: Check for the current error message in the
26359 r abbreviation test.
7a292a7a
SS
26360 Add strongarm to the targets that know info float.
26361
d63a86f8 26362 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
26363 run which doesn't work with monitors.
26364
6fdff2c5
PA
26365 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26366 1034 test.
7a292a7a
SS
26367
26368 * gdb.base/break.exp: use the gdb_continue_to_end proc.
26369
6fdff2c5
PA
26370 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26371 end of a program. Traps the case (in Cygmon) when the program
26372 never really exits. Same as Mark's continue_to_exit, but I had
26373 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
26374
26375 * config/monitor.exp (gdb_target_monitor): added another
26376 target_info parameter: remotebinarydownload. This will set the
26377 remotebinarydownload flag if this is causing some boards trouble.
26378
263791999-03-18 Mark Salter <msalter@cygnus.com>
26380
26381 * lib/gdb.exp (continue_to_exit): New function.
26382
26383 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26384 * gdb.base/ending-run.exp: Ditto.
26385 * gdb.base/step-test.exp: Ditto.
26386
263871999-03-16 Stan Shebs <shebs@andros.cygnus.com>
26388
26389 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26390 (suggested by Art Haas <ahaas@neosoft.com>).
26391
263921999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
26393
889bf7c5 26394 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
26395
26396Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
26397
26398 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 26399 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
26400
264011999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
26402
26403 * gdb.base/call-strs.exp: Don't assume that `step' will step over
26404 a call to strlen; sometimes we do have sources.
26405
264061999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
26407
26408 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 26409 character, so GDB won't print garbage after its end.
d63a86f8 26410
c906108c
SS
26411 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26412 breakpoint there instead. Sometimes GCC emits memcpy to handle
26413 the large structures being passed by value, so we step into that
26414 instead of sum_array_print, which obscures what we're really testing.
26415 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
26416 the bizarre steps into memcpy, so do that here. Add check for
26417 stepping into function calls that pass large structures by value.
26418 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
26419 Remove all references to specific line numbers.
26420 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26421 New type and function.
26422 (main): Call large_struct_by_value, passing it a large struct by value.
26423 * lib/gdb.exp (gdb_get_line_number): New function.
26424
26425 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26426 more portable.
26427
7a292a7a
SS
264281999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26429
c906108c
SS
26430 * lib/gdb.exp: Doc fixes.
26431
7a292a7a
SS
264321999-03-05 Nick Clifton <nickc@cygnus.com>
26433
d63a86f8 26434 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
26435
264361999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
26437
c906108c 26438 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
26439 commands. They're not germane to this test, and they don't work
26440 that way on remote targets.
c906108c 26441
3fc11d3e
JM
264421999-03-01 James Ingham <jingham@cygnus.com>
26443
26444 * Changelog entries merged over from gdb development branch.
26445
3fc11d3e
JM
26446 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
26447
26448 * lib/gdb.exp (gdbtk_analyze_results): Generic function
26449 for outputting results of test run.
26450
2d4a1622 26451 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
26452
26453 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 26454
7a292a7a
SS
264551999-02-25 Felix Lee <flee@cygnus.com>
26456
26457 * lib/gdb.exp (debug_format): initialize
26458
c906108c
SS
264591999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
26460
26461 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26462 * gdb.base/call-rt-st.c: Ditto.
26463
c906108c
SS
264641999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
26465
26466 * gdb.threads/pthreads.exp (horiz): New variable.
26467 (test_startup): Fix regexps that capture thread numbers.
26468
264691999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
26470
26471 * gdb.base/smoke.exp: Disambiguate two test case names (both
26472 called ``print'').
26473
26474Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26475
26476 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 26477 compilation.
c906108c
SS
26478
264791999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26480
26481 * gdb.base/miscexprs.exp: Change patterns to match GDB's
26482 actual output formatting.
26483 * gdb.base/smoke.exp: GDB removes leading 0's.
26484 * gdb.base/volatile.exp: Don't check type of remuneration;
26485 that variable is no longer defined in constvars.c.
26486 * gdb.base/step-test.c (main): Exit with explicit exit code.
26487 * gdb.base/step-test.exp: Remove two nexti checks--they are
26488 not portable.
26489
264901999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26491
26492 * gdb.base/help.exp ("help delete display"): Fix test to match
26493 gdb's output.
26494
26495 * gdb.base/long_long.c (known_types): Initialize values to zero.
26496 * gdb.base/long_long.exp: Step one more line
26497 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
26498 leading zeros. Explicitly ask for hex formatting. Use
26499 unique test case names.
c906108c
SS
26500
26501Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26502
d63a86f8 26503 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
26504
26505 * gdb.c++/method.exp: Add missing close brace.
26506
265071999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
26508
26509 * gdb.base/maint.exp: Use 'set height 0' to disable page
26510 prompting, not 'set height 400'.
26511
26512 Fix a bunch of timeouts.
26513 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26514 four separate tests, so expect doesn't take forever to match a ton
26515 of text against a regexp with lots of .* forms.
26516 ("maint print psymbols", "maint print symbols"): Make some of
26517 these greps more selective, so that expect doesn't try to wade
26518 through huge piles of output and time out.
26519
26520 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
26521
26522 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
26523 tests: one which doesn't expect shlib events to be reported, and
26524 another which does, but is XFAIL for all platforms other than
26525 HP/UX.
c906108c
SS
26526
26527 * gdb.base/break.exp: Teach the test suite that the `catch
26528 fork', `catch vfork', and `catch exec' commands produce error
26529 messages on platforms that don't provide these features.
26530
26531Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26532
26533 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
26534 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
26535 (shortening names from solib_threshold.exp etc), won't run on
26536 anything but HP-UX for the foreseeable future.
c906108c 26537 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 26538 reflect move.
c906108c
SS
26539
26540Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
26541
26542 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 26543 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
26544
26545Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
26546
26547 * gdb.base/shlib-call.exp: add test cases to verify that gdb
26548 successfully re-sets breakpoints in shared libraries.
26549 * gdb.base/shmain.c (main): return 0, don't fall off the end.
26550
26551Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26552
d63a86f8
RM
26553 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
26554 and compiled w/o GCC.
c906108c
SS
26555
26556 * gdb.hp/watch-cmd.exp: ditto.
26557
26558 * gdb.hp/watch-hp.exp: ditto.
26559
26560 * gdb.hp/xdb1.exp: ditto.
26561
26562 * gdb.hp/xdb2.exp: ditto.
26563
26564 * gdb.hp/dbx.exp: ditto.
26565
26566Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
26567
26568 * constvars.c: Remove C++-isms.
26569 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 26570 with GCC.
c906108c
SS
26571
26572Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
26573
26574 The following changes are part of the HP merge.
26575
26576 * gdb.base/break.exp: new tests to verify that catchpoints for
26577 fork, vfork, and exec don't trigger inappropriately.
26578
26579 * gdb.base/opaque.exp: compile one file at a time, then link.
26580
26581 * gdb.base/signals.exp: be more restrictive about which hppa
26582 systems receive a setup_xfail. new tests.
26583
26584 * gdb.base/solib_threshold.build: new file.
26585 * gdb.base/solib_threshold.exp: new file.
26586 * gdb.base/solib_threshold.link_opts: new file.
26587 * gdb.base/solib_threshold.mk: new file.
26588 * gdb.base/gen_solib_threshold.c: new file.
26589
26590 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
26591 tests. New tests for enums inside classes.
26592
26593 * gdb.c++/compiler.cc: indicate support of template debugging.
26594
26595 * gdb.c++/demangle.exp: run hp style demangling tests.
26596
26597 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
26598 tests.
26599
26600 * gdb.c++/misc.cc: changes to support new tests.
26601
26602 * gdb.c++/templates.cc: changes to support HP's compiler; changes
26603 to support new tests.
26604
26605 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
26606 gcc, then skip these tests.
26607
26608Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
26609
26610 The following files are part of the HP merge; some had longer
26611 names at HP, but have been renamed to be no more than 14
26612 characters in length.
26613
26614 * gdb.hp/ambiguous.cc: new file.
26615 * gdb.hp/ambiguous.exp: new file.
26616 * gdb.hp/attach.exp: new file.
26617 * gdb.hp/attach2.exp: new file.
26618 * gdb.hp/classes-hp.exp: new file.
26619 * gdb.hp/ctti.exp: new file.
26620 * gdb.hp/ctti-add.cc: new file.
26621 * gdb.hp/ctti-add1.cc: new file.
26622 * gdb.hp/ctti-add2.cc: new file.
26623 * gdb.hp/ctti-add3.cc: new file.
26624 * gdb.hp/dbx.exp: new file.
26625 * gdb.hp/exception.cc: new file.
26626 * gdb.hp/exception.exp: new file.
26627 * gdb.hp/foll-exec.c: new file.
26628 * gdb.hp/foll-exec.exp: new file.
26629 * gdb.hp/foll-fork.c: new file.
26630 * gdb.hp/foll-fork.exp: new file.
26631 * gdb.hp/foll-vfork.c: new file.
26632 * gdb.hp/foll-vfork.exp: new file.
26633 * gdb.hp/inherit-hp.exp: new file.
26634 * gdb.hp/more-steps.exp: new file.
26635 * gdb.hp/namespace.cc: new file.
26636 * gdb.hp/namespace.exp: new file.
26637 * gdb.hp/optimize.exp: new file.
26638 * gdb.hp/pxdb.c: new file.
26639 * gdb.hp/pxdb.exp: new file.
26640 * gdb.hp/quicksort.exp: new file.
26641 * gdb.hp/reg-test.exp: new file.
26642 * gdb.hp/reg-test.s: new file.
26643 * gdb.hp/sized-enum.c: new file.
26644 * gdb.hp/sized-enum.exp: new file.
26645 * gdb.hp/start-stop.exp: new file.
26646 * gdb.hp/templ-hp.cc: new file.
26647 * gdb.hp/templ-hp.exp: new file.
26648 * gdb.hp/thr-lib.c: new file.
26649 * gdb.hp/thr-lib.exp: new file.
26650 * gdb.hp/thr-lib.h: new file.
26651 * gdb.hp/thr-liblib.c: new file.
26652 * gdb.hp/virtfun-hp.c: new file.
26653 * gdb.hp/virtfun-hp.exp: new file.
26654 * gdb.hp/watch-cmd.exp: new file.
26655 * gdb.hp/watch-hp.exp: new file.
26656 * gdb.hp/xdb1.exp: new file.
26657 * gdb.hp/xdb2.exp: new file.
26658 * gdb.hp/xdb3.exp: new file.
26659
26660Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
26661
26662 The following files are part of the HP merge; some had longer
26663 names at HP, but have been renamed to be no more than 14
26664 characters in length.
26665
26666 * gdb.base/ss.h: new file.
26667 * gdb.base/call-ar-st.c: new file.
26668 * gdb.base/call-ar-st.exp: new file.
26669 * gdb.base/call-rt-st.c: new file.
26670 * gdb.base/call-rt-st-exp: new file.
26671 * gdb.base/call-strs.exp: new file.
26672 * gdb.base/ena-dis-br.exp: new file.
26673 * gdb.base/environ.exp: new file.
26674 * gdb.base/long_long.exp: new file.
26675 * gdb.base/sect-cmd.exp: new file.
26676 * gdb.base/shlib-cl2.exp: new file.
26677 * gdb.base/smoke.exp: new file.
26678 * gdb.base/so-impl-ld.c: new file.
26679 * gdb.base/so-impl-ld.exp: new file.
26680 * gdb.base/so-indr-cl.c: new file.
26681 * gdb.base/so-indr-cl.exp: new file.
26682 * gdb.base/varargs.exp: new file.
26683 * gdb.base/volatile.exp: new file.
26684 * gdb.base/whatis-exp.exp: new file.
7a292a7a 26685 * gdb.base/display.exp: new file.
c906108c
SS
26686 * gdb.c++/derivation.exp: new file.
26687 * gdb.c++/local.exp: new file.
26688 * gdb.c++/member-ptr.exp: new file.
26689 * gdb.c++/overload.exp: new file.
26690 * gdb.c++/ovldbreak.exp: new file.
26691 * gdb.c++/ref-types.exp: new file.
26692 * gdb.c++/ref-types2.exp: new file.
26693 * gdb.c++/userdef.exp: new file.
d63a86f8 26694
c906108c
SS
26695Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
26696
26697 * gdb.base/default.exp: Reflect wording change in remote.c.
26698
dc96c6c7 26699Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26700
26701 * gdb.base/help.exp: Update to reflect current text.
26702
26703Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
26704
26705 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
26706 they're stack variables and contain garbage.
26707 * gdb.c++/anon-union.exp: new file.
26708
26709 The following changes were made by David Taylor
889bf7c5
PA
26710 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26711 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26712 in changes by HP.
c906108c
SS
26713
26714 * gdb.base/bitops.exp: new file.
26715 * gdb.base/default.exp: change expected messages for catch and
26716 info catch tests to reflect HP merge changes.
26717 * gdb.base/enable-disable-break.exp
26718 * gdb.base/ending-run.c: new file.
26719 * gdb.base/long_long.c: new file.
26720 * gdb.base/maint.exp: new file.
26721 * gdb.base/pointers2.exp: new file.
26722 * gdb.base/shlib-call2.exp: new file.
26723 * gdb.base/solib.exp: new file.
26724 * gdb.base/step-test.c: new file.
26725 * gdb.c++/anon-union.cc: new file.
26726 * gdb.c++/local.cc: new file.
26727 * gdb.c++/member-pointer.cc: new file.
26728 * gdb.c++/method.cc: new file.
26729 * gdb.c++/ref-types.cc: new file.
26730 * gdb.c++/ref-types2.cc: new file.
26731 * gdb.c++/userdef.cc: new file.
d63a86f8 26732
c906108c
SS
26733 * gdb.base/scope.exp: compile one file at a time, then link.
26734 * gdb.base/langs.exp: ditto.
26735 * gdb.base/list.exp: ditto.
d63a86f8 26736
c906108c
SS
26737Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
26738
26739 The following changes were made by David Taylor
889bf7c5
PA
26740 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26741 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26742 in changes by HP.
d63a86f8 26743
c906108c
SS
26744 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26745 skip tests. When compiling pass c++ flag to gdb_compile.
26746 * gdb.c++/
d63a86f8 26747
c906108c
SS
26748 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26749 test for on hppa*-*-hpux*; use args to see if c++ was specified.
26750 (skip_hp_tests): new function.
26751 (gdb_preprocess): new function.
26752
26753 * configure.in (hpdir): decide whether to configure gdb.hp.
26754 * configure: regenerated.
26755
26756 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26757 to delete on clean.
26758 (EXECUTABLES): update to reflect new additions.
26759 * gdb.base/commands.exp: update message expected.
26760 * gdb.base/default.exp: add copyright notice.
26761 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26762 * gdb.base/help.exp: update messages to reflect current text.
26763 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26764 targets for recurse tests.
26765 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26766 skip this file.
26767
26768 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26769 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26770 compilation.
26771 * gdb.c++/misc.exp: ditto.
26772 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26773 run the tests. tell gdb_compile that it's a c++ compilation.
26774
26775 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 26776
c906108c
SS
26777 * gdb.base/all-bin.exp: new file.
26778 * gdb.base/arithmet.exp: new file.
26779 * gdb.base/assign.exp: new file.
26780 * gdb.base/completion.exp: new file.
26781 * gdb.base/cond-expr.exp: new file.
26782 * gdb.base/condbreak.exp: new file.
26783 * gdb.base/define.exp: new file.
26784 * gdb.base/dollar.exp: new file.
26785 * gdb.base/environment.exp: new file.
26786 * gdb.base/eval-skip.exp: new file.
26787 * gdb.base/jump.exp: new file.
26788 * gdb.base/logical.exp: new file.
26789 * gdb.base/pointers.exp: new file.
26790 * gdb.base/relational.exp: new file.
26791 * gdb.base/section_command.exp: new file.
26792 * gdb.base/whatis-expr.exp: new file.
26793
26794 * gdb.base/all-types.c: new file.
26795 * gdb.base/call-array-struct.c: new file.
26796 * gdb.base/call-return-struct.c: new file.
26797 * gdb.base/call-strings.c: new file.
26798 * gdb.base/callfuncs2.c: new file.
26799 * gdb.base/condbreak.c: new file.
26800 * gdb.base/constvars.c: new file.
26801 * gdb.base/display.c: new file.
26802 * gdb.base/int-type.c: new file.
26803 * gdb.base/jump.c: new file.
26804 * gdb.base/miscexprs.c: new file.
26805 * gdb.base/pointers.c: new file.
26806 * gdb.base/pointers2.c: new file.
26807 * gdb.base/shmain.c: new file.
26808 * gdb.base/shr1.c: new file.
26809 * gdb.base/shr2.c: new file.
26810 * gdb.base/solib.c: new file.
26811 * gdb.base/solib1.c: new file.
26812 * gdb.base/solib2.c: new file.
26813 * gdb.base/varargs.c: new file.
26814 * gdb.c++/derivation.cc: new file.
26815 * gdb.c++/overload.cc: new file.
26816 * gdb.c++/ovldbreak.cc: new file.
26817 * gdb.hp/attach.c: new file.
26818 * gdb.hp/attach2.c: new file.
26819 * gdb.hp/average.c: new file.
26820 * gdb.hp/compiler.c: new file.
26821 * gdb.hp/compiler.cc: new file.
26822 * gdb.hp/execd-program.c: new file.
26823 * gdb.hp/follow-exec.c: new file.
26824 * gdb.hp/follow-fork.c: new file.
26825 * gdb.hp/follow-vfork-and-exec.c: new file.
26826 * gdb.hp/misc-hp.cc: new file.
26827 * gdb.hp/more-steps.c: new file.
26828 * gdb.hp/optimize.c: new file.
26829 * gdb.hp/quicksort.c: new file.
26830 * gdb.hp/run-hp.c: new file.
26831 * gdb.hp/start-stop.c: new file.
26832 * gdb.hp/sum.c: new file.
26833 * gdb.hp/templates-hp.cc: new file.
26834 * gdb.hp/thread-local-in-lib.c: new file.
26835 * gdb.hp/thread-local-in-lib.h: new file.
26836 * gdb.hp/thread-local-in-lib.lib.c: new file.
26837 * gdb.hp/vforked-program.c: new file.
26838 * gdb.hp/virtfunc-hp.cc: new file.
26839 * gdb.hp/watchpoint-hp.c: new file.
26840 * gdb.hp/xdb.c: new file.
26841 * gdb.hp/xdb0.c: new file.
26842 * gdb.hp/xdb0.h: new file.
26843 * gdb.hp/xdb1.c: new file.
26844
26845Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
26846
26847 The following change was made by Edith Epstein
889bf7c5
PA
26848 <eepstein@cygnus.com> as part of a project to merge in changes
26849 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
26850
26851 * gdb.c++/demangle.exp: changed the expected output for some
26852 ARM-style mangling -- removed second reference to datatype.
889bf7c5 26853 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 26854 T1<char>::~T1<char>(void)
c906108c 26855 becomes,
a9c64011
AS
26856 maint demangle __dt__11T1__pt__2_cFv
26857 T1<char>::~T1(void)
c906108c 26858
889bf7c5 26859 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 26860
c906108c
SS
26861Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
26862
26863 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26864 * gdb.trace/backtrace.exp: Likewise.
26865 * gdb.trace/circ.exp: Likewise.
26866 * gdb.trace/collection.exp: Likewise.
26867 * gdb.trace/deltrace.exp: Likewise.
26868 * gdb.trace/infotrace.exp: Likewise.
26869 * gdb.trace/limits.exp: Likewise.
26870 * gdb.trace/packetlen.exp: Likewise.
26871 * gdb.trace/passc-dyn.exp: Likewise.
26872 * gdb.trace/passcount.exp: Likewise.
26873 * gdb.trace/report.exp: Likewise.
26874 * gdb.trace/save-trace.exp: Likewise.
26875 * gdb.trace/tfind.exp: Likewise.
26876 * gdb.trace/tracecmd.exp: Likewise.
26877 * gdb.trace/while-dyn.exp: Likewise.
26878 * gdb.trace/while-stepping.exp: Likewise.
26879
268801998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
26881
26882 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26883
26884Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
26885
26886 From Brendan Kehoe:
26887 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26888 int return types.
26889
26890Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
26891
26892 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 26893 remote dos host testing right.
c906108c
SS
26894
26895Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
26896
26897 * gdb.base/corefile.exp: remove some xfails.
26898
26899Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
26900
26901 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 26902 have different timestamps.
c906108c
SS
26903
26904Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
26905
26906 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 26907 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
26908
26909Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
26910
26911 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 26912 delta.
c906108c
SS
26913
26914Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
26915
26916 * gdb.base/default.exp: Add brace missing from previous delta.
26917
26918Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
26919
26920 * gdb.base/default.exp: Support test for info float for all
26921 varieties of arm toolchain.
26922
dc96c6c7 26923Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26924
26925 * gdb.trace/*.exp: remove "remote_download" command.
26926
dc96c6c7 26927Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26928
26929 * gdb.trace/*.exp: remove -gdwarf from compile.
26930
26931Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
26932
26933 * gdb.trace/configure.in(AC_INIT): typo
26934 * gdb.trace/configure: regenerated
26935
dc96c6c7 26936Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26937
26938 * config/m68k-emc.exp: New file.
26939 * lib/<emc-support.exp trace-support.exp}: New files.
26940 * configure.in: add new test directory gdb.trace.
26941 * gdb.trace/{configure configure.in Makefile.in}: New files.
26942 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
26943 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
26944 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
26945 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
26946 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
26947 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
26948 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 26949
dc96c6c7 26950Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26951
26952 * gdb.c++/classes.exp: Change all regular expressions to match
26953 arbitrary combinations of newline/carriage-return, so that they
26954 will work equally well on Unix and Windows.
26955 * gdb.c++/inherit.exp: ditto.
26956 * gdb.c++/virtfunc.exp: ditto.
26957
269581998-08-11 Dawn Perchik <dawn@cygnus.com>
26959
26960 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
26961
c2d11a7d
JM
26962Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
26963
26964 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
26965 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
26966 to use a0-a3/d0-d3 as needed.
26967
26968Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
26969
26970 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
26971 * gdb.disasm/am33.exp: Corresponding changes.
26972
c906108c
SS
269731998-07-11 Felix Lee <flee@cygnus.com>
26974
26975 * gdb.base/callfuncs.exp: add cmp10 test.
26976 * gdb.base/callfuncs.c (cmp10): new function.
26977
26978Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
26979
d63a86f8 26980 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
26981 into two parts to get around a synchronization problem in expect.
26982
3fc11d3e
JM
26983Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
26984
26985 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
26986
26987 * configure.in: Add options for gdbtk testsuite.
26988
26989 * configure: Regenerate.
26990
26991 * gdb.gdbtk: New directory to hold gdbtk tests.
26992
c906108c
SS
26993Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26994
26995 * gdb.fortran/types.exp: Escape brackets in expect patterns
26996 for test_float_literal_types_accepted tests.
26997 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
26998 before run test.
26999
c2d11a7d
JM
27000Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27001
27002 * am33.exp: Just compile, do not link the testcase.
27003 * am33.s: Add ".am33" pseudoop to force am33 mode.
27004
c906108c
SS
270051998-06-25 Felix Lee <flee@cygnus.com>
27006
27007 * gdb.base/setshow.exp: make sure $pc is sane.
27008
27009 * gdb.stabs/weird.exp: split expect patterns properly.
27010
c2d11a7d
JM
27011Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27012
27013 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27014 * gdb.disasm/am33.exp: Run it.
27015
dc96c6c7 27016Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27017
27018 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27019 match processing (and eliminate spurious timeouts when running).
27020
dc96c6c7 27021Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27022
27023 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27024 exception test, but conditionalize it on target [mach | gnu].
27025
dc96c6c7 27026Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27027
27028 * gdb.base/overlays.exp: fixup compile line for linker script.
27029
27030Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27031
27032 * gdb.fortran/types.exp: don't guess at float size.
27033
27034Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27035
27036 * gdb.base/exprs.exp: delete test that depends on int size.
27037
27038Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27039
27040 * config/sim.exp: Removed checks for target triplets.
27041 (gdb_target_sim): Use gdb,target_sim_options.
27042
27043Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27044
27045 * gdb.base/reread.exp: New file.
27046 * gdb.base/reread1.c: New file.
27047 * gdb.base/reread2.c: New file.
27048
27049Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27050
27051 * config/sim.exp: Use 'target sim -sparclite' when running
27052 SPARClite programs.
27053
27054Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27055
27056 * gdb.base/structs2.exp: New file.
27057 * gdb.base/structs2.c: New file.
27058
27059Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27060
27061 * gdb.asm/common.inc: New file.
27062 * gdb.asm/d10v.inc: New file.
27063 * asm-source.exp: Pass -I's to gas to find .inc files.
27064 Update line numbers in expected output.
27065 * asmsrc1.s: Rewrite.
27066 * asmsrc2.s: Rewrite.
27067 * configure.in: Create arch.inc symlink.
27068 * configure: Regenerate.
27069 * Makefile.in (distclean): Delete arch.inc.
27070
27071Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27072
27073 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
27074 (t_enum_value2): ditto
27075 (t_enum_value3): ditto
27076 (main): ditto
c906108c
SS
27077Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27078
27079 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27080 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27081 change.
27082 Use gdb_test instead of send_gdb/gdb_expect sequences.
27083
27084Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27085
27086 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27087 not void.
27088
27089Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27090
27091 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
27092 subroutines. Used to test gdbs ability to single step through PC
27093 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
27094
27095Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27096
27097 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27098 more rigorous EGCS C++ error checking.
27099
27100Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27101
a9c64011
AS
27102 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27103 tests.
27104 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27105 function when asleep.
27106 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27107 for i*86 Linux and SVR4 signal handling problems.
27108 Remove linux xfail for `next to handler in signals_tests_1', fixed
27109 by recent infrun.c change.
27110 Limit backtrace to 10 frames to avoid timeout problems with infinite
27111 stack backtraces.
27112 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27113 target.[ch] change.
c906108c
SS
27114
27115Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27116
27117 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27118 for a newline from gdb before continuing.
27119 (default_gdb_exit): Just look for y or n.
27120 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27121 it does, fail the rests of the tests in the file.
27122
27123Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27124
27125 * config/cygmon.exp: New file.
27126
27127Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27128
27129 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 27130 main" test on remote targets.
c906108c
SS
27131
27132 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27133 run test on remote targets.
27134
27135Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27136
27137 * gdb.asm: New directory.
27138 * configure.in: Configure it.
27139 * configure: Regenerate.
27140 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27141 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27142
27143Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27144
27145 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27146
dc96c6c7 27147Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 27148
a9c64011
AS
27149 * gdb.base/overlays (several files): Merge the two overlay
27150 managers into one. Change variables (foox, barx, bazx, grbxx)
27151 back into ints but force them to load in their proper sections.
c906108c
SS
27152
27153Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27154
27155 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 27156 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
27157 (D10VCopy): Handle memory regions crossing 16k boundaries.
27158 (D10VCopy): Transfer data in 32 bit chunks.
27159
27160Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27161
27162 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 27163 correct.
c906108c
SS
27164
27165 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 27166 map. Include space for printf in .text segment.
c906108c
SS
27167
27168 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 27169 updated d10v memory VMA/LMA map.
c906108c 27170 (D10VCopy): Call D10VTranslate.
d63a86f8 27171
c906108c
SS
27172Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27173
27174 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27175
27176 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
27177 that it won't be put into the .sdata - small data -
27178 section. Update reference.
c906108c
SS
27179 * gdb.base/baz.c (bazx, baz): Ditto.
27180 * gdb.base/foo.c (foox, foo): Ditto.
27181 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27182
27183 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 27184 to be arrays.
d63a86f8 27185
dc96c6c7 27186Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 27187
a9c64011
AS
27188 * gdb.base/overlays.exp: fix up and get working again.
27189 Add tests for backtraces from an overlay function.
d63a86f8 27190
c906108c
SS
27191Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27192
27193 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27194 "calling function with watchpoint enabled".
27195
27196Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27197
27198 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 27199 gdb_suppress_tests for d10v-*-*.
c906108c
SS
27200 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27201 pending review of whether it is useful or not.
27202
27203Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27204
27205 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27206
27207Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27208
27209 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27210 * config/dve.exp: New file to support Densan boards.
27211
27212Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27213
27214 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 27215 reads and BSD.
c906108c
SS
27216
27217Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27218
27219 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27220 response.
27221
27222 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27223
27224Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27225
27226 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 27227 test.
c906108c
SS
27228
27229 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 27230 target_sizeof_long and target_bigendian_p.
c906108c 27231 (structs_by_value, structs_by_reference): Check values according
889bf7c5 27232 to targets word size and endianess.
d63a86f8 27233
c906108c
SS
27234Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27235
27236 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 27237 output.
c906108c
SS
27238
27239Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27240
27241 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 27242 Update test of set args help to match source change.
c906108c
SS
27243
27244Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27245
27246 * gdb.base/default.exp: Expect help system output to be in
27247 alphabetical order.
27248 * gdb.base/help.exp: Ditto.
27249
27250Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27251
27252 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27253 "i*86-pc-linux-gnu*".
27254 * gdb.base/interrupt.exp: Ditto.
27255 * gdb.base/corefile.exp: Ditto.
27256
27257 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 27258 define vxworks when building the testcase.
c906108c
SS
27259
27260 * gdb.base/ptype.exp: Fix testnames to be unique.
27261 * gdb.base/radix.exp: Ditto.
27262 * gdb.base/term.exp: Ditto.
27263 * gdb.base/whatis.exp: Ditto.
27264 * gdb.c++/classes.exp: Ditto.
27265
27266Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27267
27268 * gdb.base/callfuncs.exp: Fix indentation.
27269
27270 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27271 suppress_flag has been set.
27272 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27273 target feature.
27274
27275Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27276
27277 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27278 the testcase.
27279
27280 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 27281 set_debug_traps() and breakpoint().
c906108c
SS
27282 * gdb.c++/misc.cc (main): Ditto.
27283 * gdb.c++/templates.cc (main): Ditto.
27284 * gdb.c++/virtfunc.cc (main): Ditto.
27285
27286Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27287
27288 * lib/gdb.exp(gdb_step_for_stub): New function.
27289 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27290 exists, reload the executable and do a "continue" instead of
27291 doing a jump.
27292 (runto_main): Use gdb_step_for_stub.
d63a86f8 27293
c906108c 27294 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 27295 tests to have unique names.
c906108c
SS
27296 * gdb.base/callfuncs.exp: Ditto.
27297 * gdb.base/commands.exp: Ditto.
27298 * gdb.base/default.exp: Ditto.
27299 * gdb.base/help.exp: Ditto.
27300 * gdb.base/list.exp: Ditto.
27301 * gdb.base/opaque.exp: Ditto.
27302 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27303 similar tests.
d63a86f8 27304
c906108c
SS
27305 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27306 * gdb.c++/cplusfuncs.cc: Ditto.
27307 * gdb.c++/virtfunc.cc: Ditto.
27308
27309 * config/monitor.exp: Keep track of the last file we saw, rather
27310 than trying to get the info from gdb.
27311
27312 * gdb.fortran/types.exp: Move comment to previous line.
27313
27314Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27315
27316 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 27317 target mode.
c906108c
SS
27318
27319Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27320
27321 From Bob Manson:
27322 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 27323 string from GDB when it connects.
c906108c
SS
27324
27325 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27326
27327Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27328
27329 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
27330 if we can't get a debug format from GDB (we may be testing an
27331 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
27332
27333 * gdb.stabs/weird.exp: Fix quoting.
27334
27335 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27336
27337Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27338
27339 * config/arm-ice.exp: New file.
27340
27341Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27342
27343 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 27344 until it has been modified to work with the new testsuite.
c906108c 27345
99707966 27346 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
27347 testcase won't compile, cause all of the testcases in the file to
27348 fail instead.
c906108c
SS
27349
27350 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27351 (gdb_clear_suppressed): New procedure.
27352 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27353 it contains a positive value.
27354
27355Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
27356
27357 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27358
27359 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27360
27361Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
27362
27363 * lib/gdb.exp (setup_xfail_format): New function.
27364 (get_debug_format): New function to get debug format.
27365 (debug_format): New global variable to hold last value set
27366 by get_debug_format.
27367 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 27368 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
27369 * gdb.c++/ptype.exp: Ditto.
27370 * gdb.c++/classes.exp: Ditto.
27371 * gdb.c++/cplusfuncs.exp: Ditto.
27372 * gdb.c++/inherit.exp: Ditto.
27373 * gdb.c++/templates.exp: Ditto.
27374 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 27375
c906108c
SS
27376Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
27377
27378 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27379 host doesn't have a currently-open connection.
27380
27381 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
27382 any gdb stub target. Handle cases where gdb doesn't respond when
27383 interrupted in a sane fashion.
c906108c
SS
27384
27385 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 27386 same thing in a totally different way.
c906108c
SS
27387
27388 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 27389 setting "timeout".
c906108c 27390 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 27391 default_gdb_init now.
c906108c
SS
27392
27393Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
27394
27395 * gdb.base/printcmds.exp: Fix "check for floating addition"
27396 regexp to accept results within approx +/- .01 of exact value.
27397 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27398
27399Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
27400
27401 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 27402 properly.
c906108c
SS
27403 (gdb_expect): Add optional timeout parameter, and add timeout
27404 value to various calls.
27405 (gdb_suppress_tests): Only give one warning message per group.
27406
27407Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
27408
27409 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
27410 global variables. Handle getting a value for $timeout more
27411 gracefully.
c906108c
SS
27412
27413Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27414
27415 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 27416 initialize.
c906108c 27417 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 27418 by a target configuration file.
c906108c
SS
27419 (gdb_expect): Pass the timeout to remote_expect.
27420
27421 * config/monitor.exp(gdb_load): Fix typo in regexp.
27422
27423Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
27424
27425 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27426
27427Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
27428
27429 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
27430 here. Call gdb_target_exec before rebooting the target, to make
27431 sure the connection to the target is closed.
c906108c
SS
27432 (gdb_load): Pass the name of the executable to gdb_target_monitor.
27433 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27434 Also detect "Timeout reading from remote" error.
27435
27436 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
27437 gdb_target_monitor. Don't call gdb_file_cmd here; let
27438 gdb_target_monitor do it.
c906108c
SS
27439
27440 * gdb.disasm/hppa.exp: Don't use exec_output.
27441
27442Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
27443
27444 * gdb.base/list.exp: If we're debugging a non-native target,
27445 try to set the pc register to point to the start of the
27446 program before doing the first list command.
27447
27448 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 27449 test_calls after restarting.
c906108c
SS
27450
27451 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 27452 reloading.
c906108c
SS
27453
27454 * gdb.base/watchpoint.exp: Fix typo.
27455
27456 * gdb.base/setshow.exp: Check for use_gdb_stub.
27457
27458 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 27459 stub case.
c906108c
SS
27460 * gdb.base/langs.exp: Ditto.
27461
27462 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
27463 gdb_load_offset. If we weren't given a file to load, figure out
27464 what the current file is and use it.
c906108c
SS
27465
27466 * config/i386-bozo.exp: New file.
27467
27468Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
27469
27470 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27471 feature.
27472
27473 * config/proelf.exp: New entry.
27474
27475Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
27476
27477 * lib/gdb.exp: Remove spurious .* patterns at the beginning
27478 of regexps.
27479
27480 * gdb.base/watchpoint.exp: Don't run the test_stepping
27481 tests if gdb can't call functions on the target.
27482
27483 * gdb.base/setshow.exp: Don't run the set prompt tests if
27484 the board has gdb_prompt set.
27485
27486Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
27487
27488 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27489 * gdb.base/commands.exp: Likewise.
27490 * gdb.base/setshow.exp: Likewise.
27491
27492Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
27493
27494 * config/monitor.exp(gdb_start): Look for gdb_prompt target
27495 feature.
27496
27497 * config/i960.exp: New file.
27498
27499Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
27500
27501 * gdb.base/funcargs.exp: Check for gdb,short_int target
27502 feature instead of looking for explicit target triplets.
27503
dc96c6c7 27504Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 27505
d63a86f8 27506 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
27507 "p 123DEADBEEF", to check parse_number.
27508 * top.c: change "to enable to enable" to "to enable" in a couple
27509 of help strings.
27510
27511Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
27512
27513 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27514 on the mn10300.
d63a86f8 27515
c906108c
SS
27516Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
27517
27518 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
27519 where the test executable is run with explicit args.
27520 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
27521
27522Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
27523
27524 * gdb.base/run.c: Use FAKEARGV to build test executable that
27525 does not require a command line arg, since most simulators
27526 don't currently support passing such an arg into the simulated
27527 program.
27528 * gdb.base/commands.exp: Change tests to insert the proper
27529 value as the arg to the first recursive factorial call. Change
27530 compilation line to define FAKEARGV at compile time.
27531
27532Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
27533
27534 * gdb.base/recurse.exp: Enable these tests for the mn10300.
27535 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
27536 function with watchpoint enabled" test.
27537
27538Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
27539
27540 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 27541 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
27542
27543 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 27544 "Tests restarted" messages.
c906108c
SS
27545
27546Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
27547
27548 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
27549
dc96c6c7 27550Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27551
27552 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
27553 for INFO SYMBOL; add help tests for OVERLAY commands.
27554 * gdb.base/default.exp: add tests for INFO SYMBOL command;
27555 add tests for OVERLAY commands
27556 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
27557 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
27558 * gdb.base/sigall.c: add usestubs code frag
27559 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 27560
c906108c
SS
27561Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
27562
27563 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
27564 failures.
27565 (gdb_stop_suppressing_tests): Note that tests have restarted.
27566
27567Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
27568
27569 * config/h8300.exp: New file.
27570
27571Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
27572
27573 * gdb.base/setshow.exp: Check for the existence of a
27574 feature, not its value.
27575
27576Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
27577
27578 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
27579
27580 * gdb.base/scope.exp: It's now init0(), not init().
27581
27582 * gdb.base/scope0.c: For now, change init() to be init0().
27583
27584 * config/monitor.exp: Use gdb_serial in preference to serial
27585 or netport.
27586
27587 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 27588 and it's not already set.
c906108c
SS
27589
27590Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
27591
27592 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 27593 isn't using a stub and if it supports argument passing.
c906108c
SS
27594
27595Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
27596
27597 * config/udi.exp(gdb_start): Make sure UDICONF is set
27598 properly before starting gdb.
27599
27600Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
27601
27602 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
27603 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
27604 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
27605
27606Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
27607
27608 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 27609 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
27610
27611 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
27612
27613 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
27614
27615 * config/monitor.exp: Make sure we disconnect from the target.
27616 Also, try a reboot/reload cycle instead of failing if the
27617 load fails.
27618
27619Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
27620
27621 * gdb.base/default.exp: Don't set match_max.
27622 * gdb.base/help.exp: Ditto.
27623 * gdb.base/list.exp: Ditto.
27624 * gdb.base/signals.exp: Ditto.
27625
27626 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
27627 set, use remote_ld to download the testcase instead of
27628 the GDB loader.
27629
27630Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
27631
27632 * config/vr5000.exp: New file.
27633
27634 * config/monitor.exp(gdb_target_monitor): Add pattern for
27635 "Ending remote" to detect errors in connecting.
27636
27637 * gdb.base/setshow.exp: Add .* within auto language test.
27638
27639 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
27640 target feature.
27641
27642 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 27643 and reboot the board if necessary.
c906108c
SS
27644
27645 * gdb.base/setvar.exp(test_set): Handle multiple prints within
27646 a set of tests. Remove print.* from the patterns being checked.
27647
27648Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
27649
27650 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
27651 refer to gdb_spawn_id.
27652
27653 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
27654 longer used.
27655 * config/sparclet.exp: Ditto.
27656 * config/sparclet-old.exp: Ditto.
27657 * config/slite.exp: Ditto.
27658 * config/sim.exp: Ditto.
27659 * gdb.base/funcargs.exp: Ditto.
27660
27661 * lib/gdb.exp:Remove references to gdb_spawn_id.
27662 (gdb_expect): Move to remote.exp.
27663
27664Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
27665
27666 * config/monitor.exp: Detect the "Couldn't establish connection"
27667 message from GDB.
27668
27669Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
27670
27671 * gdb.base/bitfields.exp: Use runto instead of explicit
27672 gdb_run_cmd/gdb_expect sequences.
27673
27674 * gdb.base/break.exp(text_next_with_recursion): Add match for
27675 gdb_expect call.
27676
27677 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
27678 We also need to handle the "A program is being debugged already"
27679 prompt from gdb. Use gdb_test to set the baud rate.
27680
27681 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
27682 to 20000. Really. I mean it.
27683
27684Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27685
27686 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
27687 fails. If suppress_flag is set, skip perror message about not
27688 being able to send to GDB.
c906108c 27689 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 27690 GDB.
c906108c
SS
27691 (gdb_expect): If suppress_flag is set, always fail immediately.
27692 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
27693 (gdb_init): Call gdb_stop_suppressing_tests.
27694 (default_gdb_exit): Ditto.
27695 (default_gdb_start): Ditto.
27696
27697 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 27698 gdb_stop_suppressing_tests as appropriate.
c906108c 27699 * gdb.base/break.exp: Ditto.
889bf7c5 27700 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
27701 * gdb.base/commands.exp: Ditto.
27702 * gdb.base/exprs.exp: Ditto.
889bf7c5 27703 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
27704 * gdb.base/list.exp: Ditto.
27705 * gdb.base/recurse.exp: Ditto.
889bf7c5 27706 * gdb.base/scope.exp: Ditto.
c906108c
SS
27707 * gdb.base/structs.exp: Ditto.
27708 * gdb.c++/inherit.exp: Ditto.
27709
27710Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
27711
27712 * config/vr4300.exp: New file.
27713
99707966 27714 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 27715
99707966 27716 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
27717
27718Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
27719
27720 * lib/gdb.exp(gdb_init): New function.
27721
27722 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 27723 for each individual variable set.
c906108c
SS
27724
27725 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
27726 name.
27727
27728 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
27729
27730 * gdb.base/scope.exp: Use gdb_test.
27731
27732 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
27733 aborting; the testsuite driver will do that for us (see
27734 gdb_finish). Also, use gdb_test in a few more places.
27735
27736Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
27737
27738 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
27739
27740Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
27741
27742 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
27743 and "add_tests" are not at the same address.
27744
27745Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
27746
27747 * gdb.base/ptype.exp: Use gdb_test.
27748
27749Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
27750
27751 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27752 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27753 left in. No longer expect them to fail.
27754
27755 * gdb.stabs/*.mt; Deleted, no longer used.
27756 * gdb.stabs/configure.in: Remove references to target makefile
27757 frags.
27758 * gdb.stabs/configure: Rebuilt.
27759
27760 * gdb.disasm/*.mt: Deleted, no longer used.
27761 * gdb.disasm/configure.in: Remove references to target makefile
27762 frags. Use "sh3.s" as the unique filename for this directory.
27763 * gdb.disasm/configure: Rebuilt.
27764
27765 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27766 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27767 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27768
27769Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
27770
27771 * config/udi.exp: Use mondfe,name instead of remote_host.
27772
27773Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
27774
27775 * gdb.base/watchpoint.exp: Don't expect a failure when calling
27776 a function with a watchpoint enabled on the mn10200.
27777
27778 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27779 before trying to create it!
27780
27781Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
27782
27783 * config/vx.exp: Use hostname instead of netport.
27784
27785 * config/vxworks.exp: New file.
27786
27787 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27788
27789 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 27790 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
27791 occurs.
27792
27793 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27794 $gdb_spawn_id directly.
27795 (gdb_run_cmd): Try _start as well as start. Use the target feature
27796 gdb,start_symbol as the symbol to start from when jumping.
27797
27798Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
27799
27800 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27801 redundant) test.
27802
27803 * gdb.base/recurse.exp: Relax final value test for 'b' so that
27804 it doesn't lose for 16bit integer systems.
27805
27806Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
27807
27808 * gdb.fortran/types.exp: If the target doesn't support "double"
27809 data types, then expect "real" types to only be 4 bytes.
27810
27811 * gdb.c++/virtfunc.exp: Expect failure for virtual function
27812 call tests if the target doesn't support inferior function calls.
27813
27814 * gdb.base/printcmds.exp: Allow minor deviation in FP values
27815 in printf tests.
27816
27817Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
27818
27819 * gdb.base/help.exp: Disable "help set", "help show", and
27820 "help support". Simplify regexp for "help stack".
27821
27822 * gdb.base/default.exp: Set match_max to 5000 and the timeout
27823 to 60 seconds. Temporarily set match_max to 15000 around the
27824 "info copying" test.
27825
27826 * gdb.base/nodebug.exp: Don't try to do an inferior function
27827 call if the target doesn't support them.
27828 * gdb.base/printcmds.exp: Likewise.
27829 * gdb.base/setvar.exp: Likewise.
27830 * gdb.base/structs.exp: Likewise.
27831 * gdb.c++/templates.exp: Likewise.
27832 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
27833
27834 * gdb.base/recurse.exp: Enable for the mn10200.
27835
27836 * configure.in: Do configure gdb.stabs directory for *-*-elf
27837 targets.
27838 * configure: Rebuilt.
27839
27840 * gdb.base/break.exp: Check for gdb,noresults before testing
27841 exit status and/or results from the target.
27842 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27843 * lib/gdb.exp: Remove old (now bogus) initialization of
27844 noinferior, noargs, noresults and nosignals.
27845
27846Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
27847
27848 * config/sh.exp: New file.
27849
27850 * config/slite.exp: Try to connect multiple times to the board
27851 before rebooting. Only send a "monitor run" if need_monitor_run
27852 is set.
27853
27854 * gdb.base/break.exp: Don't do the "stub continue" test if
27855 the target has gdb_stub set.
27856
27857 * gdb.base/callfuncs.exp: Increase the timeout.
27858
27859 * gdb.base/interrupt.exp: Don't even try to compile the testcase
27860 if the target has gdb,noinferiorio set.
27861
27862 * gdb.base/list.exp: Increase match_max to 10000 characters.
27863
27864 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27865
27866 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27867 target.
27868
27869 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27870
27871Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
27872
27873 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
27874 trying to delete the copy of gdb. Catch the file delete so we
27875 don't die if the delete fails; also, the file should be copied to
27876 the host, not to the build.
c906108c
SS
27877
27878Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
27879
27880 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 27881 parenthesis in case it contains multiple regexps separated
c906108c
SS
27882 with |.
27883
27884 * gdb.base/watchpoint.exp: Use gdb_test.
27885 * gdb.base/default.exp: Ditto.
27886
27887Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
27888
99707966 27889 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 27890
c906108c
SS
27891 * gdb.base/scope.exp: Use gdb_test.
27892 * gdb.c++/classes.exp: Ditto.
27893 * gdb.c++/inherit.exp: Ditto.
27894
27895Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
27896
27897 * gdb.base/crossload.exp: Don't use execute_anywhere, use
27898 remote_exec instead.
27899 * gdb.base/corefile.exp: Don't be ridiculous.
27900 * gdb.base/*.c: Add missing stub invocations.
27901
27902Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
27903
27904 * config/slite.exp: Miscellaneous fixes.
27905
27906 * lib/gdb.exp: Fix runto.
27907
27908 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
27909 the target.
27910
27911 * gdb.base/watchpoint.exp: Fix regexp.
27912
27913 * lib/gdb.exp(default_gdb_exit): Add a catch to the
27914 close and wait commands, as the descriptor may now be
27915 invalid. Always call "remote_close host".
27916
27917Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
27918
27919 Major rewrite for testsuite revision.
d63a86f8 27920
c906108c
SS
27921 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
27922 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
27923 instead of relying on spawn_id to always contain a valid
27924 spawn id.
27925 (get_compiler_info): New procedure to build the ${binfile}.ci
27926 file, instead of replicating this in N different places.
27927 (gdb_compile): New procedure.
d63a86f8 27928
c906108c 27929 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
27930 appropriate arguments) instead of compile. Use gdb_test in a lot
27931 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
27932 at the start of a testcase, as this is no longer done magically.
27933
27934 config/*-gdb.exp: Rename without the -gdb suffix.
27935
27936 config/mips.exp: Use remote_close instead of exit_remote_shell.
27937 config/monitor.exp: Use target_info instead of looking at
27938 baud, timeout, etc.
27939 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
27940
27941Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27942
27943 * gdb.c++/templates.exp (test_ptype_of_templates),
27944 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
27945 Update expect patterns for destructors and assignment operators
27946 to match corresponding c-typeprint.c changes.
27947 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
27948 to destructor breakpoint test, GDB should be able to set the
27949 destructor breakpoint without specifying arguments.
27950
27951Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
27952
27953 * gdb.threads/pthreads.exp: Change result for failure to compile due
27954 to lack of pthreads runtime support from an error to simply an
27955 unsupported test, per dejagnu standards.
27956
27957Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27958
27959 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
27960 where GDB exits to reduce pattern match time.
27961 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
27962
27963 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
27964
dc96c6c7 27965Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27966
27967 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
27968 * gdb.base/default.exp: ditto.
27969 * gdb.base/nodebug.exp: ditto.
27970 * gdb.base/printcmds.exp: ditto.
27971 * gdb.base/ptype.exp: ditto.
27972 * gdb.base/setvar.exp: ditto.
27973 * gdb.base/structs.exp: ditto.
27974 * gdb.base/setshow.c: Guard against uninitialized values of argc.
27975
27976Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
27977
27978 * configure, */configure: Rebuild with autoconf 2.12.
27979
27980Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
27981
27982 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
27983 use new i*86-pc-linux*-gnu quads.
27984 * gdb.base/corefile.exp: Ditto.
27985 * gdb.base/signals.exp: Ditto.
27986 * gdb.base/sigall.exp: Ditto.
27987 * gdb.base/interrupt.exp: Ditto.
27988
27989 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
27990 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
27991 RedHat 4.0.
d63a86f8 27992
c906108c 27993 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
27994 linux. This allows the test case to at least compile on latest
27995 linux, but still not run due to missing the threads runtime library.
c906108c
SS
27996
27997Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27998
27999 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28000 directory to search gdb directory. Accept and step over conditional
28001 stack alignment code. Consume $prompt in failure cases.
28002 Reset timeout to $oldtimeout instead of some arbitrary value.
28003 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28004 timeout problems with infinite stack backtraces.
28005 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28006 Accept function parameters for linkfunc member.
28007
28008Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28009
28010 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28011 (CXXFLAGS): Remove, unreferenced.
28012 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
28013 previous -B options and also add -B option to pick up cross compiled
28014 runtime.
c906108c
SS
28015 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28016 doing cross compiles.
28017 (target_alias): Declare global.
28018 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28019 to verify that gcc exists in build tree, and if so set CC to that
28020 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 28021
c906108c
SS
28022Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28023
28024 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28025 ptype test for anonymous union. Fixup testcase to match
28026 current gcc debug output.
28027
28028Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28029
28030 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28031 force argument to an unsigned long type.
28032
28033Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28034
28035 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 28036 tests and anonymous union print/ptype tests.
c906108c
SS
28037 * gdb.base/list.exp (test_forward-search): Increase timeout by
28038 5 minutes for the "search extremely long line" case.
28039 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28040 completely optional and that the pass/fail messages use the command as
28041 the message if that third arg is a null string.
28042 (gdb_test_exact): Arrange that a null string pattern means match a
28043 null string output rather than any output, which might include random
889bf7c5 28044 errors.
c906108c
SS
28045 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28046 backtrace test.
28047 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28048 always failing and failure is now exposed by gdb.exp changes.
28049
28050Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28051
28052 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28053 weren't being noted.
28054
28055Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28056
28057 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28058 * gdb.stabs/weird.exp: Remove v_comb xfails.
28059
dc96c6c7 28060Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28061
28062 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 28063 list.exp scope.exp watchpoint.exp]
c906108c 28064 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 28065
dc96c6c7 28066Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28067
28068 * config/monitor.exp: Increase download timeout to 1000 seconds.
28069
dc96c6c7 28070Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28071
28072 * config/m32r.exp: Increase timeout to 120 seconds.
28073
28074Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28075
28076 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28077 and accept older ordering as obsolescent gcc or gdb.
28078 * gdb.c++/templates.exp: Ditto.
28079 * gdb.c++/virtfunc.exp: Ditto.
28080
28081Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28082
28083 * gdb.base/coremaker.c: Add code to mmap some data so we
28084 can check that it ends up in the core file.
28085 * gdb.base/corefile.exp: Add test to read mmapped data
28086 from core file.
28087
dc96c6c7 28088Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28089
28090 * config/m32r.exp: New file.
28091
28092Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28093
28094 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28095 that cflags can contains -gstabs, and work correctly for other tests.
28096
dc96c6c7 28097Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28098
28099 * gdb.base/setshow.exp: New file, tests show and set.
28100 * gdb.base/setshow.c: New file, tests show and set.
28101 * gdb.base/help.exp: Add test for help set|show annotate.
28102 * gdb.base/default.exp: Add test for set|show annotate.
28103
28104Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28105
28106 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28107 errors unique.
28108 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28109 explicitly.
28110
28111Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28112
28113 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28114 and width commands. This is done elsewhere.
28115 * (gdb_start): Don't call gdb_start_sim here. That's already
28116 done in gdb_load. This fixes lots of failures in default.exp.
28117
28118Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28119
28120 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28121 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28122 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28123 in the same we we treat other failures (since it may be an expected
889bf7c5 28124 condition), rather than as an error.
c906108c
SS
28125 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28126 old test format.
28127
28128Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28129
28130 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28131 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 28132 twice. Nuke the duplicates.
c906108c 28133 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 28134 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
28135 Remove config.h along with other config files.
28136
28137Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28138
28139 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28140 "p func1 ()" and note that rests of tests are skipped.
28141 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 28142 setup_xfails for "print func2::coremaker_local".
c906108c
SS
28143 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28144 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28145 affected by the previous run test.
28146 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28147 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28148 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28149 "pass int powerset tuple" and "pass modeless int powerset tuple".
28150 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28151 "real write 4" and "real write 8".
28152 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 28153 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
28154 "print \$i after tuple assign 2", and
28155 "print vs2 after tuple assign 2".
28156 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28157 meaningful error message and return -1 so the caller can
28158 suppress further tests and avoid a cascade of errors.
d63a86f8 28159
c906108c
SS
28160Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28161
28162 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28163 format for printing version.
28164 * gdb.base/default.exp: Ditto.
28165 * gdb.base/interrupt.exp: Fix problem with cascade of
28166 errors if child process dies while calling a function.
d63a86f8 28167
c906108c
SS
28168Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28169
28170 * Makefile.in (VPATH): Add
28171 * Makefile.in (Makefile, config.status): Fix rules so things get
28172 remade when necessary.
28173
28174Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28175
28176 * Makefile.in (just-check): Add path to sibling expect dir
28177 to environment variable specified by RPATH_ENVVAR.
28178
28179Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28180
28181 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28182 (just-check): Add shared library paths for libstdc++, tk,
28183 tcl, bfd, and opcodes to the environment variable specified
28184 in RPATH_ENVVAR.
28185 * configure.in: Add support to recognize --enable-shared flag
28186 and generate correct value for RPATH_ENVVAR.
28187 * configure: Regenerated with autoconf.
28188
28189Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28190
28191 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 28192 include all osf versions.
c906108c
SS
28193 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28194 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28195 when target is linux. When failing to build pthreads test
28196 executable, give more meaningful message.
28197 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28198 arg for pthread_create.
d63a86f8 28199
c906108c
SS
28200Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28201
28202 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 28203 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 28204 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 28205 and -lpthreads (everybody else).
c906108c
SS
28206 (test_startup): Fail gracefully if threads are not supported.
28207 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28208 "p/c array_index("abcdef",2)" when not gcc compiled.
28209 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28210 "print func2::coremaker_local" when not gcc compiled.
28211 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28212 "ptype on opaque struct tagname (statically)",
28213 "ptype on opaque struct tagname (dynamically) 1", and
28214 "ptype on opaque struct tagname (dynamically) 2"
28215 for not compiled with gcc.
28216 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28217 backtrace when compiled with gcc.
d63a86f8 28218 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
28219 than always return success.
28220
28221Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28222
28223 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28224
28225Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28226
28227 * gdb.base/structs.exp: Undo last change.
28228
28229Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28230
28231 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28232 encapsulate all the steps/nexts done during self test, starting
28233 at main, and makes them less sensitive to optimization issues.
28234 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28235 signal handler" test.
28236 * gdb.threads/pthreads.exp: Only run this for native configs.
28237 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28238 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28239 tests.
28240 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28241 for "runto test_calls(void)" test.
d63a86f8 28242
c906108c
SS
28243Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28244
28245 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28246 and don't expect address info in breakpoint confirmations.
28247
28248Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28249
28250 * gdb.base/list.exp (test_forward_search): Increase timeout
28251 temporarily by 60 seconds for searching extremely long line,
889bf7c5 28252 and then reset to old value when done. Increase expect input
c906108c
SS
28253 buffer to 10000.
28254
28255Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28256
28257 * gdb.base/list.exp (test_forward_search): Fix to handle very
28258 long source line without overflowing expect's input buffer.
28259
28260Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28261
28262 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28263 "buffer_full".
28264
28265 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28266 "buffer_full".
28267
28268 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28269 "buffer_full".
28270
28271 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28272 "buffer_full".
28273
28274Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28275
28276 * configure.in (configdirs): Add gdb.threads.
28277 * configure: Regenerated with autoconf.
28278 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28279 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28280 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 28281
c906108c
SS
28282Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28283
28284 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28285
28286Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28287
28288 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28289 each signal's status in the output of "handle all print".
28290 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28291 the \r\n sequence that immediately precedes the gdb prompt.
28292 * gdb.base/a1-selftest.exp: Save original timeout and restore
28293 after test.
28294
28295Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28296
28297 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28298 symbol.
28299
28300Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28301
28302 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28303
28304Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28305
28306 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28307 timeout by 60 seconds.
28308
28309Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28310
28311 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28312 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28313 error return.
28314
28315Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28316
28317 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28318 gdb initialization, also report how long dejagnu waited. Restore
28319 old timeout before doing error return. Temporarily increase timeout
889bf7c5 28320 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
28321
28322Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28323
28324 * lib/gdb.exp: Report timeout value for verbosity level 2.
28325 * config/gdbserver.exp: Ditto.
28326 * config/hppro.exp: Ditto.
28327 * config/mips-gdb.exp: Ditto.
28328 * config/monitor.exp: Ditto.
28329 * config/netware.exp: Ditto.
28330 * config/sim-gdb.exp: Ditto.
28331 * config/slite-gdb.exp: Ditto.
28332 * config/udi-gdb.exp: Ditto.
28333 * config/unix-gdb.exp: Ditto.
28334 * config/vx-gdb.exp: Ditto.
28335 * gdb.base/a1-selftest.exp: Ditto.
28336 * gdb.base/a2-run.exp: Ditto.
28337 * gdb.base/break.exp: Ditto.
28338 * gdb.base/corefile.exp: Ditto.
28339 * gdb.base/list.exp: Ditto.
28340 * gdb.base/recurse.exp: Ditto.
28341 * gdb.base/scope.exp: Ditto.
28342 * gdb.base/signals.exp: Ditto.
28343
28344Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28345
28346 * gdb.threads/Makefile.in (docdir): Removed.
28347
28348Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28349
28350 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 28351 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 28352 @srcdir@.
d63a86f8 28353 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
28354 autoconf 2.5 or higher.
28355 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28356
28357Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
28358
28359 * configure: Regenerated.
28360 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28361 avoid name clashes with SunOS headers.
28362
28363Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
28364
28365 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28366
28367Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
28368
28369 * gdb.base/callfuncs.exp: Finish last change -- make sure the
28370 prototype information ends up in the compiler info file.
28371
28372Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
28373
28374 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28375 attempting to regenerate it. Eliminate use of a temporary file
28376 and just generate the info file directly. Source it immediately,
28377 for consistency of use.
28378 * gdb.base/corefile.exp: Ditto
28379 * gdb.base/exprs.exp: Ditto.
28380 * gdb.base/funcargs.exp: Ditto.
28381 * gdb.base/langs.exp: Ditto.
28382 * gdb.base/list.exp: Ditto.
28383 * gdb.base/mips_pro.exp: Ditto.
28384 * gdb.base/nodebug.exp: Ditto.
28385 * gdb.base/opaque.exp: Ditto.
28386 * gdb.base/ptype.exp: Ditto.
28387 * gdb.base/scope.exp: Ditto.
28388 * gdb.base/setvar.exp: Ditto.
28389 * gdb.base/signals.exp: Ditto.
28390 * gdb.base/whatis.exp: Ditto.
28391 * gdb.c++/templates.exp: Ditto.
28392 * gdb.c++/virtfunc.exp: Ditto.
28393 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 28394 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
28395
28396Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28397
28398 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
28399 it got fixed by the recent lookup_minimal_symbol_by_pc change.
28400 Increase timeout, a lot of single stepping might be needed if the
28401 target has no hardware watchpoints.
28402
28403Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
28404
28405 * gdb.base/break.exp: Ignore compiler warnings when compiling
28406 break.c.
28407 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28408 * gdb.base/default.exp: Add h8300 xfails. Handle messages
28409 from remote-sim.
28410 * gdb.base/exprs.exp: Add h8300 xfails.
28411 * gdb.base/funcargs.exp: Likewise.
28412 * gdb.base/nodebug.exp: Likewise.
28413 * gdb.base/printcmds.exp: Likewise.
28414 * gdb.base/ptype.exp: Likewise.
28415 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
28416 h8300 xfails.
d63a86f8 28417 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
28418 on the h8300.
28419 * gdb.base/funcargs.c: Explicitly make last constant argument to
28420 call_after_alloca_subr an unsigned long type.
28421 * gdb.base/return.c: Include stdio.h.
28422
28423Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
28424
28425 * config/abug.exp: New file for the older Motorola Bug monitor
28426 that runs on the mvme13x series VME boards.
28427 * config/monitor.exp: Use the new config array for target settings
28428 if they exist.
28429
28430Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
28431
28432 * sim-gdb.exp: Make the SH simulator allocate less space when
28433 it is targeted.
28434
28435Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
28436
28437 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28438 test.
28439
28440Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
28441
28442 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28443 "rs6000-*-*" for "list function in include file" when gcc compiled.
28444 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28445 for "p ctable1[120]".
28446 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28447 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28448 Remove setup_xfail for "rs6000-*-*" for
28449 "print 'scope0.c'::filelocal before run".
28450 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28451 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28452 since some compilers don't allow both options to be given
28453 on the same command line. Create object file and move it.
d63a86f8 28454
c906108c
SS
28455Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
28456
28457 * gdb.base/corefile.exp: Always regenerate the core file, since
28458 we always regenerate the coremaker program. Detect special case
28459 where registers cannot be read from core file.
d63a86f8 28460
c906108c
SS
28461Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
28462
28463 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28464 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28465 * gdb.c++/templates.exp: Only match on basename of file since
28466 some formats like xcoff don't encode directory information.
28467 * gdb.stabs/weird.exp: Use the right sed script for powerpc
28468 and rs6000 AIX xcoff targets.
28469 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28470 * configure: Regenerate.
28471 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28472 here, rather than in distclean.
d63a86f8 28473
c906108c
SS
28474Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
28475
28476 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28477 defined, and use it to compile the test case with -O2. The
28478 native compilation still uses no optimization.
28479 * gdb.base/mips_pro.c: Remove inline assembly code since
28480 it is compiled PIC by default, which results in assembler
28481 warnings that make the testsuite think the compilation
28482 was unsuccessful.
28483
28484Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
28485
28486 * gdb.c++/misc.exp: Add note to message for
28487 "print s.a for foo struct" that this is a known gcc 2.7.2
28488 and earlier bug.
28489
28490Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
28491
28492 * gdb.base/break.exp: Fix pattern for matching "Delete all
28493 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
28494 setup_xfail for deleting all breakpoints test. Fix various
28495 timeout messages to include "(timeout)".
28496 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28497 for "p t_float_values2(3.14159,float_val2)".
28498 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28499 for "continue to call2g" when gcc compiled.
28500 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28501 "up to foo in langs.exp", "show language at foo in langs.exp",
28502 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28503 and "show language at fsub in langs.exp".
28504 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28505 "list line 1 in include file", "list message for lines past EOF",
28506 "list function in include file", "list list0.h:foo", and
28507 "list filename:function; nonexistant function".
28508 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28509 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28510 and "ptype t_char_array" to be for native cc only.
d63a86f8 28511
c906108c
SS
28512Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
28513
d63a86f8 28514 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 28515 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 28516 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
28517
28518Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
28519
28520 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
28521 "bt in signals.exp". This problem only appears when running
28522 the testsuite, and then only intermittently.
28523
28524Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
28525
28526 * gdb.base/return.exp (return_tests): Differentiate between
28527 two tests of continuing.
28528
28529Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
28530
28531 * */Makefile.in (maintainer-clean): Remove config.log.
28532 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
28533 * gdb.c++/Makefile.in (PROGS): Add inherit.
28534 (clean): Remove *.ci.
28535
28536Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
28537
28538 * gdb.c++/misc.cc: Add test code from Mike Stump.
28539 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
28540
28541Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
28542
28543 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
28544 to "alpha-*-osf2*" and add comment.
28545 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
28546 setup_xfail for "step over execarg initialization" and
28547 "step over corearg initialization".
c906108c
SS
28548 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
28549 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
28550 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 28551 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
28552 "print func2::coremaker_local", and "backtrace in corefile.exp".
28553 * gdb.base/signals.exp: Build and source signals.ci.
28554 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
28555 to be for gcc only.
28556 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 28557
c906108c
SS
28558Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28559
28560 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
28561 Feb 3 procfs.c change.
28562
28563Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
28564
28565 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
28566
28567Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
28568
28569 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
28570 from dejagnu's apparent default of 10 seconds, which gives random
28571 results when running the tests over NFS on moderately loaded systems.
28572 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
28573
28574Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
28575
28576 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
28577 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 28578 result reports.
c906108c
SS
28579
28580Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
28581
28582 * configure.in (CY_AC_PATH_TCLH): Remove.
28583 * configure: Regenerate.
28584
28585Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
28586
28587 * gdb.c++/Makefile.in (clean): Add missing '{'.
28588
28589Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
28590
28591 * lib/gdb.exp: Provide a default value for noinferior.
28592
28593 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
28594 Load libgloss.exp.
28595
28596Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
28597
28598 * gdb.disasm/hppa.exp: Compile directly into an executable, use
28599 the executable, not the .o to run the tests from.
28600
28601Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
28602
28603 * gdb.base/break.exp: Don't test for program exit or exit status
28604 if $noresults if nonzero.
28605 * gdb.base/langs.exp: Likewise.
28606 * gdb.base/watchpoint.exp: Likewise.
28607
28608 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
28609 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
28610 trying to compile the testcase.
28611
28612Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
28613
28614 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
28615 * gdb.base/signals.exp (continue to handler): Likewise.
28616
28617Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
28618
28619 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
28620
28621 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
28622
28623Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
28624
28625 * gdb.base/corefile.exp: Recognize "not found" as failure
28626 when trying to determine if a core file was generated.
28627 If no core file was generate the first time, try again without
28628 the ulimit -c to work around braindamaged shells.
28629
28630Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
28631
28632 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
28633 [] tests with "test" and enclose string in quotes.
28634 * gdb.stabs/configure: Rebuild
d63a86f8 28635
c906108c
SS
28636Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
28637
28638 Changes in sync with expect:
28639 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
28640 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
28641 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
28642 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
28643 argument to AC_REQUIRE.
28644 * configure: Regenerated.
28645
28646Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
28647
28648 * gdb.base/corefile.exp: When generating a core, discard any
28649 error messages about ulimit not found and the "core dumped"
28650 message from the shell that runs the coredumper.
28651
28652Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
28653
28654 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
28655
28656 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
28657 which sed script to run. Expect failure for v_comb test
28658 on PA targets too.
d63a86f8 28659
c906108c
SS
28660Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
28661
28662 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 28663 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
28664
28665Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
28666
28667 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
28668 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 28669 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
28670 * lib/gdb.exp (default_gdb_start): Fix typo.
28671 * gdb.base/corefile.exp: Allow "Core was generated by ..."
28672 messages to not include the full program name that caused
28673 the core dump since some systems (such as solaris) apparently
28674 truncate this path to about 80 characters.
28675 When generating a core file first try increasing the core file
28676 size limit to unlimited since some systems may default it to
28677 zero, and it is harmless to try it. Move the test for failing
28678 to generate a core file to where it will actually get executed.
28679 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
28680 new gdb result from g++ debug info improvements and make old
28681 pattern obsolescent. Also account for size_t differences
28682 (may be int or long).
28683 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
28684 initialization before function call is placed in the delay slot
28685 and thus appears to be skipped over by commands such as "next".
28686
28687Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
28688
28689 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
28690
28691Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
28692
28693 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
28694 input source file; fix code to compile test to deal with this
28695 convention.
28696 * gdb.c++/*.exp: Likewise.
28697
28698Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
28699
28700 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
28701 "bt in signals.exp".
28702
28703Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
28704
28705 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
28706 "step over execarg initialization" and
889bf7c5 28707 "step over corearg initialization".
c906108c
SS
28708
28709Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
28710
28711 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
28712 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
28713
28714Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
28715
28716 From Rob Savoye (rob@poseidon.cygnus.com)
28717 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
28718 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
28719 configure.in}, gdb.disasm/{Makefile.in, configure.in},
28720 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
28721 configure.in}: Major reworking for autoconfig.
c906108c
SS
28722 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
28723 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 28724 New files.
c906108c
SS
28725 * config/unix-gdb.exp: Make GDB global.
28726 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
28727 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
28728 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
28729 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
28730 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
28731 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 28732 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
28733 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
28734 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
28735 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
28736 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 28737 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
28738 to returns as necessary, arrange for test to compile own testcase
28739 executable.
c906108c 28740 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 28741
c906108c
SS
28742Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
28743
28744 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 28745 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
28746 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28747 "backtrace through signal handler".
28748
28749Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28750
28751 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
28752 continuing from a job control stop signal.
28753 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
28754
28755Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
28756
28757 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28758 * gdb.base/corefile.exp: Likewise.
28759 * gdb.base/funcargs.exp: Likewise.
28760
28761Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
28762
28763 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
28764 * config/monitor.exp: Add support for setting baud rate.
28765
28766Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
28767
28768 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28769 i*86-*-linux* xfails for "backtrace through signal handler".
28770 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28771 "print func2::coremaker_local".
28772 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 28773 alpha-dec-osf2* xfail for
c906108c
SS
28774 "delete all breakpoints when none".
28775
28776Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
28777
28778 * gdb.base/break.exp: Change test that deletes all breakpoints
28779 when no user breakpoints are installed. A post 4.15 change
28780 causes gdb to no longer prompt in this case.
28781
28782Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
28783
28784 * gdb.base/return.exp (return_tests): Change xfail for test
28785 "correct value returned double test" to stop xfailing at
28786 Solaris 2.5. Apparently the bug has been fixed.
28787
28788Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
28789
28790 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28791 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28792
28793Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
28794
28795 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28796 * gdb.disasm/hppa.s: Corresponding changes.
28797
28798Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
28799
28800 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28801 makefile fragment.
28802 * config/mt-hpux: Deleted.
28803
28804Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
28805
d63a86f8 28806 * Many files: When warning about suppressed tests due to a
c906108c
SS
28807 nonexistant test binary, avoid incrementing the warning count.
28808
28809Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
28810
28811 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 28812
c906108c
SS
28813Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28814
28815 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
28816 "sparc-*-solaris2*".
28817
28818Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28819
28820 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
28821 Add global and local variables and initialize them.
28822 * gdb.base/corefile.exp: Test correct mapping of corefile sections
28823 by printing variables. Remove rs6000 and powerpc xfails, BFD now
28824 extracts the file name and terminating signal from the core file.
28825 * TODO: Remove note about tests for correct mapping of corefile.
28826 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
28827 from optimizing it away.
28828 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
28829 handles common blocks.
28830
28831Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
28832
28833 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28834 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28835
28836Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
28837
28838 * Makefile.in (maintainer-clean): New target, synonym for
28839 realclean.
28840 * gdb.base/Makefile.in (maintainer-clean): Likewise.
28841 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28842 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28843 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28844 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28845 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28846
28847Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
28848
28849 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
28850 xfails when not gcc compiled for "print foo::funclocal".
28851 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28852 "print foo::funclocal at foo",
28853 "print 'scope1.c'::foo::funclocal at foo",
28854 "print foo::funclocal_bss at foo",
28855 "print 'scope1.c'::foo::funclocal_bss at foo",
28856 "print foo::funclocal_ro at foo",
28857 "print 'scope1.c'::foo::funclocal_ro at foo",
28858 "print bar::funclocal at foo" and
28859 "print 'scope1.c'::bar::funclocal at foo".
28860 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
28861 gcc compiled for "print foo::funclocal at bar".
28862 Expand all messages to ensure that they identify that
28863 the test is at bar().
28864 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28865 gcc compiled for:
28866 "ptype on opaque struct pointer (statically)",
28867 "ptype on opaque struct tagname (statically)",
28868 "ptype on opaque struct pointer (dynamically) 1",
28869 "ptype on opaque struct tagname (dynamically) 1",
28870 "ptype on opaque struct pointer (dynamically) 2" and
28871 "ptype on opaque struct tagname (dynamically) 2
28872 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28873 gcc compiled for:
28874 "p datalocal"
28875 "whatis datalocal",
28876 "ptype datalocal",
28877 "p bsslocal",
28878 "whatis bsslocal", and
28879 "ptype bsslocal".
28880 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28881 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28882 when not gcc compiled.
28883 * gdb.base/funcargs.exp (float_and_integral_args): Add
28884 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28885 compiled.
28886 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
28887 "backtrace from call6a" when not gcc compiled.
28888 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28889 "backtrace from call7a" when not gcc compiled.
28890 * gdb.base/callfuncs.exp (do_function_calls):
28891 Add "hppa*-*-hpux*" xfail when not gcc compiled for
28892 "p t_char_array_values(char_array_val2,char_array_val1)",
28893 "p t_char_array_values(char_array_val1,char_array_val2)",
28894 "p t_char_array_values("carray 1","carray 2")",
28895 "p t_char_array_values("carray 1",char_array_val2)",
28896 "p t_char_array_values(char_array_val1,"carray 2")",
28897 "p sum_args(1,{2})",
28898 "p sum_args(2,{2,3})",
28899 "p sum_args(3,{2,3,4})",
28900 "p sum_args(4,{2,3,4,5})"
28901 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28902 "backtrace in corefile.exp" when not gcc compiled.
28903
28904Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28905
28906 * gdb.base/signals.exp: Rewrite `handle all print' test as
28907 a procedure. Accept blanks or TABs as whitespace, increase
28908 timeout and expect input buffer size for the large output
28909 from the command. Remove "i*86-*-bsdi2.0" xfail.
28910
28911Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28912
28913 * gdb.base/setvar.exp: Add new testcases for truncation when
28914 assigning invalid values to bitfields.
28915
28916Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
28917
d63a86f8 28918 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
28919 mips-sgi-irix* xfail for
28920 "call inferior func with struct - returns char *"
28921 and fix test so that an optional (unsigned char *) cast is
889bf7c5 28922 accepted in the result.
c906108c
SS
28923
28924Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
28925
28926 * gdb.base/funcargs.exp (float_and_integral_args): Remove
28927 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28928 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
28929 * gdb.base/signals.exp: Remove duplicate "handle all print" test
28930 that accidentally got checked in.
28931
28932Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
28933
d63a86f8 28934 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
28935 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
28936 compiled test.
28937 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
28938 Add mips-sgi-irix5* xfail for not gcc compiled.
28939 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
28940 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
28941 compiled for "p top", "whatis top", "p middle", and "whatis
28942 middle".
c906108c
SS
28943 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
28944 "whatis signed char" for not gcc compiled.
28945 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
28946 "set variable signed char=-1 (-1)" and
28947 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
28948 * gdb.base/funcargs.exp (float_and_integral_args):
28949 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
28950 Add mips-sgi-irix* xfail when not gcc compiled for
28951 "continue to call2b".
28952 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
28953 "continue to call2g".
6fdff2c5
PA
28954 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
28955 compiled for "backtrace from call6a"
28956 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
28957 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
28958 when not gcc compiled for "backtrace from call7a".
c906108c
SS
28959 (localvars_after_alloca): Fix gdb_test cmds for
28960 "print * after runto ...".
28961 Remove rs6000-*-* xfails for
28962 "print i after runto localvars_after_alloca" and
28963 "print l after runto localvars_after_alloca"
28964 for all compilers.
28965 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 28966 when not compiled with gcc, for:
c906108c
SS
28967 "print signed char == (minus)",
28968 "print signed char != (minus)",
28969 "print signed char < (minus)",
28970 "print signed char > (minus)".
28971 * gdb.base/callfuncs.exp (do_function_calls):
28972 Add mips-sgi-irix* xfail, when compiled with native compiler, for
28973 "call inferior func with struct - returns char *".
d63a86f8 28974 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
28975 "correct value returned double test" to include Solaris 2.4.
28976 * gdb.base/funcargs.exp (float_and_integral_args):
28977 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 28978
c906108c
SS
28979Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28980
28981 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
28982 enumeration bitfields if compiling with GNU C.
28983 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
28984 to empty' prompt.
28985
28986Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
28987
28988 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
28989 test for PRO targets.
28990
28991 * gdb.base/funcargs.exp: Avoid ever setting more than 8
28992 breakpoints in the inferior at any given time by making
28993 two groups of breakpoints for call2*, call6* and call7*
28994 tests.
28995
28996Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28997
28998 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
28999 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29000 from optimizing it away.
29001 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29002 "call inferior func with struct".
29003
29004Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29005
29006 * configure.in: Only configure gdb.chill for particular targets.
29007
29008Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29009
29010 * gdb.base/Makefile.in: Add action to .c.o transformation
29011 rule that generates a .ci file for each .o file and remove
29012 explicit .c.o rules except for callfuncs.o.
29013 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29014 generates a .ci file for each .o file and remove explicit
29015 .cc.o rules.
29016 (clean): Remove *.tmp *.ci files.
29017 (EXECUTABLES): Remove templ-info.exp.
29018 * gdb.base/compiler.c: New file.
29019 * gdb.c++/compiler.cc: New file
29020 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29021 Change rs6000-*-* xfail for
29022 "print 'scope0.c'::filelocal_ro" and
29023 "print 'scope1.c'::filelocal" and
29024 "print 'scope1.c'::filelocal_bss" and
29025 "print 'scope1.c'::filelocal_ro" and
29026 "print 'scope1.c'::foo::funclocal" and
29027 "print 'scope1.c'::foo::funclocal_ro" and
29028 "print 'scope1.c'::bar::funclocal" and
29029 "print 'scope0.c'::filelocal_ro" and
29030 "print 'scope1.c'::filelocal at foo" and
29031 "print 'scope1.c'::filelocal_bss at foo" and
29032 "print 'scope1.c'::filelocal_ro at foo" and
29033 "print 'scope1.c'::foo::funclocal at foo" and
29034 "print 'scope1.c'::foo::funclocal_bss at foo" and
29035 "print 'scope1.c'::foo::funclocal_ro at foo" and
29036 "print 'scope1.c'::bar::funclocal at foo" and
29037 "print 'scope0.c'::filelocal_ro" and
29038 "print 'scope1.c'::filelocal" and
29039 "print 'scope1.c'::filelocal_bss" and
29040 "print 'scope1.c'::filelocal_ro" and
29041 "print 'scope1.c'::foo::funclocal" and
29042 "print 'scope1.c'::foo::funclocal_bss" and
29043 "print 'scope1.c'::foo::funclocal_ro" and
29044 "print 'scope1.c'::bar::funclocal" and
29045 "print 'scope1.c'::bar::funclocal_bss"
29046 to only be xfail'd when not compiled with gcc.
d63a86f8 29047 Add rs6000-*-* xfail for
c906108c
SS
29048 "print 'scope0.c'::filelocal_bss before run"
29049 when compiled with gcc.
29050 (test_at_main): Add rs6000-*-* xfail for
29051 "print filelocal_ro in test_at_main"
29052 when compiled with gcc.
29053 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 29054 Add rs6000-*-aix* xfail for
c906108c
SS
29055 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29056 "ptype t_char_array", not compiled with gcc.
29057 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29058 xfail for "list foo (in include file)" when gcc compiled.
29059 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 29060 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
29061 "run to call0a" if not compiled with gcc.
29062 (unsigned_integral_args): Add rs6000-*-* xfail for
29063 "run to call1a" if not compiled with gcc.
29064 (float_and_integral_args): Add rs6000-*-* xfail for
29065 "run to call2a" if not compiled with gcc and for
29066 "continue to call2b" for any compiler.
29067 Add rs6000-*-* xfail to
29068 "print f1 after run to call2a" for gcc compiled.
29069 (discard_and_shuffle): Add rs6000-*-* xfail for
29070 "run to call6a".
29071 (shuffle_round_robin): Add rs6000-*-* xfail for
29072 "backtrace from call7a" if not compiled with gcc.
29073 Add rs6000-*-* xfail for
29074 "backtrace from call7b" if compiled with gcc.
29075 (call_after_alloca): Add rs6000-*-* xfail for
29076 "print c in call_after_alloca" and
29077 "print s in call_after_alloca" and
29078 "backtrace from call_after_alloca_subr"
29079 if not compiled with gcc.
29080 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29081 "print c in localvars_in_indirect_call" and
29082 "print c in localvars_in_indirect_call" and
29083 "backtrace in indirectly called function" and
29084 "stepping into indirectly called function"
29085 if not compiled with gcc.
29086 (localvars_after_alloca): Add rs6000-*-* xfail for
29087 "print c after runto localvars_after_alloca" and
29088 "print s after runto localvars_after_alloca" and
29089 "print i after runto localvars_after_alloca" and
29090 "print l after runto localvars_after_alloca"
29091 for all compilers.
29092 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29093 than whatis-info.exp.
29094 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29095 than opaque-info.exp.
29096 Setup rs6000-*-* xfail for
d63a86f8 29097 "ptype on opaque struct pointer (statically)" and
c906108c
SS
29098 "ptype on opaque struct pointer (dynamically)" when
29099 not compiled with gcc.
29100 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29101 rather than callf-info.exp.
29102 (do_function_calls): Add clear_xfail for rs6000-*-* for
29103 "p t_float_values2(3.14159,float_val2)". Seems to work
29104 fine there, both with xlc and gcc. Need to find out what
29105 it is doing right and fix other platforms.
29106 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29107 "call inferior func with struct - returns int",
29108 "call inferior func with struct - returns long",
29109 "call inferior func with struct - returns float",
29110 "call inferior func with struct - returns double",
29111 "call inferior func with struct - returns char *",
29112 but only if not gcc compiled (presumes xlc compiled).
29113 Change rs6000-*-* xfails for
29114 "call inferior func with struct - returns char" and
29115 " call inferior func with struct - returns short" to only
29116 xfail if not using gcc.
29117 (clean mostlyclean): Remove *.ci and *.tmp files.
29118 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29119 than templ-info.exp.
29120 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29121 Add rs6000-*-* xfail for "up to foo in langs.exp"
29122 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 29123 when not gcc compiled.
d63a86f8 29124
c906108c
SS
29125Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29126
29127 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29128 * gdb.base/corefile.exp: Likewise.
29129 * gdb.base/list.exp: Likewise.
29130 * gdb.base/scope.exp: Likewise.
29131 * gdb.base/siganls.exp: Likewise.
29132
29133 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29134 compiler output.
29135 * gdb.base/whatis.exp: Likewise.
29136
29137Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29138
29139 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29140 failure (opcode table has been fixed to match reality).
29141
29142Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29143
29144 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29145 "call inferior func with struct - returns char",
29146 "call inferior func with struct - returns short"
29147
29148 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29149 "print 'scope0.c'::filelocal at main",
29150 "print 'scope0.c'::filelocal_bss in test_at_main",
29151 "print 'scope0.c'::filelocal at foo",
29152 "print 'scope0.c'::filelocal_bss in test_at_foo",
29153 "print 'scope0.c'::filelocal at bar",
29154 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 29155
c906108c
SS
29156 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29157 in source file 1". This bug seems to have been fixed with both
29158 gcc and native cc (was native assembler bug?).
29159
29160Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29161
29162 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29163 "backtrace through signal handler" to "i*86-*-sysv4*".
29164 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29165 continue" case. Add "known SVR4 bug" to fail message.
29166 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29167 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29168 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29169 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29170 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29171 "up to foo in langs.exp", "show language at foo in
29172 langs.exp", "up to cppsub_ in langs.exp", "show
29173 language at cppsub_ in langs.exp", "up to fsub in
29174 langs.exp", and "show language at fsub in langs.exp".
29175 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29176 "bactrace in corefile.exp".
29177 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29178 "call inferior function with struct - returns float" and
29179 "call inferior function with struct - returns double".
d63a86f8 29180
c906108c
SS
29181Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29182
29183 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29184 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29185 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29186 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29187
29188Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29189
29190 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29191 (or overriden) "CHILL" macro rather then bare "gcc".
29192 Also look for ../../gcc/xgcc since that is what we will
29193 actually need, not "Makefile". Remove following assignment
29194 of CHILL to CHILL_FOR_TARGET because that results in
29195 recursive definition.
29196
29197Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29198
29199 * gdb.base/corefile.exp: Change xfail for backtrace in
29200 corefile.exp from linuxaout to all linux.
29201 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29202 cases where we miss the breakpoint at the signal handler
29203 for some reason. Setup xfail for linuxoldld/linuxaout and
29204 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29205 hitting SIGURG breakpoint.
29206 * gdb.base/signals.exp: Setup xfail for "next" acting like
29207 continue to add linuxoldld. Setup xfail for all linux for
29208 "next to handler in signals_tests_1", "backtrace in
29209 signals_tests_1", "continue to func1", "pass SIGUSR1",
29210 and continue to handler".
29211
29212Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29213
29214 * Update all FSF addresses except those in COPYING* files.
29215
29216Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29217
29218 * gdb.base/a2-run.exp: Change messages to be more explicit about
29219 the status of args, and quote binfile in results.
29220
29221Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29222
29223 * gdb.base/callfuncs.exp: Add tests for passing structs to
29224 inferior functions and return various types.
29225 * gdb.base/callfuncs.c: Add functions to receive a struct
29226 and return a member of the struct, in various types.
29227
29228Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29229
29230 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29231
29232Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29233
29234 * config/vxworks29k.exp: New file, sources vxworks.exp.
29235
29236Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29237
29238 * config/gdbremote.exp: New file. Testing framework using
29239 gdbserver.
29240
29241Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29242
29243 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29244 "call function when asleep" and "send end of file".
29245 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29246 for "backtrace in corefile.exp".
29247 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29248 for "backtrace through signal handler".
29249 * gdb.base/corefile.exp: Make sure we actually generate a core file
29250 before trying the core tests. Some systems allow the user to suppress
29251 generation of core files and default to that (linux for example).
29252 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29253 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29254
29255Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29256
29257 * gdb.threads: New directory with some crude multi-threaded
29258 gdb tests (step.exp and step2.exp).
29259 * config/mt-lynx (STEP_EXECUTABLE): Define.
29260 (THREADFLAGS): Define.
29261
29262Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29263
29264 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29265
29266 * gdb.base/signals.exp: Disable whole file for lynx until
29267 further notice.
29268
29269 * gdb.base/signals.exp: xfail test where "next" acts like
29270 "continue" for lynx.
29271
29272 * gdb.base/interrupt.exp: xfail test for calling function while
29273 inferior is asleep for lynx.
29274
29275 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29276 than one cr-lf after each command.
29277
29278Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29279
29280 * configure.in: Reinstate setting of stabsdirs variable, fix
29281 typo in setting up configdirs for native builds.
29282
29283 * gdb.base/return.exp: Fix typo in return double test.
29284 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29285 compiler from optimizing them away.
29286
29287Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29288
29289 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29290 sequences to be echo'd by gdb when using gdb_test.
29291 * gdb.chill/chexp.exp: Likewise.
29292 * gdb.fortran/exprs.exp: Likewise
29293
29294Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29295
29296 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29297 after the inferior gdb has started.
29298
29299 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29300 after each command.
29301 * gdb.base/funcargs.exp: Likewise.
29302 * gdb.base/gdbvars.exp: Likewise.
29303 * gdb.base/interrupt.exp: Likewise.
29304 * gdb.base/list.exp: Likewise.
29305 * gdb.base/watchpoint.exp: Likewise.
29306 * gdb.c++/demangle.exp: Likewise.
29307 * gdb.c++/inherit.exp: Likewise.
29308 * gdb.chill/chexp.exp: Likewise.
29309 * gdb.fortran/exprs.exp: Likewise.
29310
29311 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29312 test if we can't handle IO to/from the inferior.
29313
29314 * gdb.c++/misc.exp: Always check for a program already being
29315 started after sending a "run" command to gdb.
29316
29317 * gdb.base/twice.exp: Start with a fresh gdb.
29318
29319 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29320 only depend on gdb's expression code, not the chill runtime.
29321
29322 * gdb.base/return.c: Put return values into variables so we
29323 can have gdb print them rather than depending on the program
29324 to print them.
29325 * gdb.base/return.exp: Corresponding changes.
29326
29327 * lib/gdb.exp: Provide default value for noinferiorio.
29328 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29329 the inferior.
29330
29331 * gdb.base/break.exp: Always check for a program already being
29332 started after sending a "run" command to gdb.
29333 (text_next_with_recursion): Don't check the output from the
29334 program's printf statement. Instead just make sure the program
29335 exited.
29336
29337 * gdb.base/commands.exp: Protect tests which need arguments with
29338 $noargs conditionals.
29339
29340Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29341
29342 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29343 of structure member arrays to match gdb/valops.c:value_addr change.
29344
29345Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29346
29347 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29348 cases.
29349
29350Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29351
29352 * configure.in (configdirs): Remove gdb.chill from default list
29353 of subdirs and then add it back in only if doing a native build.
29354 The current chill compiler does not yet work in any cross build.
29355 * Revert all signal changes from Jul 6.
29356 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
29357 for sh-hms targets, allowing these tests to link, with no other
29358 changes. Testing is suppressed by setting "nosignals" in site.exp.
29359
29360Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
29361
29362 * configure.in (signaldirs): Define and add to configdirs for all
29363 targets except some specific ones that are known to not support signals.
29364 Also clean up formatting.
29365 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
29366 (signals, sigall): Remove rules to build.
29367 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29368 Moved to new gdb.signals directory.
29369 * gdb.signals: New test directory.
29370 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29371 signals.c signals.exp}: New or moved files.
29372
29373Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
29374
29375 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29376
29377Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
29378
29379 * gdb.base/return.exp: Xfail `return double' test failure
29380 on at least Solaris 2.3 and handle future/past versions on
29381 a case by case basis as appropriate. Also update message
29382 to include i*86 failures.
29383
29384Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29385
29386 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29387
29388 * lib/gdb.exp: Fix comment which erroneously identified
29389 gdb_file_cmd as gdb_load (the 19 May change was in fact to
29390 gdb_file_cmd not gdb_load).
29391 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29392
29393 * gdb.base/setvar.exp: Make test names consistent between pass and
29394 fail cases. Use gdb_test more.
29395
29396Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29397
29398 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29399
29400Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29401
29402 * gdb.base/help.exp: Fix expected help string for `show commands'.
29403
29404Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
29405
29406 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29407
29408 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29409 of a text section.
29410
29411Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
29412
29413 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
29414 that loop eventually terminates. Fix Connection refused logic so
29415 that testsuite will expire nicely.
29416
29417Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
29418
29419 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29420 config/rom68k.exp: New tcl glue for the appropriate monitors.
29421 These all just end up calling monitor.exp.
29422 * config/monitor.exp (gdb_target_monitor): Handle `Connection
29423 refused' by retrying. Cleanup some timeout issues.
29424 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
29425 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
29426 callers don't have to set/restore global timeout variable.
29427
29428 * The following set of changes centralizes management of the global
29429 timeout variable. This way, it can be set in one target dependent
29430 place instead of dozens of places scattered throughout the test suite.
29431 If you need to lengthen a timeout, then you should either set timeout
29432 in one of the config/{target}.exp files, or multiply it by a factor.
29433 Setting it to an absolute value is always going to lose for some
29434 targets.
29435 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
29436 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
29437 * gdb.base/funcargs.exp: Don't set timeout.
29438 * gdb.base/list.exp (test_forward_search): Only use local timeout.
29439 * gdb.base/printcmds.exp (test_print_string_constants
29440 test_print_array_constants): Don't set timeout.
29441 * gdb.base/ptype.exp: Don't set timeout.
29442 * gdb.base/recurse.exp: Don't set timeout.
29443 * gdb.base/return.exp: Don't set timeout.
29444 * gdb.base/watchpoint.exp: Don't set timeout.
29445 * gdb.c++/classes.exp (do_tests): Don't set timeout.
29446 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
29447
29448Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
29449
29450 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29451
29452Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29453
29454 * lib/gdb.exp: Disable chill tests for irix5.
29455
29456Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29457
29458 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
29459 each test pass or fail.
29460
29461Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29462
29463 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29464 xlc not gcc.
29465
29466Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
29467
29468 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
29469
29470Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
29471
29472 * config/est.exp: Fix copyright and comments. Remove dead code.
29473 Use targetname, serialport and baud variables instead of fixed
29474 constants.
29475 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
29476 * config/cpu32bug.exp: New file to support cpu32bug monitors.
29477
29478Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29479
29480 * gdb.base/watchpoint.exp: Don't run
29481 test_watchpoint_triggered_in_syscall for sunos.
29482
29483Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29484
29485 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29486 they don't seem to exist. Do include stdio.h.
29487
29488Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29489
29490 * gdb.base/a1-selftest.exp: Add alpha xfail.
29491
29492Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29493
29494 * gdb.base/watchpoint.c (main): Prompt before calling read().
29495 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29496 Revise accordingly. Remove cruft about sending "123" several
29497 times, until it gets noticed. Clean up the "print buf[0]" stuff
29498 so that it passes or fails, and waits for prompts in the usual way.
29499
29500Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29501
29502 * gdb.base/recurse.exp: Fix comment.
29503
29504 * TODO: Remove item about printing variables in nodebug.exp. Add
29505 item about enabling tests which are only run on some targets.
29506
29507 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29508 fail, make test names unique, use new gdb_test convention
29509 regarding pattern, use gdb_test more, etc.).
29510
29511 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29512 fail, make test names unique, etc.).
29513
29514Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29515
29516 * gdb.base/nodebug.c: Change return type of top and middle to
29517 short.
29518 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
29519 are fixed by the recent mdebugread.c changes. Allow `short ()'
29520 as type for top and middle.
29521
29522Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29523
29524 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
29525 nearly as I can tell, the whole thing was an accident in Stu's
29526 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
29527 to replace a send/expect pair with gdb_test, but ended up only
29528 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
29529 of 30 Mar 1995 took care of it, but left this vestigial comment
29530 which I am now nuking.
29531
29532Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29533
29534 * gdb.base/break.exp: Look for different line number for
29535 breakpoint at main depending on usestubs.
29536
29537Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29538
29539 * gdb.base/list.exp: Adjust some alternate expect patterns to
29540 match recent list0.c change. Add alternate expect pattern for
29541 output from `list default lines around main' for optimizing
29542 compilers.
29543
29544Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29545
29546 * lib/gdb.exp: If nosignals is not set, set it to 0.
29547
29548Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
29549
29550 * config/slite-gdb.exp: Responds to load symbol table prompt.
29551 * gdb.base/break.exp: Adjust line number, fix rerun.
29552 * gdb.base/langs0.c: Add #ifdef usestubs.
29553
29554Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
29555
29556 * gdb.base/list.exp: Adjust line contents after adding new lines in
29557 list0.c. Also fix a syntax error.
29558
29559 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
29560 * gdb.base/break.exp: ditto.
29561 * gdb.base/list.exp: ditto.
29562 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
29563 * gdb.base/run.c: ditto.
29564 * gdb.base/list0.c: ditto.
29565 * gdb.base/funcargs.c: ditto.
29566
29567Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
29568
29569 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
29570 $targetname, $serialport and $baud instead of hardwired variables.
29571 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
29572 target doesn't support signals.
29573
29574Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
29575
29576 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
29577
29578Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29579
29580 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
29581 Don't rely on the value of an auto variable before it has been
29582 initialized. Use gdb_test more.
29583
29584Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29585
29586 * lib/gdb.exp (default_gdb_version): A version number must start
29587 with a digit, but other than that contains all characters up to
29588 the first whitespace character.
29589
29590Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29591
29592 * gdb.base/commands.exp (breakpoint_command_test): New tests.
29593
29594Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29595
29596 * gdb.c++/*.exp: Warn if executable does not exist. The original
29597 reason for skipping the warning was that configure.in sometimes
29598 intentionally skipped building the executables but the tcl code
29599 had no way of knowing. That (a) was always bogus with respect to
29600 error handling, (b) is no longer true (right now there is no way
29601 to skip C++ tests).
29602
29603 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
29604
29605Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29606
29607 * gdb.base/list.exp: Add expect patterns for output from
29608 SunPRO compiled executables.
29609 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
29610 types.
29611
29612Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29613
29614 * gdb.base/break.exp (test_next_with_recursion): Accept any line
29615 number (we are already testing that the correct source line text
29616 gets printed).
29617
29618 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
29619 that is what is intended, but something needed to be done to get
29620 sunos4 native working again.
29621
29622 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
29623
29624 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
29625 apparently went with a (very) old xfail.
29626
29627Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
29628
29629 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
29630 runto_main is a proc in gdb.exp that will do 'step' for target use
29631 stubs.
29632 * gdb.base/exprs.exp: ditto.
29633 * gdb.base/interrupt.exp: ditto.
29634 * gdb.base/opaque.exp: ditto.
29635 * gdb.base/printcmds.exp: ditto.
29636 * gdb.base/ptype.exp: ditto.
29637 * gdb.base/scope.exp: ditto.
29638 * gdb.base/setvar.exp: ditto.
29639 * gdb.base/signals.exp: ditto.
29640 * gdb.base/twice.exp: ditto.
29641 * gdb.c++/classes.exp: ditto.
29642 * gdb.c++/inherit.exp: ditto.
29643 * gdb.c++/templates.exp: ditto.
29644 * gdb.base/break.exp: no run and hit main for stubs. Change line
29645 numbers for breakpoints and info breakpoint.
29646 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
29647 breakpoint().
29648 * gdb.base/callfuncs.c: ditto.
29649 * gdb.base/exprs: ditto.
29650 * gdb.base/interrupt.c: ditto.
29651 * gdb.base/opaque0.c: ditto.
29652 * gdb.base/printcmds.c: ditto.
29653 * gdb.base/ptype.c: ditto.
29654 * gdb.base/scope0.c: ditto.
29655 * gdb.base/setvar.c: ditto.
29656 * gdb.base/signals.c: ditto.
29657 * gdb.base/twice.c: ditto.
29658 * gdb.c++/misc.cc: ditto.
29659 * gdb.c++/templates.cc: ditto.
29660
29661Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29662
29663 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
29664
29665 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
29666 somewhere between `read' and `main.c'. I'm pretty sure the
29667 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
29668 and it isn't particularly useful.
29669
29670 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
29671
29672Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29673
29674 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
29675
29676Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
29677
29678 * config/mt-slite: add LIBS and -nostdlib.
29679 * config/slite-gdb.exp: add this new file to support sparclite target.
29680
29681Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
29682
29683 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
29684
29685 * gdb.base/a2-run.exp: Change argument to istarget from
29686 "*-*-vxworks" to "*-*-vxworks*".
29687 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
29688
29689Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
29690
29691 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
29692 will not runto main but do a 'step' to step out of breakpoint().
29693 * config/mt-slite: add -Dusestubs.
29694
29695Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29696
29697 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
29698 instead of just @.
29699
29700 * gdb.base/signals.exp: Add test for "handle all print".
29701 * TODO: Remove "handle all print". Also remove item about
29702 checking copyright date (I don't like the idea of a spurious FAIL
29703 based on when we run the tests).
29704
29705 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
29706 for SunOS4 (reason for failure not investigated). Remove
29707 redundant test for $binfile.
29708
29709 * gdb.base/nodebug.c (array_index): Call malloc.
29710
29711 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
29712
29713Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
29714
29715 * gdb.base/recurse.exp: Update gdb_test invocation to use new
29716 conventions and slightly simplify the matching regexp.
29717
29718Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29719
29720 * gdb.base/break.exp: Update gdb_test invocation to use new
29721 convention.
29722
29723 * lib/gdb.exp: If noargs is not set, set it to 0.
29724
29725 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
29726 tests unique.
29727
29728 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
29729
29730Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29731
29732 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
29733 one argument of type "<non-float parameter>".
29734
29735Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
29736
29737 * config/rom68k.exp: New file to support Motorola IDP board.
29738 * gdb.base/a2-run.exp: Skip this file if noargs is set.
29739 * gdb.base/break.c: Change things around so that this program
29740 doesn't depend upon args. This is necessary to make remote
29741 targets work (in general, they can't take args).
29742 * gdb.base/break.exp: Don't try to send args to program. Don't
29743 expect output. Also, replace lots of code with gdb_test.
29744
29745Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29746
29747 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29748 printing of '\'' (which is what the comment says we are testing,
29749 even though we were not), not '''.
29750 (test_integer_literals_rejected): Test that printing ''' is an error.
29751
29752 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29753 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29754 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29755 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29756 Use gdb_test not test_print_accept.
29757 * lib/gdb.exp: Remove test_print_accept.
29758
29759 * gdb.base/signals.exp (signal_tests_1): Make pass message
29760 consistent with fail message.
29761
29762 * gdb.base/whatis.exp: Remove xfails for printing char vs.
29763 unsigned char; the bug (PR 1821) is fixed.
29764
29765 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29766
29767 * gdb.base/scope.exp (test_at_localscopes): Call pass for
29768 successful tests--makes xfailing them work right.
29769
29770Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29771
29772 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29773 only \r\n, not .*. The test can pass .* as the last thing in
29774 $pattern if that is what it wants. In addition to providing this
29775 flexibility, this change should speed up pattern matching in cases
29776 where the pattern already ended with .* (there were a number of
29777 them). This change also helps catch bad patterns--in the old
29778 scheme the typo "char \*" instead of "char \\*" would pass. Now
29779 it is caught.
29780 * Many .exp files: Update callers.
29781
29782 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
29783 clearer and does not spuriously match multiple ('s. Likewise for
29784 ) and *.
29785
29786 * gdb.base/nodebug.exp: Test ability to call a function and pass
29787 it a string (even with no debugging info).
29788
29789 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29790 "p '\'", which is the same as "p ''" once tcl gets done with
29791 quoting, to "p '\\'", which I suspect is what is intended (one
29792 backslash gets sent to GDB).
29793
29794 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29795
29796Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29797
29798 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
29799 1817) was fixed literally years ago.
29800
29801Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29802
29803 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
29804 test, it causes stepping out of call_after_alloca_subr with
29805 optimizing compilers.
29806 (localvars_in_indirect_call): Consume GDB prompt if `finish'
29807 fails.
29808
29809 * gdb.c++/templates.exp: Source templ-info.exp only if
29810 the templates executable exists.
29811
29812 * gdb.c++/misc.cc (class Contains_static_instance,
29813 class Contains_nested_static_instance),
29814 gdb.c++/classes.exp (test_static_members): Test printing of
29815 a class that contains a static instance of the class.
29816
29817Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29818
29819 * gdb.base/langs2.c (cppsub_): Don't prototype.
29820 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29821 only, I believe).
29822
29823Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29824
29825 * lib/gdb.exp (skip_chill_tests): New procedure.
29826
29827 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29828
29829Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
29830
29831 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29832 each expect pattern. Cuts runtime from 12 to about 4 seconds.
29833
29834Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29835
29836 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29837
29838 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29839 disassemble 8, not 16, instructions for part 4.
29840
29841 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
29842 support the latter anymore.
29843
29844 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29845 -DNO_PROTOTYPES.
29846 * gdb.base/callfuncs.c: Control use of prototypes based on
29847 NO_PROTOTYPES, not __STDC__.
29848 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29849 t_float_values2 tests if prototypes in use.
29850
29851 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29852 t_double_values): When checking differences against DELTA, check
29853 that difference is within the range (-DELTA,DELTA), not just
29854 (-infinity,DELTA).
29855
29856Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
29857
29858 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29859 'file' command firts, then 'target', then 'load', this is due to gdb
29860 target set up.
29861 * config/mips-gdb.exp: Fix a couple regular exp bugs.
29862
29863Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
29864
29865 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29866 FP load/store variants.
29867 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29868
29869Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29870
29871 * gdb.base/term.exp: Do not give a warning if not native, it is
29872 not an abnormal condition.
29873
29874Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
29875
29876 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29877 t_char_array".
29878
29879Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29880
29881 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29882 are getting the version number.
29883
29884 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29885 if not native, it is not an abnormal condition.
29886
29887Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29888
29889 * lib/gdb.exp: Just use "file exists", rather than undocumented
29890 dejagnu procedure "findfile".
29891
29892Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29893
29894 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29895 (LDFLAGS): Set to -Xlinker -Ur.
29896
29897 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29898 Removed, these values are set by lib/gdb.exp.
29899
29900 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29901
29902Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29903
29904 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29905 of replicating gdb startup code.
29906
29907 * config/mt-vxworks (LDFLAGS): Set to -r.
29908 (CFLAGS_FOR_TARGET): Removed.
29909
29910 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
29911 (gdb) and gdb for vxworks uses (vxgdb).
29912
29913 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
29914 executable is not in the tree and host != target, use sed and
29915 program_transform_name to determine the gdb name used by the
29916 target.
29917
29918 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
29919 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
29920
29921Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29922
29923 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
29924 floats, chars, and shorts where there are ANSI-style function
29925 definitions.
29926
29927 * gdb.base/langs.exp, gdb.base/langs*: New test.
29928 * gdb.base/Makefile.in: Build it.
29929 * TODO: Remove item about checking that C names don't get C++
29930 demangling applied; this test tests it.
29931
29932Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29933
29934 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
29935 went with the const70 xfail. The xfail went away a year ago.
29936
29937 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
29938
29939 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
29940 for hp300.
29941
29942 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
29943
29944 * gdb.base/a1-selftest.exp: Don't run on hp300.
29945
29946Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29947
29948 * Makefile.in (site.exp): Set host_alias and target_alias as well
29949 as host_triplet and target_triplet.
29950
29951Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29952
29953 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
29954
29955 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
29956 places as other ecoff systems).
29957
29958 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
29959 ultrix.
29960
29961Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29962
29963 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
29964 remove them.
29965 * gdb.base/nodebug.exp: Accept "function" in addition to "text
29966 variable and "variable" in addition to "data variable".
29967 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
29968
29969 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
29970 2.
29971 * gdb.base/list1.c (long_line): Add additional statement at start
29972 of function.
29973 * gdb.base/list.exp (test_forward_search): Update line number to
29974 reflect new statement.
29975
29976Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29977
29978 * gdb.base/signals.exp: Reinitialize searched source directories
29979 after gdb_start call.
29980
29981Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
29982
29983 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
29984 * gdb.stabs/Makefile.in: Likewise.
29985
29986 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
29987 change. Instead split the tests into smaller pieces.
29988 * gdb.disasm/hppa.s: Corresponding changes.
29989
29990Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29991
29992 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29993 Quote ^C when passing it to stty. For some shells ^ is a pipe.
29994
29995 * gdb.base/funcargs.exp: Modify many tests so that every test
29996 either passes or fails. Make some test names unique.
29997
29998Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29999
30000 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30001 Call stty to set interrupt character.
30002
30003 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30004 for HP assembler versus GNU assembler based on actual behavior of
30005 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30006
30007 * TODO: Suggest a few more stepping tests.
30008
30009Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30010
30011 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30012 restart GDB for h8300 after a continue.
30013 (return): Add pattern to match a29k-udi behavior.
30014 * gdb.base/nodebug.exp: Remove obsolete comment.
30015 * gdb.base/regs.exp: New file, testing of register displays.
30016 * gdb.base/return.exp: Fix typo in reference to $objdir.
30017 * gdb.base/whatis.exp: Always start with a fresh GDB.
30018
30019Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30020
30021 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30022 higher, these tests generate a lot of output.
30023
30024Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30025
30026 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30027 code following the catch silently ignored some errors; without the
30028 catch they should be thrown like any other tcl error. Also, the
30029 catch used "" instead of {} which meant all the callers who wanted
30030 to include one of the characters "[]$ had to quote it an extra time.
30031 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30032 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30033 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30034 Remove extra quoting.
30035
30036Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30037
30038 * gdb.base/commands.exp: Make test names unique; every test either
30039 passes or fails. Update some comments.
30040
30041 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30042
30043Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30044
30045 The following fixes a FAIL caused by the fact that the alpha stabs
30046 configuration didn't use the ".if alpha" code in weird.def.
30047 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30048 bit pointer, so the 32 bit version works even on the alpha.
30049 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30050 Remove the stuff which allowed us to have separate versions for
30051 alpha and everything else.
30052
30053 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30054 regexp which "info func operator\[\](" is supposed to match. Fix
30055 string to send to GDB. Note that GDB still doesn't work right. Add a
30056 new test for "info func .perator\[\](" which GDB does handle correctly.
30057
30058 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30059
30060Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30061
30062 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30063 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30064 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30065 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30066 it makes the tests harder to understand and confuses test-o-matic.
30067 The preferred style is that each test provides a PASS or a FAIL,
30068 and has a unique message (e.g. "continue #54" not just "continue")
30069 which is the same for the pass and the fail.
30070 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30071 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30072 to lib/gdb.exp.
30073 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30074 prt_accept which was basically the same thing. Likewise for
30075 test_print_reject and prt_reject.
30076 * lib/gdb.exp (test_print_reject): Add some more error message
30077 patterns to match from the former printcmds.exp (prt_reject).
30078 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30079 One defect of the passcount stuff is that some of it failed to
30080 report XPASS where appropriate.
30081 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30082 stuff before and after arg in expected pattern.
30083 (test_paddr_operator_functions): Re-do test without print_addr_of;
30084 this is the only test which seems to want extra stuff there.
30085
30086Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30087
30088 * gdb.base/nodebug.exp: Update new tests to reflect improved
30089 wording of gdb output.
30090
30091 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30092 and "ptype" work on variables in files compiled without -g.
30093 Replaces commented out "maint print msymbol" tests.
30094
30095Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30096
30097 * gdb.base/setvar.c (dummy): Call malloc.
30098
30099 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30100 losing with the irix4 sed.
30101
30102 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30103 ALRM" on irix4.
30104
30105Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30106
30107 * TODO: Remove items about corefile.exp testing new exec-file and
30108 backtrace; both are now done. Add items about printing enums.
30109
30110Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30111
30112 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30113 "get signal $thissig" test fails.
30114
30115 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30116
30117Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30118
30119 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30120 compiler warning with dec alpha compiler.
30121
30122 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30123 extra \n from gdb_test call (this explains why the prompt test
30124 that I removed yesterday was there).
30125 (user_defined_command_test): Remove extra \n and prompt test.
30126
30127 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30128 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30129 doesn't exist.
30130 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30131 Also remove alpha workaround, which turns out to be because
30132 SIGABRT == SIGLOST.
30133
30134 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30135
30136 * gdb.base/help.exp: Don't test "help show".
30137
30138Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30139
30140 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30141 "set print address" is on.
30142 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30143 pass prompt to gdb_test; gdb_test already looks for the prompt.
30144
30145 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30146
30147 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30148 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30149 was to make sure that gdb can read a core file. But (a) the "read
30150 the corefile" part didn't make it to a1-selftest.exp, we just
30151 delete the corefile after creating it, and (b) we test reading
30152 corefiles in corefile.exp anyway. Also, this test left around a
30153 xgdb process on Solaris.
30154
30155 * gdb.base/corefile.exp: Also test backtrace.
30156
30157Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30158
30159 * gdb.base/commands.exp: Test a simple user defined command with
30160 arguments and if/while statements; verify the full user command is
30161 printed by "show user".
30162
30163 * gdb.base/commands.exp: Test if/while commands as part of a
30164 breakpoint command list; verify they appear in breakpoint
30165 information.
30166
30167Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30168
30169 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30170 than by dividing by zero.
30171
30172Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30173
30174 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30175 performing an inferior call with watchpoints enabled.
30176 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30177 call.
30178
30179Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30180
30181 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30182 of "file" command.
30183
30184 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30185 Add additional pattern for when "int operator int(void);" appears
30186 in a different order.
30187
30188Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30189
30190 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30191
30192 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30193 and "signal" with ".*".
30194
30195Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30196
30197 * TODO: Add note about "handle all nostop".
30198
30199 * gdb.base/{sigall.c, sigall.exp}: New test.
30200 * gdb.base/Makefile.in: Add it.
30201
30202Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30203
30204 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30205 when invoking GDB, suppresses any windowing interface.
30206
30207Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30208
30209 * config/sim-gdb: New file, simulator testing support.
30210
30211Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30212
30213 * gdb.base/interrupt.exp: Test calling func1 twice.
30214
30215Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30216
30217 * gdb.base/list.exp (test_forward_search): Set timeout higher
30218 when we'll be getting lots of output from gdb.
30219
30220 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30221 "init_malloc" to after the expect statement. Run it if that
30222 regexp is taken, but also for two others which happen if source
30223 cannot be found.
30224
30225Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30226
30227 * gdb.base/printcmds.exp: New test, for printing register before
30228 program is running.
30229
30230Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30231
30232 * gdb.base/list.exp: Correct some alternate expect patterns
30233 to reflect changes in list1.c.
30234
30235Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30236
30237 * TODO: Add item regarding large frames.
30238
30239 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30240
30241 * TODO: Remove item about enabling return.exp; it
30242 is enabled. Suggest a few more "return" tests.
30243
30244Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30245
30246 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30247 anonymous unions.
30248
30249Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30250
30251 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30252 and pr-5646.o, so "make" is the same as "make all", not "make
30253 pr-4975.o".
30254
30255Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30256
30257 * gdb.base/list.exp: Adjust expectations to reflect changes in
30258 list1.c.
30259 (test_forward_search): New test proc.
30260 * gdb.base/list1.c (long_line): New function, has long source line.
30261
30262Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30263
30264 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30265 additional line of code that was added.
30266
30267Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30268
30269 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30270 tests so as not to overflow expect's input buffers.
30271 * gdb.disasm/hppa.exp: Corresponding changes.
30272
30273Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30274
30275 Beginnings of template debugging tests.
30276 * gdb.c++/templ-info.cc: New file to test for template
30277 debugging capability of the compiler.
30278 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30279 templ-info.cc.
30280 * gdb.c++/templates.cc: Add explicit template instantiations
30281 to enable compiling with -fno-implicit-templates. Add destructor
30282 and 'value' method to T5 class for template tests.
30283 * gdb.c++/templates.exp: Add testcases for printing of template
30284 types, setting breakpoints on template methods and calling a
d63a86f8 30285 template method.
c906108c
SS
30286
30287Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30288
30289 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30290 branch target since some assemblers (gas-2.5) may emit a
30291 relocation for the branch instead of resolving it in the
30292 assembler.
30293
30294Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30295
30296 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30297 through signal handler.
30298
30299Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30300
30301 * configure.in (*-*-netware): Use config/mt-netware.
30302
30303 * config/mt-netware: New file.
30304 * config/mt-i386-netware: Removed, separate configs for different
30305 netware architectures are no longer needed now that we have
30306 --with-headers.
30307
30308Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30309
30310 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30311 by the recent changes to use ANSI C arithmetic conversions.
30312
30313Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30314
30315 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30316 bug involving using inferior_pid to figure out whether to select a
30317 frame.
30318
30319Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30320
30321 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30322 match the current disassembler output.
30323
30324Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30325
30326 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30327 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30328 types, expect "int" as type of integer values (for now).
30329
30330Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30331
30332 * gdb.base/commands.exp: New tests for if/while commands.
30333
30334Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30335
30336 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30337 by .*, since hex values have different syntax in Chill mode.
30338
30339Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30340
30341 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30342 linefeed from expect pattern for repeated types with indices > 9.
30343
30344Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30345
30346 First part of Fortran test suite.
30347 * gdb.fortran: New directory.
30348 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30349
30350Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30351
30352 * gdb.base/default.exp: Update expect pattern for load command
30353 without arguments.
30354
30355Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
30356
30357 * configure.in: Change i386 to i[345]86.
30358 * gdb.base/configure.in: Likewise.
30359 * gdb.c++/configure.in: Likewise.
30360 * gdb.chill/configure.in: Likewise.
30361
30362Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
30363
30364 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30365 patterns, since that is not a valid context for comments.
30366
30367Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
30368
30369 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30370 repeated types and repeated types with indices > 9.
30371
30372Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
30373
30374 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30375 2417; old bug has been fixed.
30376
30377Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
30378
30379 * gdb.base/interrupt.exp: When trying to wake up the inferior,
30380 send the newline ourselves instead of assuming gdb_test will do
30381 so when passed an empty input string.
30382
30383 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30384 stabs testcode.
30385
30386Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30387
30388 * lib/gdb.exp (gdb_test): Don't send anything if the first
30389 argument is an empty string. This makes cases where we want to
30390 match output that is already in expect's buffers (for example,
30391 matching a breakpoint after gdb_run_cmd has been called) work
30392 reliably.
30393
30394Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30395
30396 * config/netware.exp: New file.
30397
30398Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30399
30400 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30401 the -B and -L prefixes so we can find the debugging stub.
30402
30403 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30404 there and we are using the gcc from the tree.
30405
30406 * gdb.base/types.c: Removed.
30407
30408 * gdb.base/configure.in: Look for makefile fragments in ../config.
30409 Recognize i386-*-netware.
30410 * gdb.c++/configure.in: Likewise.
30411
30412Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30413
30414 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
30415 the correct TCL syntax.
30416
30417Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30418
30419 * gdb.base/opaque.exp: use runto instead of messing around with
30420 breakpoints. Simplify by using gdb_test.
30421
30422 * gdb.base/bitfields.exp: restart between tests on netware targets
30423 because breakpoints aren't relocated after target death. Run
30424 processes to completion.
30425
30426 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30427
30428Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
30429
30430 * Makefile.in: Remove extra tabs that confuse some versions
30431 of "make". Use the newly built gdb to test with by default,
30432 rather than the first one in the tester's search path.
30433
30434Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
30435
30436 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30437
30438 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30439 condition help.
30440
30441Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30442
30443 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30444
30445 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30446 running.
30447 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30448 * gdb.base/funcargs.exp: Likewise.
30449
30450 * gdb.base/bitfields.exp: Simplify by using gdb_test.
30451 * gdb.base/funcargs.exp: Likewise.
30452
30453 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30454 message is "".
30455
30456Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30457
30458 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30459 return,signals,twice}.exp: Handle non-existant binaries
30460 consistantly.
30461
30462 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30463 * gdb.base/Makefile.in: Don't try to generate a core dump, we
30464 might testing a cross development system.
30465
30466Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30467
30468 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30469 runtest script is relative to ${srcdir}, not ${rootdir}.
30470
30471Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
30472
30473 * gdb.base/signals.exp: Allow for optionality of breakpoint
30474 address.
30475
30476Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30477
30478 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30479
30480Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30481
30482 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30483 for size_t definition.
30484 * gdb.c++/templates.cc: Likewise
30485
30486 * config/mt-i386-netware: New file.
30487
30488 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30489 defined.
30490
30491 * gdb.base/Makefile.in: Added support for systems that name core
30492 files by appending "core" to the program name.
30493 * gdb.base/a1-selftest.exp: Likewise.
30494
30495Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30496
30497 * gdb.base/return.exp: Add comment and message for `return double'
30498 test failure on Sparc Solaris.
30499
30500Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
30501
30502 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30503
30504Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30505
30506 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
30507 from optimizing them away.
30508 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
30509 patterns to include default constructors and assignment operators,
30510 to match gcc versions beyond 2.5.8. Accept any cplus demangling
30511 character in the output of the virtual base pointer.
30512
30513Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30514
30515 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
30516 expression match in print_addr_of to avoid unintented matches.
30517 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
30518 versions up to 2.5.8.
30519
30520Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30521
30522 * gdb.base/list.exp: Tweak alternate pattern for listing of an
30523 included file to run under newer versions of expect.
30524 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
30525 consecutive >'s in templates to accomodate recent cplus-dem.c change.
30526 Remove xfail for the virtual table of BDDHookV.
30527
30528Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
30529
30530 * lib/gdb.exp (string_to_regexp): Set a default result.
30531 (default_gdb_start): Fix misleading message.
30532
30533Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
30534
30535 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
30536 Remove all CC, etc definitions.
30537 * config/mt-hpux: New file.
30538 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
30539 (CFLAGS, LDFLAGS): Define.
30540 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
30541
30542 * Makefile.in (site.exp): Don't insert host_os, etc.
30543 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
30544 (distclean): Check existence of subdir.
30545 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
30546 * gdb.base/Makefile.in: General cleanup and simplification.
30547 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30548 to build executables. Use default rule to build .o files.
30549 (EXPECT, RUNTEST, CC): Fix relative pathname.
30550 (site.exp): Don't insert host_os, etc.
30551 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
30552 and/or SIGUSR1 defined.
30553 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
30554 * gdb.c++/Makefile.in: General cleanup and simplification.
30555 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30556 (CFLAGS): Remove.
30557 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
30558
30559Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
30560
30561 * gdb.base/recurse.exp: Misc changes to get tests running again
30562 after Kung's changes to the watchpoint code.
30563 * gdb.base/watchpoint.exp: Likewise.
30564
30565Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
30566
30567 * lib/gdb.exp (string_to_regexp): Convert {\} also.
30568
30569Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
30570
30571 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
30572 * lib/gdb.exp (default_gdb_start): Define.
30573 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
30574 gdb.base/funcargs.exp, gdb.base/opaque.exp,
30575 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
30576 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
30577 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
30578 Don't call gdb_target_udi in between tests.
30579
30580Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30581
30582 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
30583 (which was basically just a local version of the same thing). In
30584 addition to avoiding duplication, gdb_test_exact is faster.
30585 * lib/gdb.exp (gdb_test_exact): Fix typo.
30586
30587 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
30588 don't give an error.
30589
30590 * gdb.base/term.exp: Call delete_breakpoints before starting.
30591
30592 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
30593 (t10): Add comment.
30594
30595Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30596
30597 Reorganization of the GDB Test Suite.
30598
30599 * gdb.base: New directory, contains all the basic tests.
30600 * gdb.c++: New directory, tests specific to C++.
30601 * gdb.chill: New directory, tests specific to Chill.
30602 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
30603 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
30604 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
30605 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
30606 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
30607 t30-31 to chill).
30608 * */gdbme.*: Rename to match appropriate expect scripts.
30609 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
30610 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
30611 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
30612 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
30613 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
30614 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
30615 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
30616 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
30617 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
30618 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
30619 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
30620 gdb.c++/virtfunc.cc: New names of C++ files.
30621 * gdb.chill/chillvars.ch: New name of Chill file.
30622 * gdb.base/configure.in, gdb.c++/configure.in,
30623 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
30624 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
30625 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
30626 * configure.in (configdirs): Update to reflect directory changes.
30627 (target_abbrev): No longer define for any configuration.
30628 * Makefile.in: Cosmetic improvements to header comments.
30629
30630Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
30631
30632 Various changes to gdb.t31:
30633
30634 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
30635 * gdbme.ch: Make all key-words and predefineds be upper-case.
30636 * chillvars.exp: Expect key-words and predefinds in upper-case.
30637
30638 * chillvars.exp: Use gdb_test_exact many places.
30639 Change expected output for arrays (which now includes index labels).
30640
30641 * pr-5020.exp, gdme.ch (module PR_5020):
30642 New test, for PR-5020.
30643
30644Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
30645
30646 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
30647 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
30648
30649Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
30650
30651 * Makefile.in: Fix bit-rot in definitions of CHILL,
30652 CHILL_FOR_TARGET and Chill_LIB.
30653 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
30654 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
30655 CHILL, and CHILL_LIB.
30656
30657Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
30658
30659 * Revert the previous changes. Please see Rob's directory
30660 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
30661
30662Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
30663
30664 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
30665 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
30666 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
30667 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
30668 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
30669 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
30670 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
30671 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
30672 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
30673 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
30674 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
30675 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
30676 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
30677 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
30678 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
30679 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
30680 changes from 94Q1.
30681
30682Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
30683
30684 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
30685 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
30686 Rob's new testing fragments.
30687
30688Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
30689
30690 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 30691 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
30692
30693Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30694
30695 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
30696 version also, match on casted version strings, and match on
30697 gdb startup case where the line numbers might be messed up.
30698
30699Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
30700
30701 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 30702 (CFLAGS): Delete it from here.
c906108c
SS
30703
30704Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
30705
30706 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
30707
30708Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
30709
30710 * Makefile.in (RUNTEST): Default to just "runtest".
30711
30712Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30713
30714 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
30715 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
30716 the code has been restructured.
30717
30718Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30719
30720 * gdb.t00/default.exp (set write): Allow any number of \r and/or
30721 \n, not just one of each.
30722
30723 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
30724 /bin/cc gives a warning if you do.
30725
30726Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
30727
d63a86f8 30728 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
30729 __t10ListS_link1ZUiRCUiPT0
30730
30731Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30732
30733 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
30734 on local variables in recursive functions.
30735
30736 * gdb.t07/Makefile.in: Build the new test.
30737
30738Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30739
30740 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
30741 directly. Instead compare the return values from actual calls.
30742
30743Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
30744
30745 * Makefile.in (check): Set TCL_LIBRARY for runtest.
30746
30747Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30748
30749 * From Peter Schauer with minor modifications.
a9c64011
AS
30750 * gdb.t15/return.exp (return_tests): Handle targets where "return"
30751 stops in mid-line in the caller. Add xfail for returning a float
30752 value on X86 targets.
c906108c
SS
30753
30754Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30755
30756 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30757 to avoid expect lossage.
30758 (fmem_LRbug_tests): Likewise.
30759 * gdb.disasm/hppa.s: Corresponding changes.
30760
30761 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30762 conditions to work with latest dejagnu/expect.
30763
30764 * gdb.t15/funcargs.exp (finish from indirect call): No longer
30765 expected to fail on the PA.
30766 (backtrace in call with trampolines): Explicitly require main
30767 to be frame #1 (no trampolines should show up in backtrace).
30768
30769 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30770 "continue -expect".
30771 * gdb.t06/break.exp: Likewise.
30772 * gdb.t07/watchpoint.exp: Likewise.
30773 * gdb.t13/bitfields.exp: Likewise.
30774 * gdb.t15/{funcargs,return}.exp: Likewise.
30775 * gdb.stabs/weird.exp: Likewise.
30776 * config/{mips,udi}-gdb.exp: Likewise.
30777
30778 * hppa.sed: Enclose comments within a sed command to avoid
30779 losing with the old OSF1 sed.
30780
30781Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30782
30783 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
30784 sequent dynix.
30785 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
30786 * gdb.t15/funcargs.exp: Conditionally step again to really
30787 finish from marker_call_with_trampolines. Handle the case where
30788 the first step from within call_with_trampolines already steps
30789 us back to main.
30790 * gdb.t15/gdbme.c: Add comment to closing brace of
30791 call_with_trampolines for funcargs.exp.
30792
30793Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30794
d63a86f8 30795 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
30796 Fix typo(s).
30797
30798Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30799
30800 * gdb.t07/gdbme.c: More code for watchpoint testing.
30801
30802 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30803 "Hardware watchpoint" throughout file.
30804 (test_watchpoint_triggered_in_syscall): New test.
30805 (test_complex_watchpoint): New test.
30806
30807Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30808
30809 * gdbme.c (call_with_trampolines): New function to try and step
30810 into. Tests trampoline problems on the PA.
30811
30812 * funcargs.exp (localvars_in_indirect_call): No longer expect
30813 stepping into indirect call to fail on PAs.
30814 (test_stepping_over_trampolines): New test.
30815
30816Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30817
30818 * TODO: Add suggestions for static member function tests, and
30819 completion tests.
30820
30821Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30822
30823 * TODO: Add suggestions for "p/a" tests.
30824
30825 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30826 (default_gdb_exit): Replace all the hair with sending "quit" to
30827 the process with a simple close.
30828
30829Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30830
30831 * TODO: Add suggestions for shared library tests.
30832
30833Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30834
30835 * TODO: Add suggestions for x/s tests.
30836
30837Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30838
30839 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30840 "enable once", and "enable breakpoints once" with ".*".
30841
30842Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30843
30844 * TODO: Add suggestions about structure passing tests.
30845
30846Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30847
30848 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
30849 the primary1 test, use work around if __GNUC__ < 2.
30850 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
30851 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
30852 Test for bad output rather than waiting for timeout. Issue
30853 second continue only if first continue failed.
30854
30855Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30856
30857 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30858 operator[] test with gdb_test because the old code didn't seem to
30859 be getting the quoting right with the new dejagnu.
30860
30861Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
30862
30863 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30864 one from the path.
30865 * Makefile.in: Use a fresh expect if there is one, use runtest
30866 from the src tree if there is one.
d63a86f8 30867
c906108c
SS
30868Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30869
30870 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30871 next over recursive call. Revise the tests from that point on
30872 (which had been skipped) to match GDB's actual (correct) output.
30873
30874 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30875 with next over a breakpoint whose condition is false.
30876
30877 * gdb.t00/help.exp: Comment out "help set print" tests just like
30878 (and for same reason as) "help set" test.
30879
30880Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30881
30882 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30883 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30884
30885Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30886
30887 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30888 necessary gdb_target_udi.
30889
30890 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30891
30892 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30893 1838 and 2417; they are fixed.
30894
30895 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30896 gdb.t03/ptype.exp (ptype structure, ptype union):
30897 Remove xfails; the test is looser than when the xfails were added.
30898
30899 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30900 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30901
30902 * gdb.t01/run.exp: Only run shell test if isnative.
30903
30904 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30905 since "run" automatically loads if necessary. Call gdb_target_udi
30906 after the "file" since "file" kills any execution target.
30907
30908 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
30909 GDB. GDB doesn't work that way (not anymore at least) on UDI.
30910 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
30911 argument for UDI.
30912
30913Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30914
30915 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
30916
30917 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
30918
30919Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30920
30921 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
30922 properly quoting regexps. This makes the second argument to
30923 demangle a fixed string, which matches the callers, instead of a
30924 shell-style pattern which is what the previous implementation
30925 used. Update some of the callers.
30926
30927Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30928
30929 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
30930 (comib_nullified_tests): Fix typo.
30931 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
30932 strings. No longer expected to fail.
30933
30934 * gdb.disasm/hppa.s (addib_tests): Fix typo.
30935 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
30936 strings. No longer expected to fail.
30937
30938 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
30939 string. No longer expected to fail.
30940
30941Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30942
30943 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
30944 No longer expected to fail.
30945
30946 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
30947 string. No longer expected to fail.
30948
30949Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30950
30951 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
30952 only in the names (I probably got most of them). I was even
30953 generous with some which differed in underscores in names, and
30954 probably missed a few, and I *still* was able to remove almost a
30955 third of the file with almost no impact on testsuite coverage.
30956
30957Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30958
30959 * gdb.t00/default.exp: Match udi_attach error message as well as
30960 the one from child_attach.
30961
30962 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
30963
30964 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
30965
30966 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
30967 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
30968
30969 * Move test with enums and partial symbols back to
30970 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
30971 Reverts the change of 26 May 93. Per today's change to
30972 stabs.texinfo, the behavior that weird.exp was expecting was
30973 unreasonable; what is important is that the compiler+gdb get
30974 things right, which happens with a recent gcc. Also fix the test
30975 to deal with native compilers which put out the stab gdb can't
30976 deal with.
30977
30978Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30979
30980 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
30981 in the names. The main thing these accomplish is to slow things down.
30982 Many more such duplicates surely remain.
30983
30984 * gdb.t00/help.exp: Comment out "help support" test just like
30985 (and for same reason as) "help set" test.
30986
30987Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
30988
30989 * gdb.t06/break.exp: Remove setup_xfails for
30990 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
30991 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
30992 about known bug in gcc to include up through 2.5.8.
30993 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
30994 well as "_vb$".
30995 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
30996 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
30997 with latest gcc and gdb.
30998 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
30999 well as "_vb$".
31000
31001Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31002
31003 * configure.in (hppa*-*-*): Also configure and build stabs-only
31004 tests.
31005
31006Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31007
31008 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31009 * gdb.t10/configure.in (hppa*-*-*): Use it.
31010
31011Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31012
31013 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31014
31015Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31016
31017 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31018 versions prior to 1.13.5.
31019
31020Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31021
31022 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31023 the prompt is at the start of a line.
31024
31025Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31026
31027 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31028 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31029 in the copr tests now.
31030 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31031 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31032 expected to fail.
31033
31034Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31035
31036 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31037 gdb.t31/chillvars.exp, lib/gdb.exp:
31038 Tweak to run under either version of expect.
31039 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31040 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31041 * gdb.t11/list.exp: Remove extraneous whitespace.
31042
31043Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31044
31045 * gdb.t16/printcmds.exp (test_print_strings): Accept
31046 "(unsigned char *) " before the string.
31047
31048 * TODO: Add notes about printing of fancy types and GDB expressions.
31049
31050Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31051
31052 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31053 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 31054 if doing mips-idt-ecoff.
c906108c
SS
31055
31056Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31057
31058 * Most .exp files: Tweak to run under either version of expect.
31059
31060Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31061
31062 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31063 xfails; I'm not sure why they are failing, but not because of PR 1806.
31064
31065Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31066
31067 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31068 defined in lib/gdb.exp.
31069
31070Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31071
31072 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31073 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31074 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31075 have to be typeless.
31076
31077Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31078
31079 * TODO: Add suggestion for copyright year test.
31080
31081Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31082
31083 * configure.in (*-*-lynxos*): Add stabs tests.
31084
31085Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31086
31087 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31088 so insert a tab before any assembler directive in column zero.
31089
31090 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31091 stores.
31092 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31093 stores.
31094 (fpu_short_memory_tests): Likewise.
31095
31096Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31097
31098 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31099 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31100 .stabs directives in comments.
31101
31102Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31103
31104 * TODO: New file, describing tests we could write.
31105 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31106
31107Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31108
31109 * gdb.t06/signals.exp: Add kludge to force re-sync.
31110
31111 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31112 to xgdb instead of gdb, get out of gdb.
31113
31114Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31115
31116 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31117 for info.
31118
31119Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31120
31121 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31122 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31123 * gdb.stabs/hppa.sed: New sed script for the PA.
31124
31125Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31126
31127 * gdb.stabs: Re-write weird.def and configuration to use sed
31128 instead of cpp. sed is portable and POSIX; cpp is neither.
31129
31130Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31131
31132 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31133
31134Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31135
31136 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31137
31138Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31139
31140 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31141 "_vb$".
31142 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31143 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31144
31145Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31146
31147 * lib/gdb.exp: Comment out code which depends on non-existent
31148 `transform' procedure.
31149
31150Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31151
31152 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31153 * lib/gdb.exp: Transform tool name.
31154 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31155 1.1's new error handling system.
31156
31157Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31158
31159 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31160
31161Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31162
31163 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31164 They made pattern matching so slow that timeouts happened on
31165 heavily loaded systems. Now any output from "show print" which
31166 gets us back to the GDB prompt is a PASS.
31167
31168Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31169
31170 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31171
31172Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31173
31174 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31175
31176 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31177 It is not from PR 3220.
31178
31179Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31180
31181 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31182 just started failing because they depended on the order the
31183 subcommands are presented, or exact docstring text. This kind of
31184 test is a pain and has minimal benefit.
31185
31186Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31187
31188 * gdb.t09/corefile.exp: At end of test, use "core" command with
31189 no arguments.
31190
31191Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31192
31193 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31194 17}/Makefile.in: Make it possible to run the testsuite with Sun
31195 make and CC = cross gcc by adding explicit build rules for .o
31196 files.
31197
31198Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31199
31200 * gdb.t15/funcargs.exp: Don't put comments on same line as
31201 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 31202
c906108c
SS
31203Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31204
31205 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31206
31207Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31208
31209 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31210 * gdb.t20/inherit.exp: remove three dumplicate entries.
31211
31212Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31213
31214 * gdb.t06/break.exp: For "next over recursive call", fail on any
31215 incorrect output, not just on "factorial (value=2)".
31216
31217Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31218
31219 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31220 working now. Add an xfail if accesing a bss variable causes
31221 a memory error if the target is not yet run.
31222
31223Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31224
31225 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31226 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31227 name of __st* demangling (2 strings). Did Kung really get the
31228 more than 95 others right without testing them?
31229
31230Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31231
31232 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31233
31234Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31235
31236 * configure.in (configdirs): Add gdb.disasm
31237 * gdb.disasm: New directory for GDB disassembler tests.
31238 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31239
31240Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31241
31242 * gdb.t00/help.exp: Don't test "help set".
31243
31244 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31245 from within expect statements. None of these happen anymore and
31246 they cause regressions to be silently unnoticed.
31247
31248 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31249 messages) about known failures with gcc cygnus-2.4.5-930417.
31250
31251 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31252 comp-info.exp so it gets built if it doesn't exist.
31253
31254 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31255 it is no longer used.
31256 * gdb.t13/comp-info.c: Removed.
31257
31258Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31259
31260 * gdb.t06/signals.exp: Add xfail for sun3.
31261
31262Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31263
31264 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31265 relevant because ^C doesn't get sent but failure can be reproduced
31266 interactively).
31267
31268Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31269
31270 * gdb.stabs/alpha.mt: New configuration file for alpha.
31271 * gdb.stabs/configure.in: Use it.
31272 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31273 sharing with alpha.mt, redefine long to word via preprocessor.
31274 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31275 for alpha.
31276 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31277 native cc.
31278 * gdb.t00/teststrategy.exp: Change expect string so that we
31279 consume the `(xgdb)' from the command echo and from the gdb prompt.
31280 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31281 gdb currently compares all values as long, so this failure probably
31282 applies to any configuration where LONGEST is bigger than a target int.
31283 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31284 with gcc.
31285 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31286 to handle opaque pointers, gcc is.
31287 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31288 as first argument. Include <sys/types.h> and change all operator
31289 new definitions to use size_t.
31290 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31291 now that we use size_t.
31292
31293Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31294
a9c64011 31295 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 31296 a long or float array cast all array members to the same type.
a9c64011 31297 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 31298 with 64 bit longs.
a9c64011 31299 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 31300 on alpha.
a9c64011 31301 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
31302
31303Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31304
31305 * gdb.t24 (demangle.exp): Constructors of templates have names like
31306 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31307 section 14.6 of the ARM.
31308
31309 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31310 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31311 accomplish little and slow down the testsuite.
31312
31313 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31314 Accept spaces various places.
31315
31316Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31317
31318 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31319 with watchpoint enabled.
31320
31321 * Makefile.in: Remove definition of CC and remove the second
31322 definition of CXX (the "CXX = gcc" one remains). These definitions
31323 were causing backquotes to be expanded within backquotes, which
31324 doesn't work.
31325
31326Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31327
31328 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31329
31330Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31331
a9c64011
AS
31332 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31333 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
31334 by mips cc and contains no stabs entries.
31335
31336Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31337
31338 * config/vx-gdb.exp: Use fake device to load files rather than
31339 NFS.
31340 * lib/gdb.exp: New proc to do "file" command.
31341 * config/unix-gdb.exp: Use new "file" proc.
31342
31343Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31344
31345 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31346 Rework board rebooting slightly.
31347 (gdb_exit): Don't exit from the remote shell; there isn't one.
31348 * gdb.stabs/weird.exp: If a program is being debugged already,
31349 kill it.
31350 * gdb.t04/setvar.exp: Stop and restart gdb.
31351 * gdb.t05/expr.exp: Likewise.
31352 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31353 restart gdb and reload the program.
31354 * gdb.t08/opaque.exp: Likewise.
31355 * gdb.t12/scope.exp: Likewise.
31356 * gdb.t13/bitfields.exp: Likewise.
31357 * gdb.t15/funcargs.exp: Likewise.
31358 * gdb.t20/classes.exp: Likewise.
31359 * gdb.t03/ptype.exp: Increase timeout.
31360 * gdb.t16/printcmds.exp (test_print_string_constants,
31361 test_print_array_constants): Likewise.
31362 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31363 * gdb.t20/classes.exp (do_tests): Likewise.
31364 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31365
31366Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
31367
31368 * gdb.stabs: Renamed *wierd* to *weird*.
31369
31370Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31371
31372 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31373 for timeout. Add "known gcc 2.4.5 bug" to failure message.
31374
31375Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31376
31377 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31378 (do_tests): Remove xfail for whatis on one_var and two_var.
31379
31380Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
31381
31382 * Makefile.in: Made cross building work better by adding
31383 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31384
31385Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31386
31387 * gdb.t15/{return.c,return.exp,Makefile.in}:
31388 New test, currently commented out.
31389
31390Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
31391
31392 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31393 still running and removes the leftover named socket so GDb can do
31394 clean restarts.
31395
31396Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
31397
31398 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31399 console, not GDB.
31400 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31401 cross testing works better with "make check"
31402 * config/unix-gdb: Use default procedures for exit and version.
31403 * config/vx-gdb.exp: Cleaned up and massaged back to working order
31404 with the newest VxWorks.
31405
31406Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31407
31408 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31409 old form.
31410
31411 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31412 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31413
31414 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31415
31416 * config/unix-gdb.exp: Remove this version of gdb_exit
31417 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31418 Rob says he'll look at it when he gets back to testing boards.
31419
31420Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
31421
31422 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
31423 an expected fail for certain ptype commands.
31424
31425 * gdb.t20/classes.exp: Update expected results of "ptype class
31426 Base1" to account for the constructor that now appears in the type.
31427
31428Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
31429
31430 * configure.in (configdirs): Restore gdb.t04, which mysteriously
31431 disappeared from list.
31432 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
31433 "alldone" proc with call to cleanup and exit.
31434 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31435 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31436 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31437 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31438 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
31439 "alldone" proc with simple returns that suppress remaining
31440 tests. The alldone proc went away many months ago.
31441
31442Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31443
31444 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31445
31446 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31447
31448Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31449
31450 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
31451 as vax gdb will display them.
31452
31453Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31454
31455 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31456 optimizers.
31457
31458 * scope.exp: Change "bad value for localval" messages so each one
31459 is unique.
31460
31461 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31462 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31463
31464 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31465
31466Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31467
31468 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31469 doesn't exist (due to optimization).
31470
31471Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31472
31473 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31474 contains \r because the filename is long.
31475
31476 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31477 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31478
31479Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31480
31481 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31482 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
31483 Ultrix.
31484 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
31485 int tests.
31486 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
31487
31488Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
31489
31490 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
31491
31492 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 31493 to match does not match the passing case but still matches the
c906108c
SS
31494 failing case.
31495
31496Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31497
31498 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31499
31500Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
31501
31502 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
31503 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31504 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31505 Remove various versions of gdb_exit.
31506 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
31507 gdb_exit.
31508 * config/unix-gdb.exp: gdb_exit remains here, and should override
31509 the generic version, since it's doing a lot of wierd stuff that
31510 the other versions aren't. FIXME, fold it in, or abandon this
31511 version.
31512
31513Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31514
31515 * gdb.t24/demangle.exp: Add tests for PR 3220.
31516
31517Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31518
31519 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
31520
31521Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
31522
31523 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
31524 "i386-*-*". Works for i486 as well.
31525
31526 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
31527 bug, and expand domain of xfail to all SVR4 systems, since the
31528 actual problem is likely to be in generic SVR4 /proc support.
31529
31530Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31531
31532 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
31533
31534Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
31535
31536 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
31537 xfails for other systems. Match a missing 'Continuing.' as an
31538 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
31539
31540 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
31541 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
31542 Only issue warning for missing executables if -all option is used.
31543
31544 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
31545 file if -all option is used. It's like an unpredictable XFAIL.
31546
31547Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31548
31549 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
31550 for dynamically linked binaries.
31551
31552 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
31553
31554Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31555
31556 * gdb.t20/inherit.exp: Change message for "print tagless struct"
31557 to state that this is a known bug in old versions of g++.
31558
31559Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31560
31561 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
31562 while waiting for `Continuing'.
31563
31564Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
31565
31566 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
31567 in text, data, and bss.
31568 * gdb.t10/nodebug.c: Add local and global test variables for
31569 initialized and uninitialized data.
31570
31571Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31572
31573 * config/unix-gdb.exp (gdb_exit): Add "wait".
31574
31575Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31576
31577 * gdb.t06/signals.exp: xfail the continue from the handler for all
31578 targets.
31579
31580 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
31581 function with watchpoints enabled, the i386 call dummy starts with
31582 a call.
31583
31584 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
31585 386 bsd names its corefiles.
31586
31587Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
31588
31589 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
31590 compilers don't grok it.
31591 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
31592 with small octal ints rather than character constants, which
31593 are signed and might not fit if first promoted to int.
31594
31595Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
31596
31597 * gdb.t09/Makefile.in (clean): Remove corefile.
31598
31599Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31600
31601 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
31602
31603Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31604 and Jim Kingdon (kingdon@cygnus.com)
31605
31606 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
31607 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
31608 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
31609
31610Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31611
31612 * gdb.t17/interrupt.exp: Add xfail for hppa.
31613
31614Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31615
31616 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
31617 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
31618 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
31619 to determine signed-ness of bitfields and use the result to setup
31620 the xfail.
31621 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
31622 * gdb.t15/funcargs.exp: Use them to step until the second indirect
31623 call line is reached if necessary.
31624
31625Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31626
31627 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
31628
31629Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31630
31631 * gdb.t06/break.exp: Also test `clear' command.
31632
31633Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31634
31635 * gdb.t00/teststrategy.exp: Remove extra quote.
31636
31637 * gdb.t07/watchpoint.exp: Change xfail for calling function with
31638 watchpoint enabled to be for all non-68k machines.
31639
31640 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
31641
31642Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31643
31644 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
31645 targets use aout.mt instead of ecoff.mt as gas understands
31646 standard aout format.
31647
31648Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31649
31650 * lib/gdb.exp (runto): Don't insist that function we are running to
31651 was compiled with -g.
31652
31653 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
31654
31655 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
31656 to get back into the read system call.
31657 Accept leading newline in case where we woke it up.
31658
31659Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31660
31661 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
31662 to make the stabs test work on ecoff systems using gcc and -with-stabs.
31663 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
31664 enable ecoff configuration.
31665
31666Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31667
31668 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
31669
31670Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31671
31672 * gdb.t16/printcmds.exp: Add another printf test.
31673
31674Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
31675
31676 * configure.in: If configured -with-stabs on any target, add
31677 stabsdirs to configdirs.
31678
31679Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31680
31681 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
31682 fun" so pattern does not match the command itself.
31683
31684Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31685
31686 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
31687
31688Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31689
31690 * gdb.t17/interrupt.exp: Test for more things.
31691
31692Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31693
31694 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
31695 compiler arranges the code and line numbers.
31696
31697 * gdb.t17/interrupt.exp: Don't send \n after ^C.
31698
31699Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31700
31701 * gdb.t00/help.exp: Increase expect input buffer size.
31702
31703Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31704
31705 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
31706
31707 * gdb.t07/watchpoint.exp: Add xfail for hppa.
31708
31709 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
31710
31711 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
31712 [0-9]*, not just [0-9].
31713
31714Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31715
31716 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
31717
31718 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
31719
31720Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31721
31722 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
31723
31724Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31725
31726 * gdb.t06/signals.c: Add xfails for sun3.
31727
31728 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
31729
31730 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
31731 test_stepping tests.
31732
31733Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31734
31735 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
31736
31737 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
31738
31739 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
31740 rather than actually putting it through cpp twice.
31741
31742 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
31743
31744Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
31745
31746 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31747 no longer needed.
31748
31749Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31750
31751 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31752
31753 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31754 C++ features prints as "struct", make it a pass, not an xfail.
31755
31756Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31757
31758 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31759 Don't require VA to print as "class" rather than "struct".
31760
31761Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
31762
31763 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31764
31765Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31766
31767 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31768
31769Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31770
31771 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
31772 order.
31773
31774Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31775
31776 * gdb.t16/printcmds.exp: Add printf tests.
31777
31778 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31779
31780 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31781
31782Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
31783
31784 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
31785 pass counts, to counteract any existing or future setup_xfails.
31786
31787Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31788
31789 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31790 {BEGIN,END}_COMMON for common block instead of STAB.
31791 * gdb.stabs/wierd.exp: Add xfail for rs6000.
31792
31793 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31794 intp_var should be N_GSYM not N_LSYM.
31795 wierd-aout.S: Use a label for the value of the N_SO.
31796 wierd.def: Remove all backslashes.
31797 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31798
31799Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31800
31801 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31802 get the expected next to inheritance3.
31803
31804Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31805
31806 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31807 now that gcc-2.4 gets it right.
31808
31809Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31810
31811 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31812
31813 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31814 generating comp-info.exp which works for cross-compilation.
31815
31816Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
31817
31818 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
31819 "*-*-sysv4.*".
31820
31821Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
31822
31823 * gdb.t01/run.exp: Start with a fresh gdb.
31824 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
31825 SVR4.x.
31826
31827Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
31828
31829 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31830 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31831 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31832 Makefile.in (distclean, realclean): Remove gdbme.c from list of
31833 things to remove.
31834
31835Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
31836
31837 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
31838 test cases from bug reports.
31839
31840Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
31841
31842 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
31843 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
31844 avoid spurious xfails.
31845 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
31846 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
31847 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
31848
31849Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
31850
31851 * gdb.t00/teststrategy.exp: Rework to provide more useful
31852 description of each test, fix problem with systems that define
31853 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31854 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
31855 results for "next over recursive call" so timeouts aren't taken
31856 by error.
31857
31858Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
31859
31860 * gdb.t12/scope.exp: Test printing of variables before run.
31861
31862 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31863 printed in wrong order due to sorting.
31864
31865Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
31866
31867 * gdb.t00/teststrategy.exp: Fix expected results for printing
31868 user entered string constant. Is array of char, prints with no
31869 address.
31870
31871 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
31872 commands.
31873 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
31874 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
31875 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
31876 of struct of char arrays.
31877 * gdb.t00/radix.exp: New tests for radix commands.
31878
31879Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
31880
31881 * gdb.t16/printcmd.exp: Print a variable before running program
31882 (with xfail for AIX).
31883
31884Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
31885
31886 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31887
31888 * gdb.t16/printcmd.exp: Don't print variables before running program.
31889
31890 * gdb.t06/break.exp: Don't require envp argument to main.
31891
31892 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31893
31894 * gdb.t02/whatis.exp, gdb.t11/list.exp:
31895 Add xfails for rs6000.
31896
31897 * gdb.t02/whatis.exp: Change other tests not to re-test something
31898 we already tested.
31899
31900 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31901 each type used has a variable of that type.
31902
31903Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
31904
31905 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
31906
31907Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
31908
31909 * configure.in: change srctrigger to be a file, not a directory
31910
31911Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
31912
31913 * configure.in (mips-idt-ecoff*): Added trailing '*'.
31914
31915 * gdb.t11/list.exp: Fixed a couple of typos.
31916
31917Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
31918
31919 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
31920 is fixed and PR is closed.
31921 * gdb.t16 (gdbme.c): Add simple test string variable.
31922 * gdb.t16 (printcmds.exp): Add tests with simple test string
31923 variable, primarily for boundaries on "set print elements".
31924
31925Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
31926
31927 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
31928 Make leading 0's optional and don't expect a tab in the middle
31929 of the number.
31930
31931 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
31932
31933 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
31934 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
31935 don't end command passed to gdb_test with newline.
31936
31937 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
31938 signed keyword away, don't expect signed bitfields to be signed.
31939
31940 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
31941 printing with only as many 1's as are in the field as well as printing
31942 with 32 1's (see comment).
31943
31944Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
31945
31946 * gdb.t00/default.exp: Start with a fresh gdb.
31947 * configure.in (configdirs): Remove gdb.t31 until the chill
31948 compiler works again. It no longer is able to find chillrt0
31949 since it isn't in libchill.a anymore.
31950 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
31951 wierd.o, make more modular.
31952 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
31953 spurious newlines that caused problems.
31954
31955Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31956
31957 * Move test with enums and partial symbols from gdb.t03/ptype.exp
31958 to gdb.stabs/wierd.exp since GCC has worked around the bug.
31959 gdb.stabs/wierd.{exp,def}: Many new tests.
31960
31961 * gdb.t00/default.exp: update info line for new message.
31962
31963 * gdb.t02/{whatis.exp,gdbme.c}:
31964 Test that "char *" doesn't print as "caddr_t".
31965
31966Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31967
31968 * gdb.t00/help.exp: Use .* in place of some help messages which
31969 just changed.
31970 gdb.t00/default.exp: Update "info frame" test for new message.
31971 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
31972 Remove some xfails
31973
31974Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31975
31976 * gdb.t03/{gdbme.c,ptype.exp}:
31977 Add tests for typedef'd struct and union without tags.
31978 Also check "whatis" on a variable of a typedef'd enum without a tag.
31979
31980 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
31981 PRMS 1823; the bug still exists but isn't reproduced by this test
31982 anymore), and remove rs6000 XFAIL (the bug is fixed).
31983
31984 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
31985 duplicated from whatis.exp. For those that are left, accept
31986 "long", "long int", or "int" for long variables (whatis.exp already
31987 has an XFAIL for "int", so no need to fail it here).
31988
31989 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
31990 Deal with GCC's names for types now that GDB uses the compiler's names.
31991
31992 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
31993 setup_xfail's for sunos4. If we #defined the signed keyword away,
31994 don't expect GDB to know that char it is signed.
31995
31996 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
31997
31998Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
31999
32000 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32001 should work on any system, regardless of debugging format.
32002 * gdb.t21/demangle.exp: Move to gdb.t24.
32003 * gdb.t24/demangle.exp: Move from gdb.t21.
32004 * gdb.t24/{Makefile.in, configure.in}: New files.
32005
32006Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32007
32008 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32009 * gdb.stabs: New directory.
32010
32011Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32012
32013 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32014 not just "Quit anyway?".
32015
32016Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32017
32018 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32019 that all setup_xfails are immediately followed by clear_xfails.
32020
32021Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32022
32023 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32024 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32025 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32026 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32027 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32028 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32029 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32030 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32031 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32032 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32033 gdb.t31/chillvars.exp, lib/gdb.exp:
32034 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32035 bug-gdb@prep.ai.mit.edu.
32036
32037Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32038
32039 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32040 with 0.0, not integer 0.
32041
32042Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32043
32044 * gdb.t06/break.exp: Update for "Kill the program" message change.
32045
32046Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32047
32048 * Makefile.in (GDBFLAGS): Set to -nx.
32049 * Makefile.in (site.exp): Use GDBFLAGS.
32050
32051Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32052
32053 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32054 Makefiles.
32055 (check): depend on just-check.
32056 (just-check): added so that tests can be run without a noop
32057 build pass.
32058
32059Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32060
32061 Switch to using configure's configdirs.
32062 * Makefile.in (Makefile): add configure.in dependency.
32063 (SUBDIRS): removed redundant assignment.
32064 * configure.in: switch subdirs assignment to configdirs.
32065 * gdb.t*/configure.in: new files.
32066
32067Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32068
32069 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32070 works.
32071
32072Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32073
32074 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32075 in explicit rules. Apparently this is not supported by some makes.
32076
32077Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32078
32079 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32080
32081Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32082
32083 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32084 disappeared.
32085
32086Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32087
32088 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32089
32090Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32091
32092 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32093 watchpoint problem that is now fixed.
32094 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32095 uninitialized convenience variables.
32096 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32097 structures.
32098
32099Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32100
32101 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32102 which causes expect to get out of sync with gdb on long output
32103 from help set.
32104 * gdb.t09/corefile.exp: Make expected pattern for core file
32105 failing signal and frame output format less sun specific.
32106
32107Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32108
32109 * gdb.t31/chillvars.exp: Add and remove initial dummy
32110 breakpoint, so that symbol table is forced in.
32111 (Needed at least on Sunos4, though it seems not SVR4.)
32112 * gdb.t31/chillvars.exp: Update for changed output format.
32113
32114Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32115
a9c64011 32116 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
32117
32118Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32119
32120 * Makefile.in: Added --srcdir when invoking runtest, removed the
32121 need for a local config file. (optional now)
32122
32123Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32124
32125 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32126 failure count used to force early termination. Add some more
32127 expected failures for gnu style demangling.
32128
32129Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32130
32131 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32132 pmi variable from gdb.t20/gdbme to get optimized away.
32133 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32134 Check for written corefile upon timeout _and_ eof.
32135
32136Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32137
32138 * config/unix-gdb.exp: Add missing return 0.
32139
32140Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32141
32142 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32143 test termination.
32144
32145Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32146
32147 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32148 disappeared.
32149
32150Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32151
32152 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32153 time as i860 support works.
32154
d63a86f8 32155 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
32156 "backtrace 100\r" rather than just "backtrace\r", to match last
32157 change.
32158
32159Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32160
32161 * config/udi-gdb.exp (gdb_exit): Remove close command.
32162 (gdb_target_udi): New procedure to set the UDI target.
32163 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32164 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32165 Added waits for prompts after several question responses. Added
32166 some more responses used by a29k-amd-udi-gdb.
32167 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32168 pass different arguments, restart UDI connection after program
32169 completion.
32170 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32171 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32172 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32173 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32174 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32175 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32176 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32177 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32178 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32179 after program completion.
32180 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32181 compiled with a SELECT_VECS setting.
32182 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32183 infinite recursion.
32184
32185 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32186 Added checks for COFF results, and made them expected failures for
32187 all targets. It would be better to make them expected failures
32188 for COFF targets only.
32189
32190Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32191
32192 * Makefile.in: add null dvi target, don't bother to recurse
32193 through test directories for info and install-info; rename
32194 $(datadir) to be dejagnu instead of deja-gnu
32195
32196Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32197
32198 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32199 compiler to coredump.
32200 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32201 code.
32202
32203Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32204
32205 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32206 coredump.
32207 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32208 code.
32209
32210Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32211
32212 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32213 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32214 which in a shell. Deletes xgdb when done.
32215 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32216 Tests the return from the "set height" or "set width" commands.
32217 Added a few return codes where needed.
32218
32219Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32220
32221 * Makefile.in (SUBDIRS): Add gdb.t17.
32222 * configure.in (subdirs): Add gdb.t17.
32223 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32224 files to test gdb's calling of functions in the inferior with
32225 the correct arguments and gdb's ability to retrieve any
32226 result returned.
32227
32228Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32229
32230 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32231 may be called after gdb goes away. Previous versions of expect
32232 needed these to avoid file descriptor leaks, but they cause
32233 errors with the current revision of expect.
32234 * gdb.t00/gdbvars.exp: Use -re on expected output after
32235 setting sevenbit-strings.
32236 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32237 to set sevenbit-strings consistent across tests.
32238 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32239 set sevenbit-strings consistent across tests.
32240
32241Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32242
32243 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32244 expected output to match current "expect" expectations.
32245
32246Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32247
32248 * gdb.t00/default.exp: Change expected output for default "source"
32249 command, to match new gdb behavior which requires a filename to
32250 source.
32251
32252Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32253
32254 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32255 expected fail for i486-*-* that misses the marker2 function.
32256 * gdb.t10/crossload.exp (bfddefault): Allow successful
32257 recognition of a format to pass even if no symbols are found.
32258 Explicitly catch failures where the format is not recognized
32259 or is ambiguous, and add the reason to the fail message.
32260 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32261 the cause is and invalid target and add reason to failure message.
32262 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32263 elf32-i386, elf32-sparc, and elf32-i860.
32264 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32265 Set up expected failure for 'filename'::variable scope resolution,
32266 which is now apparently broken on all targets.
32267 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32268 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32269 gdb.t23/templates.exp: Change failure for missing binfile into
32270 just a warning.
32271 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32272 references.
32273
32274Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32275
32276 * gdb.t00/default.exp: Add expected output for default "source"
32277 command, to match new gdb behavior.
32278 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32279
32280Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32281
32282 * config/*-gdb.exp: returns an error, rather than exiting on
32283 internal errors.
32284
32285Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32286
32287 * gdb.t03/gdbme.c: Add pointer to struct variable.
32288 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32289 referencing struct members.
32290
32291Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32292
32293 * configure.in (mips-idt-ecoff): New target.
32294 * config/mips-gdb.exp: New file for remote board using MIPS remote
32295 debugging protocol.
32296
32297 * Redid configuration scheme. Removed gdb.t*/configure.in.
32298 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32299 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32300 distclean targets. Built executables via .o files. Adjusted
32301 tests to account for source files in $(srcdir) rather than
32302 $(objdir).
32303 * lib/gdb.exp (runto): Don't expect () after the function name,
32304 because it may have arguments.
32305
32306Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32307
32308 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32309 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32310 expected failures for mips-idt-* and mips-sgi-*.
32311 * gdb.t00/default.exp (attach): Kill process if requested.
32312 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32313 that does not read core files.
32314 * gdb.t01/run.exp: Removed checks for exit status code.
32315 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32316 it is linked in.
32317 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32318 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32319 appropriate, rather than doing it by hand.
32320 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32321 execution.
32322 * gdb.t10/crossload.exp: Kill existing program if needed.
32323 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32324 appropriate, rather than doing it by hand. Always increase
32325 timeout for this test, not just for VxWorks.
32326
32327Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32328
32329 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32330 of Chill STRUCT types and STRUCT values.
32331 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32332 than "char".
32333 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 32334 struct2): New struct definitions and initializations to test
c906108c
SS
32335 simple Chill STRUCT types.
32336
32337Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32338
32339 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32340 the null byte at the end of strings.
32341 * gdb.t00/default.exp: Make show version insensitive to copyright
32342 date.
32343 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32344 to avoid dependencies on target char signedness.
32345 * gdb.t16/printcmds.exp: Update expected results for explicitly
32346 unsigned char.
32347 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32348 now work.
32349 * gdb.t21/demangle.exp: Add many more patterns for template
32350 demangling, most of them being expected failures.
32351 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32352 string we are matching for, to match on the whole string.
32353 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32354 and fix a whole bunch that had incorrect expected output but were
32355 passing anyway because of the bug in "proc demangle".
32356 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
32357 type.
32358 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
32359
32360Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
32361
a9c64011
AS
32362 * gdb/testsuite: made modifications to testcases, etc., to allow
32363 them to work properly given the reorganization of deja-gnu and the
32364 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
32365
32366Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
32367
32368 * gdb/testsuite: Initial creation of gdb/testsuite.
32369 Migrated dejagnu testcases and support files for testing nm to
32370 gdb/testsuite from deja-gnu. These files were moved "as is"
32371 with no modifications. This migration is part of a major overhaul
32372 of dejagnu. The modifications to these testcases, etc., which
32373 will allow them to work with the new version of dejagnu will be
32374 made in a future update.
48efe704 32375
8d8cb839 32376 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 32377\f
8d8cb839
EZ
32378;; Local Variables:
32379;; mode: change-log
32380;; left-margin: 8
32381;; fill-column: 74
32382;; version-control: never
32383;; End:
902f2ccb 32384
28e7fd62 32385 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
32386 Copying and distribution of this file, with or without modification,
32387 are permitted provided the copyright notice and this notice are preserved.